* [ath9k-devel] Disabling link-layer ACKs
@ 2008-07-29 14:16 William Usher
0 siblings, 0 replies; 7+ messages in thread
From: William Usher @ 2008-07-29 14:16 UTC (permalink / raw)
To: ath9k-devel
Hi everyone.
Back when we used Madwifi for our protocol (hop:
http://lass.cs.umass.edu/~mingli/hop/) we were able to disable link-layer
ACKs, is this possible in the ath9k driver? I've looked through the source,
but nothing popped out at me.
It is my understanding that link layer ACKs are generated in hardware so I'm
not sure how this would be accomplished in a driver without a HAL.
Thanks for your help,
Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20080729/c9adf638/attachment.htm
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ath9k-devel] Disabling Link-Layer Acks
@ 2009-10-01 16:50 Matt Tierney
2009-10-02 21:29 ` Luis R. Rodriguez
2009-10-07 6:12 ` Sujith
0 siblings, 2 replies; 7+ messages in thread
From: Matt Tierney @ 2009-10-01 16:50 UTC (permalink / raw)
To: ath9k-devel
This is bumping an old question <
http://www.mail-archive.com/ath9k-devel@lists.ath9k.org/msg00016.html> but I
was wondering if there was a simple (quick and dirty, if need be) way to
disable link-layer acks.
I think I found the right place to do this in the xmit.c code, under the
setup_tx_flags function:
* if (tx_info->flags & IEEE80211_TX_CTL_NO_ACK)
flags |= ATH9K_TXDESC_NOACK;*
I expect that I would just need to comment out the first line with the
if-condition.
Is this a correct way to handle disabling link-layer acks for now?
Thanks,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20091001/25e64a71/attachment.htm
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ath9k-devel] Disabling Link-Layer Acks
2009-10-01 16:50 [ath9k-devel] Disabling Link-Layer Acks Matt Tierney
@ 2009-10-02 21:29 ` Luis R. Rodriguez
2009-10-07 6:12 ` Sujith
1 sibling, 0 replies; 7+ messages in thread
From: Luis R. Rodriguez @ 2009-10-02 21:29 UTC (permalink / raw)
To: ath9k-devel
On Thu, Oct 01, 2009 at 09:50:47AM -0700, Matt Tierney wrote:
> This is bumping an old question <http://www.mail-archive.com/ath9k-devel@lists.ath9k.org/msg00016.html> but I was wondering if there was a simple (quick and dirty, if need be) way to disable link-layer acks.
>
> I think I found the right place to do this in the xmit.c code, under the setup_tx_flags function:
>
> if (tx_info->flags & IEEE80211_TX_CTL_NO_ACK)
> flags |= ATH9K_TXDESC_NOACK;
>
> I expect that I would just need to comment out the first line with the if-condition.
>
> Is this a correct way to handle disabling link-layer acks for now?
Not sure, I'd be checking the code just as you are but I will not another
thing you may want to look at also is the extremely well documented
ath_hw_setbssidmask():
http://git.kernel.org/?p=linux/kernel/git/linville/wireless-testing.git;a=blob;f=drivers/net/wireless/ath/hw.c;h=ecc9eb01f4fa12bddfd7ab044c79847bfe643c84;hb=HEAD
Luis
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ath9k-devel] Disabling Link-Layer Acks
2009-10-01 16:50 [ath9k-devel] Disabling Link-Layer Acks Matt Tierney
2009-10-02 21:29 ` Luis R. Rodriguez
@ 2009-10-07 6:12 ` Sujith
2009-10-07 16:14 ` Valentin Manea
1 sibling, 1 reply; 7+ messages in thread
From: Sujith @ 2009-10-07 6:12 UTC (permalink / raw)
To: ath9k-devel
Matt Tierney wrote:
> This is bumping an old question <http://www.mail-archive.com/ath9k-devel@lists.ath9k.org/msg00016.html> but I was wondering if there was a simple (quick and dirty, if need be) way to disable link-layer acks.
>
> I think I found the right place to do this in the xmit.c code, under the setup_tx_flags function:
>
> if (tx_info->flags & IEEE80211_TX_CTL_NO_ACK)
> flags |= ATH9K_TXDESC_NOACK;
>
> I expect that I would just need to comment out the first line with the if-condition.
>
> Is this a correct way to handle disabling link-layer acks for now?
No. That flag is used to indicate whether we should
expect an ACK for the frame being sent.
The correct way would be to set AR_DIAG_ACK_DIS in AR_DIAG_SW (reg.h)
Sujith
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ath9k-devel] Disabling Link-Layer Acks
2009-10-07 6:12 ` Sujith
@ 2009-10-07 16:14 ` Valentin Manea
2009-10-07 17:11 ` Ranga Rao Ravuri
0 siblings, 1 reply; 7+ messages in thread
From: Valentin Manea @ 2009-10-07 16:14 UTC (permalink / raw)
To: ath9k-devel
On 10/07/2009 09:12 AM, Sujith wrote:
> Matt Tierney wrote:
>
>> This is bumping an old question<http://www.mail-archive.com/ath9k-devel@lists.ath9k.org/msg00016.html> but I was wondering if there was a simple (quick and dirty, if need be) way to disable link-layer acks.
>>
>> I think I found the right place to do this in the xmit.c code, under the setup_tx_flags function:
>>
>> if (tx_info->flags& IEEE80211_TX_CTL_NO_ACK)
>> flags |= ATH9K_TXDESC_NOACK;
>>
>> I expect that I would just need to comment out the first line with the if-condition.
>>
>> Is this a correct way to handle disabling link-layer acks for now?
>>
> No. That flag is used to indicate whether we should
> expect an ACK for the frame being sent.
>
> The correct way would be to set AR_DIAG_ACK_DIS in AR_DIAG_SW (reg.h)
>
Hi Sujit,
As I'm interested in this, I was wondering if setting this bit also
disables sending the BlockAcks?
Thanks
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ath9k-devel] Disabling Link-Layer Acks
2009-10-07 16:14 ` Valentin Manea
@ 2009-10-07 17:11 ` Ranga Rao Ravuri
2009-10-07 17:16 ` Valentin Manea
0 siblings, 1 reply; 7+ messages in thread
From: Ranga Rao Ravuri @ 2009-10-07 17:11 UTC (permalink / raw)
To: ath9k-devel
You cannot disable ACK-rx, as mentioned here, setting DIAG bit should help
*not* sending ACK
~ R
On Wed, 7 Oct 2009, Valentin Manea wrote:
>
>
> On 10/07/2009 09:12 AM, Sujith wrote:
> > Matt Tierney wrote:
> >
> >> This is bumping an old question<http://www.mail-archive.com/ath9k-devel@lists.ath9k.org/msg00016.html> but I was wondering if there was a simple (quick and dirty, if need be) way to disable link-layer acks.
> >>
> >> I think I found the right place to do this in the xmit.c code, under the setup_tx_flags function:
> >>
> >> if (tx_info->flags& IEEE80211_TX_CTL_NO_ACK)
> >> flags |= ATH9K_TXDESC_NOACK;
> >>
> >> I expect that I would just need to comment out the first line with the if-condition.
> >>
> >> Is this a correct way to handle disabling link-layer acks for now?
> >>
> > No. That flag is used to indicate whether we should
> > expect an ACK for the frame being sent.
> >
> > The correct way would be to set AR_DIAG_ACK_DIS in AR_DIAG_SW (reg.h)
> >
> Hi Sujit,
>
> As I'm interested in this, I was wondering if setting this bit also
> disables sending the BlockAcks?
>
>
> Thanks
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ath9k-devel] Disabling Link-Layer Acks
2009-10-07 17:11 ` Ranga Rao Ravuri
@ 2009-10-07 17:16 ` Valentin Manea
0 siblings, 0 replies; 7+ messages in thread
From: Valentin Manea @ 2009-10-07 17:16 UTC (permalink / raw)
To: ath9k-devel
Thanks for your answer.
I did some tests and setting the diag bit also disables BlockAck being
sent in HT mode.
Best Regards,
Valentin
On 10/07/2009 08:11 PM, Ranga Rao Ravuri wrote:
> You cannot disable ACK-rx, as mentioned here, setting DIAG bit should help
> *not* sending ACK
> ~ R
>
>
> On Wed, 7 Oct 2009, Valentin Manea wrote:
>
>
>>
>> On 10/07/2009 09:12 AM, Sujith wrote:
>>
>>> Matt Tierney wrote:
>>>
>>>
>>>> This is bumping an old question<http://www.mail-archive.com/ath9k-devel@lists.ath9k.org/msg00016.html> but I was wondering if there was a simple (quick and dirty, if need be) way to disable link-layer acks.
>>>>
>>>> I think I found the right place to do this in the xmit.c code, under the setup_tx_flags function:
>>>>
>>>> if (tx_info->flags& IEEE80211_TX_CTL_NO_ACK)
>>>> flags |= ATH9K_TXDESC_NOACK;
>>>>
>>>> I expect that I would just need to comment out the first line with the if-condition.
>>>>
>>>> Is this a correct way to handle disabling link-layer acks for now?
>>>>
>>>>
>>> No. That flag is used to indicate whether we should
>>> expect an ACK for the frame being sent.
>>>
>>> The correct way would be to set AR_DIAG_ACK_DIS in AR_DIAG_SW (reg.h)
>>>
>>>
>> Hi Sujit,
>>
>> As I'm interested in this, I was wondering if setting this bit also
>> disables sending the BlockAcks?
>>
>>
>> Thanks
>> _______________________________________________
>> ath9k-devel mailing list
>> ath9k-devel at lists.ath9k.org
>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>>
>>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-10-07 17:16 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-01 16:50 [ath9k-devel] Disabling Link-Layer Acks Matt Tierney
2009-10-02 21:29 ` Luis R. Rodriguez
2009-10-07 6:12 ` Sujith
2009-10-07 16:14 ` Valentin Manea
2009-10-07 17:11 ` Ranga Rao Ravuri
2009-10-07 17:16 ` Valentin Manea
-- strict thread matches above, loose matches on Subject: below --
2008-07-29 14:16 [ath9k-devel] Disabling link-layer ACKs William Usher
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.