Channel Reconfiguration
Hi all,
I am trying to reconfigure the operating channel in AP mode. Since now I am able to write the new channel frequency in the beacon frames, but I am still not able to dynamically reconfigure the frequency at hardware level.
While the driver loads at the first time I am able to read the desired channel from a debug_fs file that was generated for this purpose and properly configure the channel
when the ath9k_config function is being called.
I would like to dynamically reconfigure the hardware whenever required, as in my case whenever the debug_fs file value is updated.
Can you please advise me on this?
Best Regards
Tomas
Hi all,
I had some progress on this, by following the approach described in:
https://dev.openwrt.org/browser/branches/backfire/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch?rev=31266&order=name#L1623.
So now I am able to switch the operating channel at the AP side.
The new channel is also announced in the beacon frames and received by the stations. I would like configure the new channel at the stations as well.
I am currently working in the /drivers/net/wireless/ath/ath9k/main.c file By calling ath9k_config as soon as I receive the updated channel from the ath9k_tasklet function, the pc hangs.
In the case that the channel configuration at the station side is manually configured through a debugfs entry as described in :
https://dev.openwrt.org/browser/branches/backfire/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch?rev=31266&order=name#L1623,
the station moves to the new channel and keeps receiving beacons from the AP.
However after a while the station is disassociated with the following
message: wlan6: deauthenticated from 04:54:53:04:8d:0c (Reason: 7), which case refers to: 7 Class 3 frame received from nonassociated STA Client attempted to transfer data before it was associated.
HostApd also reports the following:
nl80211: Frame TX status event
wlan1: Event TX_STATUS (18) receivedmgmt::deauth cbhandle_deauth_cb: STA e4:ce:8f:65:c2:29 not found
Can you please advise me on how to properly configure the new channel at the station without losing the association?
Thank you in advance.
Tomas
Quoted 17 lines · sotouki
Hi all,
I am trying to reconfigure the operating channel in AP mode. Since now I am able to write the new channel frequency in the beacon frames, but I am still not able to dynamically reconfigure the frequency at hardware level.
While the driver loads at the first time I am able to read the desired channel from a
debug_fsfile that was generated for this purpose and properly configure the channel
when theath9k_configfunction is being called.I would like to dynamically reconfigure the hardware whenever required, as in my case whenever the
debug_fsfile value is updated.Can you please advise me on this?
Quoted 7 lines
Best Regards
Tomas
_______________________________________________
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/20140311/02d14148/attachment.htm
Hi,
2014-03-05 13:53 GMT+04:00 sotouki <[email protected]>:
Quoted 12 lines
Hi all,
I am trying to reconfigure the operating channel in AP mode. Since now I am able to write the new channel frequency in the beacon frames, but I am still not able to dynamically reconfigure the frequency at hardware level.
While the driver loads at the first time I am able to read the desired channel from a
debug_fsfile that was generated for this purpose and properly configure the channel
when theath9k_configfunction is being called.
Quoted 5 lines
I would like to dynamically reconfigure the hardware whenever required, as in my case whenever the
debug_fsfile value is updated.Can you please advise me on this?
Do you tried to use Channel Switch functionality of the hostap?
Signature · 2 lines
BR, Sergey