mwifiex/mxm_wifiex/wlan_src/mlinux
Sherry Sun 84aa9543bb mxm_wifiex: fix L6.7 kernel next tree build errors -- woal_cfg80211_set_beacon
When build wifi driver based on L6.7 kernel next tree, will observe the
following build errors.
These errors caused by kernel patch 66f85d57b710("wifi: cfg80211: modify
prototype for change_beacon") and bb55441c57cc(wifi: cfg80211: split
struct cfg80211_ap_settings), they modify the prototype for
change_beacon() in struct cfg80211_op to accept cfg80211_ap_update
instead of cfg80211_beacon_data so that it can process data in addition
to beacons.

CC [M]  /work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_sta_cfg80211.o
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_sta_cfg80211.c:381:26: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_ap_update *)’ from incompatible pointer type ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_beacon_data *)’ [-Werror=incompatible-pointer-types]
  381 |         .change_beacon = woal_cfg80211_set_beacon,
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/work/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_sta_cfg80211.c:381:26: note: (near initialization for ‘woal_cfg80211_ops.change_beacon’)

Also fix the build error caused by kernel patch 8e4687f6061e(wifi:
mac80211: rename struct cfg80211_rx_assoc_resp to
cfg80211_rx_assoc_resp_data), it renames the struct
cfg80211_rx_assoc_resp to cfg80211_rx_assoc_resp_data to avoid name
conflict with a function named cfg80211_rx_assoc_resp(). So we need to
make the corresponding changes in wifi driver.

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
2023-12-10 14:42:38 +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 mxm6x17423.p6 release 2023-11-13 19:13:53 +08:00
mlan_ieee.h mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
mlan_ioctl.h mxm_wifiex: update to mxm6x17423.p6 release 2023-11-13 19:13:53 +08:00
moal_cfg80211.c mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
moal_cfg80211.h mxm_wifiex: fix L6.7 kernel next tree build errors -- woal_cfg80211_set_beacon 2023-12-10 14:42:38 +08:00
moal_cfg80211_util.c mxm_wifiex: update to mxm6x17423.p6 release 2023-11-13 19:13:53 +08:00
moal_cfg80211_util.h mxm_wifiex: update to mxm6x17423.p6 release 2023-11-13 19:13:53 +08:00
moal_debug.c mxm_wifiex: update to mxm6x17423.p6 release 2023-11-13 19:13:53 +08:00
moal_eth_ioctl.c mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
moal_eth_ioctl.h mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
moal_init.c mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
moal_ioctl.c mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
moal_main.c mxm_wifiex: update to mxm6x17423.p6 release 2023-11-13 19:13:53 +08:00
moal_main.h mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
moal_pcie.c mxm_wifiex: update to mxm6x17423.p6 release 2023-11-13 19:13:53 +08:00
moal_pcie.h mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
moal_priv.c mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +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 mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
moal_sdio.h mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
moal_sdio_mmc.c mxm_wifiex: update to mxm6x17423.p6 release 2023-11-13 19:13:53 +08:00
moal_shim.c mxm_wifiex: update to mxm6x17423.p6 release 2023-11-13 19:13:53 +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.7 kernel next tree build errors -- woal_cfg80211_set_beacon 2023-12-10 14:42:38 +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 mxm6x17423.p1 release 2023-10-07 11:16:22 +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.7 kernel next tree build errors -- woal_cfg80211_set_beacon 2023-12-10 14:42:38 +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.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 mxm6x17423.p1 release 2023-10-07 11:16:22 +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