wifi: cfg80211: handle UHB AP and STA power type
authorMukesh Sisodiya <mukesh.sisodiya@intel.com>
Wed, 20 Dec 2023 11:41:38 +0000 (13:41 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 21 Dec 2023 19:35:14 +0000 (20:35 +0100)
commit645f3d85129d8aac3b896ba685fbc20a31c2c036
treeb34854657fcd17a10d67bb7f90a8d2e3697d77fa
parent99b6877dce4e2517b9ba7d674759487ac34ecbfa
wifi: cfg80211: handle UHB AP and STA power type

UHB AP send supported power type(LPI, SP, VLP)
in beacon and probe response IE and STA should
connect to these AP only if their regulatory support
the AP power type.

Beacon/Probe response are reported to userspace
with reason "STA regulatory not supporting to connect to AP
based on transmitted power type" and it should
not connect to AP.

Signed-off-by: Mukesh Sisodiya <mukesh.sisodiya@intel.com>
Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20231220133549.cbfbef9170a9.I432f78438de18aa9f5c9006be12e41dc34cc47c5@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c
net/wireless/reg.c
net/wireless/scan.c