About generating BAs.
Hello All,
There is a function named ath_tx_num_badfrms in xmit.c which apparently counts the number of bad frames that were received by the receiver and were sent in the Block Ack bitmap.
I have two questions:
1. Where is the Block Ack being generated in the receiver code. I checked rx.c, but the main tasklet there seems to be just forwarding frames to higher layers. I have a conjecture that BA generation happens on the chip code, can you confirm this?
2. The number of frames in the bf chain being provided to this function never exceeds 32. So I wonder, if an A-MPDU containing 64 MPDUs was previously transmitted, where is the ACK info of the other 32 MPDUs?
A prompt reply will immensely help, am working on a rate control algorithm.
--
Rakesh
For the 1st question, it seems it's generated by the MAC layer. You can check this function in mac80211/agg-rx.c:ieee80211_send_addba_resp()
Hope it help.
Regards,
Daniel
2010/4/23 Rakesh Kumar <[email protected]>:
Quoted 27 lines
Hello All,
There is a function named
ath_tx_num_badfrmsinxmit.cwhich apparently counts the number of bad frames that were received by the receiver and were sent in the Block Ack bitmap.I have two questions:
1. Where is the Block Ack being generated in the receiver code. I checked
rx.c, but the main tasklet there seems to be just forwarding frames to higher layers. I have a conjecture that BA generation happens on the chip code, can you confirm this?2. The number of frames in the bf chain being provided to this function never exceeds 32. So I wonder, if an A-MPDU containing 64 MPDUs was previously transmitted, where is the ACK info of the other 32 MPDUs?
A prompt reply will immensely help, am working on a rate control algorithm.
--
Rakesh
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Quoted 3 lines · Daniel Yingqiang Ma
For the 1st question, it seems it's generated by the MAC layer. You can check this function in
mac80211/agg-rx.c:ieee80211_send_addba_resp()
That function generates ADDBA resp which is related to session management of the block ACK session. It does not generate the BAs on per aggregate basis. I think, that functionality should lie somewhere in driver code but I haven't been able to find it so far.
--
Rakesh
All immediate BA's should have been generated by your Chip, not in driver. Not sure any one doing it in driver.
thanks
Ranga
Quoted 17 lines · Rakesh Kumar
Quoted 3 lines · Daniel Yingqiang Ma
For the 1st question, it seems it's generated by the MAC layer. You can check this function in
mac80211/agg-rx.c:ieee80211_send_addba_resp()That function generates ADDBA resp which is related to session management of the block ACK session. It does not generate the BAs on per aggregate basis. I think, that functionality should lie somewhere in driver code but I haven't been able to find it so far.
--
Rakesh
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
[ath9k-devel] Data rate protocol
In reply to Rakesh KumarHi all,
I have an Ubiquiti Express Card with chipset Atheros AR9280 and I would like to know:
What data rate protocol does ath9k use when I type in a terminal:
iwconfig wlanX rate auto
Does the Express Card fix the protocol or is it the driver? Am I asking in the correct list?
Thank you