How to get AP tx bitrate from STA side?

2013-06-21 Thread ghostrain
Hello there! I have an AP xmitting data to STA. What I am trying to do is somehow get the bitrate AP uses for xmission from STA side, which is just like what "iw dev wlan0 link" does. But I need a kernel function so that I can grab this bitrate in driver and therefore do some other stuff. Your su

Is it possible to connect to HT40 AP using HT20 mode?

2013-06-19 Thread ghostrain
Hello there! Just wanna make sure if it is possible to force a STA connect to HT40 AP using HT20. Note the STA is also HT40 capable. Thanks a lot! -- View this message in context: http://linux-kernel.2935.n7.nabble.com/Is-it-possible-to-connect-to-HT40-AP-using-HT20-mode-tp670911.html Sent

How to modify channel width with ath9k driver?

2013-06-18 Thread ghostrain
Hello there! I am hacking into linux wireless driver to modify channel width dynamicly. Basicly, what I want to do is: 1) initially, the client uses 20MHz channel width and receives data at 20MHz rates from the AP 2) then, the client switches to 40MHz channel width and receives data from AP a

Cannot switch between 20MHz and 40MHz rates

2013-06-17 Thread ghostrain
Hello there! Thanks for your attention!! I have 1 STA and 1 AP (hostapd + wireless-compat ath9k driver). What I am trying to do is: 1.AP starts with HT20 (I did this through commenting out any ht_capab lines in hostapd.conf) 2.STA connects to AP (so STA is also HT20) 3.STA issues an action fram

Cannot switch between 20MHz and 40MHz rates

2013-06-17 Thread ghostrain
Hello there! Thanks for your attention!! I have 1 STA and 1 AP (hostapd + wireless-compat ath9k driver). What I am trying to do is: 1.AP starts with HT20 (I did this through commenting out any ht_capab lines in hostapd.conf) 2.STA connects to AP (so STA is also HT20) 3.STA issues an action fram