[PATCH] wireless-regdb: add country selection

Florian Eckert fe at dev.tdt.de
Tue Jul 14 07:57:52 EDT 2020


> 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.

> 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.

Kind regards

Florian



More information about the openwrt-devel mailing list