> -----Message d'origine----- > De : Felix Fietkau [mailto:nbd@xxxxxxxxxxx] > Envoyé : jeudi 6 février 2014 15:42 > À : Cedric VONCKEN; linux-wireless@xxxxxxxxxxxxxxx > Objet : Re: ATH9K software retry > > On 2014-02-06 14:06, Cedric VONCKEN wrote: > > In xmit.c the function ath_tx_complete_aggr test if the fi->retries < > > ATH_MAX_SW_RETRIES. > > > > If this condition is true, ATH9K handle software retry. > > > > Minstrel set in the frame one or more rates, for each rate minstrel > > set a retries count. I think is sufficient. > > > > Why ATH9K need to manage the software retries? > The retries configured for minstrel_ht are used for hardware retries of single > frames and full A-MPDU transmissions. Software retries are used for > individual subframes that are sent as part of A-MPDUs. > This is required, because failed subframes are frequent with higher MCS rates > and A-MPDU. > Is it possible to only applied software retrying for A-MPDU frame with more one frame? If I correctly understood the code, the function ath_tx_count_frames return the number of frame in the A-MPDU. If nframes == 1 we don't use the software retry. > > With the test we have a minimal of 30 retries (ATH_MAX_SW_RETRIES is > > set to 30). Regards Cedric Voncken -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html