mwifiex/mxm_wifiex/wlan_src/mlinux
Sherry Sun 297d1ac172 mxm_wifiex: fix next-20230804 Linux Factory rebase build errors
When build wifi driver based on next-20230804 Linux code, will observe
the following build errors.

mlinux/moal_shim.c: In function ‘moal_recv_event’:
mlinux/moal_shim.c:3475:25: error: too few arguments to function ‘cfg80211_ch_switch_notify’
mlinux/moal_main.c: In function ‘woal_set_rps_map’:
mlinux/moal_main.c:3657:29: error: invalid use of undefined type ‘struct netdev_rx_queue’
 3657 |         if (!queue || !queue->dev) {
      |                             ^~
In file included from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from ./arch/arm64/include/asm/compat.h:28,
                 from ./arch/arm64/include/asm/stat.h:13,
                 from ./include/linux/stat.h:6,
                 from ./include/linux/module.h:13,
                 from mlinux/moal_main.h:38,
                 from mlinux/moal_main.c:29:
mlinux/moal_main.c:3701:22: error: invalid use of undefined type ‘struct netdev_rx_queue’
 3701 |                 queue->rps_map, mutex_is_locked(&local_rps_map_mutex));
      |                      ^~
./include/linux/rcupdate.h:447:19: note: in definition of macro ‘__rcu_dereference_protected’
  447 |         ((typeof(*p) __force __kernel *)(p)); \
......

This is caused by kernel patch 49e47a5b6145("net: move struct
netdev_rx_queue out of netdevice.h"), now netdev_rx_queue has been
removed to a new header.

Note: The patch was introduced in L6.5 kernel next tree, but kernel
linus tree hasn't added, so maybe you need to keep this patch until
kernel linus tree add this patch and change the kerenl version
accordingly.

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
2023-08-24 14:39:16 +08:00
..
mlan.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
mlan_decl.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
mlan_ieee.h mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
mlan_ioctl.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_cfg80211.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_cfg80211.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_cfg80211_util.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_cfg80211_util.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_debug.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_eth_ioctl.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_eth_ioctl.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_init.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_ioctl.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_main.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_main.h mxm_wifiex: fix next-20230804 Linux Factory rebase build errors 2023-08-24 14:39:16 +08:00
moal_pcie.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_pcie.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_priv.c mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
moal_priv.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
moal_proc.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_sdio.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_sdio_mmc.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_shim.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_shim.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_sta_cfg80211.c mxm_wifiex: fix L6.5 kernel build errors 2023-07-19 10:40:53 +08:00
moal_sta_cfg80211.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
moal_uap.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_uap.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_uap_cfg80211.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_uap_cfg80211.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
moal_uap_priv.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_uap_priv.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_uap_wext.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_usb.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_usb.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_wext.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_wext.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00