wifi: cfg80211: parse attribute to update unsolicited probe response template
authorYuvarani V <quic_yuvarani@quicinc.com>
Thu, 10 Jul 2025 05:34:27 +0000 (11:04 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 15 Jul 2025 09:01:21 +0000 (11:01 +0200)
commitc932be7262323011ae8caa050811300b85347050
tree9807c49fecf2ec27b15c450ac40964550c21817e
parenta597432cc9e640439370d9dc95952220cc13fc2b
wifi: cfg80211: parse attribute to update unsolicited probe response template

At present, the updated unsolicited broadcast probe response template is
not processed during userspace commands such as channel switch or color
change. This leads to an issue where older incorrect unsolicited probe
response is still used during these events.

Add support to parse the netlink attribute and store it so that
mac80211/drivers can use it to set the BSS_CHANGED_UNSOL_BCAST_PROBE_RESP
flag in order to send the updated unsolicited broadcast probe response
templates during these events.

Signed-off-by: Yuvarani V <quic_yuvarani@quicinc.com>
Signed-off-by: Aditya Kumar Singh <aditya.kumar.singh@oss.qualcomm.com>
Link: https://patch.msgid.link/20250710-update_unsol_bcast_probe_resp-v2-1-31aca39d3b30@oss.qualcomm.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/nl80211.c