OSDN Git Service

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)
commit7f599aeccbd2bcba800c6c7ecc4586fd8cafc1d8
tree61aad5fb83bc07361b22ac03693611e58b88763d
parenta95bfb876fa87e2d0fa718ee61a8030ddf162d2b
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