From: pangyunong <029012@gmail.com> Date: Tue, 23 Aug 2011 14:13:50 +0800 Subject: [ath9k-devel] Some novice questions In-Reply-To: References: <1312039595.3000.9.camel@Yunong> <1312191046.4696.10.camel@Yunong> Message-ID: <1314080030.2956.2.camel@Yunong> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org how can i watch the value in offset 0x8084 ? I have no debug in /sys/kernel now. How can i use it? On Mon, 2011-08-01 at 15:38 +0530, Mohammed Shafi wrote: > On Mon, Aug 1, 2011 at 3:00 PM, pangyunong <029012@gmail.com> wrote: > > Thank you for your reply! > > But how can it be modified NAV to be 0 each time I transmit a frame? > > Can I control the value by flashing the firmware in my network card? > > no, there is no firmware for ath9k. i tried to force the value of the > same via debug some random value... > anyway it always shows 0 > /sys/kernel/debug/ieee80211/phy0/ath9k# > echo 0x8084 > regidx > cat regval > echo 0x5678 > regval > > > > > > > > > > > > > > > > On Mon, 2011-08-01 at 14:43 +0530, Mohammed Shafi wrote: > >> On Sat, Jul 30, 2011 at 8:56 PM, pangyunong <029012@gmail.com> wrote: > >> > Hi, I'm very excited in the list. It's my first time to use a mailing > >> > list, so I'm afraid there are some impolite to you. If there, please > >> > tell me. > >> > > >> > I have some question about mailing list of ath9k. > >> > I want modify NAV value of a MAC frame when sending any frame using > >> > AP mode in ath9k. But I have never touch network card driver before, how > >> > can I learn that by myself? Could you give me some advices? > >> > Thank you very much. > >> > >> The AR_NAV (with offset 0X8084) is the register that provides NAV > >> value. I don't think it can be > >> controlled by software. > >> > >> > > >> > > >> > Regards, > >> > Yunong Pang > >> > > >> > ------------------------------------------------------------------------ > >> > > >> > _______________________________________________ > >> > ath9k-devel mailing list > >> > ath9k-devel at lists.ath9k.org > >> > https://lists.ath9k.org/mailman/listinfo/ath9k-devel > >> > > >> > >> > >> > > > > > > > > >