Setting Backoff values
We tried changing backoff value range through this function in mac.c
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));
Setting using 1,1 in place of cwMin and qi->tqi_cwmax respectively is giving almost the same throughput as with 1, 1023. Doesn't this mean, backoff window range is not changing properly? What is the correct way to do this.
How are you testing?
adrian
Quoted 16 lines · Ruwaifa Anwar
We tried changing backoff value range through this function in
mac.cREG_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));Setting using 1,1 in place of cwMin and
qi->tqi_cwmaxrespectively is giving almost the same throughput as with 1, 1023. Doesn't this mean, backoff window range is not changing properly? What is the correct way to do this._______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Quoted 10 lines · Ruwaifa Anwar <ruwaifa.anwar <at> gmail.com> writes:
We tried changing backoff value range through this function in
mac.cREG_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));Setting using 1,1 in place of cwMin and
qi->tqi_cwmaxrespectively is giving almost the same throughput as with 1, 1023. Doesn't this mean, backoff
window
Quoted 2 lines
range is not changing properly? What is the correct way to do this.
By calculating number of MPDUs successfully completed per unit time.
Secondly i want to claritfy one more thing
As you said in previous posts that this alters backoff window for all frames in a queue. What happens if there's a long retry, will hardware still use the given values or use exponentially increased values of cwmin and cwmax
Well, backoff is only going to increment if it fails, so if you have a mostly clear air, you're not going to see many failures.
Do the math and see if you're already filling the air with transmissions.
Try setting it max,max instead of min,min and see what happens.
The backoff counter is reset after each transmission attempt. So if you have 5 frames in the queue, it'll do backoff for one, once that frme goes out or expires, it'll start the next one with the reset min counter value.
Adrian
Dear Adrian,
We are running some tests to see how the frame transmission attempts evolve in cases that the medium is used only by a single terminal.
In a low-quality link, we configure the 54 Mbps legacy rate and observe that although the frame delivery rate is quite low (30%), the transmission attempts reach the maximum values.
This can only be explained by the CW reset policy that you mentioned in the previous mail,
which in cases of missing ACKs, the CW is reset to CWmin for newly arriving frames,
and is only doubled across Retransmissions of the same frame.
Is this policy consistent with the policy described in the standard, which specifies that the CW is reset to CWmin only upon a successful transmission?
Thank you,
Stratos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140724/0dea68e6/attachment.htm
According to the best of my knowledge, even in case of missing Acks,
backoff window gets increased.
Quoted 25 lines · Stratos Keranidis
Dear Adrian,
We are running some tests to see how the frame transmission attempts evolve in cases that the medium is used only by a single terminal.
In a low-quality link, we configure the 54 Mbps legacy rate and observe that although the frame delivery rate is quite low (30%), the transmission attempts reach the maximum values.
This can only be explained by the CW reset policy that you mentioned in the previous mail,
which in cases of missing ACKs, the CW is reset to CWmin for newly arriving frames,
and is only doubled across Retransmissions of the same frame.Is this policy consistent with the policy described in the standard, which specifies that the CW is reset to CWmin only upon a successful transmission?
Thank you,
Stratos.
Signature · 4 lines
Sent from Gmail Mobile -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140724/4e96df32/attachment.htm