Re: [OpenWrt-Devel] Why STA wifi interface shutsdown AP interface?
Hi, It is a known issue, some descriptions you can find there - http://vonger.cn/?p=1778 I guess it is not depend on a driver or hw. 15.07.2015, 13:33, valent.turko...@gmail.com valent.turko...@gmail.com: Hi, Atheros hardware supports multiple wireless interfaces, and ath9k driver takes advantage of that. What is not clear to me is why if you have two interfaces, one in sta mode and other in ap mode then ap interface isn't available until sta interface is connected to upstream AP. Why? Is there any way to have multiple wifi intefaces and that they aren't linked together but that one can work independent of other? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel -- Regards, Yaroslav ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Why STA wifi interface shutsdown AP interface?
I don't understad how that script even works! Here is the script from that blog post - http://pastebin.com/ihNAfbcr Why use wifi-iface[99] ? Who has 100 wifi interfaces? When I manually run uci show wireless.@wifi-iface[99] I get uci: Entry not found as expected. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Why STA wifi interface shutsdown AP interface?
Because there is only one pysical hardware and the hardware can only be tuned to one channel. The STA interface needs to look for the channel the AP is on and as long as the channel is not determined we can not start an AP. I think that all of us understand limitations of one physical hardware interface. Still other wifi stack don't disable all interfaces if one fails. I would expect that if I set wifi to channel 8 (option channel '8') that then both AP and STA wifi interfaces use that channel, and it is know to both of them. If upstream AP for STA is not on channel 8 or becomes out of range then AP interface still works. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Why STA wifi interface shutsdown AP interface?
The script is a bit ugly ... but the main idea is correct :) But i would prefer next behavior: if STA has lost the connection to upstream AP, then our AP must not fail and switch to the channel from our config file or to last used channel (aka STA channel) ... Maybe someone from OpenWRT developers can create a patch for that ? 15.07.2015, 14:28, valent.turko...@gmail.com valent.turko...@gmail.com: I don't understad how that script even works! Here is the script from that blog post - http://pastebin.com/ihNAfbcr Why use wifi-iface[99] ? Who has 100 wifi interfaces? When I manually run uci show wireless.@wifi-iface[99] I get uci: Entry not found as expected. -- Regards, Yaroslav ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] Why STA wifi interface shutsdown AP interface?
Hi, Atheros hardware supports multiple wireless interfaces, and ath9k driver takes advantage of that. What is not clear to me is why if you have two interfaces, one in sta mode and other in ap mode then ap interface isn't available until sta interface is connected to upstream AP. Why? Is there any way to have multiple wifi intefaces and that they aren't linked together but that one can work independent of other? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Why STA wifi interface shutsdown AP interface?
On 15 July 2015 at 12:37, Yaroslav Syrytsia m...@ys.lc wrote: Hi, It is a known issue, some descriptions you can find there - http://vonger.cn/?p=1778 I guess it is not depend on a driver or hw. Yaroslav thanks man you saved me lots of headache! :) From reading blog post you linked this seams to be more a feature than bug. Other vendors like Mikrotik for example made their wifi stack so that virtual wifi interfaces act more like real interfaces and aren't linked. I actually consider this behaviour as a bug. Why not have 6 different virtual wifi interfaces each separate from others? How do OpenWrt devs look at this issue? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Why STA wifi interface shutsdown AP interface?
On 07/15/2015 12:08 PM, valent.turko...@gmail.com wrote: On 15 July 2015 at 12:37, Yaroslav Syrytsia m...@ys.lc wrote: Hi, It is a known issue, some descriptions you can find there - http://vonger.cn/?p=1778 I guess it is not depend on a driver or hw. Yaroslav thanks man you saved me lots of headache! :) From reading blog post you linked this seams to be more a feature than bug. Other vendors like Mikrotik for example made their wifi stack so that virtual wifi interfaces act more like real interfaces and aren't linked. I actually consider this behaviour as a bug. Why not have 6 different virtual wifi interfaces each separate from others? Because there is only one pysical hardware and the hardware can only be tuned to one channel. The STA interface needs to look for the channel the AP is on and as long as the channel is not determined we can not start an AP. bruno ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel