wifi: cfg80211: Update the default DSCP-to-UP mapping
authorIlan Peer <ilan.peer@intel.com>
Mon, 18 Dec 2023 09:30:05 +0000 (11:30 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 3 Jan 2024 14:35:26 +0000 (15:35 +0100)
commit6fdb8b8781d59796324efa25909f3e2112833f01
tree646bc4a9f52c1b5b06789ce8003b80dc3a7323ba
parent9d027a35a52a4ea9400390ef4414e4e9dcd54193
wifi: cfg80211: Update the default DSCP-to-UP mapping

The default DSCP-to-UP mapping method defined in RFC8325
applied to packets marked per recommendations in RFC4594 and
destined to 802.11 WLAN clients will yield a number of inconsistent
QoS mappings.

To handle this, modify the mapping of specific DSCP values for
which the default mapping will create inconsistencies, based on
the recommendations in section 4 in RFC8325.

Note: RFC8235 is used as it referenced by both IEEE802.11Revme_D4.0
and WFA QoS Management Specification.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20231218093005.3064013-1-ilan.peer@intel.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/util.c