* [ath9k-devel] About generating BAs.
@ 2010-04-23 4:06 Rakesh Kumar
2010-04-23 6:36 ` Daniel Yingqiang Ma
0 siblings, 1 reply; 5+ messages in thread
From: Rakesh Kumar @ 2010-04-23 4:06 UTC (permalink / raw)
To: ath9k-devel
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] About generating BAs.
2010-04-23 4:06 [ath9k-devel] About generating BAs Rakesh Kumar
@ 2010-04-23 6:36 ` Daniel Yingqiang Ma
2010-04-23 20:33 ` Rakesh Kumar
0 siblings, 1 reply; 5+ messages in thread
From: Daniel Yingqiang Ma @ 2010-04-23 6:36 UTC (permalink / raw)
To: ath9k-devel
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 <gopchandani@gmail.com>:
> 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
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] About generating BAs.
2010-04-23 6:36 ` Daniel Yingqiang Ma
@ 2010-04-23 20:33 ` Rakesh Kumar
2010-04-24 18:08 ` Ranga Rao Ravuri
2010-04-26 12:01 ` [ath9k-devel] Data rate protocol Jónatan Muñoz
0 siblings, 2 replies; 5+ messages in thread
From: Rakesh Kumar @ 2010-04-23 20:33 UTC (permalink / raw)
To: ath9k-devel
On Fri, Apr 23, 2010 at 1:36 AM, Daniel Yingqiang Ma <yma.cool@gmail.com> wrote:
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] About generating BAs.
2010-04-23 20:33 ` Rakesh Kumar
@ 2010-04-24 18:08 ` Ranga Rao Ravuri
2010-04-26 12:01 ` [ath9k-devel] Data rate protocol Jónatan Muñoz
1 sibling, 0 replies; 5+ messages in thread
From: Ranga Rao Ravuri @ 2010-04-24 18:08 UTC (permalink / raw)
To: ath9k-devel
All immediate BA's should have been generated by your Chip, not in
driver. Not sure any one doing it in driver.
thanks
Ranga
On Sat, 2010-04-24 at 02:03 +0530, Rakesh Kumar wrote:
> On Fri, Apr 23, 2010 at 1:36 AM, Daniel Yingqiang Ma <yma.cool@gmail.com> wrote:
> > 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] Data rate protocol
2010-04-23 20:33 ` Rakesh Kumar
2010-04-24 18:08 ` Ranga Rao Ravuri
@ 2010-04-26 12:01 ` Jónatan Muñoz
1 sibling, 0 replies; 5+ messages in thread
From: Jónatan Muñoz @ 2010-04-26 12:01 UTC (permalink / raw)
To: ath9k-devel
Hi 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-04-26 12:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-23 4:06 [ath9k-devel] About generating BAs Rakesh Kumar
2010-04-23 6:36 ` Daniel Yingqiang Ma
2010-04-23 20:33 ` Rakesh Kumar
2010-04-24 18:08 ` Ranga Rao Ravuri
2010-04-26 12:01 ` [ath9k-devel] Data rate protocol Jónatan Muñoz
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.