Commit Graph

13625 Commits

Author SHA1 Message Date
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
Jeff Johnson
2122e0c26a qcacld-3.0: Remove struct hdd_tdls_config_params
Change I0fa178bc92bc2a02e45d1ec577f9a54f40d559fb ("qcacld-3.0: Remove
wlan_hdd_tdls_set_params() prototype") removed the last reference to
struct hdd_tdls_config_params. Since it is obsolete, remove the
struct.

Change-Id: I3b5dfc94e17ba1f5b490d10593ba10fd6e33d3f5
CRs-Fixed: 2368714
2018-12-18 16:49:51 -08:00
Jeff Johnson
cab7a40b49 qcacld-3.0: Remove WLAN_HDD_80211_PEER_ADDR_OFFSET macro
Change Idaaacac4fdaf1b964432c33c10b1c86f8a591c2d ("qcacld-3.0: Remove
legacy P2P codes in HDD") removed the only reference to macro
WLAN_HDD_80211_PEER_ADDR_OFFSET. Since it is obsolete, remove it.

Change-Id: I5a298200fc007472651fdab5ded64fb1ee730636
CRs-Fixed: 2368713
2018-12-18 16:49:47 -08:00
Jeff Johnson
12f41227ab qcacld-3.0: Remove obsolete HDD NAN config stubs
Change I5af85d68ee53ad557e64523f7a1719e328536926 ("qcacld-3.0: Update
for converged NAN config params") relocated the NAN INI parsing.
However the change failed to remove the stub implementations of the
following functions, so remove them now:
- hdd_nan_populate_cds_config()
- hdd_nan_populate_pmo_config()

Change-Id: Ic2e7ed3e9a30fb20541734c0a72b55e6478877cf
CRs-Fixed: 2368712
2018-12-18 16:49:37 -08:00
Jeff Johnson
6ba16fda74 qcacld-3.0: Remove WLAN_WAIT_TIME_ABORTSCAN macro
Change I45181908a6a81de21e4ba906f54ae3190aa212d0 ("qcacld-3.0: Use
common scan api to wait on scan to get completed") removed the logic
that used macro WLAN_WAIT_TIME_ABORTSCAN. Since the macro is obsolete,
remove it.

Change-Id: Ie367743e2ba98bac9f554732682d8430c4016c42
CRs-Fixed: 2368711
2018-12-18 16:49:34 -08:00
Jeff Johnson
2044336c28 qcacld-3.0: Remove WLAN_HDD_CHANNEL_IN_UNII_1_BAND macro
Macro WLAN_HDD_CHANNEL_IN_UNII_1_BAND is no longer used, so remove it.

Change-Id: I6003c7d0963acb9c4b1d4314db8814a77daa87e7
CRs-Fixed: 2368710
2018-12-18 16:49:31 -08:00
Jeff Johnson
941694e3c9 qcacld-3.0: Remove WLAN_CHIP_VERSION macro
The WLAN_CHIP_VERSION macro is unused, so remove it.

Change-Id: I2ebd55971712716cebbfa9c20daa267272507708
CRs-Fixed: 2368709
2018-12-18 16:49:28 -08:00
Jeff Johnson
f04367347b qcacld-3.0: Remove legacy WAIT_TIME_TDLS macros
The TDLS functionality has moved to its own component. Left behind in
HDD were the following macros which are now obsolete, so remove them:
- WAIT_TIME_TDLS_LINK_ESTABLISH_REQ
- WAIT_TIME_TDLS_MGMT

Change-Id: Ie9667cafc66975e2cd92265353a8299cb5dff441
CRs-Fixed: 2368708
2018-12-18 16:49:25 -08:00
Jeff Johnson
2e16de98c7 qcacld-3.0: Remove survey_idx field from struct hdd_adapter
Change I2fa509f53b47d65ba0f4abbc438834b85b9c21f6 ("qcacld-3.0: Report
more information in survey dump") removed the legacy survey code that
utilized the survey_idx field in struct hdd_adapter. Since the field
is now obsolete, remove it.

Change-Id: I59653739949692eee4c15d5db1db386deb2d4182
CRs-Fixed: 2368707
2018-12-18 16:49:21 -08:00
Jeff Johnson
e212d0404e qcacld-3.0: Remove IPA contexts from HDD
Since they are now unused remove the hdd_ipa field from struct
hdd_context and the ipa_context field from struct hdd_adapter.

Change-Id: Iec841efdd3aa0f16298c0c58ce5756b325563b34
CRs-Fixed: 2368706
2018-12-18 16:49:17 -08:00
Jeff Johnson
cffe7dfdb3 qcacld-3.0: Remove struct hdd_connect_pm_context
Change Iaa1934594d5ffcf3b90dd2ad41bba4eb62f71119 ("qcacld-3.0: Fix
memleak for pm runtime suspend lock") removed the only usage of struct
hdd_connect_pm_context. Since the struct is obsolete, remove it.

Change-Id: If6e043e3aa2c76bcef6ae63858c5bf51fdfa8d09
CRs-Fixed: 2368705
2018-12-18 16:49:12 -08:00
Jeff Johnson
df4f610d14 qcacld-3.0: Remove TX_SCHED_WRR_PARAM_STRING_LENGTH
Change Iebded11869c55c1797f0521af05585284f46f544 ("qcacld-3.0:
Relocate legacy DP INI items") removed the only references to
TX_SCHED_WRR_PARAM_STRING_LENGTH. Since it is now unused, remove it.

Change-Id: I0d6729af053a543f23b45ef84371886812414870
CRs-Fixed: 2368704
2018-12-18 16:49:08 -08:00
Jeff Johnson
bce28eb11e qcacld-3.0: Remove SapSccChanAvoidance from struct hdd_config
As part of change I374e870610d79cc0d172ae126bfa70dc6d2db9a9
("qcacld-3.0: Remove not used INI CFG") support for the INI item
"gSapSccChanAvoidance" was removed. However that change left behind
the SapSccChanAvoidance field in struct hdd_config. This is now
obsolete, so remove it.

Change-Id: I4950066f492417922ec4054938da1e9acfaf9668
CRs-Fixed: 2368703
2018-12-18 16:49:05 -08:00