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

/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_shim.c: In function ‘moal_recv_event’:
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_shim.c:3475:25: error: too few arguments to function ‘cfg80211_ch_switch_notify’
 3475 |                         cfg80211_ch_switch_notify(priv->netdev, &priv->chan, 0);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_main.h:123,
                 from /work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_shim.c:28:
./include/net/cfg80211.h:8375:6: note: declared here
 8375 | void cfg80211_ch_switch_notify(struct net_device *dev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:252: /work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_shim.o] Error 1
make[1]: *** [Makefile:2028: /work/mwifiex/mxm_wifiex/wlan_src] Error 2
make[1]: Leaving directory '/work/linux-nxp-rebase'

This is caused by kernel patch b345f0637c00("wifi: cfg80211: include
puncturing bitmap in channel switch events"), now
cfg80211_ch_switch_notify() needs four parameters.

Note: The patch was introduced in L6.2 kernel next tree, but in L6.3
kernel linus tree, so maybe you need to change the kernel version to
L6.3 after we rebase the linux-nxp-rebase to L6.3.

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
2023-03-10 11:38:03 +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 mxm5x17368.p2 release 2023-01-31 11:02:59 +08:00
mlan_ieee.h mxm_wifiex: update to mxm5x17368 release 2022-12-20 15:45:49 +08:00
mlan_ioctl.h mxm_wifiex: update to mxm5x17368.p2 release 2023-01-31 11:02:59 +08:00
moal_cfg80211.c mxm_wifiex: fix next-20230224 Linux Factory rebase build errors 2023-03-10 11:38:03 +08:00
moal_cfg80211.h mxm_wifiex: update to mxm5x17368 release 2022-12-20 15:45:49 +08:00
moal_cfg80211_util.c mxm_wifiex: update to mxm5x17368 release 2022-12-20 15:45:49 +08:00
moal_cfg80211_util.h mxm_wifiex: update to mxm5x17366.p3 release 2022-11-11 15:57:21 +08:00
moal_debug.c mxm_wifiex: update to mxm5x17362 release 2022-10-10 15:32:56 +08:00
moal_eth_ioctl.c mxm_wifiex: fix next-20230119 Linux Factory rebase build errors 2023-02-09 12:34:24 +08:00
moal_eth_ioctl.h mxm_wifiex: update to mxm5x17368.p2 release 2023-01-31 11:02:59 +08:00
moal_init.c mxm_wifiex: update to mxm5x17368 release 2022-12-20 15:45:49 +08:00
moal_ioctl.c mxm_wifiex: update to mxm5x17368.p2 release 2023-01-31 11:02:59 +08:00
moal_main.c mxm_wifiex: update to mxm5x17368.p2 release 2023-01-31 11:02:59 +08:00
moal_main.h mxm_wifiex: update to mxm5x17368.p2 release 2023-01-31 11:02:59 +08:00
moal_pcie.c mxm_wifiex: update to mxm5x17368.p2 release 2023-01-31 11:02:59 +08:00
moal_pcie.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
moal_priv.c mxm_wifiex: update to mxm5x17368 release 2022-12-20 15:45:49 +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 mxm5x17368.p2 release 2023-01-31 11:02:59 +08:00
moal_sdio.h mxm_wifiex: update to mxm5x17368 release 2022-12-20 15:45:49 +08:00
moal_sdio_mmc.c mxm_wifiex: update to mxm5x17368 release 2022-12-20 15:45:49 +08:00
moal_shim.c mxm_wifiex: fix next-20230224 Linux Factory rebase build errors 2023-03-10 11:38:03 +08:00
moal_shim.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
moal_sta_cfg80211.c mxm_wifiex: update to mxm5x17368 release 2022-12-20 15:45:49 +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 mxm5x17368 release 2022-12-20 15:45:49 +08:00
moal_uap.h mxm_wifiex: update to mxm5x17368 release 2022-12-20 15:45:49 +08:00
moal_uap_cfg80211.c mxm_wifiex: fix next-20230224 Linux Factory rebase build errors 2023-03-10 11:38:03 +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 mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
moal_uap_priv.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
moal_uap_wext.c mxm_wifiex: fix next-20230119 Linux Factory rebase build errors 2023-02-09 12:34:24 +08:00
moal_usb.c mxm_wifiex: update to mxm5x17368 release 2022-12-20 15:45:49 +08:00
moal_usb.h mxm_wifiex: update to mxm5x17368 release 2022-12-20 15:45:49 +08:00
moal_wext.c mxm_wifiex: fix next-20230119 Linux Factory rebase build errors 2023-02-09 12:34:24 +08:00
moal_wext.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00