diff options
author | Jan Kaisrlik <kaisrja1@fel.cvut.cz> | 2015-09-17 12:03:46 (GMT) |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-09-29 07:39:22 (GMT) |
commit | 862a336c8302695cbac6d8d752ee9a2429487478 (patch) | |
tree | e854c646b883220c8aa48afe7db1f5eab80d8ac4 /drivers/net/wireless/ath/ath9k/htc_drv_init.c | |
parent | c452d944bee09c8c2529d965f10999d80991402a (diff) | |
download | linux-862a336c8302695cbac6d8d752ee9a2429487478.tar.xz |
ath9k: Add support for OCB mode
The patch adds support for "outside the context of a BSS"(OCB) mode
to ath9k driver and extends debugfs files by OCB ralated information.
This patch was tested on AR9380-AL1A cards.
Signed-off-by: Jan Kaisrlik <kaisrja1@fel.cvut.cz>
Cc: Michal Sojka <sojkam1@fel.cvut.cz>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_init.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c index efe77db..8647ab7 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c @@ -740,7 +740,8 @@ static void ath9k_set_hw_capab(struct ath9k_htc_priv *priv, BIT(NL80211_IFTYPE_AP) | BIT(NL80211_IFTYPE_P2P_GO) | BIT(NL80211_IFTYPE_P2P_CLIENT) | - BIT(NL80211_IFTYPE_MESH_POINT); + BIT(NL80211_IFTYPE_MESH_POINT) | + BIT(NL80211_IFTYPE_OCB); hw->wiphy->iface_combinations = &if_comb; hw->wiphy->n_iface_combinations = 1; |