diff options
author | Sara Sharon <sara.sharon@intel.com> | 2019-01-17 00:02:03 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-02-08 15:51:50 +0300 |
commit | 213ed579d38ef47c55694a4a411926af3dfc6558 (patch) | |
tree | 1eaffbf2a7c3251739cfd8a62f0027930917bf86 /include/net/cfg80211.h | |
parent | 7011ba583f425780ab1ee52f41161a0171197365 (diff) | |
download | linux-213ed579d38ef47c55694a4a411926af3dfc6558.tar.xz |
cfg80211: parse multi-bssid only if HW supports it
Parsing and exposing nontransmitted APs is problematic
when underlying HW doesn't support it. Do it only if
driver indicated support. Allow HE restriction as well,
since the HE spec defined the exact manner that Multiple
BSSID set should behave. APs that not support the HE
spec will have less predictable Multiple BSSID set
support/behavior
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 86de6b62a44b..67aeb7199617 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -4315,6 +4315,11 @@ struct cfg80211_pmsr_capabilities { * @txq_memory_limit: configuration internal TX queue memory limit * @txq_quantum: configuration of internal TX queue scheduler quantum * + * @support_mbssid: can HW support association with nontransmitted AP + * @support_only_he_mbssid: don't parse MBSSID elements if it is not + * HE AP, in order to avoid compatibility issues. + * @support_mbssid must be set for this to have any effect. + * * @pmsr_capa: peer measurement capabilities */ struct wiphy { @@ -4455,6 +4460,9 @@ struct wiphy { u32 txq_memory_limit; u32 txq_quantum; + u8 support_mbssid:1, + support_only_he_mbssid:1; + const struct cfg80211_pmsr_capabilities *pmsr_capa; char priv[0] __aligned(NETDEV_ALIGN); |