]> 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)
commit7e71da082e25bdcc0ea5a5e236e54773e2d0ae66
tree61aad5fb83bc07361b22ac03693611e58b88763d
parent686d83f16bb75d3772f4265d689f0f715f8ee798
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