On 2010-02-24 4:05 PM, yann lopez wrote: > Hi, > > I'm trying to setup a multiple wifi virtual interface (vifs) > configuration, one running as an access point and the other as a > station on an AR7240/AR9285 board using the ath9k driver. > > I'm facing the following issue : the two interfaces are up but the ap > interface does not send any beacon frames (both ath debug mode and > wireshark sniffing confirm this), though it responds to probe from > surrounding stations. > > Running hostapd alone does not exhibit this behaviour and further > testing led me to believe that interface starting order does in fact > have an impact on beacon frames generation when both vifs are up. > > Consequently, I've modified the mac80211.sh script so that hostapd is > started before the station vif as it solves this beacon issue. > > I don't know if this work around makes sense, any comments are welcome! > Anyway here is the patch, i've used for the trunk. I think the change makes sense, however it is not enough to fully make AP+STA work in all cases, especially with 11n. If I remember correctly, hostapd still needs to be notified when the operating channel and the HT capabilities/flags change. I intend to fix this soon, in the mean time I'll commit your patch, as it will be necessary even with the fixes that I intend to write.
Thanks, - Felix _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
