[PATCH] wireless-regdb: add country selection

Felix Fietkau nbd at nbd.name
Tue Jul 14 09:03:36 EDT 2020


On 2020-07-14 13:57, Florian Eckert wrote:
> 
>> What's the use case for this?
> As much as I remember there was the problem in 2017 that you can't 
> change the country code or have to restrict it.
> https://ec.europa.eu/growth/sectors/electrical-engineering/red-directive_de
> Of course this change can't fulfill with this patch, but it wouldn't be 
> bad if you can put together regdb yourself and not always provide all 
> country codes.
Makes sense, thanks.

>> Couldn't we simply add add two options to blacklist or whitelist 
>> country
>> codes using a comma separated string?
> 
> That doesn't sound like a bad idea.
> If the option CONFIG_WIRELESS_REGDB_WHITELIST or 
> CONFIG_WIRELESS_REGDB_BLACKLIST is configured then a regdb is created at 
> compile time?
> Otherwise the package uses the regdb as it is.
Yes, exactly.

- Felix



More information about the openwrt-devel mailing list