]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix WMM TXOP calculation
authorDreyfuss, Haim <haim.dreyfuss@intel.com>
Fri, 31 Aug 2018 08:31:04 +0000 (11:31 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 3 Sep 2018 08:35:03 +0000 (10:35 +0200)
commit5850f986273fb6ec5be09d65ce1b0d20a6c5630c
tree892c68a86412f9ab8c86995f55cfe4540df93c56
parent922429a2f29d9bae4d193aa679bdf7175d5844bc
mac80211: fix WMM TXOP calculation

In commit 9236c4523e5b ("mac80211: limit wmm params to comply
with ETSI requirements"), we have limited the WMM parameters to
comply with 802.11 and ETSI standard.  Mistakenly the TXOP value
was caluclated wrong.  Fix it by taking the minimum between
802.11 to ETSI to make sure we are not violating both.

Fixes: b9395aeecf3b ("mac80211: limit wmm params to comply with ETSI requirements")
Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c