RTS retry limit
Hello,
I am a Ph.D. student at the University of Waterloo working on performance evaluation of WiFi networks. In our current experiments, we use ath9k driver and everything has been very smooth and the driver code is easy to understand. However, we had a problem regarding RTS retry limit. Although both short and long retransmission limit are set to 1, sometimes multiple RTS frames are transmitted for a single data frame. Is there any way to control RTS retransmission limit?
My other related question is what is your exact interperetation of short and long retransmission limit? Aren't RTS frames shorter than RTS threshold and therefore shouldn't the short retry limit control RTS retransmission?
Regards,
Ali Abedi
There's a short/long retry field per DCU. You should see what they're set to.
Adrian
Quoted 20 lines · Ali Abedi
Hello,
I am a Ph.D. student at the University of Waterloo working on performance evaluation of WiFi networks. In our current experiments, we use ath9k driver and everything has been very smooth and the driver code is easy to understand. However, we had a problem regarding RTS retry limit. Although both short and long retransmission limit are set to 1, sometimes multiple RTS frames are transmitted for a single data frame. Is there any way to control RTS retransmission limit?
My other related question is what is your exact interperetation of short and long retransmission limit? Aren't RTS frames shorter than RTS threshold and therefore shouldn't the short retry limit control RTS retransmission?Regards,
Ali Abedi
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Quoted 3 lines · Ali Abedi
Thank you Adrian. Can you please refer me to the code that defines short/long retry field per DCU? I am not completely sure if I know where these fields are defined.
Here's the relevant code from FreeBSD. I don't have ath9k open. The register definitions should be the same.
/* set cwMin/Max and AIFS values */
OS_REG_WRITE(ah, AR_DLCL_IFS(q),
SM(cwMin, AR_D_LCL_IFS_CWMIN)
| SM(qi->tqi_cwmax, AR_D_LCL_IFS_CWMAX)
| SM(qi->tqi_aifs, AR_D_LCL_IFS_AIFS));
/* Set retry limit values */
OS_REG_WRITE(ah, AR_DRETRY_LIMIT(q),
SM(INIT_SSH_RETRY, AR_D_RETRY_LIMIT_STA_SH)
| SM(INIT_SLG_RETRY, AR_D_RETRY_LIMIT_STA_LG)
| SM(qi->tqi_lgretry, AR_D_RETRY_LIMIT_FR_LG)
| SM(qi->tqi_shretry, AR_D_RETRY_LIMIT_FR_SH)
);Note that DLCL_IFS and DRETRY_LIMIT is per-TXQ.
Adrian