mwifiex/mxm_wifiex/wlan_src/mlinux
Sherry Sun cd09e87fb9 mxm_wifiex: fix L6.8 kernel next tree build errors -- cfg80211_ch_switch_notify
When building the wifi driver based on L6.8 kernel next tree, will
observe the following build errors.
These errors are caused by kernel patch b82730bf57b5("wifi:
cfg80211/mac80211: move puncturing into chandef"), which moves
puncturing into chandef and deletes the fourth parameter punct_bitmap of
function cfg80211_ch_switch_notify(), here change the code accordingly
to avoid the build break.

/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_shim.c: In function ‘moal_recv_event’:
/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_shim.c:3911:25: error: too many arguments to function ‘cfg80211_ch_switch_notify’
 3911 |                         cfg80211_ch_switch_notify(priv->netdev, &priv->chan, 0,
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /mwifiex/mxm_wifiex/wlan_src/mlinux/moal_main.h:130,
                 from /mwifiex/mxm_wifiex/wlan_src/mlinux/moal_shim.c:28:
./include/net/cfg80211.h:8759:6: note: declared here
 8759 | void cfg80211_ch_switch_notify(struct net_device *dev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:244: /mwifiex/mxm_wifiex/wlan_src/mlinux/moal_shim.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_cfg80211.c: In function ‘woal_cfg80211_notify_channel’:
/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_cfg80211.c:5175:17: error: too many arguments to function ‘cfg80211_ch_switch_notify’
 5175 |                 cfg80211_ch_switch_notify(priv->netdev, &chandef, 0, 0);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
...

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
2024-03-01 14:29:19 +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 mxm6x17437.p3 release 2024-01-17 16:46:44 +08:00
mlan_ieee.h mxm_wifiex: update to mxm6x17437 release 2023-12-12 11:26:12 +08:00
mlan_ioctl.h mxm_wifiex: update to mxm6x17437.p3 release 2024-01-17 16:46:44 +08:00
moal_cfg80211.c mxm_wifiex: fix L6.8 kernel next tree build errors -- cfg80211_ch_switch_notify 2024-03-01 14:29:19 +08:00
moal_cfg80211.h mxm_wifiex: update to mxm6x17437.p3 release 2024-01-17 16:46:44 +08:00
moal_cfg80211_util.c mxm_wifiex: update to mxm6x17437.p3 release 2024-01-17 16:46:44 +08:00
moal_cfg80211_util.h mxm_wifiex: update to mxm6x17437.p3 release 2024-01-17 16:46:44 +08:00
moal_debug.c mxm_wifiex: update to mxm6x17437.p3 release 2024-01-17 16:46:44 +08:00
moal_eth_ioctl.c mxm_wifiex: update to mxm6x17437.p3 release 2024-01-17 16:46:44 +08:00
moal_eth_ioctl.h mxm_wifiex: update to mxm6x17437 release 2023-12-12 11:26:12 +08:00
moal_init.c mxm_wifiex: update to mxm6x17437.p3 release 2024-01-17 16:46:44 +08:00
moal_ioctl.c mxm_wifiex: update to mxm6x17437 release 2023-12-12 11:26:12 +08:00
moal_main.c mxm_wifiex: update to mxm6x17437.p3 release 2024-01-17 16:46:44 +08:00
moal_main.h mxm_wifiex: update to mxm6x17437.p3 release 2024-01-17 16:46:44 +08:00
moal_pcie.c mxm_wifiex: update to mxm6x17437.p3 release 2024-01-17 16:46:44 +08:00
moal_pcie.h mxm_wifiex: update to mxm6x17437 release 2023-12-12 11:26:12 +08:00
moal_priv.c mxm_wifiex: update to mxm6x17437 release 2023-12-12 11:26:12 +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 mxm6x17437.p3 release 2024-01-17 16:46:44 +08:00
moal_sdio.h mxm_wifiex: update to mxm6x17437.p3 release 2024-01-17 16:46:44 +08:00
moal_sdio_mmc.c mxm_wifiex: update to mxm6x17437.p3 release 2024-01-17 16:46:44 +08:00
moal_shim.c mxm_wifiex: fix L6.8 kernel next tree build errors -- cfg80211_ch_switch_notify 2024-03-01 14:29:19 +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: update to mxm6x17437.p3 release 2024-01-17 16:46:44 +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 mxm6x17437.p3 release 2024-01-17 16:46:44 +08:00
moal_uap.h mxm_wifiex: update to mxm6x17408.p2 release 2023-08-26 15:35:06 +08:00
moal_uap_cfg80211.c mxm_wifiex: fix L6.8 kernel next tree build errors -- cfg80211_ch_switch_notify 2024-03-01 14:29:19 +08:00
moal_uap_cfg80211.h mxm_wifiex: fix L6.7 kernel next tree build warnings 2023-12-10 14:42:38 +08:00
moal_uap_priv.c mxm_wifiex: update to mxm6x17408.p2 release 2023-08-26 15:35:06 +08:00
moal_uap_priv.h mxm_wifiex: update to mxm6x17408.p2 release 2023-08-26 15:35:06 +08:00
moal_uap_wext.c mxm_wifiex: update to mxm6x17408.p2 release 2023-08-26 15:35:06 +08:00
moal_usb.c mxm_wifiex: update to mxm6x17437.p3 release 2024-01-17 16:46:44 +08:00
moal_usb.h mxm_wifiex: update to mxm6x17437.p3 release 2024-01-17 16:46:44 +08:00
moal_wext.c mxm_wifiex: update to mxm6x17437.p3 release 2024-01-17 16:46:44 +08:00
moal_wext.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00