From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Manuel_S=E1ez?= Date: Tue, 9 Aug 2011 14:37:37 +0200 Subject: [ath9k-devel] setting AR_NAV register In-Reply-To: References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org El d?a 17 de mayo de 2011 16:27, Mohammed Shafi escribi?: > 2011/5/17 Andr?s Garc?a Saavedra : >> Dear all, >> >> I would like to set the NAV value from software in mac80211/ath9k. Is it >> possible to change this value, e.g., using the AR_NAV? > > AFAIK, > this register is hardware/software Read/Write > bits 0:25 for Current NAV value in micro seconds > good idea is to see the dump value of this register in ath9k debugfs I have just test this and works quite fine. In case this helps someone: REG_WRITE(ah, AR_NAV, TU_TO_USEC(value_tu)); Afterwards the hardware start decrementing the value until it reaches 0. During this time it stops the queues. Thank you! > >> >> Thank you for your help, >> Andr?s >> >> _______________________________________________ >> ath9k-devel mailing list >> ath9k-devel at lists.ath9k.org >> https://lists.ath9k.org/mailman/listinfo/ath9k-devel >> >> > _______________________________________________ > ath9k-devel mailing list > ath9k-devel at lists.ath9k.org > https://lists.ath9k.org/mailman/listinfo/ath9k-devel >