mwifiex/mxm_wifiex/wlan_src/mlinux
Sherry Sun 952cbd9afd 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.

Change-Id: Ibc0ab23dc43cf491d3e418436d126df5a624e3d4
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
2023-04-07 10:29:10 +00: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-02-03 14:57:17 +00:00
mlan_ieee.h MA-20988 sync WCS Q1 release patch to Android13.0 2023-01-06 16:02:55 +00:00
mlan_ioctl.h mxm_wifiex: update to mxm5x17368.p2 release 2023-02-03 14:57:17 +00:00
moal_cfg80211.c mxm_wifiex: fix next-20230224 Linux Factory rebase build errors 2023-04-07 10:29:10 +00:00
moal_cfg80211.h MA-20988 sync WCS Q1 release patch to Android13.0 2023-01-06 16:02:55 +00:00
moal_cfg80211_util.c MA-20988 sync WCS Q1 release patch to Android13.0 2023-01-06 16:02:55 +00:00
moal_cfg80211_util.h MA-20857 WCS MM5X17366 - Q4-2022 RC1 patch integrate 2022-10-31 18:11:25 +00:00
moal_debug.c mxm_wifiex: update to mxm5x17362 release 2022-10-10 15:32:56 +08:00
moal_eth_ioctl.c MA-20998-8 mxm_wifiex: Fix unannotated fall-through between switch labels build error 2023-03-29 18:37:24 +00:00
moal_eth_ioctl.h mxm_wifiex: update to mxm5x17368.p2 release 2023-02-03 14:57:17 +00:00
moal_init.c MA-20988 sync WCS Q1 release patch to Android13.0 2023-01-06 16:02:55 +00:00
moal_ioctl.c MA-20998-9 mxm_wifiex: Fix unannotated fall-through between switch labels build error 2023-03-29 18:37:24 +00:00
moal_main.c mxm_wifiex: update to mxm5x17368.p2 release 2023-02-03 14:57:17 +00:00
moal_main.h mxm_wifiex: update to mxm5x17368.p2 release 2023-02-03 14:57:17 +00:00
moal_pcie.c MA-20998-6 mxm_wifiex: Fix unannotated fall-through between switch labels build error 2023-03-29 18:37:24 +00:00
moal_pcie.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
moal_priv.c MA-20998-4 mxm_wifiex: Fix unannotated fall-through between switch labels build error 2023-03-29 18:37:24 +00: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-02-03 14:57:17 +00:00
moal_sdio.h MA-20988 sync WCS Q1 release patch to Android13.0 2023-01-06 16:02:55 +00:00
moal_sdio_mmc.c MA-20988 sync WCS Q1 release patch to Android13.0 2023-01-06 16:02:55 +00:00
moal_shim.c mxm_wifiex: fix next-20230224 Linux Factory rebase build errors 2023-04-07 10:29:10 +00:00
moal_shim.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
moal_sta_cfg80211.c MA-20998-5 mxm_wifiex: Fix ISO C99 and later do not support implicit function declarations error 2023-03-29 18:37:24 +00:00
moal_sta_cfg80211.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
moal_uap.c MA-20988 sync WCS Q1 release patch to Android13.0 2023-01-06 16:02:55 +00:00
moal_uap.h MA-20988 sync WCS Q1 release patch to Android13.0 2023-01-06 16:02:55 +00:00
moal_uap_cfg80211.c mxm_wifiex: fix next-20230224 Linux Factory rebase build errors 2023-04-07 10:29:10 +00: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: update to mxm5x17362 release 2022-10-10 15:32:56 +08:00
moal_usb.c MA-20988 sync WCS Q1 release patch to Android13.0 2023-01-06 16:02:55 +00:00
moal_usb.h MA-20988 sync WCS Q1 release patch to Android13.0 2023-01-06 16:02:55 +00:00
moal_wext.c MA-20988 sync WCS Q1 release patch to Android13.0 2023-01-06 16:02:55 +00:00
moal_wext.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00