linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ath10k: enable VHT for IBSS
@ 2015-06-10  5:14 Janusz Dziedzic
  2015-06-10 18:04 ` Sangwoo Moon
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Janusz Dziedzic @ 2015-06-10  5:14 UTC (permalink / raw)
  To: ath10k; +Cc: linux-wireless, Janusz Dziedzic

Enable VHT support for IBSS, while mac80211/cfg80211 and
wpa_supplicant already support this.

In my test env, ath10k 2x2 I get:
(udp) ath10k-1 >>>> ath10k-2 (server) -  speed: 419 Mbits/sec
(tcp) ath10k-1 >>>> ath10k-2 (server) -  speed: 404 Mbits/sec

During tests I used wpa_supplicant (current version), which
already support IBSS VHT, and choose highest available BW.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
---
 drivers/net/wireless/ath/ath10k/mac.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index f4de717..14a8f25 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -6949,6 +6949,8 @@ int ath10k_mac_register(struct ath10k *ar)
 		goto err_free;
 	}
 
+	wiphy_ext_feature_set(ar->hw->wiphy, NL80211_EXT_FEATURE_VHT_IBSS);
+
 	/*
 	 * on LL hardware queues are managed entirely by the FW
 	 * so we only advertise to mac we can do the queues thing
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-06-16 10:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-10  5:14 [PATCH v2] ath10k: enable VHT for IBSS Janusz Dziedzic
2015-06-10 18:04 ` Sangwoo Moon
2015-06-11  4:28   ` Janusz Dziedzic
2015-06-11  6:32     ` Sangwoo Moon
2015-06-11  6:33       ` Janusz Dziedzic
2015-06-11 13:25         ` Ben Greear
2015-06-11 14:15 ` Kalle Valo
2015-06-12  5:12   ` Janusz Dziedzic
2015-06-12 13:33     ` Ben Greear
2015-06-15 12:31     ` Kalle Valo
2015-06-16 10:10 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).