nl80211: Add FILS discovery support
FILS discovery attribute, NL80211_ATTR_FILS_DISCOVERY, is nested which supports following parameters as given in IEEE Std 802.11ai-2016, Annex C.3 MIB detail: (1) NL80211_FILS_DISCOVERY_ATTR_INT_MIN - Minimum packet interval (2) NL80211_FILS_DISCOVERY_ATTR_INT_MAX - Maximum packet interval (3) NL80211_FILS_DISCOVERY_ATTR_TMPL - Template data Signed-off-by: Aloka Dixit <alokad@codeaurora.org> Link: https://lore.kernel.org/r/20200805011838.28166-2-alokad@codeaurora.org [fix attribute and other names, use NLA_RANGE(), use policy only once] Link: https://lore.kernel.org/r/010101747a7b38a8-306f06b2-9061-4baf-81c1-054a42a18e22-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
5595870f77
commit
291c49ded2
@@ -1082,6 +1082,23 @@ struct cfg80211_acl_data {
|
||||
struct mac_address mac_addrs[];
|
||||
};
|
||||
|
||||
/**
|
||||
* struct cfg80211_fils_discovery - FILS discovery parameters from
|
||||
* IEEE Std 802.11ai-2016, Annex C.3 MIB detail.
|
||||
*
|
||||
* @min_interval: Minimum packet interval in TUs (0 - 10000)
|
||||
* @max_interval: Maximum packet interval in TUs (0 - 10000)
|
||||
* @tmpl_len: Template length
|
||||
* @tmpl: Template data for FILS discovery frame including the action
|
||||
* frame headers.
|
||||
*/
|
||||
struct cfg80211_fils_discovery {
|
||||
u32 min_interval;
|
||||
u32 max_interval;
|
||||
size_t tmpl_len;
|
||||
const u8 *tmpl;
|
||||
};
|
||||
|
||||
/**
|
||||
* enum cfg80211_ap_settings_flags - AP settings flags
|
||||
*
|
||||
@@ -1129,6 +1146,7 @@ enum cfg80211_ap_settings_flags {
|
||||
* @he_obss_pd: OBSS Packet Detection settings
|
||||
* @he_bss_color: BSS Color settings
|
||||
* @he_oper: HE operation IE (or %NULL if HE isn't enabled)
|
||||
* @fils_discovery: FILS discovery transmission parameters
|
||||
*/
|
||||
struct cfg80211_ap_settings {
|
||||
struct cfg80211_chan_def chandef;
|
||||
@@ -1159,6 +1177,7 @@ struct cfg80211_ap_settings {
|
||||
u32 flags;
|
||||
struct ieee80211_he_obss_pd he_obss_pd;
|
||||
struct cfg80211_he_bss_color he_bss_color;
|
||||
struct cfg80211_fils_discovery fils_discovery;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user