All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] Frame Aggregation and Block ACK pros
@ 2012-04-30  6:32 chansun.xjs
  2012-04-30  7:37 ` Adrian Chadd
  0 siblings, 1 reply; 9+ messages in thread
From: chansun.xjs @ 2012-04-30  6:32 UTC (permalink / raw)
  To: ath9k-devel

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 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ath9k-devel] Frame Aggregation and Block ACK pros
  2012-04-30  6:32 [ath9k-devel] Frame Aggregation and Block ACK pros chansun.xjs
@ 2012-04-30  7:37 ` Adrian Chadd
  2012-04-30  7:53   ` [ath9k-devel] 回复: " chansun.xjs
  0 siblings, 1 reply; 9+ messages in thread
From: Adrian Chadd @ 2012-04-30  7:37 UTC (permalink / raw)
  To: ath9k-devel

Sounds like you're after A-MSDU support?



Adrian

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ath9k-devel] 回复:  Re: Frame Aggregation and Block ACK pros
  2012-04-30  7:37 ` Adrian Chadd
@ 2012-04-30  7:53   ` chansun.xjs
  2012-04-30 20:19     ` [ath9k-devel] " Adrian Chadd
  0 siblings, 1 reply; 9+ messages in thread
From: chansun.xjs @ 2012-04-30  7:53 UTC (permalink / raw)
  To: ath9k-devel

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"<chansun.xjs@gmail.com>
???"Felix Fietkau"<nbd@openwrt.org>,"Mohammed Shafi"<shafi.wireless@gmail.com>,"fredmm"<fredmm@hotmail.co.uk>,"Daniel Smith"<viscous.liquid@gmail.com>,"Luis R"<lrodriguez@atheros.com>,"ath9k-devel"<ath9k-devel@lists.ath9k.org>

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 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ath9k-devel] Frame Aggregation and Block ACK pros
  2012-04-30  7:53   ` [ath9k-devel] 回复: " chansun.xjs
@ 2012-04-30 20:19     ` Adrian Chadd
  2012-05-01  0:10       ` [ath9k-devel] 回复: Re: " chansun.xjs
  2012-08-07 16:05       ` Rodrigo
  0 siblings, 2 replies; 9+ messages in thread
From: Adrian Chadd @ 2012-04-30 20:19 UTC (permalink / raw)
  To: ath9k-devel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ath9k-devel] 回复:  Re: Re: Frame Aggregation and Block ACK pros
  2012-04-30 20:19     ` [ath9k-devel] " Adrian Chadd
@ 2012-05-01  0:10       ` chansun.xjs
  2012-05-01  2:48         ` [ath9k-devel] " Adrian Chadd
  2012-08-07 16:05       ` Rodrigo
  1 sibling, 1 reply; 9+ messages in thread
From: chansun.xjs @ 2012-05-01  0:10 UTC (permalink / raw)
  To: ath9k-devel

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"<chansun.xjs@gmail.com>
???"Felix Fietkau"<nbd@openwrt.org>,"Mohammed Shafi"<shafi.wireless@gmail.com>,"fredmm"<fredmm@hotmail.co.uk>,"Daniel Smith"<viscous.liquid@gmail.com>,"Luis R"<lrodriguez@atheros.com>,"ath9k-devel"<ath9k-devel@lists.ath9k.org>

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 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ath9k-devel] Frame Aggregation and Block ACK pros
  2012-05-01  0:10       ` [ath9k-devel] 回复: Re: " chansun.xjs
@ 2012-05-01  2:48         ` Adrian Chadd
  2012-05-01  2:54           ` [ath9k-devel] 回复: Re: Re: " chansun.xjs
  0 siblings, 1 reply; 9+ messages in thread
From: Adrian Chadd @ 2012-05-01  2:48 UTC (permalink / raw)
  To: ath9k-devel

On 30 April 2012 17:10, chansun.xjs <chansun.xjs@gmail.com> wrote:
> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ath9k-devel] 回复:  Re: Re: Re: Frame Aggregation and Block ACK pros
  2012-05-01  2:48         ` [ath9k-devel] " Adrian Chadd
@ 2012-05-01  2:54           ` chansun.xjs
  2012-05-01  9:15             ` [ath9k-devel] " Mohammed Shafi
  0 siblings, 1 reply; 9+ messages in thread
From: chansun.xjs @ 2012-05-01  2:54 UTC (permalink / raw)
  To: ath9k-devel

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"<chansun.xjs@gmail.com>
???"Felix Fietkau"<nbd@openwrt.org>,"Mohammed Shafi"<shafi.wireless@gmail.com>,"fredmm"<fredmm@hotmail.co.uk>,"Daniel Smith"<viscous.liquid@gmail.com>,"Luis R"<lrodriguez@atheros.com>,"ath9k-devel"<ath9k-devel@lists.ath9k.org>

On 30 April 2012 17:10, chansun.xjs <chansun.xjs@gmail.com> wrote: 
> 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 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ath9k-devel] Frame Aggregation and Block ACK pros
  2012-05-01  2:54           ` [ath9k-devel] 回复: Re: Re: " chansun.xjs
@ 2012-05-01  9:15             ` Mohammed Shafi
  0 siblings, 0 replies; 9+ messages in thread
From: Mohammed Shafi @ 2012-05-01  9:15 UTC (permalink / raw)
  To: ath9k-devel

hi,

On Tue, May 1, 2012 at 8:24 AM, chansun.xjs <chansun.xjs@gmail.com> wrote:
> Thanks a lot, I will try it

just seem iw have a command    iw  dev <devname> set noack_map <map>
did it work?



>
> 2012-05-01
> ________________________________
> chansun.xjs
> ________________________________
> ????Adrian Chadd
> ?????2012-05-01 10:48
> ???Re: Re: Re: Frame Aggregation and Block ACK pros
> ????"chansun.xjs"<chansun.xjs@gmail.com>
> ???"Felix Fietkau"<nbd@openwrt.org>,"Mohammed
> Shafi"<shafi.wireless@gmail.com>,"fredmm"<fredmm@hotmail.co.uk>,"Daniel
> Smith"<viscous.liquid@gmail.com>,"Luis
> R"<lrodriguez@atheros.com>,"ath9k-devel"<ath9k-devel@lists.ath9k.org>
>
> On 30 April 2012 17:10, chansun.xjs <chansun.xjs@gmail.com> wrote:
>> 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,
shafi

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ath9k-devel] Frame Aggregation and Block ACK pros
  2012-04-30 20:19     ` [ath9k-devel] " Adrian Chadd
  2012-05-01  0:10       ` [ath9k-devel] 回复: Re: " chansun.xjs
@ 2012-08-07 16:05       ` Rodrigo
  1 sibling, 0 replies; 9+ messages in thread
From: Rodrigo @ 2012-08-07 16:05 UTC (permalink / raw)
  To: ath9k-devel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-08-07 16:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-30  6:32 [ath9k-devel] Frame Aggregation and Block ACK pros chansun.xjs
2012-04-30  7:37 ` Adrian Chadd
2012-04-30  7:53   ` [ath9k-devel] 回复: " chansun.xjs
2012-04-30 20:19     ` [ath9k-devel] " Adrian Chadd
2012-05-01  0:10       ` [ath9k-devel] 回复: Re: " chansun.xjs
2012-05-01  2:48         ` [ath9k-devel] " Adrian Chadd
2012-05-01  2:54           ` [ath9k-devel] 回复: Re: Re: " chansun.xjs
2012-05-01  9:15             ` [ath9k-devel] " Mohammed Shafi
2012-08-07 16:05       ` Rodrigo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.