Commit Graph

1248 Commits

Author SHA1 Message Date
Krunal Soni
da0e1e7d34 qcacld-3.0: Add cmd_id as unique number to legacy sme command
Current driver keeps cmd_id as 0 for all non-scan commands which
makes serialization module's logic more complex in order to identify
between duplicate commands.

Add unique cmd_id and attach it to each legacy sme command to make
serialization module's logic easy to distinguish between duplicate
commands.

CRs-Fixed: 2267418
Change-Id: Id2ccb435137061c963120822326fe5b90f857eb7
2018-06-26 20:11:38 -07:00
Jeff Johnson
13386da460 qcacld-3.0: Fix csr_is_pmf_capabilities_in_rsn_match() param
Currently csr_is_pmf_capabilities_in_rsn_match() takes a tHalHandle
context param.  However csr is internal to the UMAC, and hence it
should be using the "real" context pointer type tpAniSirGlobal instead
of the opaque reference tHalHandle, so update the API to expect
tpAniSirGlobal.

Change-Id: Ie13e86dac694bc1c17305f12aeb817387cc7c4bd
CRs-Fixed: 2266509
2018-06-25 12:41:07 -07:00
Jeff Johnson
3f9d9fbcd0 qcacld-3.0: Fix csr_is_bss_description_wme() context param
Currently csr_is_bss_description_wme() takes a tHalHandle context
param.  However csr is internal to the UMAC, and hence it should be
using the "real" context pointer type tpAniSirGlobal instead of the
opaque reference tHalHandle, so update the API to expect
tpAniSirGlobal.

Change-Id: I2812f57e57a06a71a81bee20773587fa99189e40
CRs-Fixed: 2266506
2018-06-25 12:41:04 -07:00
Jeff Johnson
2ef47449f6 qcacld-3.0: Fix sme_unprotected_mgmt_frm_ind() context param
Currently sme_unprotected_mgmt_frm_ind() takes a tHalHandle context
param.  However this is a static function, and hence it should be
using the "real" context pointer type tpAniSirGlobal instead of the
opaque reference tHalHandle, so update the API to expect
tpAniSirGlobal.

Change-Id: I552cade9adf0bdc7a9cf38c76cd8786548dc7011
CRs-Fixed: 2266505
2018-06-25 12:41:01 -07:00
Jeff Johnson
711fe948c4 qcacld-3.0: Fix param to rrm_change_default_config_param()
Currently in sme_update_config() the call to
rrm_change_default_config_param() is passing a mac_handle_t instead of
a tpAniSirGlobal. Change the call to pass the correct parameter.

Change-Id: I1490e3f491c1c8539acc0054343263366fb8bfca
CRs-Fixed: 2266503
2018-06-25 12:40:57 -07:00
Jeff Johnson
f86cac17cc qcacld-3.0: Pass correct param to sme_ps_start_uapsd()
Currently in multiple places calls to sme_ps_start_uapsd() are passing
a tpAniSirGlobal instead of a mac_handle_t. Change these calls to pass
the correct parameter.

Change-Id: I9cd30be8eb237423cb621b390be2bbc75ecebb92
CRs-Fixed: 2266502
2018-06-25 12:40:54 -07:00
Jeff Johnson
0a38afe444 qcacld-3.0: Pass correct param to sme_get_config_param()
Currently in sme_get_channel_bonding_mode5_g() and
sme_get_channel_bonding_mode24_g() the calls to sme_get_config_param()
are passing a tpAniSirGlobal instead of a tHalHandle. Change these
calls to pass the correct parameter.

Change-Id: I1fc1b357f96d29babc2bb8439b924fbd1fb74b62
CRs-Fixed: 2266455
2018-06-25 11:28:40 -07:00
Bala Venkatesh
b39ed1597e qcacld-3.0: Update nw_type of pe session when switching channel
In peer assoc command, the phy mode of peer is updated based on
the nw_type of pe session. So this value should accordingly as per
the new channel.

Change-Id: Ib596cb343f239456aba688b2b5ea7b19b3034a66
CRs-Fixed: 2161043
2018-06-25 10:02:21 -07:00
Hanumanth Reddy Pothula
834f943961 qcacld-3.0: Report valid MCS index to upper layer
While processing get_station cfg operation, HDD is using Nss
value, which gets updated during association, to calculate data
rate. So, there is a possibility of driver to report invalid
MCS index to upper layer if association happens with Nss 2 and
when data transmission is happening at Nss 1 rate.

On receiving GET STATS response, calculate Nss value based upon
the current data rate received from firmware, and pass it to HDD,
so that HDD can use the same Nss value to report valid MCS index
to the upper layer.

Change-Id: I62f029d53149a4747f619027ce69ce65fb280b8d
CRs-Fixed: 2250993
2018-06-22 21:07:13 -07:00
Sandeep Puligilla
d7b48974fe qcacld-3.0: clean unused API csr_is_duplicate_bss_description
Clean unused api csr_is_duplicate_bss_description

Change-Id: I4a245f9baae79dcb1a942cdada3f321a08b1b413
CRs-Fixed: 2265544
2018-06-22 21:07:10 -07:00
Jeff Johnson
5f9ce2d24d qcacld-3.0: Fix sme message callback context param
The SME message callback is currently being used in a manner that is
inconsistent with its signature. The signature specifies that a
tHalHandle should be passed but PE actually passes a tpAniSirGlobal.
Since this is a MAC internal interface update the logic to
consistently use a tpAniSirGlobal.

Change-Id: I8bf94a3dd603b76bdbe7c0db3555736692f64cb7
CRs-Fixed: 2266188
2018-06-22 19:52:21 -07:00
Jeff Johnson
c09caa4db6 qcacld-3.0: sme: Replace tSirRetStatus with QDF_STATUS
The tSirRetStatus definitions are obsolete, so replace them with
QDF_STATUS definitions in the sme folder.

Change-Id: Ib47c297fb19c350f6ccb7d2c433ebb0eac36b2c4
CRs-Fixed: 2263024
2018-06-22 11:36:18 -07:00
Jeff Johnson
ea52136ad8 qcacld-3.0: Pass correct param to sme_ps_uapsd_disable()
Currently in sme_qos_internal_release_req() and
sme_qos_process_disconnect_ev() the calls to sme_ps_uapsd_disable()
are passing a tpAniSirGlobal instead of a mac_handle_t. Change these
calls to pass the correct parameter.

Change-Id: I93784796753422988a40c4f0f51bdac92b603a43
CRs-Fixed: 2265633
2018-06-22 07:10:18 -07:00
Krunal Soni
a5d89ad663 qcacld-3.0: Check HW mode before sending join request to lower layers
When STA's join req times out on current BSS, SME issues next BSS
internally without checking HW mode for new channel.

For example, STA tries to connect SSID="abc",
BSSID="a1:a2:a3:a4:a5:a6", channel=36 and lets say it fails. It
should try few more times to same BSSID and after that it will try
next bss. Lets say next BSS it found has, SSID="abc",
BSSID="b1:b2:b3:b4:b5:b6", channel=1 then it needs to check whether
hardware mode change is required for channel=1. If driver fails in
checking hardware mode then following check will prevent the bad
situation.

CRs-Fixed: 2242562
Change-Id: Ie31ac5b8b90c6e63122148647ad333fccfbf9dbf
2018-06-22 06:01:50 -07:00
Jeff Johnson
e0349a053a qcacld-3.0: Pass correct type to csr_msg_processor()
csr_msg_processor() expects a tpAniSirGlobal as the first param but
sme_process_msg() is currently passing a tHalHandle. At the moment a
tpAniSirGlobal and tHalHandle can be freely interchanged, but a future
change will enforce type checking so update sme_process_msg() to pass
a parameter of the expected type.

Change-Id: I12aab9bddd74ae10eb9004a6369210b4998ebfbd
CRs-Fixed: 2265337
2018-06-21 15:26:54 -07:00
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
Nachiket Kukade
4b7c8e03c7 qcacld-3.0: Port modulated dtim and override listen interval
Port modulated dtim and override listen interval to PMO from
WMA.

Change-Id: Id965dd8ee0fbddfa563335fd2fe225dcd20cd162
CRs-Fixed: 2252788
2018-06-21 12:35:40 -07:00
Jinwei Chen
998a1a0e95 qcacld-3.0: separate HE caps per band
currently some HE capability is shared same value from
MIN value of 2G and 5G capability, separate them per band.

Change-Id: I37831b4044d4ca2deaf5015fb44227c824996136
CRs-Fixed: 2239070
2018-06-21 01:58:50 -07:00
Qiwei Cai
3719efe9e3 qcacld-3.0: Featurize WLAN_FEATURE_LINK_LAYER_STATS
Featurize WLAN_FEATURE_LINK_LAYER_STATS to compile out
in mission mode.

Change-Id: If0f27efa3661f4b3083180690160109084c5da67
CRs-Fixed: 2255035
2018-06-21 00:24:23 -07:00
Jiachao Wu
b8f8921958 qcacld-3.0: Using util API to check scan result
SCAN_EVENT_TYPE_DEQUEUED means this scan request have been dequeued
in fw. Driver should close this session and free related resouce if
recevie DEQUEUED.

In sap_scan_event_callback and csr_scan_callback,
those functions will return if receive DEQUEUED.Which cause memory leak.

So using util_is_scan_success to check scan result in scan callback.
And check sap resouce whether be freed when rmmod.If not clear it.

Change-Id: Iaf1f077dd7221236944d94d2b543f4df63de29fd
CRs-Fixed: 2242823
2018-06-20 14:01:08 -07:00
Nachiket Kukade
177b5b06c4 qcacld-3.0: Add support for Android Packet Filter v3
Android Packet Filter 3.0 requires the framework to be able
to read and write into the APF work memory in the Firmware.
It also requires to be able to enable or disable the
interpreter.

Add support for the new read/write/enable/disable operations.

Change-Id: Ic72243b918f4a8385a92b803a1ca3c5305423b52
CRs-Fixed: 2184969
2018-06-20 11:32:39 -07:00
Sandeep Puligilla
fc2181bcb6 qcacld-3.0: Fix Set key reorder
Host is processing unicast set key and broadcast
set key requests out of order and plumbing keys
in same order to firmware. This is due to posting
the requests with priority to scheduler thread.

Removed posting message with priority from
API csr_send_mb_set_context_req_msg().

This change partially reverts
commit I31e346da6662ab56f268f94260ed0f169b8f182b

Change-Id: I8705a25bcb2884c4dbc2555e6a58d1bb6987f736
CRs-Fixed: 2260805
2018-06-20 04:05:33 -07:00
Jeff Johnson
3639a6415b qcacld-3.0: Fix rrm_close() param
Currently sme_close() passes a tHalHandle to rrm_close(), but a
tpAniSirGlobal is expected. This currently compiles OK because
tHalHandle is defined to be a void pointer, but this will be changed
in the future so correct the call to pass the correct parameter.

Change-Id: I51e19f9699ba8fe6db2318a59284b0fcc9185a6d
CRs-Fixed: 2262688
2018-06-20 04:05:25 -07:00
Varun Reddy Yeturu
d33033f7d0 qcacld-3.0: Kbuild changes for TWT
Add the compilation flags for TWT feature to Kbuild.
Based on the compilation flag, include the source
files for compilation and also include the header
files path.

Change-Id: I45991b3c9e49e2aa0ff51a2650fde69ea447bf15
CRs-Fixed: 2238302
2018-06-20 00:42:47 -07:00
Varun Reddy Yeturu
3c9f89cfbf qcacld-3.0: Process TWT enable complete event
Process the TWT enable complete event sent by the
firmware after enabling TWT.
Set the appropriate state for TWT so that it can
be used later to check if TWT is enabled or not
in the target.

Change-Id: I924387d6afc2bf80efec0fce36ea907c6932dcda
CRs-Fixed: 2238302
2018-06-20 00:42:44 -07:00
Sandeep Puligilla
aa26b65923 qcacld-3.0: Add level specific logging to SME
Add per-level logging wrappers to SME module,
which can be compiled in or out by the build
configuration.

Change-Id: I7ad6020ee496e211f4edf6ec552999af03ffe01f
CRs-Fixed: 2261929
2018-06-20 00:42:20 -07:00
gaurank kathpalia
ca8f461682 qcacld-3.0: Fix memory leak in sme_get_link_speed
In the API sme_get_link_speed, the driver allocates memory
to the req, needed to get link speed from firmware
but is not freed, thus a memory leak may happen.

Fix is to remove the req from this API as the driver already
has this info from caller API.

Change-Id: I091bd81b162cd7e6f548068866ecdd441302553a
CRs-Fixed: 2257373
2018-06-19 21:17:05 -07:00
Himanshu Agarwal
b23aa57bf0 qcacld-3.0: Remove unused code from driver
Presently, while sending scan offload request to fw, fw is only notified
whether the channel list is static or dynamic. Fw is not notified whether
it is dynamic init, dynamic flush or dynamic update. Also, in HOST
driver it is not being used anywhere.

Remove the code to mark the channel list as dynamic update, dynamic flush
or dynamic init. Instead, assign the channel list simply as dynamic.

Change-Id: Iad834f07bb61963f0fbb6227ffcedfd1679d1a9e
CRs-Fixed: 2260715
2018-06-19 14:54:05 -07:00
Nachiket Kukade
e547a48662 qcacld-3.0: Rename legacy definitions containing BPF to APF
In implementation of Android Packet Filter, functions, variables,
definitions are named after BPF, which stands for Berkely Packet
Filter. The term was more appropriate for Link Layer packet
filters implemented in the Linux kernel, known as Linux Socket
Filters.

The term BPF is obsolete now, so rename it with the
appropriate acronym, APF.

Change-Id: I9e02edbc580ffb2c559c8e864f54d255fc2d51a3
CRs-Fixed: 2191530
2018-06-18 16:33:24 -07:00
Jeff Johnson
577f1450a8 qcacld-3.0: Remove sme_free_msg()
Function sme_free_msg() is unused so remove it.

Change-Id: I30a778ed6ce54852cd707b8a13d8a370dad2e5b5
CRs-Fixed: 2261767
2018-06-18 16:33:06 -07:00
Himanshu Agarwal
71b9397810 qcacld-3.0: Update channel in DS params and HT Info IE after CSA
After CSA, channel is not getting updated in DS params and HT info
IE in BSS descriptor of corresponding session. As a result, channel
in cfg80211 is still old due to which freq getting displayed in UI
is still the older one.

Update channel in DS params and HT info IE in BSS descriptor after CSA.

Change-Id: I4a0f301ccd6155dc459fa1bfa4fbd0c59c04e0f8
CRs-Fixed: 2244619
2018-06-15 14:49:08 -07:00
gaurank kathpalia
ebe3fc868d qcacld-3.0: Add break statement in switch case
The API sme_process_msg lacks a break in switch case
after eWNI_SME_SET_DUAL_MAC_CFG_RESP. Due to this
execution falls through to the next case statement or
default.

Fix is to add a break after eWNI_SME_SET_DUAL_MAC_CFG_RESP

Change-Id: I7466dfdc8c8cbe186f61f47371137dca958e1d08
CRs-Fixed: 2233190
2018-06-15 14:49:06 -07:00
Padma, Santhosh Kumar
86747ece8c qcacld-3.0: Avoid VDEV start for new interface when roaming in progress
Currently driver allows start_bss on SAP interface even when roaming is
in progress on STA interface. This leads to two simultaneous vdev starts
in FW which causes the FW to assert.

Add changes to reject the start_bss request for SAP if roaming is in
progress on any STA interface.
Also, when a connect for STA or start_bss for SAP is received and
roaming is not in progress for any STA interface, stop roaming on all
STA interfaces by sending WMI_ROAM_SCAN_MODE_NONE to FW. Also after
association or start_bss completion, enable roaming again on connected
STA interface.

Change-Id: I3baaffeef3b350e6527660cbac4b79fa4d9f83f0
CRs-Fixed: 2221337
2018-06-14 20:55:38 -07:00
Mahesh Kumar Kalikot Veetil
a2da8bfe39 Revert "qcacld-3.0: Fix empty beacon report issue in 802.11k"
This reverts the change I48227166d722496afd2d9dd7aca1ae78d44c8833
because it is refering to the API csr_is_duplicate_bss_description()
which is deprecated and not defined.

Change-Id: I0f133eed437754f20547a1450090df09a6e0f2ba
2018-06-14 16:22:29 -07:00
tinlin
3801bc7a18 qcacld-3.0: Fix empty beacon report issue in 802.11k
Propagation from cld2.0 to cld3.0.

While connected AP requires DUT to do radio
measurement for itself in passive scan mode,
DUT sends empty beacon report.

In passive scan, sta only listens beacons.
Connected AP beacon is offloaded to firmware, and
Firmware discards it except that special
IE exists in the beacon. Connected AP beacon will
not be sent to host. Hence, timer of connected BSS
is not updated in scan result lists
and cannot meet "scan timer > RRM_scan_timer".
Fix the issue by adding connected
BSS judging condition.

Change-Id: I48227166d722496afd2d9dd7aca1ae78d44c8833
CRs-Fixed: 2239559
2018-06-14 02:56:37 -07:00
Abhinav Kumar
8556167054 qcacld-3.0: Add diag events for debugging
Currently there are no diag events to inform user space about
used AKM Suite, requested pairwise cipher, group cipher, and
group key management in assoc request and algo num used in auth
req.

Add such diag events which can be useful in automation.

Change-Id: I210773ded47a84a3d06390271401e53cbda83089
CRs-Fixed: 2203232
2018-06-14 02:56:07 -07:00
Jeff Johnson
22256fe28a qcacld-3.0: Fix sme_get_status_for_candidate() prototype
The hal param to sme_get_status_for_candidate() is incorrectly typed
to be a pointer to a tHalHandle when it should just be a tHalHandle,
so fix it.

Change-Id: I8799c334de58e196c1fcef2889fef4d9931b91f4
CRs-Fixed: 2255549
2018-06-08 14:26:28 -07:00
Jeff Johnson
d4c61de889 qcacld-3.0: Fix csr_get_parsed_bss_description_ies() context param
Currently csr_get_parsed_bss_description_ies() takes a tHalHandle
context param.  However CSR is an internal module, and hence it should
be using the "real" context pointer type tpAniSirGlobal instead of the
opaque reference tHalhandle, so update the API.

Change-Id: Id10bc9165f942b75ee1bd0e2e9b046ea484976e7
CRs-Fixed: 2255547
2018-06-08 14:26:28 -07:00
Jeff Johnson
57d8ee8f23 qcacld-3.0: Fix csr_parse_bss_description_ies() context param
Currently csr_parse_bss_description_ies() takes a tHalHandle context
param.  However CSR is an internal module, and hence it should be
using the "real" context pointer type tpAniSirGlobal instead of the
opaque reference tHalhandle, so update the API.

Change-Id: Iabb093ac924340b0a6bfa5185d0b9d5fcc440c91
CRs-Fixed: 2255547
2018-06-08 14:26:27 -07:00
Jeff Johnson
ed463e155c qcacld-3.0: Fix csr_rates_is_dot11_rate_supported() context param
Currently csr_rates_is_dot11_rate_supported() takes a tHalHandle
context param.  However CSR is an internal module, and hence it should
be using the "real" context pointer type tpAniSirGlobal instead of the
opaque reference tHalhandle, so update the API.

Change-Id: I9349e152b4818862f7ac406f7a8f96d78c4c1782
CRs-Fixed: 2255547
2018-06-08 14:26:27 -07:00
Jeff Johnson
ad4e805d34 qcacld-3.0: Fix csr_is_security_match() context param
Currently csr_is_security_match() takes a tHalHandle context param.
However CSR is an internal module, and hence it should be using the
"real" context pointer type tpAniSirGlobal instead of the opaque
reference tHalhandle, so update the API.

Change-Id: Ibaf8273ad45a7019d19f8793e2bfc35032221c8d
CRs-Fixed: 2255547
2018-06-08 14:26:27 -07:00
Jeff Johnson
c27696290d qcacld-3.0: Fix csr_retrieve_wapi_ie() context param
Currently csr_retrieve_wapi_ie() takes a tHalHandle context param.
However CSR is an internal module, and hence it should be using the
"real" context pointer type tpAniSirGlobal instead of the opaque
reference tHalhandle, so update the API.

Change-Id: I0dca1d6b64e3ef3698439277d05611d7051926c2
CRs-Fixed: 2255547
2018-06-08 14:26:27 -07:00
Jeff Johnson
c8f9b6789b qcacld-3.0: Fix csr_retrieve_rsn_ie() context param
Currently csr_retrieve_rsn_ie() takes a tHalHandle context param.
However CSR is an internal module, and hence it should be using the
"real" context pointer type tpAniSirGlobal instead of the opaque
reference tHalhandle, so update the API.

Change-Id: Ie410ef70ed38c569f1203f59a4fc8ce4ee30400d
CRs-Fixed: 2255547
2018-06-08 14:26:27 -07:00
Jeff Johnson
515b3ec473 qcacld-3.0: Fix csr_is_ssid_equal() context param
Currently csr_is_ssid_equal() takes a tHalHandle context param.
However CSR is an internal module, and hence it should be using the
"real" context pointer type tpAniSirGlobal instead of the opaque
reference tHalhandle, so update the API.

Change-Id: I3db1f07166f90de28c8ac8a6fb31480578b04caa
CRs-Fixed: 2255547
2018-06-08 14:26:27 -07:00
Jeff Johnson
17c7fbf755 qcacld-3.0: Fix csr_retrieve_wpa_ie() context param
Currently csr_retrieve_wpa_ie() takes a tHalHandle context param.
However CSR is an internal module, and hence it should be using the
"real" context pointer type tpAniSirGlobal instead of the opaque
reference tHalhandle, so update the API.

Change-Id: Ia2a7bb81a1bf4254ad5f557bcc77d71d36495bb8
CRs-Fixed: 2255547
2018-06-08 14:26:27 -07:00
Jeff Johnson
a6a191a2d7 qcacld-3.0: Fix csr_construct_wpa_ie() context param
Currently csr_construct_wpa_ie() takes a tHalHandle context param.
However CSR is an internal module, and hence it should be using the
"real" context pointer type tpAniSirGlobal instead of the opaque
reference tHalhandle, so update the API.

Change-Id: Id690878208d1e5ca97adfce94a61629a8788ede2
CRs-Fixed: 2255547
2018-06-08 14:26:27 -07:00
Jeff Johnson
079c002f0f qcacld-3.0: Fix csr_construct_rsn_ie() context param
Currently csr_construct_rsn_ie() takes a tHalHandle context param.
However CSR is an internal module, and hence it should be using the
"real" context pointer type tpAniSirGlobal instead of the opaque
reference tHalhandle, so update the API.

Change-Id: I812709f7c149788d04151ac0b2bf2d79527131b4
CRs-Fixed: 2255547
2018-06-08 14:26:27 -07:00
Jeff Johnson
b7de91b47c qcacld-3.0: Fix csr_get11h_power_constraint() context param
Currently csr_get11h_power_constraint() takes a tHalHandle context
param.  However CSR is an internal module, and hence it should be
using the "real" context pointer type tpAniSirGlobal instead of the
opaque reference tHalhandle, so update the API.

Change-Id: Ic7f622b8633726a03ace11951c6e53b7e0936beb
CRs-Fixed: 2255547
2018-06-08 14:26:27 -07:00
Jeff Johnson
9fbc233881 qcacld-3.0: Fix csr_get_rts_thresh() context param
Currently csr_get_rts_thresh() takes a tHalHandle context param.
However CSR is an internal module, and hence it should be using the
"real" context pointer type tpAniSirGlobal instead of the opaque
reference tHalhandle, so update the API.

Change-Id: I94d370739cd616b17eea922825417d5e9ab4bd3d
CRs-Fixed: 2255547
2018-06-08 14:26:26 -07:00
Jeff Johnson
cb2193a50d qcacld-3.0: Fix csr_get_frag_thresh() context param
Currently csr_get_frag_thresh() takes a tHalHandle context param.
However CSR is an internal module, and hence it should be using the
"real" context pointer type tpAniSirGlobal instead of the opaque
reference tHalhandle, so update the API.

Change-Id: I69ae6f07dd12cf79659c5e4c461fba1c7fa8ff46
CRs-Fixed: 2255547
2018-06-08 14:26:26 -07:00