Regarding BAW mechanism
Hi dear Ath9k developers,
I found that ath9k driver implementations include BAW(Block acknowledgement window) sliding mechanism for 802.11n. I was wondering that, what were the reasons for using "BAW sliding" instead of "fixed size AMPDUs" since BAW decreases AMPDU size under noisy channel conditions? I couldn't find any publication or research regarding BAW, however, in my point of view this mechanism is one of the key factors that affects on throughput and efficiency.
Thanks in advance
Shinnazar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130314/7cfe1a5a/attachment.htm
Because you need to retransmit some frames, and the standard requires that the receiver not flush out frames to the upper layer stack until:
* the holes (from transmission failures) get filled in;
* the sender sends a BAR to slide the window forward explicitly; which causes any frames in the RX reorder queue before the new window edge to be flushed up to the stack.
Additionally, since some stacks are buggy (heh), you have to time out frames in the RX reorder queue and flush them up.
If you send frames outside of the window then the receiver has to (hopefully!) slide the window along itself and flush whatever has just been thrown out by said sliding window.
You could in theory just keep sending fixed-size AMPDUs regardless of BAW, but then you'd be relying upon the receiver sliding the window along when you transmitted frames outside of the BA window.
Adrian
Quoted 26 lines · shinnazar
Hi dear Ath9k developers,
I found that ath9k driver implementations include BAW(Block acknowledgement window) sliding mechanism for 802.11n. I was wondering that, what were the reasons for using ?BAW sliding? instead of ?fixed size AMPDUs? since BAW decreases AMPDU size under noisy channel conditions? I couldn?t find any publication or research regarding BAW, however, in my point of view this mechanism is one of the key factors that affects on throughput and efficiency.
Thanks in advance
Shinnazar.
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Dear Adrian,
Currently I'm working on BAW size dynamic adaptation. Based on your previous explanations, I need to make modifications at both sender and receiver sides. What will be the driver modification guidelines for that? I think xmit.c should be modified at sender, but I couldn't find any point at the receiver side responsible for BAW sliding.
Thanks in advance,
Shinnazar.
-----Original Message-----
From: Adrian Chadd [mailto:adrian at freebsd.org]
Sent: Friday, March 15, 2013 8:14 AM
To: shinnazar
Cc: ath9k-devel at lists.ath9k.org
Subject: Re: [ath9k-devel] Regarding BAW mechanism
Because you need to retransmit some frames, and the standard requires that the receiver not flush out frames to the upper layer stack until:
* the holes (from transmission failures) get filled in;
* the sender sends a BAR to slide the window forward explicitly; which causes any frames in the RX reorder queue before the new window edge to be flushed up to the stack.
Additionally, since some stacks are buggy (heh), you have to time out frames in the RX reorder queue and flush them up.
If you send frames outside of the window then the receiver has to (hopefully!) slide the window along itself and flush whatever has just been thrown out by said sliding window.
You could in theory just keep sending fixed-size AMPDUs regardless of BAW, but then you'd be relying upon the receiver sliding the window along when you transmitted frames outside of the BA window.
Adrian
Quoted 5 lines · shinnazar
Hi dear Ath9k developers,
I found that ath9k driver implementations include BAW(Block
acknowledgement
Quoted 21 lines
window) sliding mechanism for 802.11n. I was wondering that, what were the reasons for using "BAW sliding" instead of "fixed size AMPDUs" since BAW decreases AMPDU size under noisy channel conditions? I couldn't find any publication or research regarding BAW, however, in my point of view this mechanism is one of the key factors that affects on throughput and efficiency.
Thanks in advance
Shinnazar.
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Hi,
The receive-side reordering code is in mac80211, not ath9k.
Adrian
Quoted 71 lines · shinnazar
Dear Adrian,
Currently I'm working on BAW size dynamic adaptation. Based on your previous explanations, I need to make modifications at both sender and receiver sides. What will be the driver modification guidelines for that? I thinkxmit.cshould be modified at sender, but I couldn't find any point at the receiver side responsible for BAW sliding.
Thanks in advance,
Shinnazar.-----Original Message-----
From: Adrian Chadd [mailto:adrian at freebsd.org]
Sent: Friday, March 15, 2013 8:14 AM
To: shinnazar
Cc: ath9k-devel at lists.ath9k.org
Subject: Re: [ath9k-devel] Regarding BAW mechanismBecause you need to retransmit some frames, and the standard requires that the receiver not flush out frames to the upper layer stack until:
* the holes (from transmission failures) get filled in;
* the sender sends a BAR to slide the window forward explicitly; which causes any frames in the RX reorder queue before the new window edge to be flushed up to the stack.Additionally, since some stacks are buggy (heh), you have to time out frames in the RX reorder queue and flush them up.
If you send frames outside of the window then the receiver has to (hopefully!) slide the window along itself and flush whatever has just been thrown out by said sliding window.
You could in theory just keep sending fixed-size AMPDUs regardless of BAW, but then you'd be relying upon the receiver sliding the window along when you transmitted frames outside of the BA window.
Adrian
Quoted 5 lines · shinnazar
Hi dear Ath9k developers,
I found that ath9k driver implementations include BAW(Block
acknowledgement
Quoted 21 lines
window) sliding mechanism for 802.11n. I was wondering that, what were the reasons for using "BAW sliding" instead of "fixed size AMPDUs" since BAW decreases AMPDU size under noisy channel conditions? I couldn't find any publication or research regarding BAW, however, in my point of view this mechanism is one of the key factors that affects on throughput and efficiency.
Thanks in advance
Shinnazar.
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel