iwinfo_lib.c does not correlate it's list with kernel
Username: nero
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=2269
The following issue occurs on all devices across all OpenWRT versions as it is partly a problem derived from the Linux Kernel.
It is explained in detail here:
https://forum.openwrt.org/t/wifi-regulatory-country-database/35775
Prerequisites:
-
You need to have set up a working Wireless access point.
-
The set country has to not be one of the ones patched out here:
Steps to reproduce:
-
Type ‘iw reg get’ in the terminal. This will give you a list of all available channels in the regulatory zone (country).
-
Change country to one of the patched out ones:
(Eg. Angola, Antarctica)
- [opt - Disregard this step if you used the WebUI] Type ‘/etc/init.d/network restart’ 4) Type ‘iw reg get’ in the terminal. You will notice that it has not changed.
Problem:
You can, unknown to you, set up a channel which is prohibited in your country. This is very hard to check because there is no way to pre-query whether you can set such a country or not.
More detailed explanation and argumentation can be found here:
https://forum.openwrt.org/t/wifi-regulatory-country-database/35775