Frame Aggregation and Block ACK pros
Hi,hackers!
I has researched 802.11n NIC and its driver(mac80211-ath9k) for a long time, and dealt with a few hacking problems. Recently, I trying to realize that disableMAC layer ACK to test 11n character, but always failed to reach my target. Are there any guys who solved this problem or somethig like this? Some trys has been done,like set flag IEEE80211_TX_CTL_NO_ACK. In this hack test, I found that ACK actually had been disable but mode back to legacy and frame aggregation became invalid. Further survey, Block ACK would be disable once the flag IEEE80211_TX_CTL_NO_ACK setted.
So, I wonder if frame aggregation can not form without Block ACK. And is it possible to choose HT mode without Block ACK? Any other guides to realize my target?
Looking forward to your reply.
2012-04-30
chansun.xjs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20120430/84375ece/attachment.htm
Sounds like you're after A-MSDU support?
Adrian
To be honest, I am not quite sure if A-MSDU support although it display "Max AMSDU length: 3839 bytes " and "Maximum RX AMPDU length 65535 bytes (exponent: 0x003)" by iw phy0 info command. However,I can confirm test card support A-MPDU by looking over debug file "xmit" in */ath9k/, which display AMPDUs Queued HW , AMPDUs Q ueued SW and AMPDUs Completed.
2012-04-30
chansun.xjs
????Adrian Chadd
?????2012-04-30 15:37
???Re: Frame Aggregation and Block ACK pros
????"chansun.xjs"<[email protected]>
???"Felix Fietkau"<[email protected]>,"Mohammed Shafi"<[email protected]>,"fredmm"<[email protected]>,"Daniel Smith"<[email protected]>,"Luis R"<[email protected]>,"ath9k-devel"<[email protected]>
Sounds like you're after A-MSDU support?
Adrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20120430/4b7050a0/attachment.htm
I don't think A-MSDU support is in ath9k just yet, but the hardware certainly supports it.
So what I think you're looking for is:
* help figuring out how to send A-MSDUs;
* write the missing code;
* push it upstream. :-)
Adrian
Yes,appreciate for your tips, but what I am paying attention to is enabling normal A-MPDU without Block ACK. Is there any possibility to do that? Any guides?
2012-05-01
chansun.xjs
????Adrian Chadd
?????2012-05-01 04:19
???Re: Re: Frame Aggregation and Block ACK pros
????"chansun.xjs"<[email protected]>
???"Felix Fietkau"<[email protected]>,"Mohammed Shafi"<[email protected]>,"fredmm"<[email protected]>,"Daniel Smith"<[email protected]>,"Luis R"<[email protected]>,"ath9k-devel"<[email protected]>
I don't think A-MSDU support is in ath9k just yet, but the hardware certainly supports it.
So what I think you're looking for is:
* help figuring out how to send A-MSDUs;
* write the missing code;
* push it upstream. :-)
Adrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20120501/bec83ed2/attachment.htm
Quoted 3 lines · chansun.xjs
Yes,appreciate for your tips, but what I am paying attention to is enabling normal A-MPDU without Block ACK. Is there any possibility to do that? Any guides?
I personally have no idea, sorry. I haven't tried doing it so I don't know if it's possible.
You could test for yourself though - you just need to hack up ath9k to override:
* when queuing a set of aggregate frames to the hardware, override the TX descriptor ACK setting (ie, forcibly disable ACK in the TX descriptor when it's an aggregate);
* always treat sub-frames as "ACKed" when handling an aggregate TX completion (as if it did work, the BA bitmap is likely to be all 0's..)
Adrian
Thanks a lot, I will try it
2012-05-01
chansun.xjs
????Adrian Chadd
?????2012-05-01 10:48
???Re: Re: Re: Frame Aggregation and Block ACK pros
????"chansun.xjs"<[email protected]>
???"Felix Fietkau"<[email protected]>,"Mohammed Shafi"<[email protected]>,"fredmm"<[email protected]>,"Daniel Smith"<[email protected]>,"Luis R"<[email protected]>,"ath9k-devel"<[email protected]>
Quoted 3 lines · chansun.xjs
Yes,appreciate for your tips, but what I am paying attention to is enabling normal A-MPDU without Block ACK. Is there any possibility to do that? Any guides?
I personally have no idea, sorry. I haven't tried doing it so I don't know if it's possible.
You could test for yourself though - you just need to hack up ath9k to override:
* when queuing a set of aggregate frames to the hardware, override the TX descriptor ACK setting (ie, forcibly disable ACK in the TX descriptor when it's an aggregate);
* always treat sub-frames as "ACKed" when handling an aggregate TX completion (as if it did work, the BA bitmap is likely to be all 0's..)
Adrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20120501/e7c0544c/attachment-0001.htm
hi,
Quoted 1 line · chansun.xjs
Thanks a lot, I will try it
just seem iw have a command iw dev <devname> set noack_map <map>
did it work?
Quoted 33 lines
2012-05-01
________________________________
chansun.xjs
________________________________
????Adrian Chadd
?????2012-05-01 10:48
???Re: Re: Re: Frame Aggregation and Block ACK pros ????"chansun.xjs"<[email protected]>
???"Felix Fietkau"<[email protected]>,"Mohammed Shafi"<[email protected]>,"fredmm"<[email protected]>,"Daniel Smith"<[email protected]>,"Luis R"<[email protected]>,"ath9k-devel"<[email protected]>Quoted 3 lines · chansun.xjs
Yes,appreciate for your tips, but what I am paying attention to is enabling normal A-MPDU without Block ACK. Is there any possibility to do that? Any guides?
I personally have no idea, sorry. I haven't tried doing it so I don't know if it's possible.
You could test for yourself though - you just need to hack up ath9k to override:
* when queuing a set of aggregate frames to the hardware, override the TX descriptor ACK setting (ie, forcibly disable ACK in the TX descriptor when it's an aggregate);
* always treat sub-frames as "ACKed" when handling an aggregate TX completion (as if it did work, the BA bitmap is likely to be all 0's..)Adrian
Signature · 2 lines
thanks, shafi
Hi, I'm trying to change the way aggregation (AMPDU or AMSDU) is done in ath9k/mac80211.
I'm trying to aggregate more or less to different STA depending on its rate. I see that you hace been working with something similar.
Can you give me any guidelines? which functions/files should i modify? Any help is appreciated, thanks in advance
Rodrigo