Commit Graph

13887 Commits

Author SHA1 Message Date
Jeff Johnson
ee846a5a0b qcacld-3.0: Remove MAX_NUM_LEGACY_BSSID_PER_CHANNEL macro
Change I98c1caac415ca90a1101b64e49b0909b46d42616 ("qcacld-3.0: Remove
obsolete member variables of tAniSirLim") removed the only reference
to macro MAX_NUM_LEGACY_BSSID_PER_CHANNEL.  Since this macro is now
unused, remove it.

Change-Id: I2ae846a1fe7dd4b8a0905e4babfc761f67dc5545
CRs-Fixed: 2370026
2018-12-19 20:54:30 -08:00
Jeff Johnson
1abb0d2236 qcacld-3.0: Remove enum tdls_concerned_external_events
Change Ia860904685fc4783453491effa4518777c7406d0 ("qcacld-3.0:
TDLS: remove legacy interfaces") removed the last reference to
enum tdls_concerned_external_events. Since this enum is now unused,
remove it.

Change-Id: Ie21072a45d7c083d4f0f661906ca9cabb17a6178
CRs-Fixed: 2370025
2018-12-19 20:54:30 -08:00
Jeff Johnson
884d329c33 qcacld-3.0: Remove WLAN_WAIT_TIME_COUNTRY macro
Change I994e53b17788472de979df9dce9e18c6f68de850 ("qcacld-3.0: Add
support for regulatory component ucfg apis") removed the last
reference to macro WLAN_WAIT_TIME_COUNTRY. Since this macro is now
unused, remove it.

Change-Id: Ia0824abe9bb4419966b812f755600853520f8df2
CRs-Fixed: 2370024
2018-12-19 20:54:30 -08:00
Jeff Johnson
0f897a3b6c qcacld-3.0: Remove WLAN_HDD_PUBLIC_ACTION_TDLS_DISC_RESP macro
Change I8ba344ce5593df44bd15527e2ff68e872b6d23b8 ("qcacld-3.0: TDLS:
remove legacy core functions") removed the code that used macro
WLAN_HDD_PUBLIC_ACTION_TDLS_DISC_RESP. Since the macro is now unused,
remove it.

Change-Id: Ie0cd5cea1bc2a16829bbfb9b8339a41b303c6724
CRs-Fixed: 2370023
2018-12-19 20:54:30 -08:00
Jeff Johnson
42583f90e3 qcacld-3.0: Remove "nil scan report" remnant
Change Ia8b85548ff64ad77b5066fe03229e2b0b2f7fae3 ("qcacld-3.0: Remove
legacy scan complete callback") removed the "nil scan report"
feature. However it left behind the last_nil_scan_bug_report_timestamp
field in struct hdd_context. Since this field is now unused, remove
it.

Change-Id: I7a208121c3957a5ab04df455ad8a8b54932dfd1c
CRs-Fixed: 2370022
2018-12-19 20:54:30 -08:00
Jeff Johnson
9785c1a0c3 qcacld-3.0: Remove unused SIR_BG_SCAN macros
The following macros are unused, so remove them:
- SIR_BG_SCAN_PURGE_LFR_RESULTS
- SIR_BG_SCAN_PURGE_RESUTLS
- SIR_BG_SCAN_RETURN_CACHED_RESULTS
- SIR_BG_SCAN_RETURN_FRESH_RESULTS
- SIR_BG_SCAN_RETURN_LFR_CACHED_RESULTS
- SIR_SCAN_MAX_NUM_SSID

Change-Id: I536493d6ac3370104bffa47a0c504bac682d6923
CRs-Fixed: 2370021
2018-12-19 20:54:30 -08:00
Jeff Johnson
ecc38783b5 qcacld-3.0: Remove wma_wow_tx_complete() prototype
The current version of the driver does not have an implementation of
wma_wow_tx_complete(), so remove the obsolete prototype.

Change-Id: Ieb91ebeade812ed4ba4ba25f93a63e4e33cad8ff
CRs-Fixed: 2370020
2018-12-19 20:54:30 -08:00
Jeff Johnson
56c7d46b00 qcacld-3.0: Remove ucMaxProbeRespRetryLimit from tAddBssParams
Field ucMaxProbeRespRetryLimit in tAddBssParams is unused, so
remove it.

Change-Id: I4d9020e134eaca7b43b13f7e58e6837548a79c28
CRs-Fixed: 2370018
2018-12-19 20:54:30 -08:00
Jeff Johnson
aa77367b54 qcacld-3.0: Remove wma_scan_comp_timer from t_wma_handle
The wma_scan_comp_timer in t_wma_handle is unused, so remove it.

Change-Id: I794f462eb8bce6fddf11b438aaf389ff7fe30e52
CRs-Fixed: 2370017
2018-12-19 20:54:29 -08:00
nshrivas
65e60617a5 Release 5.2.0.112M
Release 5.2.0.112M

Change-Id: I7580c6f298b6600a95269265e2bd447d06f84c56
CRs-Fixed: 774533
2018-12-19 18:52:13 -08:00
Abhishek Singh
8ebda9db47 qcacld-3.0: Cleanup unused scan params and ini
Cleanup unused scan params and ini as they are moved to scan
component.

Change-Id: I67a589133e58fd7740d7edc93d32a2d9fcd14c5a
CRs-Fixed: 2369068
2018-12-19 18:52:12 -08:00
nshrivas
2b22156b7b Release 5.2.0.112L
Release 5.2.0.112L

Change-Id: Ifb2b032eb8c469d043c7c2b6ca40ebf110bdc156
CRs-Fixed: 774533
2018-12-19 16:30:44 -08:00
Bala Venkatesh
c8bbb0058d qcacld-3.0: Enable TDLS in FW in standalone STA and P2P client
TDLS is not supported in concurrency. As part of second interface
creation, TDLS is disabled in both host and FW. But after the second
interface is deleted, TDLS is not enabled in FW and host even for
Standalone STA and P2P client cases.

Change-Id: I362c22a79e171f9779393b1b893b5bfd14ff562a
CRs-Fixed: 2367083
2018-12-19 16:30:43 -08:00
Nachiket Kukade
079b67f747 qcacld-3.0: Remove remaining_bytes_for_apf_inst variable
Variable remaining_bytes_for_apf_inst was introduced in change
I63a5f7222de74cbb80d656f20f42d1b8453dce26, and renamed later.
But it was never used, so remove it.

Remove remaining_bytes_for_apf_inst variable.

Change-Id: I0382ff970b3fafd279453a71c1c65e1731f67aa6
CRs-Fixed: 2369099
2018-12-19 16:30:40 -08:00
nshrivas
a5319270ae Release 5.2.0.112K
Release 5.2.0.112K

Change-Id: Ib665b23860b0712c440eac80f2bde3ecdf6c421b
CRs-Fixed: 774533
2018-12-19 14:14:42 -08:00
Jeff Johnson
26bd67a020 qcacld-3.0: Remove sme_update_fast_transition_enabled() prototype
The current version of the driver does not have an implementation
of sme_update_fast_transition_enabled(), so remove the obsolete
prototype.

Change-Id: I705d4f3dc409e80d73d5dbc540e3d4ba03bbf192
CRs-Fixed: 2369216
2018-12-19 14:14:41 -08:00
Jeff Johnson
46cd9b0876 qcacld-3.0: Remove limHandleMaxRetriesInterrupt() prototype
The current version of the driver does not have an implementation of
limHandleMaxRetriesInterrupt(), so remove the obsolete prototype.

Change-Id: I78f929592f4c54be3f24fb02113cf4dcfba130e0
CRs-Fixed: 2369215
2018-12-19 14:14:37 -08:00
Jeff Johnson
7e91dc9831 qcacld-3.0: Remove limContinueChannelLearn() prototype
The current version of the driver does not have an implementation of
limContinueChannelLearn(), so remove the obsolete prototype.

Change-Id: Ifaa8b174cc337b2a279a58901e1215a275a87e89
CRs-Fixed: 2369214
2018-12-19 14:14:33 -08:00
Jeff Johnson
0711e27a84 qcacld-3.0: Fix split strings in lim_send_meas_report_frame()
lim_send_meas_report_frame() contains several instances of
user-visible strings that are split, which violates the coding
standard, so merge them.

Change-Id: Ifca7aac555df1fffc6b3669091c3cab245378be0
CRs-Fixed: 2369213
2018-12-19 14:14:29 -08:00
Jeff Johnson
74b1ab930f qcacld-3.0: Remove LIM_GET_NOISE_MAX_TRY macro
Macro LIM_GET_NOISE_MAX_TRY has never been used by the current version
of the driver, so remove it.

Change-Id: Iafad122b0d0e7019a1753920e299431a9b1df2bc
CRs-Fixed: 2369212
2018-12-19 14:14:25 -08:00
Jeff Johnson
3158c4c0fb qcacld-3.0: Remove lim_process_mlm_reassoc_ind() prototype
There is no implementation for lim_process_mlm_reassoc_ind() so remove
the obsolete prototype.

Change-Id: Ib628d1ab55f9d713331f95a9de7331265f3d32e5
CRs-Fixed: 2369210
2018-12-19 14:14:20 -08:00
Jeff Johnson
e9c63d04e9 qcacld-3.0: Remove obsolete limPost*() prototypes
There is no implementation for the following functions, so remove the
obsolete prototypes:
- limPostDummyToTmRing()
- limPostPacketToTdRing()

Change-Id: I65d9a240ddd5af6e39e65247a31445f49c8d5ec9
CRs-Fixed: 2369209
2018-12-19 14:14:16 -08:00
Jeff Johnson
ff432cde87 qcacld-3.0: Remove DISABLE_GF_FOR_INTEROP feature code
The DISABLE_GF_FOR_INTEROP feature code in lim_add_sta_self() is old
and non-functional so remove it.

Change-Id: I5e35410b4983794834fb6bbc882a0ba8f5f5e6ef
CRs-Fixed: 2369208
2018-12-19 14:14:12 -08:00
Jeff Johnson
dbef8fab74 qcacld-3.0: Remove legacy TDLS definitions from LIM
LIM contains some legacy TDLS definitions that are no longer used, so
remove them.

Change-Id: I175cd5ce589b15f34c32a60ee3650c610d0af0a8
CRs-Fixed: 2369207
2018-12-19 14:14:08 -08:00
Jeff Johnson
5c4fa5e6a5 qcacld-3.0: Remove gLimTdlsLinkMode from struct sAniSirLim
The LIM context contains a gLimTdlsLinkMode field that is written but
never read. Since that means the field is unused, remove it.

Change-Id: Id1bbcad683b0679184af86a6670fb52397206979
CRs-Fixed: 2369206
2018-12-19 14:14:04 -08:00
Jeff Johnson
675e9e135d qcacld-3.0: Remove pe_register_tl_handle() prototype
LIM exposes a prototype for function pe_register_tl_handle(), but the
current driver does not have a function by that name, so remove the
prototype.

Change-Id: I06fe675cf885f8d2db49d1e6529c21a78f9b20a5
CRs-Fixed: 2369205
2018-12-19 14:13:59 -08:00
nshrivas
28a8a1352c Release 5.2.0.112J
Release 5.2.0.112J

Change-Id: Ibccbf9ffcde3f18e77e7f73b5b4b674b92fc6bd5
CRs-Fixed: 774533
2018-12-19 12:01:51 -08:00
Abhishek Singh
a848eac5f1 qcacld-3.0: Fix NULL check in csr_roam_save_connected_information
Fix NULL check issue in csr_roam_save_connected_information, verify
number of ssid to check if ssid is present in profile.

Change-Id: Id8e760e505e2d216a97e5924ff7e2c1cf664d6b7
CRs-Fixed: 2369161
2018-12-19 12:01:50 -08:00
nshrivas
0f4bf7c9cd Release 5.2.0.112I
Release 5.2.0.112I

Change-Id: I5cf9b0b0d27f782667295c7f3e3baf273040e0c7
CRs-Fixed: 774533
2018-12-19 09:32:17 -08:00
Sravan Kumar Kairam
361f410f34 qcacld-3.0: Modify enable/disable IPA pipe for lithium dp
In case of lithium dp there is no FW interaction in RX packet
processing and is HW REO ring based. So in case of handle
first client connection and last client disconnection host
should not send HTT FW requests for pipe resume/enable at FW.
So modify the enable and disable ipa pipes host functions for
lithium dp.

Change-Id: I72661050fe1f85c13aca0c78b5c0369884ec2999
CRs-Fixed: 2369252
2018-12-19 09:32:17 -08:00
nshrivas
b947e5b538 Release 5.2.0.112H
Release 5.2.0.112H

Change-Id: I788c872a22445742f7cf1da33247768256ae6987
CRs-Fixed: 774533
2018-12-19 04:57:00 -08:00
bings
705b412f40 qcacld-3.0: Remove dead code tUpdateCFParams and WMA_UPDATE_CF_IND
WMA_UPDATE_CF_IND message (aka SIR_HAL_UPDATE_CF_IND) is dead code, because
it is not processed anywhere.

Remove dead code WMA_UPDATE_CF_IND. The only use of tUpdateCFParams is in
lim_send_cf_params() which only creates a WMA_UPDATE_CF_IND message, so
remove tUpdateCFParams and lim_send_cf_params().

Change-Id: I1b613300cdd7eeeb33825e319977ff941cae548c
CRs-Fixed: 2367931
2018-12-19 04:56:59 -08:00
Krunal Soni
e64b17e7f0 qcacld-3.0: Driver fails to report gDualMacFeatureDisable val to FW
If DBS is disabled from INI then driver just bails out
in wlan_hdd_update_dbs_scan_and_fw_mode_config() API and never report
it to FW. This creates a confusion when DBS is disable INI but our HW
is capable of doing DBS, i.e. driver thinks that DBS disabled
but FW thinks that DBS is enabled.

Provide a fix that driver should report exact INI setting to FW.
This issue got introduced as part of regression caused by:
Iec2ef7e77e91f332028904c319d24e1ed134306d

ROME platform doesn't support any DBS related commands in FW,
so if driver sends wmi command with dual_mac_config with all params
set to 0 then FW wouldn't respond back and driver would timeout on
waiting for response. This was the original issue for which
Iec2ef7e77e91f332028904c319d24e1ed134306d was added.

Make sure current solution doesn't break backward compatibility.
Add a check to make sure FW supports DBS to eliminate
ROME vs NON-ROME platform.

CRs-Fixed: 2361628
Change-Id: I8a3b795b20e82391ae5d5c86d1e7d814d103ce64
2018-12-19 04:56:55 -08:00
Kiran Kumar Lokere
325de9f293 qcacld-3.0: Disable the WLAN_CONV_CRYPTO_IE_SUPPORT feature
Disable the WLAN_CONV_CRYPTO_IE_SUPPORT feature.

Change-Id: I0aa241ab8b6879809ac4669585cdfca6c23ab9ef
CRs-Fixed: 2369342
2018-12-19 04:56:49 -08:00
lifeng
0b46ae503e qcacld-3.0: Refine mlme reg configurations
Refine mlme reg configurations based on converged cfg component.
Remove related legacy codes.

Change-Id: I524b29d2d03e60111fa1759d11e32236bb3aa3fa
CRs-Fixed: 2357961
2018-12-19 04:56:44 -08:00
nshrivas
b5df052333 Release 5.2.0.112G
Release 5.2.0.112G

Change-Id: I348905f2ff0a9bd2d44d3a7f7b9cddcecdf3dcca
CRs-Fixed: 774533
2018-12-19 02:04:28 -08:00
Wu Gao
b056db61ad qcacld-3.0: Conditional reading of 5G preferred parameters
Read 5G preferred parameters if only enable_5g_band_pref enabled.
Delete unused variables.

Change-Id: I5e3a8435034dbc7682b9da4327dd6067d2033951
CRs-Fixed: 2367136
2018-12-19 02:04:27 -08:00
Sourav Mohapatra
c55bdf3e26 qcacld-3.0: Add ini based control for Beacon Reception stats
Currently, the support for beacon reception stats is only dependent on
the FW.

Add an ini so that the user can also have a control over the stats

Change-Id: I4a1e654b9d1598836378def494b37a997904d77a
CRs-Fixed: 2366473
2018-12-19 02:04:22 -08:00
nshrivas
0e5eb336a5 Release 5.2.0.112F
Release 5.2.0.112F

Change-Id: I5e6d86565fe858b08ce4b18a2489154778e2516c
CRs-Fixed: 774533
2018-12-18 16:50:43 -08:00
Jeff Johnson
9aaffb8688 qcacld-3.0: Remove peProcessMsg() prototype
LIM exposes a prototype for function peProcessMsg(), but the current
driver does not have a function by that name, so remove the prototype.

Change-Id: I90d5c4983467c58e5d2a44caf6edc9ef6c4a1c99
CRs-Fixed: 2369204
2018-12-18 16:50:43 -08:00
Jeff Johnson
9b1fbfcc40 qcacld-3.0: Remove legacy channel avoidance structs
The legacy channel avoidance struct tSirChAvoidIndType, and its member
struct tSirChAvoidFreqType, are unused, so remove them.

Change-Id: Id891a094c674ca7bc3c9f2fdb7a9f990a9e79929
CRs-Fixed: 2369203
2018-12-18 16:50:38 -08:00
Jeff Johnson
6095418741 qcacld-3.0: Remove ANI_WDS_INFO_MAX_LENGTH macro
The macro ANI_WDS_INFO_MAX_LENGTH has never been used by the current
version of the driver. Since it is unused, remove it.

Change-Id: I5a8f39341e759cd6562de5b04b0043b677e24c0b
CRs-Fixed: 2369202
2018-12-18 16:50:33 -08:00
Jeff Johnson
b68164dfdd qcacld-3.0: Remove MAX_NO_OF_P2P_SESSIONS macro
Change I64d0b71853004679ae694bcd6ca7a2f2347adc84 ("qcacld-3.0: Remove
legacy P2P codes in MAC") removed the last reference to macro
MAX_NO_OF_P2P_SESSIONS. Since it is now unused, remove it.

Change-Id: I455571aeb65f25abcfb7c80706a3a8d9bec887c3
CRs-Fixed: 2369201
2018-12-18 16:50:28 -08:00
Jeff Johnson
debeaa8799 qcacld-3.0: Remove MAX_PENDING_LOG macro
Change I3260369879108f167453d5e0b8435c30ed729c5e ("qcacld-3.0: HDD
changes for common scan module") removed the only reference to macro
MAX_PENDING_LOG. Since it is now unused, remove it.

Change-Id: I4b5bf351a5bc7e2b841810302b75102038ae5a43
CRs-Fixed: 2368721
2018-12-18 16:50:23 -08:00
Jeff Johnson
8de65b5b70 qcacld-3.0: Remove struct hdd_tgt_cfg forward reference
Change I84e9ac5ccfe8faaa00dfc448defb81fb792263d5 ("qcacld-3.0: Add
support for NDP vendor commands and NDI Create") introduced a forward
reference to struct hdd_tgt_cfg. That struct doesn't actually exist,
so remove the forward reference.

Change-Id: Ic3129f6c0c8e55824ba066d5d36a7d10868f9f50
CRs-Fixed: 2368720
2018-12-18 16:50:18 -08:00
Jeff Johnson
e50a437635 qcacld-3.0: Remove RATE_LIMIT_ERROR_LOG macro
Change I64d7a0e3e180a636d710b42837ff3a982853fb12 ("qcacld-3.0: Remove
the excessive logging in hdd_get_adapter_by_vdev") removed the last
reference to macro RATE_LIMIT_ERROR_LOG. Since it is now unused,
remove it.

Change-Id: I531f0496edb064ed0a8208c497a7a5905be21713
CRs-Fixed: 2368719
2018-12-18 16:50:13 -08:00
Jeff Johnson
41f1fd23d1 qcacld-3.0: Remove WE_GET_STA_INFO_SIZE macro
Change I3a506905f40272efe472028391e8080d764cb390 ("qcacld-3.0: Use max
STA count when iterating SAP clients") removed the only reference to
macro WE_GET_STA_INFO_SIZE. Since it is unused, remove it.

Change-Id: I6c8069f0ce420fbe08d4e2527ce94f5c906027c6
CRs-Fixed: 2368718
2018-12-18 16:50:09 -08:00
Jeff Johnson
f907ab4453 qcacld-3.0: Remove HDD_P2P_WILDCARD_SSID macros
The following macros have neer been used by the current version of the
driver, so remove them:
- HDD_P2P_WILDCARD_SSID
- HDD_P2P_WILDCARD_SSID_LEN

Change-Id: Ice446d0e6a9f6a1e95b16267a3cb6aebf85cf5ad
CRs-Fixed: 2368717
2018-12-18 16:50:05 -08:00
Jeff Johnson
f1886e765f qcacld-3.0: Remove HDD_CHANNEL_14 macro
Change I8ba344ce5593df44bd15527e2ff68e872b6d23b8 ("qcacld-3.0: TDLS:
remove legacy core functions") removed the only reference to macro
HDD_CHANNEL_14. Since it is now obsolete, remove it.

Change-Id: I41267b0e5aef8f60c8a48cd9154529b2689bab5f
CRs-Fixed: 2368716
2018-12-18 16:50:00 -08:00
Jeff Johnson
6ca5a2c5b2 qcacld-3.0: Remove hdd_roam_tdls_status_update_handler() stub
Change I2e2380b1789cce7841ff0be4120184d1bce0b7e7 ("qcacld-3.0: TDLS:
remove legacy event process") removed the "real" implementation of
hdd_roam_tdls_status_update_handler() but left behind the stub
implementation, so remove the stub as well.

Change-Id: I4862a4cb2b27323c0bb7fb69e6033eaf2a0375b5
CRs-Fixed: 2368715
2018-12-18 16:49:56 -08:00