Search Linux Wireless

Re: improve operational ANI in Mesh mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2013-02-19 14:40 +0100, Simon Wunderlich wrote Georgiewskiy Yuriy:

Hi, i don't know mutch about ibss mode, but in 802.11s we expirience massive 
packetloss sometime, also according to signal levels ani seems not work at all,
it adjust some level while interface startup, then it stay forether, levels 
varies about from -10 to -60db dBm, for example - rmmod then insmod, bring interface 
up - see one level, rmmod then insmod, bring interface up - another level, 
and so on, also seems issuing scan make some level ajust, in random side too. 
but as i say before - i dont familiar with ani, i just make it work in 802.11s 
mode as in AP mode and this helps. you can try of cose my patch, just change 
NL80211_IFTYPE_MESH_POINT to NL80211_IFTYPE_ADHOC, but i don't known make it 
sence or not.

SW>Hello Georgiewskiy,
SW>
SW>On Sat, Feb 16, 2013 at 06:43:16AM +0400, Georgiewskiy Yuriy wrote:
SW>> 
SW>> Hi, in our setups we experience pure ANI operational in mesh mode
SW>> VS AP mode, after debuffing and digging in ANI code i find what ANI
SW>> in AP mode work in limited mode, i try this mode with mesh and seems
SW>> getting same good operation as in AP mode, i am not familiar with ANI
SW>> may be there is another better way to fix this issue?
SW>
SW>We sometimes see some problems too where we suspect ANI, but we are not
SW>and it's hard to reproduce. Our mesh networks are IBSS mode based, not
SW>802.11s mesh, so I wonder if we can apply your findings to IBSS mode too.
SW>
SW>Can you describe how your setup looks like, and what difference your patches
SW>make? Did you experience some problem which was easily reproducable?
SW>Also, do you plan to send a proper patch?
SW>
SW>Thanks,
SW>	Simon
SW>
SW>> 
SW>> changes what i made:
SW>> 
SW>> 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
SW>> --- compat-drivers-3.7.6-1/drivers/net/wireless/ath/ath9k/ani.c	2013-02-11 04:23:53.000000000 +0400
SW>> +++ compat-drivers-3.7.6-1-new/drivers/net/wireless/ath/ath9k/ani.c	2013-02-16 05:03:46.640746411 +0400
SW>> @@ -303,7 +303,8 @@
SW>>  	ah->stats.ast_ani_reset++;
SW>> 
SW>>  	/* only allow a subset of functions in AP mode */
SW>> -	if (ah->opmode == NL80211_IFTYPE_AP) {
SW>> +	if (ah->opmode == NL80211_IFTYPE_AP || ah->opmode == NL80211_IFTYPE_MESH_POINT) {
SW>> +		ath_dbg(common, ANI, "only allow a subset of functions in AP or MESH mode");
SW>>  		if (IS_CHAN_2GHZ(chan)) {
SW>>  			ah->ani_function = (ATH9K_ANI_SPUR_IMMUNITY_LEVEL |
SW>>  					    ATH9K_ANI_FIRSTEP_LEVEL);
SW>> @@ -323,7 +324,8 @@
SW>> 
SW>>  	if (is_scanning ||
SW>>  	    (ah->opmode != NL80211_IFTYPE_STATION &&
SW>> -	     ah->opmode != NL80211_IFTYPE_ADHOC)) {
SW>> +	     ah->opmode != NL80211_IFTYPE_ADHOC && +	     ah->opmode !=
SW>> NL80211_IFTYPE_MESH_POINT)) {
SW>>  		/*
SW>>  		 * If we're scanning or in AP mode, the defaults (ini)
SW>>  		 * should be in place. For an AP we assume the historical
SW>> 
SW>> 
SW>> 
SW>> C уважением                       With Best Regards
SW>> Георгиевский Юрий.                Georgiewskiy Yuriy
SW>> +7 4872 711666                    +7 4872 711666
SW>> факс +7 4872 711143               fax +7 4872 711143
SW>> Компания ООО "Ай Ти Сервис"       IT Service Ltd
SW>> http://nkoort.ru                  http://nkoort.ru
SW>> JID: GHhost@xxxxxxxxxx            JID: GHhost@xxxxxxxxxx
SW>> YG129-RIPE                        YG129-RIPE
SW>
SW>

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@xxxxxxxxxx            JID: GHhost@xxxxxxxxxx
YG129-RIPE                        YG129-RIPE

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux