ath9k (Atheros 802.11n) data rate fluctuation problem
Hello,
I am working on one research project using ath9k (Atheros 802.11n)driver. while experimenting I saw that the driver is fluctuating between 20MHz to 40MHz. When I set the data rate in my hostapd file for 40MHz I get many trace for 20MHz and vice-versa with low throughput.
I tried to perform them individually but getting same result again n again due to which I am not able to perform my experiment.
Please help me to fix this issue I want that if I want run the driver in 40MHz then it should not jump onto 20MHz. Please let me know how should I fix this issue and improve the throughput as well.
Here is my hostapd-40MHz file :
driver=nl80211
interface=wlan0
ssid=HELLO
channel=44
hw_mode=a
#auth_algs=1
ieee80211n=1
wme_enabled=1
wmm_enabled=1
ht_capab=[HT40+][HT40-]
Please let me if anything is required to change in my hostapd file.
Thank you so much.
Hi Santosh,
Can you try settingah->config.cwm_ignore_extcca = 1;
in ath9k_hw_init_config()
Regards,
Thomas.
Quoted 29 lines · Santosh
Hello,
I am working on one research project using ath9k (Atheros 802.11n)driver. while experimenting I saw that the driver is fluctuating between 20MHz to 40MHz. When I set the data rate in my hostapd file for 40MHz I get many trace for 20MHz and vice-versa with low throughput.
I tried to perform them individually but getting same result again n again due to which I am not able to perform my experiment.
Please help me to fix this issue I want that if I want run the driver in 40MHz then it should not jump onto 20MHz. Please let me know how should I fix this issue and improve the throughput as well.
Here is my hostapd-40MHz file :
driver=nl80211
interface=wlan0
ssid=HELLO
channel=44
hw_mode=a
#auth_algs=1
ieee80211n=1
wme_enabled=1
wmm_enabled=1
ht_capab=[HT40+][HT40-]
Quoted 9 lines
Please let me if anything is required to change in my hostapd file.
Thank you so much.
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20150313/a5a25381/attachment.htm
Hope this command works.
#echo 1 > /sys/kernel/debug/ath9k/ignore_extcca
Regards,
Thomas
Quoted 7 lines · Thomas V
Hi Santosh,
Can you try setting
ah->config.cwm_ignore_extcca= 1;
inath9k_hw_init_config()
Quoted 46 lines
Regards,
Thomas.Quoted 38 lines · Santosh
Hello,
I am working on one research project using ath9k (Atheros 802.11n)driver. while experimenting I saw that the driver is fluctuating between 20MHz to 40MHz. When I set the data rate in my hostapd file for 40MHz I get many trace for 20MHz and vice-versa with low throughput.
I tried to perform them individually but getting same result again n again due to which I am not able to perform my experiment.
Please help me to fix this issue I want that if I want run the driver in 40MHz then it should not jump onto 20MHz. Please let me know how should I fix this issue and improve the throughput as well.
Here is my hostapd-40MHz file :
driver=nl80211
interface=wlan0
ssid=HELLO
channel=44
hw_mode=a
#auth_algs=1
ieee80211n=1
wme_enabled=1
wmm_enabled=1
ht_capab=[HT40+][HT40-]Please let me if anything is required to change in my hostapd file.
Thank you so much.
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20150313/d29da6b0/attachment.htm
Hi Thomas,
Thank you so much for your quick response. I'll try to solve the problem using these two commands.
1) ah->config.cwm_ignore_extcca = 1;
in ath9k_hw_init_config()
2) #echo 1 > /sys/kernel/debug/ath9k/ignore_extcca
Thomas is it possible for you explain me the reason of data rate fluctuation and also what will these two command do?
Thank you.
Quoted 63 lines · Thomas V
Hope this command works.
#echo 1 >/sys/kernel/debug/ath9k/ignore_extccaRegards,
ThomasQuoted 54 lines · Thomas V
Hi Santosh,
Can you try setting
ah->config.cwm_ignore_extcca= 1;
inath9k_hw_init_config()Regards,
Thomas.Quoted 39 lines · Santosh
Hello,
I am working on one research project using ath9k (Atheros 802.11n)driver. while experimenting I saw that the driver is fluctuating between 20MHz to 40MHz. When I set the data rate in my hostapd file for 40MHz I get many trace for 20MHz and vice-versa with low throughput.
I tried to perform them individually but getting same result again n again
due to which I am not able to perform my experiment.Please help me to fix this issue I want that if I want run the driver in 40MHz then it should not jump onto 20MHz. Please let me know how should I fix this issue and improve the throughput as well.
Here is my hostapd-40MHz file :
driver=nl80211
interface=wlan0
ssid=HELLO
channel=44
hw_mode=a
#auth_algs=1
ieee80211n=1
wme_enabled=1
wmm_enabled=1
ht_capab=[HT40+][HT40-]Please let me if anything is required to change in my hostapd file.
Thank you so much.
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20150312/9c0cd0be/attachment.htm
In the driver , there is CWM (Channel width Management) state machine. It switches the mac mode from 40 to 20Mhz when ever it detects the extention channel is busy.
Channel busy is indicated from the rx_clear bit going low.
I guess,the above setting should ignore the CCA and rx_clear is forced to be high.
Regards,
Thomas.
Quoted 8 lines · Santosh Dubey
Hi Thomas,
Thank you so much for your quick response. I'll try to solve the problem using these two commands.
1)
ah->config.cwm_ignore_extcca= 1;
inath9k_hw_init_config()
Quoted 74 lines
2) #echo 1 >
/sys/kernel/debug/ath9k/ignore_extccaThomas is it possible for you explain me the reason of data rate fluctuation and also what will these two command do?
Thank you.
Quoted 66 lines · Thomas V
Hope this command works.
#echo 1 >/sys/kernel/debug/ath9k/ignore_extccaRegards,
ThomasQuoted 57 lines · Thomas V
Hi Santosh,
Can you try setting
ah->config.cwm_ignore_extcca= 1;
inath9k_hw_init_config()Regards,
Thomas.Quoted 42 lines · Santosh
Hello,
I am working on one research project using ath9k (Atheros 802.11n)driver.
while experimenting I saw that the driver is fluctuating between 20MHz to
40MHz. When I set the data rate in my hostapd file for 40MHz I get many trace for 20MHz and vice-versa with low throughput.I tried to perform them individually but getting same result again n again
due to which I am not able to perform my experiment.Please help me to fix this issue I want that if I want run the driver in 40MHz then it should not jump onto 20MHz. Please let me know how should I
fix this issue and improve the throughput as well.Here is my hostapd-40MHz file :
driver=nl80211
interface=wlan0
ssid=HELLO
channel=44
hw_mode=a
#auth_algs=1
ieee80211n=1
wme_enabled=1
wmm_enabled=1
ht_capab=[HT40+][HT40-]Please let me if anything is required to change in my hostapd file.
Thank you so much.
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20150313/738c5e6e/attachment.htm