On 03/10/2013 05:42 PM, Bastian Bittorf wrote:
> * Daniel Golle <daniel.go...@gmail.com> [10.03.2013 16:24]:
>> The idea of doing iw reg set IL when the board is detected was to simulate 
>> that
>> behaviour and achieve the same result as if it was done properly in the 
>> EEPROM
>> (i.e. the user can then only further limit herself)
> 
> it will be resetted anyway after booting up further or after wifi
> restart.
not true. tplink_board_detect will be called on every boot, thus executing iw
reg set IL on every boot. And yes, it will probably be further restricted once
the WiFi driver loads or user-settings are applied.

> maybe you can set it via uci (without commiting it),
> so it survives any wifi action _and_ can be overidden...

technically that's not that easy, because tplink_board_detect is called before
wifi detect during firstboot. Therefore /etc/config/wireless doesn't exist yet.
Integrating this into /lib/wifi/mac80211.sh is also ugly, because it's ar71xx
specific.

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to