diff options
author | Toke Høiland-Jørgensen <toke@toke.dk> | 2018-05-08 14:03:50 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-05-08 14:25:22 +0300 |
commit | 2fe4a29a452a68ffa8a501000d0ef8095c242eba (patch) | |
tree | dcd8e22b24297d6011262ea2ad6fc5b2ef593430 /net/mac80211/main.c | |
parent | 52539ca89f365d3db530535fbffa88a3cca4d2ec (diff) | |
download | linux-2fe4a29a452a68ffa8a501000d0ef8095c242eba.tar.xz |
mac80211: Support the new cfg80211 TXQ stats API
This adds support to mac80211 to export TXQ stats via the newly added
cfg80211 API.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 9ea17afaa237..4d2e797e3f16 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -565,6 +565,9 @@ struct ieee80211_hw *ieee80211_alloc_hw_nm(size_t priv_data_len, if (!ops->set_key) wiphy->flags |= WIPHY_FLAG_IBSS_RSN; + if (ops->wake_tx_queue) + wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_TXQS); + wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_RRM); wiphy->bss_priv_size = sizeof(struct ieee80211_bss); |