]> 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)
commitb96e54f344d8cee0db2516d943620cc4fb19491c
tree892c68a86412f9ab8c86995f55cfe4540df93c56
parent3db2dd1112f0a88d47f11c22ca3b8f708b26bb57
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: ef1bbba10c89 ("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