Re: [ath9k-devel] Some novice questions

2011-08-22 Thread Mohammed Shafi
On Tue, Aug 23, 2011 at 11:43 AM, pangyunong <029...@gmail.com> wrote:
> how can i watch the value in offset 0x8084 ? I have no debug
> in /sys/kernel now. How can i use it?

pls read
http://linuxwireless.org/en/users/Drivers/ath9k/debug

>
>
> On Mon, 2011-08-01 at 15:38 +0530, Mohammed Shafi wrote:
>> On Mon, Aug 1, 2011 at 3:00 PM, pangyunong <029...@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 <029...@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@lists.ath9k.org
>> >> > https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>> >> >
>> >>
>> >>
>> >>
>> >
>> >
>> >
>>
>>
>>
>
>
>



-- 
shafi
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] Some novice questions

2011-08-22 Thread pangyunong
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 <029...@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 <029...@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@lists.ath9k.org
> >> > https://lists.ath9k.org/mailman/listinfo/ath9k-devel
> >> >
> >>
> >>
> >>
> >
> >
> >
> 
> 
> 


___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] Some novice questions

2011-08-01 Thread Mohammed Shafi
On Mon, Aug 1, 2011 at 3:00 PM, pangyunong <029...@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 <029...@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@lists.ath9k.org
>> > https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>> >
>>
>>
>>
>
>
>



-- 
shafi
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] Some novice questions

2011-08-01 Thread pangyunong
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? 






On Mon, 2011-08-01 at 14:43 +0530, Mohammed Shafi wrote:
> On Sat, Jul 30, 2011 at 8:56 PM, pangyunong <029...@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@lists.ath9k.org
> > https://lists.ath9k.org/mailman/listinfo/ath9k-devel
> >
> 
> 
> 


___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] Some novice questions

2011-08-01 Thread Mohammed Shafi
On Sat, Jul 30, 2011 at 8:56 PM, pangyunong <029...@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@lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>



-- 
shafi
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel