diff options
author | Andrei Otcheretianski <andrei.otcheretianski@intel.com> | 2014-05-09 14:11:47 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-05-15 15:00:58 +0200 |
commit | 0d06d9ba93ad4272dc3cd2865deb18c9e9885fd5 (patch) | |
tree | 20bfaeeb61e088d3004d4667bfb4285000a30c9a /net/mac80211/main.c | |
parent | 9a774c78e2114c7e8605e3a168ccd552cbe3d922 (diff) | |
download | op-kernel-dev-0d06d9ba93ad4272dc3cd2865deb18c9e9885fd5.zip op-kernel-dev-0d06d9ba93ad4272dc3cd2865deb18c9e9885fd5.tar.gz |
mac80211: Support multiple CSA counters
Support up to IEEE80211_MAX_CSA_COUNTERS_NUM csa counters.
This is defined to be 2 now, to support both CSA and eCSA
counters.
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 69175f1..767335f 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -954,6 +954,8 @@ int ieee80211_register_hw(struct ieee80211_hw *hw) if (local->hw.wiphy->flags & WIPHY_FLAG_SUPPORTS_TDLS) local->hw.wiphy->flags |= WIPHY_FLAG_TDLS_EXTERNAL_SETUP; + local->hw.wiphy->max_num_csa_counters = IEEE80211_MAX_CSA_COUNTERS_NUM; + result = wiphy_register(local->hw.wiphy); if (result < 0) goto fail_wiphy_register; |