Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL) / regdomain issue

2013-03-11 Thread Bastian Bittorf
* Daniel Dickinson dan...@powercloudsystems.com [11.03.2013 09:27]: you posted some screenshots of the original tplink-firmware for Israel: they made nearly everything wrong for the user. I'm afraid you've confused me with someone else. I posted no such thing. Also I looked at the forum

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL) / regdomain issue

2013-03-11 Thread Daniel Golle
Hi Bastian, On 03/11/2013 10:58 AM, Bastian Bittorf wrote: sorry, for mixing things up. i understud Daniel Golle, that they cannot use all allowed 5 GHz channels - they dont want to break the law. I didn't say that. Mentioning it again: There is no problem with the original firmware in that

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL) / regdomain issue

2013-03-11 Thread Bastian Bittorf
* Daniel Golle daniel.go...@gmail.com [11.03.2013 13:23]: For now, I guess the work-around I suggested does the trick (anyone got a better *practical* idea) -- it detects the hwid of the board and (ab)uses it as a regulatory hint. That's not very elegant, but until there is a better

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL) / regdomain issue

2013-03-11 Thread Daniel Golle
On 03/11/2013 02:28 PM, Bastian Bittorf wrote: * Daniel Golle daniel.go...@gmail.com [11.03.2013 13:23]: For now, I guess the work-around I suggested does the trick (anyone got a better *practical* idea) -- it detects the hwid of the board and (ab)uses it as a regulatory hint. That's not

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL) / regdomain issue

2013-03-11 Thread Bastian Bittorf
* Daniel Golle daniel.go...@gmail.com [11.03.2013 14:14]: This won't work during firstboot, because /etc/config/wireless will be created by 'wifi detect' only after tplink_board_detect already run. but if wifi-detect runs, the wifi is off anyway so the setting is not needed: only during first

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL) / regdomain issue

2013-03-10 Thread Daniel Golle
On 03/10/2013 07:52 PM, Bastian Bittorf wrote: * Daniel Golle daniel.go...@gmail.com [10.03.2013 18:00]: The default settings of the binaries on downloads.openwrt.org do *not* allow me to do that. And that's what I'm talking about. thats not true. OpenWrt defaults to regdomain US

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL) / regdomain issue

2013-03-10 Thread Daniel Dickinson
On Sun, 10 Mar 2013 20:03:29 +0200 Daniel Golle daniel.go...@gmail.com wrote: On 03/10/2013 07:52 PM, Bastian Bittorf wrote: * Daniel Golle daniel.go...@gmail.com [10.03.2013 18:00]: The default settings of the binaries on downloads.openwrt.org do *not* allow me to do that. And that's what

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL) / regdomain issue

2013-03-10 Thread Daniel Dickinson
Also, of note is that there are efforts underway to change the way regulatory compliance is met, so that the law is satisfied (and e.g atheros' need to comply) while addressing international concerns, however these efforts will take time and you will need to be patient. I'd recommend if you want

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL) / regdomain issue

2013-03-10 Thread Bastian Bittorf
* Daniel Golle daniel.go...@gmail.com [10.03.2013 18:00]: 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

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL) / regdomain issue

2013-03-10 Thread Bastian Bittorf
* Daniel Golle daniel.go...@gmail.com [10.03.2013 19:57]: On 03/10/2013 07:52 PM, Bastian Bittorf wrote: thats not true. OpenWrt defaults to regdomain US (hardcoded in the builts, because the regdomain is choosen during compiletime). so NACK. no such a thing as a hardcoded country code.

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL) / regdomain issue

2013-03-10 Thread Bastian Bittorf
* Daniel Dickinson dan...@cshore.neomailbox.net [10.03.2013 19:57]: Actually, the default in the code is to use the EEPROM values if present, but if the EEPROM doesn't set a country code or to be clear: during compile-time, a description is loaded which values are allowed for each country:

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL) / regdomain issue

2013-03-10 Thread Daniel Golle
On 03/10/2013 09:28 PM, Bastian Bittorf wrote: you posted some screenshots of the original tplink-firmware for Israel: they made nearly everything wrong for the user. I don't think it's all wrong for the user. It's definitely not the right way to do it [tm], but it serves the purpose (getting

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL) / regdomain issue

2013-03-10 Thread Daniel Dickinson
On Sun, 10 Mar 2013 20:28:13 +0100 Bastian Bittorf bitt...@bluebottle.com wrote: * Daniel Dickinson dan...@cshore.neomailbox.net [10.03.2013 19:57]: Actually, the default in the code is to use the EEPROM values if present, but if the EEPROM doesn't set a country code or to be clear: