Mirror of the source of what appears to be the driver for the GlobalScale Mochabin Wi-Fi 6 card, based on NXP 9098 - Other remote: https://github.com/nxp-imx/mwifiex
Find a file
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
mxm_wifiex/wlan_src mxm_wifiex: fix next-20230804 Linux Factory rebase build errors 2023-08-24 14:39:16 +08:00
LICENSE mxm_wifiex: move SCR.txt to root folder and rename LICENSE file 2023-02-01 17:42:00 +08:00
SCR.txt mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00