From: sotouki Date: Tue, 11 Mar 2014 22:25:46 +0200 Subject: [ath9k-devel] Channel Reconfiguration In-Reply-To: References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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) received mgmt::deauth cb handle_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 On 03/05/2014 11:53 AM, sotouki wrote: > 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 > _______________________________________________ > 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