Historical ath9k-devel archives
 help / color / mirror / Atom feed
* [ath9k-devel] How to lock AMPDU length at a specific value?
@ 2014-01-21 18:49 Ali Abedi
  2014-01-21 20:07 ` Kamran Nishat
  0 siblings, 1 reply; 5+ messages in thread
From: Ali Abedi @ 2014-01-21 18:49 UTC (permalink / raw)
  To: ath9k-devel

Hello,

I have seen questions regarding the length of an AMPDU and how to change 
the maximum AMPDU length.
However, I require to lock the AMPDU length at a specific value. 
Changing the max length does not guarantee
that all AMPDUs have a fixed length, it can be anything between 1 to max 
based on the rate of arrival of new frames.
Is there a mechanism to force the card to wait to have enough frames so 
that all AMPDUs have a fixed length that we specify? In other words, I 
need all AMPDUs to aggregate X full length frames.

Thank you,
Ali

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

* [ath9k-devel] How to lock AMPDU length at a specific value?
  2014-01-21 18:49 [ath9k-devel] How to lock AMPDU length at a specific value? Ali Abedi
@ 2014-01-21 20:07 ` Kamran Nishat
  2014-01-21 20:54   ` Ali Abedi
  0 siblings, 1 reply; 5+ messages in thread
From: Kamran Nishat @ 2014-01-21 20:07 UTC (permalink / raw)
  To: ath9k-devel

As far as i know AMPDU length is determined by 3 constraints. Firs maximum
AMPDU length. second blockAck window (if there were losses then this will
play a role).  Third is Max air time of the AMPDU which is 4ms for some
domain constraints. this comes into play MCS is low and packet duration
gets more than 4ms. See following function in xmit.c for details

ath_tx_form_aggr <http://lxr.free-electrons.com/ident?i=ath_tx_form_aggr>



On Tue, Jan 21, 2014 at 11:49 PM, Ali Abedi <a2abedi@uwaterloo.ca> wrote:

> Hello,
>
> I have seen questions regarding the length of an AMPDU and how to change
> the maximum AMPDU length.
> However, I require to lock the AMPDU length at a specific value.
> Changing the max length does not guarantee
> that all AMPDUs have a fixed length, it can be anything between 1 to max
> based on the rate of arrival of new frames.
> Is there a mechanism to force the card to wait to have enough frames so
> that all AMPDUs have a fixed length that we specify? In other words, I
> need all AMPDUs to aggregate X full length frames.
>
> Thank you,
> Ali
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140122/78970f47/attachment.htm 

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

* [ath9k-devel] How to lock AMPDU length at a specific value?
  2014-01-21 20:07 ` Kamran Nishat
@ 2014-01-21 20:54   ` Ali Abedi
       [not found]     ` <CADxDmp6_7T2x6bxD95ZLnK-9RZaAzNUXLu6wqdFbJBiP-cECUQ@mail.gmail.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Ali Abedi @ 2014-01-21 20:54 UTC (permalink / raw)
  To: ath9k-devel

These mostly determine the MAX AMPDU length. I also want to determine 
the minimum length, so
that I can set min=max and lock the AMPDU length.

Thank you,
Ali
On 21/01/2014 15:07, Kamran Nishat wrote:
> As far as i know AMPDU length is determined by 3 constraints. Firs 
> maximum AMPDU length. second blockAck window (if there were losses 
> then this will play a role).  Third is Max air time of the AMPDU which 
> is 4ms for some domain constraints. this comes into play MCS is low 
> and packet duration gets more than 4ms. See following function in 
> xmit.c for details
> ath_tx_form_aggr  <http://lxr.free-electrons.com/ident?i=ath_tx_form_aggr>  
>
>
> On Tue, Jan 21, 2014 at 11:49 PM, Ali Abedi <a2abedi@uwaterloo.ca 
> <mailto:a2abedi@uwaterloo.ca>> wrote:
>
>     Hello,
>
>     I have seen questions regarding the length of an AMPDU and how to
>     change
>     the maximum AMPDU length.
>     However, I require to lock the AMPDU length at a specific value.
>     Changing the max length does not guarantee
>     that all AMPDUs have a fixed length, it can be anything between 1
>     to max
>     based on the rate of arrival of new frames.
>     Is there a mechanism to force the card to wait to have enough
>     frames so
>     that all AMPDUs have a fixed length that we specify? In other words, I
>     need all AMPDUs to aggregate X full length frames.
>
>     Thank you,
>     Ali
>
>     _______________________________________________
>     ath9k-devel mailing list
>     ath9k-devel at lists.ath9k.org <mailto:ath9k-devel@lists.ath9k.org>
>     https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140121/e4153d00/attachment.htm 

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

* [ath9k-devel] Fwd:  How to lock AMPDU length at a specific value?
       [not found]     ` <CADxDmp6_7T2x6bxD95ZLnK-9RZaAzNUXLu6wqdFbJBiP-cECUQ@mail.gmail.com>
@ 2014-01-21 20:59       ` Kamran Nishat
  2014-01-21 21:40         ` Ali Abedi
  0 siblings, 1 reply; 5+ messages in thread
From: Kamran Nishat @ 2014-01-21 20:59 UTC (permalink / raw)
  To: ath9k-devel

do it at a fix rate  (1st check if duration of packet is less tahn 4ms for
ur MCS) and with nearly zero noise losses.

Kamran


On Wed, Jan 22, 2014 at 1:54 AM, Ali Abedi <a2abedi@uwaterloo.ca> wrote:

>  These mostly determine the MAX AMPDU length. I also want to determine
> the minimum length, so
> that I can set min=max and lock the AMPDU length.
>
> Thank you,
> Ali
>
> On 21/01/2014 15:07, Kamran Nishat wrote:
>
> As far as i know AMPDU length is determined by 3 constraints. Firs maximum
> AMPDU length. second blockAck window (if there were losses then this will
> play a role).  Third is Max air time of the AMPDU which is 4ms for some
> domain constraints. this comes into play MCS is low and packet duration
> gets more than 4ms. See following function in xmit.c for details
>
> ath_tx_form_aggr <http://lxr.free-electrons.com/ident?i=ath_tx_form_aggr>
>
>
>
> On Tue, Jan 21, 2014 at 11:49 PM, Ali Abedi <a2abedi@uwaterloo.ca> wrote:
>
>> Hello,
>>
>> I have seen questions regarding the length of an AMPDU and how to change
>> the maximum AMPDU length.
>> However, I require to lock the AMPDU length at a specific value.
>> Changing the max length does not guarantee
>> that all AMPDUs have a fixed length, it can be anything between 1 to max
>> based on the rate of arrival of new frames.
>> Is there a mechanism to force the card to wait to have enough frames so
>> that all AMPDUs have a fixed length that we specify? In other words, I
>> need all AMPDUs to aggregate X full length frames.
>>
>> Thank you,
>> Ali
>>
>> _______________________________________________
>> ath9k-devel mailing list
>> ath9k-devel at lists.ath9k.org
>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140122/8fbfa22e/attachment.htm 

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

* [ath9k-devel] Fwd: How to lock AMPDU length at a specific value?
  2014-01-21 20:59       ` [ath9k-devel] Fwd: " Kamran Nishat
@ 2014-01-21 21:40         ` Ali Abedi
  0 siblings, 0 replies; 5+ messages in thread
From: Ali Abedi @ 2014-01-21 21:40 UTC (permalink / raw)
  To: ath9k-devel

Using a constant rate does not help (I am already doing this). When I 
set the limit to 20 for example, I get any number between
1 to 20 for the number of aggregated frames. This is probably because 
when we want to start the transmission
we don't always have 20 frames to aggregate so the card aggregates all 
it already has
in the queue ready for transmission. So how can we wait to have 20 
frames ready for transmission so that
all aggregate frames carry exactly 20 frames (constant rate)?

Thank you,
Ali


On 21/01/2014 15:59, Kamran Nishat wrote:
>
>
>
>
> do it at a fix rate  (1st check if duration of packet is less tahn 4ms 
> for ur MCS) and with nearly zero noise losses.
>
> Kamran
>
>
> On Wed, Jan 22, 2014 at 1:54 AM, Ali Abedi <a2abedi@uwaterloo.ca 
> <mailto:a2abedi@uwaterloo.ca>> wrote:
>
>     These mostly determine the MAX AMPDU length. I also want to
>     determine the minimum length, so
>     that I can set min=max and lock the AMPDU length.
>
>     Thank you,
>     Ali
>
>     On 21/01/2014 15:07, Kamran Nishat wrote:
>>     As far as i know AMPDU length is determined by 3 constraints.
>>     Firs maximum AMPDU length. second blockAck window (if there were
>>     losses then this will play a role).  Third is Max air time of the
>>     AMPDU which is 4ms for some domain constraints. this comes into
>>     play MCS is low and packet duration gets more than 4ms. See
>>     following function in xmit.c for details
>>     ath_tx_form_aggr  <http://lxr.free-electrons.com/ident?i=ath_tx_form_aggr>  
>>
>>
>>     On Tue, Jan 21, 2014 at 11:49 PM, Ali Abedi <a2abedi@uwaterloo.ca
>>     <mailto:a2abedi@uwaterloo.ca>> wrote:
>>
>>         Hello,
>>
>>         I have seen questions regarding the length of an AMPDU and
>>         how to change
>>         the maximum AMPDU length.
>>         However, I require to lock the AMPDU length at a specific value.
>>         Changing the max length does not guarantee
>>         that all AMPDUs have a fixed length, it can be anything
>>         between 1 to max
>>         based on the rate of arrival of new frames.
>>         Is there a mechanism to force the card to wait to have enough
>>         frames so
>>         that all AMPDUs have a fixed length that we specify? In other
>>         words, I
>>         need all AMPDUs to aggregate X full length frames.
>>
>>         Thank you,
>>         Ali
>>
>>         _______________________________________________
>>         ath9k-devel mailing list
>>         ath9k-devel at lists.ath9k.org <mailto:ath9k-devel@lists.ath9k.org>
>>         https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>>
>>
>
>
>
>
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140121/b0b80ce2/attachment-0001.htm 

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

end of thread, other threads:[~2014-01-21 21:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-21 18:49 [ath9k-devel] How to lock AMPDU length at a specific value? Ali Abedi
2014-01-21 20:07 ` Kamran Nishat
2014-01-21 20:54   ` Ali Abedi
     [not found]     ` <CADxDmp6_7T2x6bxD95ZLnK-9RZaAzNUXLu6wqdFbJBiP-cECUQ@mail.gmail.com>
2014-01-21 20:59       ` [ath9k-devel] Fwd: " Kamran Nishat
2014-01-21 21:40         ` Ali Abedi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox