All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] improve operational ANI in Mesh mode
@ 2013-02-16  2:43 ` Georgiewskiy Yuriy
  0 siblings, 0 replies; 52+ messages in thread
From: Georgiewskiy Yuriy @ 2013-02-16  2:43 UTC (permalink / raw)
  To: ath9k-devel


Hi, in our setups we experience pure ANI operational in mesh mode
VS AP mode, after debuffing and digging in ANI code i find what ANI
in AP mode work in limited mode, i try this mode with mesh and seems
getting same good operation as in AP mode, i am not familiar with ANI
may be there is another better way to fix this issue?

changes what i made:

diff -ruN compat-drivers-3.7.6-1/drivers/net/wireless/ath/ath9k/ani.c compat-drivers-3.7.6-1-new/drivers/net/wireless/ath/ath9k/ani.c
--- compat-drivers-3.7.6-1/drivers/net/wireless/ath/ath9k/ani.c	2013-02-11 04:23:53.000000000 +0400
+++ compat-drivers-3.7.6-1-new/drivers/net/wireless/ath/ath9k/ani.c	2013-02-16 05:03:46.640746411 +0400
@@ -303,7 +303,8 @@
  	ah->stats.ast_ani_reset++;

  	/* only allow a subset of functions in AP mode */
-	if (ah->opmode == NL80211_IFTYPE_AP) {
+	if (ah->opmode == NL80211_IFTYPE_AP || ah->opmode == NL80211_IFTYPE_MESH_POINT) {
+		ath_dbg(common, ANI, "only allow a subset of functions in AP or MESH mode");
  		if (IS_CHAN_2GHZ(chan)) {
  			ah->ani_function = (ATH9K_ANI_SPUR_IMMUNITY_LEVEL |
  					    ATH9K_ANI_FIRSTEP_LEVEL);
@@ -323,7 +324,8 @@

  	if (is_scanning ||
  	    (ah->opmode != NL80211_IFTYPE_STATION &&
-	     ah->opmode != NL80211_IFTYPE_ADHOC)) {
+	     ah->opmode != NL80211_IFTYPE_ADHOC && 
+	     ah->opmode != NL80211_IFTYPE_MESH_POINT)) {
  		/*
  		 * If we're scanning or in AP mode, the defaults (ini)
  		 * should be in place. For an AP we assume the historical



C ?????????                       With Best Regards
???????????? ????.                Georgiewskiy Yuriy
+7 4872 711666                    +7 4872 711666
???? +7 4872 711143               fax +7 4872 711143
???????? ??? "?? ?? ??????"       IT Service Ltd
http://nkoort.ru                  http://nkoort.ru
JID: GHhost at icf.org.ru            JID: GHhost at icf.org.ru
YG129-RIPE                        YG129-RIPE

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

end of thread, other threads:[~2013-02-21  1:23 UTC | newest]

Thread overview: 52+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-16  2:43 [ath9k-devel] improve operational ANI in Mesh mode Georgiewskiy Yuriy
2013-02-16  2:43 ` Georgiewskiy Yuriy
2013-02-16  4:08 ` [ath9k-devel] " Adrian Chadd
2013-02-16  4:08   ` Adrian Chadd
2013-02-16  4:18   ` [ath9k-devel] " Georgiewskiy Yuriy
2013-02-16  4:18     ` Georgiewskiy Yuriy
2013-02-19 13:40 ` [ath9k-devel] " Simon Wunderlich
2013-02-19 13:40   ` Simon Wunderlich
2013-02-19 14:04   ` [ath9k-devel] " Georgiewskiy Yuriy
2013-02-19 14:04     ` Georgiewskiy Yuriy
2013-02-19 16:31     ` [ath9k-devel] " Adrian Chadd
2013-02-19 16:31       ` Adrian Chadd
2013-02-19 16:49       ` Georgiewskiy Yuriy
2013-02-19 16:49         ` Georgiewskiy Yuriy
2013-02-19 17:20         ` Adrian Chadd
2013-02-19 17:20           ` Adrian Chadd
2013-02-19 18:29           ` Sujith Manoharan
2013-02-19 18:29             ` Sujith Manoharan
2013-02-19 18:33             ` Adrian Chadd
2013-02-19 18:33               ` Adrian Chadd
2013-02-19 18:38               ` Georgiewskiy Yuriy
2013-02-19 18:38                 ` Georgiewskiy Yuriy
2013-02-19 18:44               ` Sujith Manoharan
2013-02-19 18:44                 ` Sujith Manoharan
2013-02-19 19:11                 ` Georgiewskiy Yuriy
2013-02-19 19:11                   ` Georgiewskiy Yuriy
2013-02-19 19:37                   ` Adrian Chadd
2013-02-19 19:37                     ` Adrian Chadd
2013-02-19 20:31                     ` Georgiewskiy Yuriy
2013-02-19 20:31                       ` Georgiewskiy Yuriy
2013-02-20  3:30                       ` Yeoh Chun-Yeow
2013-02-20  3:30                         ` Yeoh Chun-Yeow
2013-02-20 19:31                         ` Georgiewskiy Yuriy
2013-02-20 19:31                           ` Georgiewskiy Yuriy
2013-02-21  0:37                           ` Georgiewskiy Yuriy
2013-02-21  0:37                             ` Georgiewskiy Yuriy
2013-02-21  1:08                             ` Yeoh Chun-Yeow
2013-02-21  1:08                               ` Yeoh Chun-Yeow
2013-02-21  1:23                               ` Georgiewskiy Yuriy
2013-02-21  1:23                                 ` Georgiewskiy Yuriy
2013-02-20 14:24                       ` Bob Copeland
2013-02-20 14:24                         ` Bob Copeland
2013-02-20 19:55                         ` Georgiewskiy Yuriy
2013-02-20 19:55                           ` Georgiewskiy Yuriy
2013-02-20 20:25                           ` Bob Copeland
2013-02-20 20:25                             ` Bob Copeland
2013-02-20 20:27                             ` Bob Copeland
2013-02-20 20:27                               ` Bob Copeland
2013-02-20  3:12                     ` Sujith Manoharan
2013-02-20  3:12                       ` Sujith Manoharan
2013-02-20 10:31       ` Simon Wunderlich
2013-02-20 10:31         ` Simon Wunderlich

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.