diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-11-18 09:33:48 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-21 16:20:49 -0500 |
commit | 7c4ef7122cef54dc49562eea35cbfaf0f44faa0b (patch) | |
tree | 97cc3b8e602c432375fbe0cdeea9aac8ecbb0fbd /net/mac80211/main.c | |
parent | f2dc7989bf821a0ca78289b32f16078c76c88e7e (diff) |
cfg80211: add flags for off-channel capabilities
Currently mac80211 implements these for all devices,
but given restrictions of some devices that isn't
really true, so prepare for being able to remove the
capability for some mac80211 devices.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 3df4482bb1d9..f0106d331938 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -594,7 +594,9 @@ struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len, | |||
594 | wiphy->flags |= WIPHY_FLAG_NETNS_OK | | 594 | wiphy->flags |= WIPHY_FLAG_NETNS_OK | |
595 | WIPHY_FLAG_4ADDR_AP | | 595 | WIPHY_FLAG_4ADDR_AP | |
596 | WIPHY_FLAG_4ADDR_STATION | | 596 | WIPHY_FLAG_4ADDR_STATION | |
597 | WIPHY_FLAG_REPORTS_OBSS; | 597 | WIPHY_FLAG_REPORTS_OBSS | |
598 | WIPHY_FLAG_OFFCHAN_TX | | ||
599 | WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL; | ||
598 | 600 | ||
599 | wiphy->features = NL80211_FEATURE_SK_TX_STATUS; | 601 | wiphy->features = NL80211_FEATURE_SK_TX_STATUS; |
600 | 602 | ||