]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: Use the HE operation IE to determine a 6GHz BSS channel
authorAyala Beker <ayala.beker@intel.com>
Thu, 2 Dec 2021 12:36:10 +0000 (14:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Dec 2021 09:38:32 +0000 (10:38 +0100)
commita8eaef140e392d917c17554993ca6b39b1311a26
tree61aad5fb83bc07361b22ac03693611e58b88763d
parent5ef5cbbb3f56f05ed634ba28ec2f26903ecf2671
cfg80211: Use the HE operation IE to determine a 6GHz BSS channel

A non-collocated AP whose primary channel is not a PSC channel
may transmit a duplicated beacon on the corresponding PSC channel
in which it would indicate its true primary channel.
Use this inforamtion contained in the HE operation IE to determine
the primary channel of the AP.
In case of invalid infomration ignore it and use the channel
the frame was received on.

Signed-off-by: Ayala Beker <ayala.beker@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211202143322.71eb2176e54e.I130f678e4aa390973ab39d838bbfe7b2d54bff8e@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/scan.c