android_kernel_xiaomi_sm8350/core
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
..
bmi qcacld-3.0: bmi: Fix misspellings 2018-05-16 18:01:27 -07:00
cds qcacld-3.0: Add SSR callbacks 2018-06-20 04:05:21 -07:00
dp qcacld-3.0: Add Tx comp cbk for DHCP ACK SKB CB 2018-06-21 13:52:12 -07:00
hdd qcacld-3.0: Add Tx comp cbk for DHCP ACK SKB CB 2018-06-21 13:52:12 -07:00
mac Release 5.2.0.83W 2018-06-21 13:52:13 -07:00
pld qcacld-3.0: Check if sdio device is valid before start wifi 2018-06-07 21:08:36 -07:00
sap qcacld-3.0: Using util API to check scan result 2018-06-20 14:01:08 -07:00
sme qcacld-3.0: Clean up SME stats ext event handling 2018-06-21 15:26:49 -07:00
wma qcacld-3.0: Move objmgr create/delete from HDD->WMA 2018-06-21 13:52:08 -07:00