From: Sujith Date: Wed, 7 Oct 2009 11:42:16 +0530 Subject: [ath9k-devel] Disabling Link-Layer Acks In-Reply-To: References: Message-ID: <19148.12608.592686.185992@gargle.gargle.HOWL> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Matt Tierney wrote: > This is bumping an old question 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