Thanks, Following had worked for me in the meanwhile in xmit.c, I added following at the end of ath_set_rates.
for (i = 0; i < IEEE80211_TX_MAX_RATES; i++) { if (bf->rates[i].idx >= 0) bf->rates[i].count = 1; }` On Mon, Aug 11, 2014 at 3:40 AM, Thomas V <thomasv...@gmail.com> wrote: > You can try one of the following. > in ath9k/xmit.c > > 1. In ath_tx_fill_desc() > set > info->flags |= ATH9K_TXDESC_NOACK; > > or > > 2. after the call to ath_buf_set_rate() > set > info->rate[0].tries = 0; > info->rate[1].tries = 0; > info->rate[2].tries = 0; > info->rate[3].tries = 0; > > > Regards, > Thomas > > > On Mon, Aug 11, 2014 at 12:40 PM, mahaveer gupta <mgupta1...@gmail.com> > wrote: > >> Abhinav: >> >> Didnt work with AR5418. I still receive packets with the retry bit set. >> Can anyone confirm what is the correct way to disable retries? >> >> Thanks >> >> >> On Tue, Jun 17, 2014 at 8:37 PM, abhinav narain < >> abhinavnarai...@gmail.com> wrote: >> >>> >>> >>> >>> On Sat, Jun 14, 2014 at 12:41 AM, kelly thomas < >>> thomaskellysea...@gmail.com> wrote: >>> >>>> I am now conducting an experiment with UDP packet only over few >>>> wireless links. There will be no TCP flows so any retries would be >>>> unnecessary. >>>> >>>> >>>> >>>> ath9k/init.c >>>> >>>> 648 >>>> <http://lxr.free-electrons.com/source/drivers/net/wireless/ath/ath9k/init.c?v=2.6.34#L648> >>>> hw >>>> <http://lxr.free-electrons.com/ident?v=2.6.34;i=hw>->max_rate_tries = 10; >>>> >>>> >>>> I have set this value to 0 in the past and it works. >>> I worked with AR9285 chip only, so I am not sure about the rest of them. >>> I think AR5220 too works with above init value. >>> >>> I don't think what you set in mac80211 subsystem is going to effect >>> retransmission counter as this value is directly used in hardware imo. >>> >>> >>> Thanks, >>> Abhinav >>> >>> _______________________________________________ >>> ath9k-devel mailing list >>> ath9k-devel@lists.ath9k.org >>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel >>> >>> >> >> >> -- >> Thanks, >> M >> >> _______________________________________________ >> ath9k-devel mailing list >> ath9k-devel@lists.ath9k.org >> https://lists.ath9k.org/mailman/listinfo/ath9k-devel >> >> > -- Thanks, M
_______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel