summaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorSara Sharon2016-02-16 11:48:18 +0100
committerJohannes Berg2016-02-24 09:04:40 +0100
commitb5a33d52595f0cb153f09bf45a5dcd66a7418dbb (patch)
treefdf1f4baa61b8f5c749adec253b96dbec11a3545 /include/net/mac80211.h
parentmac80211: provide interface to driver to set VHT MU-MIMO data (diff)
downloadkernel-qcow2-linux-b5a33d52595f0cb153f09bf45a5dcd66a7418dbb.tar.gz
kernel-qcow2-linux-b5a33d52595f0cb153f09bf45a5dcd66a7418dbb.tar.xz
kernel-qcow2-linux-b5a33d52595f0cb153f09bf45a5dcd66a7418dbb.zip
mac80211: move MU_MIMO_OWNER flag to ieee80211_vif
Drivers may need to track which vif is using VHT MU-MIMO. Move the flag indicationg the ownership of MU_MIMO to ieee80211_vif. Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 23f2a5ecf669..0c09da34b67a 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1382,6 +1382,7 @@ enum ieee80211_vif_flags {
* @csa_active: marks whether a channel switch is going on. Internally it is
* write-protected by sdata_lock and local->mtx so holding either is fine
* for read access.
+ * @mu_mimo_owner: indicates interface owns MU-MIMO capability
* @driver_flags: flags/capabilities the driver has for this interface,
* these need to be set (or cleared) when the interface is added
* or, if supported by the driver, the interface type is changed
@@ -1408,6 +1409,7 @@ struct ieee80211_vif {
u8 addr[ETH_ALEN];
bool p2p;
bool csa_active;
+ bool mu_mimo_owner;
u8 cab_queue;
u8 hw_queue[IEEE80211_NUM_ACS];