All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Manuel Sáez" <manuelsaezr@gmail.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] setting AR_NAV register
Date: Tue, 9 Aug 2011 14:37:37 +0200	[thread overview]
Message-ID: <CANXYrmAyVGdARv2jzdmqdUMdUrcRq=tnp7Nh-E8aaOgZ3Ah5_Q@mail.gmail.com> (raw)
In-Reply-To: <BANLkTi=61Xbk9BDR7LdBOUhDdyOjyoJ4CA@mail.gmail.com>

El d?a 17 de mayo de 2011 16:27, Mohammed Shafi
<shafi.wireless@gmail.com> escribi?:
> 2011/5/17 Andr?s Garc?a Saavedra <andres.garcia.saavedra@gmail.com>:
>> 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
>

      reply	other threads:[~2011-08-09 12:37 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-17 11:16 [ath9k-devel] setting AR_NAV register Andrés García Saavedra
2011-05-17 13:29 ` [ath9k-devel] AR9285 MSI Sucheta ROY
2011-05-17 14:39   ` Mohammed Shafi
2011-05-17 14:41   ` Mohammed Shafi
2011-05-18  1:09     ` Peter Stuge
2011-05-18  2:15       ` Adrian Chadd
2011-05-18  4:28         ` Sucheta ROY
2011-05-18  9:29         ` Sucheta ROY
2011-05-18 10:54           ` Senthilkumar Balasubramanian
2011-05-19  0:32             ` Peter Stuge
2011-05-19  4:33               ` Sucheta ROY
2011-05-19  6:01                 ` Alex Hacker
2011-05-19  8:35                   ` [ath9k-devel] AR9380 MSI Sucheta ROY
2011-05-19 11:06                     ` Falk-Moritz Schaefer
2011-05-19 12:02                       ` Sucheta ROY
2011-05-19 12:32                         ` Falk-Moritz Schaefer
2011-05-19 12:16                     ` Alex Hacker
2011-05-20  9:30                       ` Sucheta ROY
2011-05-20 10:15                         ` Alex Hacker
2011-05-19  8:41                   ` [ath9k-devel] AR9285 MSI Sucheta ROY
2011-05-18  4:45       ` Mohammed Shafi
2011-05-17 14:27 ` [ath9k-devel] setting AR_NAV register Mohammed Shafi
2011-08-09 12:37   ` Manuel Sáez [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANXYrmAyVGdARv2jzdmqdUMdUrcRq=tnp7Nh-E8aaOgZ3Ah5_Q@mail.gmail.com' \
    --to=manuelsaezr@gmail.com \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.