diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2020-05-01 14:10:16 +0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-05-01 20:21:40 -0300 |
commit | cf58e44173c3ee494e8b80e0fd54382e627f1f88 (patch) | |
tree | 8db663624a2dd89f404d68200783834876b6904a /recipes-kernel | |
parent | d64009dd553bc682cc5aff8d4e9227ac21c9cd02 (diff) | |
download | meta-freescale-cf58e44173c3ee494e8b80e0fd54382e627f1f88.tar.gz |
kernel-module-qca6174_3.0: avoid kernel module build errors
Currently the kernel module fails to build with following
undefined symbols due to missing Kconfig option.
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c:15910:13: error: 'qca_wlan_vendor_ocb_set_config_policy' undeclared here (not in a function); did you mean 'qca_wlan_vendor_setband_policy'?
| 15910 | .policy = qca_wlan_vendor_ocb_set_config_policy,
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | qca_wlan_vendor_setband_policy
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c:15919:13: error: 'qca_wlan_vendor_ocb_set_utc_time_policy' undeclared here (not in a function); did you mean 'qca_wlan_vendor_ll_set_policy'?
| 15919 | .policy = qca_wlan_vendor_ocb_set_utc_time_policy,
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | qca_wlan_vendor_ll_set_policy
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c:15929:13: error: 'qca_wlan_vendor_ocb_start_timing_advert_policy' undeclared here (not in a function); did you mean 'qca_wlan_vendor_attr_ocb_start_timing_advert'?
| 15929 | .policy = qca_wlan_vendor_ocb_start_timing_advert_policy,
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | qca_wlan_vendor_attr_ocb_start_timing_advert
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c:15938:13: error: 'qca_wlan_vendor_ocb_stop_timing_advert_policy' undeclared here (not in a function); did you mean 'qca_wlan_vendor_attr_ocb_stop_timing_advert'?
| 15938 | .policy = qca_wlan_vendor_ocb_stop_timing_advert_policy,
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | qca_wlan_vendor_attr_ocb_stop_timing_advert
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c:15956:13: error: 'qca_wlan_vendor_dcc_get_stats' undeclared here (not in a function); did you mean 'qca_wlan_vendor_attr_dcc_get_stats'?
| 15956 | .policy = qca_wlan_vendor_dcc_get_stats,
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | qca_wlan_vendor_attr_dcc_get_stats
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c:15965:13: error: 'qca_wlan_vendor_dcc_clear_stats' undeclared here (not in a function); did you mean 'qca_wlan_vendor_attr_dcc_clear_stats'?
| 15965 | .policy = qca_wlan_vendor_dcc_clear_stats,
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | qca_wlan_vendor_attr_dcc_clear_stats
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c:15974:13: error: 'qca_wlan_vendor_dcc_update_ndl' undeclared here (not in a function); did you mean 'qca_wlan_vendor_attr_dcc_update_ndl'?
| 15974 | .policy = qca_wlan_vendor_dcc_update_ndl,
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | qca_wlan_vendor_attr_dcc_update_ndl
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c: In function '__wlan_hdd_cfg80211_scan':
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c:22920:8: warning: ISO C90 forbids variable length array 'chList' [-Wvla]
| 22920 | char chList [(request->n_channels*5)+1];
| | ^~~~
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c: In function '__wlan_hdd_cfg80211_sched_scan_start':
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c:28751:9: warning: ISO C90 forbids variable length array 'chList' [-Wvla]
| 28751 | char chList [(request->n_channels*5)+1];
| | ^~~~
| At top level:
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c:25078:20: warning: 'hdd_ieee80211_reason_code_to_str' defined but not used [-Wunused-function]
| 25078 | static const char *hdd_ieee80211_reason_code_to_str(uint16_t reason)
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/kernel-modules/kernel-module-qca6174_3.0.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-kernel/kernel-modules/kernel-module-qca6174_3.0.bb b/recipes-kernel/kernel-modules/kernel-module-qca6174_3.0.bb index c59e23f5..f78a4c5b 100644 --- a/recipes-kernel/kernel-modules/kernel-module-qca6174_3.0.bb +++ b/recipes-kernel/kernel-modules/kernel-module-qca6174_3.0.bb | |||
@@ -8,6 +8,7 @@ EXTRA_OEMAKE += " \ | |||
8 | CONFIG_WLAN_FEATURE_FILS=y \ | 8 | CONFIG_WLAN_FEATURE_FILS=y \ |
9 | CONFIG_WLAN_WAPI_MODE_11AC_DISABLE=y \ | 9 | CONFIG_WLAN_WAPI_MODE_11AC_DISABLE=y \ |
10 | MODNAME=qca6174 \ | 10 | MODNAME=qca6174 \ |
11 | CONFIG_WLAN_FEATURE_DSRC=y \ | ||
11 | " | 12 | " |
12 | 13 | ||
13 | RDEPENDS_${PN} += "firmware-qca6174" | 14 | RDEPENDS_${PN} += "firmware-qca6174" |