mwifiex/mxm_wifiex/wlan_src/mlan
Sherry Sun c3a62accda mxm_wifiex: fix L6.7 kernel next tree build warnings
When build wifi driver based on L6.7 kernel next tree, will observe the
following build warnings. Part of the root cause is some functions are
only called locally and should always have been static, otherwise will
trigger the no previous prototype warnings. Part of the root cause is
some global functions are not included before the definition, so add
them in the corresponding header files, which can make sure it been
called by others files correctly, otherwise also will trigger the no
previous prototype warnings.

  CC [M]  /mwifiex/mxm_wifiex/wlan_src/mlan/mlan_txrx.o
/mwifiex/mxm_wifiex/wlan_src/mlan/mlan_txrx.c:111:6: warning: no previous prototype for ‘wlan_drv_mcast_cycle_delay_calulation’ [-Wmissing-prototypes]
  111 | void wlan_drv_mcast_cycle_delay_calulation(pmlan_adapter pmadapter,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /mwifiex/mxm_wifiex/wlan_src/mlan/mlan_cmdevt.o
/mwifiex/mxm_wifiex/wlan_src/mlan/mlan_cmdevt.c:258:8: warning: no previous prototype for ‘wlan_flush_ext_cmd_pending_queue’ [-Wmissing-prototypes]
  258 | t_void wlan_flush_ext_cmd_pending_queue(pmlan_adapter pmadapter)
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......

For the following defined but not used warning, remove the useless
woal_cancel_chanrpt_event() function.
  CC [M]  /mwifiex/mxm_wifiex/wlan_src/mlinux/moal_cfg80211.o
/mwifiex/mxm_wifiex/wlan_src/mlinux/moal_cfg80211.c:2639:13: warning: ‘woal_cancel_chanrpt_event’ defined but not used [-Wunused-function]
 2639 | static void woal_cancel_chanrpt_event(moal_private *priv)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~

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_11ac.c mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
mlan_11ac.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
mlan_11ax.c mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
mlan_11ax.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
mlan_11d.c mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
mlan_11h.c mxm_wifiex: fix L6.7 kernel next tree build warnings 2023-12-10 14:42:38 +08:00
mlan_11h.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
mlan_11n.c mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
mlan_11n.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
mlan_11n_aggr.c mxm_wifiex: update to mxm6x17423.p6 release 2023-11-13 19:13:53 +08:00
mlan_11n_aggr.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
mlan_11n_rxreorder.c mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
mlan_11n_rxreorder.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
mlan_cfp.c mxm_wifiex: fix L6.7 kernel next tree build warnings 2023-12-10 14:42:38 +08:00
mlan_cmdevt.c mxm_wifiex: fix L6.7 kernel next tree build warnings 2023-12-10 14:42:38 +08:00
mlan_decl.h mxm_wifiex: update to mxm6x17423.p6 release 2023-11-13 19:13:53 +08:00
mlan_event_ids.h mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
mlan_fw.h mxm_wifiex: update to mxm6x17423.p6 release 2023-11-13 19:13:53 +08:00
mlan_hostcmd_ids.h mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
mlan_ieee.h mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
mlan_init.c mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
mlan_init.h mxm_wifiex: update to mxm5x17366.p3 release 2022-11-11 15:57:21 +08:00
mlan_ioctl.h mxm_wifiex: update to mxm6x17423.p6 release 2023-11-13 19:13:53 +08:00
mlan_join.c mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
mlan_join.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
mlan_main.h mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
mlan_meas.c mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
mlan_meas.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
mlan_misc.c mxm_wifiex: fix L6.7 kernel next tree build warnings 2023-12-10 14:42:38 +08:00
mlan_module.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
mlan_pcie.c mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
mlan_pcie.h mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
mlan_scan.c mxm_wifiex: update to mxm6x17423.p6 release 2023-11-13 19:13:53 +08:00
mlan_sdio.c mxm_wifiex: fix L6.7 kernel next tree build warnings 2023-12-10 14:42:38 +08:00
mlan_sdio.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
mlan_shim.c mxm_wifiex: update to mxm6x17423.p6 release 2023-11-13 19:13:53 +08:00
mlan_sta_cmd.c mxm_wifiex: fix L6.7 kernel next tree build warnings 2023-12-10 14:42:38 +08:00
mlan_sta_cmdresp.c mxm_wifiex: fix L6.7 kernel next tree build warnings 2023-12-10 14:42:38 +08:00
mlan_sta_event.c mxm_wifiex: update to mxm6x17423.p6 release 2023-11-13 19:13:53 +08:00
mlan_sta_ioctl.c mxm_wifiex: fix L6.7 kernel next tree build warnings 2023-12-10 14:42:38 +08:00
mlan_sta_rx.c mxm_wifiex: update to mxm6x17408.p2 release 2023-08-26 15:35:06 +08:00
mlan_sta_tx.c mxm_wifiex: update to mxm6x17408.p2 release 2023-08-26 15:35:06 +08:00
mlan_txrx.c mxm_wifiex: fix L6.7 kernel next tree build warnings 2023-12-10 14:42:38 +08:00
mlan_uap.h mxm_wifiex: update to mxm5x17344.p3 release 2022-08-31 13:08:31 +08:00
mlan_uap_cmdevent.c mxm_wifiex: update to mxm6x17423.p1 release 2023-10-07 11:16:22 +08:00
mlan_uap_ioctl.c mxm_wifiex: update to mxm6x17423.p6 release 2023-11-13 19:13:53 +08:00
mlan_uap_txrx.c mxm_wifiex: update to mxm6x17408.p2 release 2023-08-26 15:35:06 +08:00
mlan_usb.c mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
mlan_util.h mxm_wifiex: update to mxm6x17408 release 2023-07-15 14:41:14 +08:00
mlan_wmm.c mxm_wifiex: update to mxm6x17423.p6 release 2023-11-13 19:13:53 +08:00
mlan_wmm.h mxm_wifiex: update to mxm5x17391 release 2023-04-18 12:54:05 +08:00