Loading Documentation/networking/regulatory.txt +20 −2 Original line number Diff line number Diff line Loading @@ -200,5 +200,23 @@ Then in some part of your code after your wiphy has been registered: Statically compiled regulatory database --------------------------------------- When a database should be fixed into the kernel, it can be provided as a firmware file at build time that is then linked into the kernel. In most situations the userland solution using CRDA as described above is the preferred solution. However in some cases a set of rules built into the kernel itself may be desirable. To account for this situation, a configuration option has been provided (i.e. CONFIG_CFG80211_INTERNAL_REGDB). With this option enabled, the wireless database information contained in net/wireless/db.txt is used to generate a data structure encoded in net/wireless/regdb.c. That option also enables code in net/wireless/reg.c which queries the data in regdb.c as an alternative to using CRDA. The file net/wireless/db.txt should be kept up-to-date with the db.txt file available in the git repository here: git://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git Again, most users in most situations should be using the CRDA package provided with their distribution, and in most other situations users should be building and using CRDA on their own rather than using this option. If you are not absolutely sure that you should be using CONFIG_CFG80211_INTERNAL_REGDB then _DO_NOT_USE_IT_. arch/arm64/configs/vendor/kona-perf_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -242,6 +242,7 @@ CONFIG_BT=y CONFIG_MSM_BT_POWER=y CONFIG_BT_SLIM_QCA6390=y CONFIG_CFG80211=y CONFIG_CFG80211_INTERNAL_REGDB=y CONFIG_RFKILL=y CONFIG_NFC_NQ=y CONFIG_FW_LOADER_USER_HELPER=y Loading arch/arm64/configs/vendor/kona_defconfig +1 −1 Original line number Diff line number Diff line Loading @@ -248,7 +248,7 @@ CONFIG_BT=y CONFIG_MSM_BT_POWER=y CONFIG_BT_SLIM_QCA6390=y CONFIG_CFG80211=y # CONFIG_CFG80211_CRDA_SUPPORT is not set CONFIG_CFG80211_INTERNAL_REGDB=y CONFIG_RFKILL=y CONFIG_NFC_NQ=y CONFIG_FW_LOADER_USER_HELPER=y Loading arch/arm64/configs/vendor/lito_defconfig +0 −1 Original line number Diff line number Diff line Loading @@ -219,7 +219,6 @@ CONFIG_QRTR=y CONFIG_QRTR_SMD=y CONFIG_BT=y CONFIG_CFG80211=y # CONFIG_CFG80211_CRDA_SUPPORT is not set CONFIG_RFKILL=y CONFIG_FW_LOADER_USER_HELPER=y CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y Loading drivers/net/wireless/ath/wil6210/Kconfig +11 −0 Original line number Diff line number Diff line Loading @@ -64,3 +64,14 @@ config WIL6210_DEBUGFS option if you are interested in debugging the driver. If unsure, say Y to make it easier to debug problems. config WIL6210_WRITE_IOCTL bool "wil6210 write ioctl to the device" depends on WIL6210 default y help Say Y here to allow write-access from user-space to the device memory through ioctl. This is useful for debugging purposes only. If unsure, say N. Loading
Documentation/networking/regulatory.txt +20 −2 Original line number Diff line number Diff line Loading @@ -200,5 +200,23 @@ Then in some part of your code after your wiphy has been registered: Statically compiled regulatory database --------------------------------------- When a database should be fixed into the kernel, it can be provided as a firmware file at build time that is then linked into the kernel. In most situations the userland solution using CRDA as described above is the preferred solution. However in some cases a set of rules built into the kernel itself may be desirable. To account for this situation, a configuration option has been provided (i.e. CONFIG_CFG80211_INTERNAL_REGDB). With this option enabled, the wireless database information contained in net/wireless/db.txt is used to generate a data structure encoded in net/wireless/regdb.c. That option also enables code in net/wireless/reg.c which queries the data in regdb.c as an alternative to using CRDA. The file net/wireless/db.txt should be kept up-to-date with the db.txt file available in the git repository here: git://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git Again, most users in most situations should be using the CRDA package provided with their distribution, and in most other situations users should be building and using CRDA on their own rather than using this option. If you are not absolutely sure that you should be using CONFIG_CFG80211_INTERNAL_REGDB then _DO_NOT_USE_IT_.
arch/arm64/configs/vendor/kona-perf_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -242,6 +242,7 @@ CONFIG_BT=y CONFIG_MSM_BT_POWER=y CONFIG_BT_SLIM_QCA6390=y CONFIG_CFG80211=y CONFIG_CFG80211_INTERNAL_REGDB=y CONFIG_RFKILL=y CONFIG_NFC_NQ=y CONFIG_FW_LOADER_USER_HELPER=y Loading
arch/arm64/configs/vendor/kona_defconfig +1 −1 Original line number Diff line number Diff line Loading @@ -248,7 +248,7 @@ CONFIG_BT=y CONFIG_MSM_BT_POWER=y CONFIG_BT_SLIM_QCA6390=y CONFIG_CFG80211=y # CONFIG_CFG80211_CRDA_SUPPORT is not set CONFIG_CFG80211_INTERNAL_REGDB=y CONFIG_RFKILL=y CONFIG_NFC_NQ=y CONFIG_FW_LOADER_USER_HELPER=y Loading
arch/arm64/configs/vendor/lito_defconfig +0 −1 Original line number Diff line number Diff line Loading @@ -219,7 +219,6 @@ CONFIG_QRTR=y CONFIG_QRTR_SMD=y CONFIG_BT=y CONFIG_CFG80211=y # CONFIG_CFG80211_CRDA_SUPPORT is not set CONFIG_RFKILL=y CONFIG_FW_LOADER_USER_HELPER=y CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y Loading
drivers/net/wireless/ath/wil6210/Kconfig +11 −0 Original line number Diff line number Diff line Loading @@ -64,3 +64,14 @@ config WIL6210_DEBUGFS option if you are interested in debugging the driver. If unsure, say Y to make it easier to debug problems. config WIL6210_WRITE_IOCTL bool "wil6210 write ioctl to the device" depends on WIL6210 default y help Say Y here to allow write-access from user-space to the device memory through ioctl. This is useful for debugging purposes only. If unsure, say N.