Re: [OpenWrt-Devel] Why STA wifi interface shutsdown AP interface?

2015-07-15 Thread Yaroslav Syrytsia
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 develop

Re: [OpenWrt-Devel] Why STA wifi interface shutsdown AP interface?

2015-07-15 Thread valent.turko...@gmail.com
> 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 hard

Re: [OpenWrt-Devel] Why STA wifi interface shutsdown AP interface?

2015-07-15 Thread Bruno Randolf
On 07/15/2015 12:08 PM, valent.turko...@gmail.com wrote: > On 15 July 2015 at 12:37, Yaroslav Syrytsia 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 l

Re: [OpenWrt-Devel] Why STA wifi interface shutsdown AP interface?

2015-07-15 Thread 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. __

Re: [OpenWrt-Devel] Why STA wifi interface shutsdown AP interface?

2015-07-15 Thread valent.turko...@gmail.com
On 15 July 2015 at 12:37, Yaroslav Syrytsia 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 t

Re: [OpenWrt-Devel] Why STA wifi interface shutsdown AP interface?

2015-07-15 Thread Yaroslav Syrytsia
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" : > Hi, > Atheros hardware supports multiple wireless interfaces, and ath9k > driver takes advantage of that. > > Wh

[OpenWrt-Devel] Why STA wifi interface shutsdown AP interface?

2015-07-15 Thread 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 an