diff options
author | Andrei Otcheretianski <andrei.otcheretianski@intel.com> | 2014-05-09 13:11:47 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-05-15 15:00:58 +0200 |
commit | 0d06d9ba93ad4272dc3cd2865deb18c9e9885fd5 (patch) | |
tree | 20bfaeeb61e088d3004d4667bfb4285000a30c9a /net/mac80211/main.c | |
parent | cfg80211: Support multiple CSA counters (diff) | |
download | linux-0d06d9ba93ad4272dc3cd2865deb18c9e9885fd5.tar.xz linux-0d06d9ba93ad4272dc3cd2865deb18c9e9885fd5.zip |
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 69175f1539b7..767335f0ca2f 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; |