android_kernel_xiaomi_sm8350/core/sme/inc
Jeff Johnson fdecd51166 qcacld-3.0: Clean up SME stats ext event handling
There are multiple trivial issues with the SME stats ext event
handling:
* sme_stats_ext_event() is exported as a global function even though
  its use is local to sme_api.c
* As a local API sme_stats_ext_event() should take an internal MAC
  context instead of an external HAL handle
* The dispatch code in sme_process_msg() incorporates conditional
  compilation within the function body.
* There is replication of parameter checking.

Normally such trivial issues would not be addressed, however an
upcoming change will enforce type safety and no longer allow
tHalHandle and tpAniSirGlobal to be freely exchanged, so in
preparation perform the following cleanups:
* Make sme_stats_ext_event() static
* Change sme_stats_ext_event() to take a tpAniSirGlobal MAC context
* Provide a stub implementation of sme_stats_ext_event() when the
  WLAN_FEATURE_STATS_EXT feature is not enabled
* Remove the WLAN_FEATURE_STATS_EXT featurization from
  sme_process_msg()
* Remove the parameter checking from sme_process_msg()

Change-Id: I367e9d73ca50bd5c24e9261ceb2c3a504fb70e1a
CRs-Fixed: 2264796
2018-06-21 15:26:49 -07:00
..
csr_api.h qcacld-3.0: Avoid VDEV start for new interface when roaming in progress 2018-06-14 20:55:38 -07:00
csr_internal.h qcacld-3.0: Avoid VDEV start for new interface when roaming in progress 2018-06-14 20:55:38 -07:00
csr_link_list.h qcacld-3.0: Rename tHddHandle 2018-06-06 20:28:16 -07:00
csr_neighbor_roam.h qcacld-3.0: Avoid VDEV start for new interface when roaming in progress 2018-06-14 20:55:38 -07:00
csr_support.h qcacld-3.0: Fix csr_get_parsed_bss_description_ies() context param 2018-06-08 14:26:28 -07:00
nan_api.h qcacld-3.0: sme: Remove legacy markings 2018-04-24 14:48:34 -07:00
sme_api.h qcacld-3.0: Clean up SME stats ext event handling 2018-06-21 15:26:49 -07:00
sme_ft_api.h qcacld-3.0: sme: Remove legacy markings 2018-04-24 14:48:34 -07:00
sme_inside.h qcacld-3.0: Release WM status change cmd after eWNI_SME_DISCONNECT_DONE_IND 2018-05-16 15:13:55 -07:00
sme_internal.h qcacld-3.0: Featurize WLAN_FEATURE_LINK_LAYER_STATS 2018-06-21 00:24:23 -07:00
sme_nan_datapath.h qcacld-3.0: sme: Remove legacy markings 2018-04-24 14:48:34 -07:00
sme_power_save_api.h qcacld-3.0: sme: Remove legacy markings 2018-04-24 14:48:34 -07:00
sme_power_save.h qcacld-3.0: sme: Remove legacy markings 2018-04-24 14:48:34 -07:00
sme_qos_api.h qcacld-3.0: sme: Remove legacy markings 2018-04-24 14:48:34 -07:00
sme_qos_internal.h qcacld-3.0: sme: Remove legacy markings 2018-04-24 14:48:34 -07:00
sme_rrm_api.h qcacld-3.0: sme: Remove legacy markings 2018-04-24 14:48:34 -07:00
sme_rrm_internal.h qcacld-3.0: sme: Remove legacy markings 2018-04-24 14:48:34 -07:00
sme_trace.h qcacld-3.0: sme: Remove legacy markings 2018-04-24 14:48:34 -07:00
wlan_ps_wow_diag.h qcacld-3.0: sme: Remove legacy markings 2018-04-24 14:48:34 -07:00