mwifiex/mxm_wifiex/wlan_src/mlinux
Sherry Sun bcbbab1f66 mxm_wifiex: fix L6.5 kernel build errors
When build wifi driver based on L6.5 kernel, will observe the following
build errors.

/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_sta_cfg80211.c:355:22: error:
initialization of ‘int (*)(struct wiphy *, struct net_device *,
const u8 *, int,  u8,  u8,  u16,  u32,  bool,  const u8 *, size_t)’ {aka
‘int (*)(struct wiphy *, struct net_device *, const unsigned char *,
int,  unsigned char,  unsigned char,  short unsigned int,  unsigned int,
_Bool,  const unsigned char *, long unsigned int)’} from incompatible
pointer type ‘int (*)(struct wiphy *, struct net_device *, const u8 *,
u8,  u8,  u16,  u32,  bool,  const u8 *, size_t)’ {aka ‘int (*)(struct
wiphy *, struct net_device *, const unsigned char *, unsigned char,
unsigned char,  short unsigned int,  unsigned int,  _Bool,  const
unsigned char *, long unsigned int)’} [-Werror=incompatible-pointer-types]
  355 |         .tdls_mgmt = woal_cfg80211_tdls_mgmt,
      |                      ^~~~~~~~~~~~~~~~~~~~~~~
/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_sta_cfg80211.c:355:22: note: (near initialization for ‘woal_cfg80211_ops.tdls_mgmt’)
/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_sta_cfg80211.c: In function ‘woal_register_cfg80211’:
/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_sta_cfg80211.c:10173:36: error: ‘REGULATORY_IGNORE_STALE_KICKOFF’ undeclared (first use in this function)
10173 |         wiphy->regulatory_flags |= REGULATORY_IGNORE_STALE_KICKOFF;
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_sta_cfg80211.c:10173:36: note:
each undeclared identifier is reported only once for each function it
appears in cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /mwifiex/mxm_wifiex/wlan_src/mlinux/moal_sta_cfg80211.o] Error 1

These errors caused by kernel patch c6112046b1a9("wifi: cfg80211: make
TDLS management link-aware"), now tdls_mgmt() callback adds one link_id
function parameter.
And kernel patch e8c2af660ba0("wifi: cfg80211: fix regulatory disconnect
with OCB/NAN") remove the REGULATORY_IGNORE_STALE_KICKOFF flag.

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
2023-07-19 10:40:53 +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 mxm6x17408 release 2023-07-15 14:41:14 +08:00
mlan_ieee.h mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00
mlan_ioctl.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_cfg80211.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_cfg80211.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_cfg80211_util.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_cfg80211_util.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_debug.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_eth_ioctl.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_eth_ioctl.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_init.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_ioctl.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_main.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_main.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_pcie.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_pcie.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_priv.c mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +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 mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_sdio.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_sdio_mmc.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_shim.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +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.5 kernel build errors 2023-07-19 10:40:53 +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 mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_uap.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_uap_cfg80211.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +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 release 2023-07-15 14:41:14 +08:00
moal_uap_priv.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_uap_wext.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
moal_usb.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +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