Ack and Block Ack processing
Hi everybody,
thanks to all of you who share your knowledge and expertise on ath9k.
I wonder if Ack and Block Ack are processed directly by the HW on receipt and not the firmware.
There are several messages that confirm that Ack and Block Ack are *sent* by HW (http://www.spinics.net/lists/linux-wireless/msg106950.html)
But are they processed (on receipt) also by HW ? I analysed firmware code and I did not find any Ack/BA processing.
Is my understanding correct ?
Best regards
Signature · 2 lines
Olivier Marc? Alcatel-Lucent Bell Labs France
Hi,
So on the Atheros NICs, the block-acks are generated by the receiver in hardware and processed by the transmitter in hardware; you then get a bitmap in the TX completion descriptor telling you which frames did succeed/fail.
The TX completion path does check the two 32 bit blockack (ba) fields in the TX descriptor for completion. It doesn't hand-parse a BA frame.
-a
Quoted 23 lines · Olivier Marce
Hi everybody,
thanks to all of you who share your knowledge and expertise on ath9k.I wonder if Ack and Block Ack are processed directly by the HW on receipt and not the firmware.
There are several messages that confirm that Ack and Block Ack are *sent* by HW (http://www.spinics.net/lists/linux-wireless/msg106950.html)
But are they processed (on receipt) also by HW ? I analysed firmware code and I did not find any Ack/BA processing.Is my understanding correct ?
Best regards
--
Olivier Marc?
Alcatel-Lucent Bell Labs France
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Hi,
Quoted 3 lines
I wonder if Ack and Block Ack are processed directly by the HW on receipt and not the firmware.
Please correct me if I am wrong, ath9k series drivers directly interact
with hardware.
I haven't seen any code where the driver talks to firmware.
Thanks,
Abhinav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140203/f1dc7962/attachment.htm
Thanks for the quick and precise answer.
Then, I wonder is there is a way to be notified of sending/receiving of frames by the HW. For example, can we be notified of ACK (or BA) received and processed by the HW, or by frame retransmited by the HW ?
Thanks
Quoted 41 lines · Adrian Chadd
Hi,
So on the Atheros NICs, the block-acks are generated by the receiver in hardware and processed by the transmitter in hardware; you then get a bitmap in the TX completion descriptor telling you which frames did succeed/fail.
The TX completion path does check the two 32 bit blockack (ba) fields in the TX descriptor for completion. It doesn't hand-parse a BA frame.
-a
Quoted 23 lines · Olivier Marce
Hi everybody,
thanks to all of you who share your knowledge and expertise on ath9k.I wonder if Ack and Block Ack are processed directly by the HW on receipt and not the firmware.
There are several messages that confirm that Ack and Block Ack are *sent* by HW (http://www.spinics.net/lists/linux-wireless/msg106950.html)
But are they processed (on receipt) also by HW ? I analysed firmware code and I did not find any Ack/BA processing.Is my understanding correct ?
Best regards
--
Olivier Marc?
Alcatel-Lucent Bell Labs France
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Signature · 2 lines
Olivier Marc? Alcatel-Lucent Bell Labs France
as Adrian said we got information received in a BlockACK (ath_tx_complete_aggr in xmit.c)
you get a bitmap, SSN and retires done for AMPDU.
Quoted 52 lines · Olivier Marce
Thanks for the quick and precise answer.
Then, I wonder is there is a way to be notified of sending/receiving of frames by the HW. For example, can we be notified of ACK (or BA) received and processed by the HW, or by frame retransmited by the HW ?
Thanks
Quoted 11 lines · Adrian Chadd
Hi,
So on the Atheros NICs, the block-acks are generated by the receiver in hardware and processed by the transmitter in hardware; you then get a bitmap in the TX completion descriptor telling you which frames did succeed/fail.
The TX completion path does check the two 32 bit blockack (ba) fields in the TX descriptor for completion. It doesn't hand-parse a BA frame.
Quoted 13 lines
-a
Quoted 8 lines · Olivier Marce
Hi everybody,
thanks to all of you who share your knowledge and expertise on ath9k.I wonder if Ack and Block Ack are processed directly by the HW on receipt and not the firmware.
There are several messages that confirm that Ack and Block Ack are *sent* by HW (
http://www.spinics.net/lists/linux-wireless/msg106950.html)
Quoted 8 lines
Quoted 8 lines
But are they processed (on receipt) also by HW ? I analysed firmware code and I did not find any Ack/BA processing.
Is my understanding correct ?
Best regards
Quoted 9 lines
Quoted 7 lines
--
Olivier Marc?
Alcatel-Lucent Bell Labs France
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Quoted 8 lines
--
Olivier Marc?
Alcatel-Lucent Bell Labs France
_______________________________________________
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/20140210/08182b15/attachment.htm
Hi Kamram,
thanks, this is a useful information indeed.
But my question was about to get notified of the details of exchange between emitter and transmitter. E.g. how many retries have been needed to get the a MPDU to be acked.
Quoted 75 lines · Kamran Nishat
as Adrian said we got information received in a BlockACK (
ath_tx_complete_aggrinxmit.c)
you get a bitmap, SSN and retires done for AMPDU.On Mon, Feb 10, 2014 at 1:57 PM, Olivier Marce
<[email protected]
<mailto:[email protected]>> wrote:Thanks for the quick and precise answer.
Then, I wonder is there is a way to be notified of sending/receiving of frames by the HW. For example, can we be notified of ACK (or BA) received and processed by the HW, or by frame retransmited by the HW ?
Thanks
On 03/02/2014 17:29, Adrian Chadd wrote:
> Hi,
>
> So on the Atheros NICs, the block-acks are generated by the receiver > in hardware and processed by the transmitter in hardware; you
then get
> a bitmap in the TX completion descriptor telling you which frames did > succeed/fail.
>
> The TX completion path does check the two 32 bit blockack (ba) fields > in the TX descriptor for completion. It doesn't hand-parse a BA
frame.
>
>
> -a
>
>
> On 3 February 2014 07:48, Olivier Marce
> <[email protected]
<mailto:[email protected]>> wrote:
>> Hi everybody,
>> thanks to all of you who share your knowledge and expertise on
ath9k.
>>
>> I wonder if Ack and Block Ack are processed directly by the HW on >> receipt and not the firmware.
>>
>> There are several messages that confirm that Ack and Block Ack are >> *sent* by HW
(http://www.spinics.net/lists/linux-wireless/msg106950.html)
>> But are they processed (on receipt) also by HW ? I analysed firmware >> code and I did not find any Ack/BA processing.
>>
>> Is my understanding correct ?
>>
>> Best regards
>>
>>
>> --
>> Olivier Marc?
>> Alcatel-Lucent Bell Labs France
>> _______________________________________________
>> ath9k-devel mailing list
>> ath9k-devel at lists.ath9k.org <mailto:[email protected]> >> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
>--
Olivier Marc?
Alcatel-Lucent Bell Labs France
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org <mailto:[email protected]>
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Signature · 2 lines
Olivier Marc? Alcatel-Lucent Bell Labs France
Hi Kamran,
Quoted 5 lines
But my question was about to get notified of the details of exchange between emitter and transmitter. E.g. how many retries have been needed to get the a MPDU to be acked.
Read
xmit.cabout the retry counts for each MPDU.
I am not clear what happens for AMPDU,
but essentially you give a buffer (chain of mpdus or one ampdu ) to the hardware
and once it's done with it, it gives a callback with details in the transmit descriptor.
You can extract information from there
struct ath_tx_status *ts is the descriptor, which fills details into the mac80211 struct ieee80211_tx_info *
-
Abhinav
Quoted 85 lines · Kamran Nishat
Quoted 6 lines
as Adrian said we got information received in a BlockACK (
ath_tx_complete_aggrinxmit.c)
you get a bitmap, SSN and retires done for AMPDU.Quoted 7 lines
On Mon, Feb 10, 2014 at 1:57 PM, Olivier Marce
<[email protected]
<mailto:[email protected]>> wrote:Thanks for the quick and precise answer.
Then, I wonder is there is a way to be notified of sending/receiving
of
Quoted 2 lines
frames by the HW. For example, can we be notified of ACK (or BA) received and processed by the HW, or by frame retransmited by the HW
?
Quoted 7 lines
Thanks On 03/02/2014 17:29, Adrian Chadd wrote: > Hi, > > So on the Atheros NICs, the block-acks are generated by thereceiver
Quoted 3 lines
> in hardware and processed by the transmitter in hardware; you
then get
> a bitmap in the TX completion descriptor telling you which framesdid
Quoted 3 lines
> succeed/fail.
>
> The TX completion path does check the two 32 bit blockack (ba)fields
Quoted 10 lines
> in the TX descriptor for completion. It doesn't hand-parse a BA frame. > > > -a > > > On 3 February 2014 07:48, Olivier Marce > <[email protected] <mailto:[email protected]>> wrote:Quoted 8 lines
>> Hi everybody, >> thanks to all of you who share your knowledge and expertise on ath9k. >> >> I wonder if Ack and Block Ack are processed directly by the HW on >> receipt and not the firmware. >> >> There are several messages that confirm that Ack and Block Ackare
Quoted 3 lines
>> *sent* by HW (http://www.spinics.net/lists/linux-wireless/msg106950.html) >> But are they processed (on receipt) also by HW ? I analysedfirmware
Quoted 17 lines
>> code and I did not find any Ack/BA processing.
>>
>> Is my understanding correct ?
>>
>> Best regards
>>
>>
>> --
>> Olivier Marc?
>> Alcatel-Lucent Bell Labs France
>> _______________________________________________
>> ath9k-devel mailing list
>> ath9k-devel at lists.ath9k.org <mailto:[email protected]> >> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
>Quoted 9 lines
--
Olivier Marc?
Alcatel-Lucent Bell Labs France
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org <mailto:[email protected]>
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Quoted 8 lines
--
Olivier Marc?
Alcatel-Lucent Bell Labs France
_______________________________________________
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/20140210/10b30251/attachment.htm