Skip to contentSkip to conversation

Some novice questions

ath9k-devel pangyunong 2 participants 6 messages Jul 30, 2011 – Aug 23, 2011

lore
Share & tools
lore

pangyunong

author
#0 lore raw

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.

Regards,
Yunong Pang

------------------------------------------------------------------------

#1 lore raw
Quoted 9 lines · pangyunong

? 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.

Quoted 12 lines

? Regards,
? Yunong Pang

------------------------------------------------------------------------

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Signature · 1 line
shafi
author
#2 lore raw

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?

Quoted 30 lines · Mohammed Shafi
Quoted 9 lines · pangyunong

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.

Quoted 12 lines

Regards,
Yunong Pang

------------------------------------------------------------------------

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

#3 lore raw
Quoted 3 lines · 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?

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

Quoted 40 lines · Mohammed Shafi
Quoted 30 lines · pangyunong
Quoted 9 lines

? 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.

Quoted 12 lines

? Regards,
? Yunong Pang

------------------------------------------------------------------------

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Signature · 1 line
shafi
author
#4 lore raw

how can i watch the value in offset 0x8084 ? I have no debug in /sys/kernel now. How can i use it?

Quoted 57 lines · Mohammed Shafi
Quoted 3 lines · 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?

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

Quoted 40 lines · Mohammed Shafi
Quoted 30 lines · pangyunong
Quoted 9 lines

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.

Quoted 12 lines

Regards,
Yunong Pang

------------------------------------------------------------------------

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

#5 lore raw
Quoted 2 lines · pangyunong

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

Quoted 63 lines · Mohammed Shafi
Quoted 57 lines · pangyunong
Quoted 3 lines

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

Quoted 40 lines · Mohammed Shafi
Quoted 30 lines · pangyunong
Quoted 9 lines

? 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.

Quoted 12 lines

? Regards,
? Yunong Pang

------------------------------------------------------------------------

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Signature · 1 line
shafi