nl80211: Unsolicited broadcast probe response support
This patch adds new attributes to support unsolicited broadcast probe response transmission used for in-band discovery in 6GHz band (IEEE P802.11ax/D6.0 26.17.2.3.2, AP behavior for fast passive scanning). The new attribute, NL80211_ATTR_UNSOL_BCAST_PROBE_RESP, is nested which supports following parameters: (1) NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_INT - Packet interval (2) NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_TMPL - Template data Signed-off-by: Aloka Dixit <alokad@codeaurora.org> Link: https://lore.kernel.org/r/010101747a946698-aac263ae-2ed3-4dab-9590-0bc7131214e1-000000@us-west-2.amazonses.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
committed by
Johannes Berg
parent
295b02c4be
commit
7443dcd1f1
@@ -1099,6 +1099,22 @@ struct cfg80211_fils_discovery {
|
||||
const u8 *tmpl;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct cfg80211_unsol_bcast_probe_resp - Unsolicited broadcast probe
|
||||
* response parameters in 6GHz.
|
||||
*
|
||||
* @interval: Packet interval in TUs. Maximum allowed is 20 TU, as mentioned
|
||||
* in IEEE P802.11ax/D6.0 26.17.2.3.2 - AP behavior for fast passive
|
||||
* scanning
|
||||
* @tmpl_len: Template length
|
||||
* @tmpl: Template data for probe response
|
||||
*/
|
||||
struct cfg80211_unsol_bcast_probe_resp {
|
||||
u32 interval;
|
||||
size_t tmpl_len;
|
||||
const u8 *tmpl;
|
||||
};
|
||||
|
||||
/**
|
||||
* enum cfg80211_ap_settings_flags - AP settings flags
|
||||
*
|
||||
@@ -1147,6 +1163,7 @@ enum cfg80211_ap_settings_flags {
|
||||
* @he_bss_color: BSS Color settings
|
||||
* @he_oper: HE operation IE (or %NULL if HE isn't enabled)
|
||||
* @fils_discovery: FILS discovery transmission parameters
|
||||
* @unsol_bcast_probe_resp: Unsolicited broadcast probe response parameters
|
||||
*/
|
||||
struct cfg80211_ap_settings {
|
||||
struct cfg80211_chan_def chandef;
|
||||
@@ -1178,6 +1195,7 @@ struct cfg80211_ap_settings {
|
||||
struct ieee80211_he_obss_pd he_obss_pd;
|
||||
struct cfg80211_he_bss_color he_bss_color;
|
||||
struct cfg80211_fils_discovery fils_discovery;
|
||||
struct cfg80211_unsol_bcast_probe_resp unsol_bcast_probe_resp;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user