All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] [PATCH] ath9k: Support RSN Mesh
@ 2011-12-02  8:51 Yeoh Chun-Yeow
  2011-12-02  9:18 ` Mohammed Shafi
  0 siblings, 1 reply; 15+ messages in thread
From: Yeoh Chun-Yeow @ 2011-12-02  8:51 UTC (permalink / raw)
  To: ath9k-devel

From: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Date: Fri, 18 Nov 2011 10:04:38 +0800
Subject: [PATCH] ath9k: Support RSN Mesh

Enable support of HW crypt for Mesh to achieve high throughput.

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
---
 drivers/net/wireless/ath/ath9k/main.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/ath/ath9k/main.c
b/drivers/net/wireless/ath/ath9k/main.c
index 93fbe6f..1536515 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -1912,7 +1912,8 @@ static int ath9k_set_key(struct ieee80211_hw *hw,

        if (ath9k_modparam_nohwcrypt)
                return -ENOSPC;

-       if (vif->type == NL80211_IFTYPE_ADHOC &&
+       if ((vif->type == NL80211_IFTYPE_ADHOC ||
+            vif->type == NL80211_IFTYPE_MESH_POINT) &&
            (key->cipher == WLAN_CIPHER_SUITE_TKIP ||
             key->cipher == WLAN_CIPHER_SUITE_CCMP) &&
            !(key->flags & IEEE80211_KEY_FLAG_PAIRWISE)) {
--
1.7.0.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20111202/b81588d8/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ath9k-rsn-mesh.patch
Type: text/x-patch
Size: 990 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20111202/b81588d8/attachment.bin 

^ permalink raw reply related	[flat|nested] 15+ messages in thread
* [ath9k-devel] [PATCH] ath9k: Support RSN Mesh
@ 2011-12-07 20:45 Thomas Pedersen
  2011-12-07 21:31 ` Luis R. Rodriguez
  0 siblings, 1 reply; 15+ messages in thread
From: Thomas Pedersen @ 2011-12-07 20:45 UTC (permalink / raw)
  To: ath9k-devel

From: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
---
 drivers/net/wireless/ath/ath9k/main.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index 424289f..82b0d4b 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -1923,7 +1923,8 @@ static int ath9k_set_key(struct ieee80211_hw *hw,
 	if (ath9k_modparam_nohwcrypt)
 		return -ENOSPC;
 
-	if (vif->type == NL80211_IFTYPE_ADHOC &&
+	if ((vif->type == NL80211_IFTYPE_ADHOC ||
+	     vif->type == NL80211_IFTYPE_MESH_POINT) &&
 	    (key->cipher == WLAN_CIPHER_SUITE_TKIP ||
 	     key->cipher == WLAN_CIPHER_SUITE_CCMP) &&
 	    !(key->flags & IEEE80211_KEY_FLAG_PAIRWISE)) {
-- 
1.7.5.4

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

end of thread, other threads:[~2011-12-07 21:31 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-02  8:51 [ath9k-devel] [PATCH] ath9k: Support RSN Mesh Yeoh Chun-Yeow
2011-12-02  9:18 ` Mohammed Shafi
2011-12-02  9:23   ` Yeoh Chun-Yeow
2011-12-02  9:38     ` Mohammed Shafi
2011-12-02  9:51       ` Yeoh Chun-Yeow
2011-12-02  9:54         ` Yeoh Chun-Yeow
2011-12-02 10:01         ` Mohammed Shafi
2011-12-02 10:04           ` Yeoh Chun-Yeow
2011-12-02 10:12             ` Mohammed Shafi
2011-12-02 13:26             ` gtolon at inti.gob.ar
2011-12-02 15:28               ` Yeoh Chun-Yeow
2011-12-02 16:50                 ` gtolon at inti.gob.ar
2011-12-07  5:16                   ` Yeoh Chun-Yeow
  -- strict thread matches above, loose matches on Subject: below --
2011-12-07 20:45 Thomas Pedersen
2011-12-07 21:31 ` Luis R. Rodriguez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.