]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: retrieve S1G operating channel number
authorKieran Frewen <kieran.frewen@morsemicro.com>
Wed, 20 Apr 2022 04:13:20 +0000 (04:13 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 4 May 2022 09:33:52 +0000 (11:33 +0200)
commitcb3fb83d839379746204462f0709ddc1c4aaa0f7
tree0c874b46ecbadfd3a4251f5756e58a0fc851d665
parenta9ae8e3db474be0dab50f83bdd84c740e697ca12
cfg80211: retrieve S1G operating channel number

When retrieving the S1G channel number from IEs, we should retrieve
the operating channel instead of the primary channel. The S1G operation
element specifies the main channel of operation as the oper channel,
unlike for HT and HE which specify their main channel of operation as
the primary channel.

Signed-off-by: Kieran Frewen <kieran.frewen@morsemicro.com>
Signed-off-by: Bassem Dawood <bassem@morsemicro.com>
Link: https://lore.kernel.org/r/20220420041321.3788789-1-kieran.frewen@morsemicro.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c