Skip to contentSkip to conversation

Disabling Link-Layer Acks

ath9k-devel Matt Tierney 5 participants 6 messages Oct 1, 2009 – Oct 7, 2009

lore
Share & tools
lore
#0 lore raw

This is bumping an old question <
http://www.mail-archive.com/[email protected]/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

#1 lore raw
Quoted 10 lines · Matt Tierney

This is bumping an old question <http://www.mail-archive.com/[email protected]/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

#2 lore raw
In reply to Matt Tierney
Quoted 10 lines · Matt Tierney

This is bumping an old question <http://www.mail-archive.com/[email protected]/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

#3 lore raw
Quoted 9 lines · Sujith
Quoted 7 lines · Matt Tierney

This is bumping an old question<http://www.mail-archive.com/[email protected]/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;
Quoted 9 lines
Quoted 4 lines

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

#4 lore raw

You cannot disable ACK-rx, as mentioned here, setting DIAG bit should help *not* sending ACK
~ R

Quoted 33 lines · Valentin Manea
Quoted 9 lines · Sujith
Quoted 7 lines · Matt Tierney

This is bumping an old question<http://www.mail-archive.com/[email protected]/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;
Quoted 9 lines
Quoted 4 lines

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

#5 lore raw

Thanks for your answer.
I did some tests and setting the diag bit also disables BlockAck being sent in HT mode.

Best Regards,
Valentin

Quoted 45 lines · Ranga Rao Ravuri

You cannot disable ACK-rx, as mentioned here, setting DIAG bit should help *not* sending ACK
~ R

Quoted 37 lines · Valentin Manea
Quoted 12 lines · Sujith
Quoted 9 lines · Matt Tierney

This is bumping an old question<http://www.mail-archive.com/[email protected]/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.

Quoted 9 lines
Quoted 3 lines

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