diff options
author | Yoni Divinsky <yoni.divinsky@ti.com> | 2012-06-20 08:39:13 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-06-20 11:35:22 -0400 |
commit | 00e96decfd0b927f975c98340a5982c5039eeaae (patch) | |
tree | aec86580944dd4a5bc22238fe4a77bb3d8acc777 /net/mac80211/ieee80211_i.h | |
parent | 50ae34a254ca5192e46503884ed0edd60795fe87 (diff) |
mac80211: save wmm_acm per sdata
Save and configure the wmm_acm per sdata, rather than
per hardware.
If wmm_acm is saved per hardware when running two
interfaces simultaneously on the same hardware one
interface's wmm policy will be affected by the other
interface.
Signed-off-by: Yoni Divinsky <yoni.divinsky@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 34af2e5263c2..0024c32d7bc4 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -680,6 +680,9 @@ struct ieee80211_sub_if_data { | |||
680 | /* TID bitmap for NoAck policy */ | 680 | /* TID bitmap for NoAck policy */ |
681 | u16 noack_map; | 681 | u16 noack_map; |
682 | 682 | ||
683 | /* bit field of ACM bits (BIT(802.1D tag)) */ | ||
684 | u8 wmm_acm; | ||
685 | |||
683 | struct ieee80211_key __rcu *keys[NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS]; | 686 | struct ieee80211_key __rcu *keys[NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS]; |
684 | struct ieee80211_key __rcu *default_unicast_key; | 687 | struct ieee80211_key __rcu *default_unicast_key; |
685 | struct ieee80211_key __rcu *default_multicast_key; | 688 | struct ieee80211_key __rcu *default_multicast_key; |
@@ -1025,7 +1028,6 @@ struct ieee80211_local { | |||
1025 | int total_ps_buffered; /* total number of all buffered unicast and | 1028 | int total_ps_buffered; /* total number of all buffered unicast and |
1026 | * multicast packets for power saving stations | 1029 | * multicast packets for power saving stations |
1027 | */ | 1030 | */ |
1028 | unsigned int wmm_acm; /* bit field of ACM bits (BIT(802.1D tag)) */ | ||
1029 | 1031 | ||
1030 | bool pspolling; | 1032 | bool pspolling; |
1031 | bool offchannel_ps_enabled; | 1033 | bool offchannel_ps_enabled; |