hi all,

I found that there is a retry value in net/wireless/core.c

348         rdev->wiphy.retry_short = 7;
349         rdev->wiphy.retry_long = 4;

If i set those values to 0. the retry will still exist. Is it correct?

Marcus


2014-03-26 21:34 GMT+08:00 abhinav narain <abhinavnarai...@gmail.com>:

> Hi,
> just change value from 10 to 0 for retries to be zero!
>
> http://lxr.linux.no/linux+v3.13.5/drivers/net/wireless/ath/ath9k/init.c#L954
>
> mac80211 API does not update this in ath9k for some reason and the default
> value of retries is 7 in rate minstrel which has also to be changed.
>
> Thanks,
> Abhinav
>
>
> On Wed, Mar 26, 2014 at 5:10 AM, Holger Schurig 
> <holgerschu...@gmail.com>wrote:
>
>> 1. "iwconfig" is outdated, don't use it. Use "iw" instead
>> 2. As noted in the mail you linked to, the retry is also done by
>> software in the mac80211 layer and in the ath9k driver
>> 3. ath9k based-cards don't have firmware
>>
>> So, what you have basically do is to find out where in
>> drivers/net/wireless/atheros and net/mac80211 or net/wireless the
>> software-retry handling is taking place and make this switchable. LXR
>> tells me that IEEE80211_FCTL_RETRY is used in ath9k, see
>>
>> http://lxr.linux.no/linux+v3.13.5/drivers/net/wireless/ath/ath9k/xmit.c#L357
>> . It seems that the ath9k has a max number of retries defined:
>>
>> http://lxr.linux.no/linux+v3.13.5/drivers/net/wireless/ath/ath9k/ath9k.h#L653
>>
>> Hope that puts you into the right direction.
>> _______________________________________________
>> ath9k-devel mailing list
>> ath9k-devel@lists.ath9k.org
>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>>
>
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel@lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
>
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to