Commit Graph

13798 Commits

Author SHA1 Message Date
Jeff Johnson
1fca7b0507 qcacld-3.0: Remove cds_get_monotonic_boottime()
Utility function cds_get_monotonic_boottime() is unused, so remove it.

Change-Id: I85ab8be34b2fde61f710384acb2b727456adf760
CRs-Fixed: 2370774
2018-12-20 09:13:32 -08:00
Jeff Johnson
a73a93a877 qcacld-3.0: Remove cancel_rem_on_chan_var from struct hdd_adapter
Change Idaaacac4fdaf1b964432c33c10b1c86f8a591c2d ("qcacld-3.0:
Remove legacy P2P codes in HDD") removed the code that utilized
the cancel_rem_on_chan_var completion variable. Since it is no
longer used, remove the remaining references to it.

Change-Id: Icb2701a8335042aade3a2c7eb0af308e8bdfc658
CRs-Fixed: 2370037
2018-12-20 09:13:32 -08:00
Jeff Johnson
d7649c4800 qcacld-3.0: Clean up legacy 11d remnants
Change I6f6710450ff692f4722ccb6d704871f50178680c ("qcacld-3.0: Cleanup
the legacy Scan cache") removed most of the legacy scan cache logic.
However it left behaind a few remants of the old 11d logic, so remove
them.

Change-Id: I03af09c622f2e52cdc54737ed8791e46409604b4
CRs-Fixed: 2370035
2018-12-19 20:54:31 -08:00
Jeff Johnson
de971dc3fb qcacld-3.0: Remove legacy scan message structs
The legacy scan structs tSirSmeScanAbortReq and tSirSmeGetScanChanReq
are unused, so remove them.

Change-Id: I72e75145f4dcf3a578b52d9d1be841a12d67a2d3
CRs-Fixed: 2370034
2018-12-19 20:54:31 -08:00
Jeff Johnson
b67b8a5047 qcacld-3.0: Remove tSirNsOffloadReq
Change I823ba0a426cce5a5717cf2b693b49c8f8a2f7a29 ("qcacld-3.0: Add
support for arp/ns offload in PMO component") removed the references
to the nsOffloadInfo field in tSirHostOffloadReq as well as to the
underlying tSirNsOffloadReq structure, so remove these obsolete data
structures.

Change-Id: I44724334c3e0483ec9403f94259ac531cce59bb4
CRs-Fixed: 2370033
2018-12-19 20:54:31 -08:00
Jeff Johnson
96e1b8e9f3 qcacld-3.0: Remove tSmeGetScanChnRsp & tLimScanChn
Change I590745af3943a8975fb0644d02e58b2133c9f1cb ("qcacld-3.0: Add
changes to get/flush scan results") migrated to the converged scan
model. The legacy scan data structures tSmeGetScanChnRsp & tLimScanChn
are now unused, so remove them.

Change-Id: I61033b1f7b0eba43186f0ae24b9da3f5588f03b9
CRs-Fixed: 2370032
2018-12-19 20:54:31 -08:00
Jeff Johnson
a41fe79d2d qcacld-3.0: Remove struct ani_roc_req
Change I2f7d4c14d4ba2df9360351bdc55a8ba92ec9caf9 ("qcacld-3.0:
Remove legacy P2P codes in SME") removed the last reference to
struct ani_roc_req. Since this struct is unused, remove it.

Change-Id: I328481b5334b3f0c6f586d7360fe58e55a56166d
CRs-Fixed: 2370031
2018-12-19 20:54:31 -08:00
Jeff Johnson
f0ef8b8018 qcacld-3.0: Remove tSirSmeProbeReq
The current version of the driver does not used tSirSmeProbeReq,
except for one reference in LIM which is actually referencing the
wrong typedef, so fix the bad reference and remove the obsolete
typedef.

Change-Id: I314df685eb5da110021da2aafb6eab46e2f07d42
CRs-Fixed: 2370030
2018-12-19 20:54:31 -08:00
Jeff Johnson
ecb0cd7f0a qcacld-3.0: Remove tSirWlanResumeParam
The current version of the driver has not used tSirWlanResumeParam,
so remove it.

Change-Id: I7b01b9f27d45592ec970cd35c98d458f3ca62640
CRs-Fixed: 2370029
2018-12-19 20:54:30 -08:00
Jeff Johnson
5a8dab9e27 qcacld-3.0: Remove tSirUpdateAPWPARSNIEsReq
Change I4e89efe38776eb74c702485020236cfaee50641f ("qcacld-3.0: Remove
obsolete csr_roam_update_wparsni_es()") removed the last references to
tSirUpdateAPWPARSNIEsReq. Since this typedef is now unused, remove it.

Change-Id: I64d3baaf7ebd168ef4510ec5483be71d1416d390
CRs-Fixed: 2370028
2018-12-19 20:54:30 -08:00
Jeff Johnson
af15a1c20f qcacld-3.0: Remove WLAN_WAPI_KEY_RSC_LEN macro
The macro WLAN_WAPI_KEY_RSC_LEN has never been used by the current
generation of the driver, so remove it.

Change-Id: I696052e84025477f483a37b844c70d135832f97b
CRs-Fixed: 2370027
2018-12-19 20:54:30 -08:00
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