]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: ignore country element TX power on 6 GHz
authorJohannes Berg <johannes.berg@intel.com>
Sun, 6 Dec 2020 12:54:47 +0000 (14:54 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Dec 2020 12:20:05 +0000 (13:20 +0100)
commitaf3b99747d9f17189de220367a62f3474af30503
tree540e14430069ac71759c291720e1e55bcee0ff8f
parente709b2ad6339bcf88ba027bebad59f7ff20cec4f
mac80211: ignore country element TX power on 6 GHz

Updates to the 802.11ax draft are coming that deprecate the
country element in favour of the transmit power envelope
element, and make the maximum transmit power level field in
the triplets reserved, so if we parse them we'd use 0 dBm
transmit power.

Follow suit and completely ignore the element on 6 GHz for
purposes of determining TX power.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20201206145305.9abf9f6b4f88.Icb6e52af586edcc74f1f0360e8f6fc9ef2bfe8f5@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c