Commit Graph

13607 Commits

Author SHA1 Message Date
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
nshrivas
ee7eb3f2a9 Release 5.2.0.112E
Release 5.2.0.112E

Change-Id: Ie8da4d8db39b4231d080f3f723ce7b50f8d8fbfe
CRs-Fixed: 774533
2018-12-18 14:29:19 -08:00
Nachiket Kukade
6003bd2adf qcacld-3.0: Route the legacy NAN commands through NAN component
NAN component has been moved to CLD. It includes implementation
of the new NAN command QCA_NL80211_VENDOR_SUBCMD_NAN_EXT.
Change the legacy NAN implementation of vendor cmd
QCA_NL80211_VENDOR_SUBCMD_NAN so that the requests go
through the NAN component. Clean up the legacy path.
Functionality remains unchanged for legacy command.

Route the legacy NAN commands through the NAN component.

Change-Id: I542e5afe832619f8c088220cc4456aa7fe4416fd
CRs-Fixed: 2356772
2018-12-18 14:29:19 -08:00
Nachiket Kukade
4f89e9e161 qcacld-3.0: Add support for handling the NAN events
As part of supporting NAN DBS, new WMI TLVs are defined so
that Host can maintain the status of NAN Discovery in sync
with the Firmware. Add modules that process these events and
updates the NAN states.

Add support for handling the NAN events.

Change-Id: Icfcd9c33cc410d9a65140f63cac69ddd69742306
CRs-Fixed: 2355383
2018-12-18 14:29:15 -08:00
Nachiket Kukade
d5a7683c8a qcacld-3.0: Add support for the NAN Enable/Disable commands
Add changes in the NAN component and Target IF to support the
NAN Enable and Disable commands. Add changes to support all
the other generic NAN commands as well. Add a state machine
to keep track of the status of the NAN Discovery in the Target.

Add support for the NAN Enable/Disable commands

Change-Id: I20c303cad8b7a30deba50345032b33b1deba4802
CRs-Fixed: 2338054
2018-12-18 14:29:10 -08:00
Nachiket Kukade
85aa3788b6 qcacld-3.0: Store the NAN target caps inside its private obj
Host will receive the NAN related service capabilities from
the SERVICE_AVAILABLE event. In the HDD callback that gets
called afterwards, set the NAN related capabilities into
the NAN's private PSOC object.

Store the NAN target capabilities inside its private object.

Change-Id: If398b6f253613fc424b7821cfc62b0984ad34b6c
CRs-Fixed: 2356709
2018-12-18 14:29:06 -08:00
Nachiket Kukade
a6a70a98f1 qcacld-3.0: Add support for the new NAN EXT vendor command
As part of the NAN Discovery DBS support, a new vendor command
- QCA_NL80211_VENDOR_SUBCMD_NAN_EXT - has been defined that can
carry the binary blob encapsulated within an attribute and can
carry additional attributes to enhance the NAN command interface.
Add related data structures in NAN component and add modules in
OSIF to parse and sanitize this new command data and forward
the NAN message to the NAN component.

Add support for the new NAN EXT vendor command.

Change-Id: I0e6bb833b01a8cbd65e4d42700b5b70599f3ef99
CRs-Fixed: 2339029
2018-12-18 14:29:02 -08:00
nshrivas
b105e8da48 Release 5.2.0.112D
Release 5.2.0.112D

Change-Id: I16514ed015f517e4c55cbc0704305bd7a7285b2a
CRs-Fixed: 774533
2018-12-18 10:12:58 -08:00
Ashish Kumar Dhanotiya
652c233406 qcacld-3.0: Remove flag WLAN_AP_STA_CONCURRENCY from driver
As STA+SAP concurrency is supported by default in the driver,
flag WLAN_AP_STA_CONCURRENCY is removed from Kbuild, remove
this flag from the driver code also.

Change-Id: Id079e657035c5dd5572f323fefad0dbf96272a77
CRs-Fixed: 2364867
2018-12-18 10:12:58 -08:00
nshrivas
5d0aeebb3a Release 5.2.0.112C
Release 5.2.0.112C

Change-Id: I6ca33371b973dcfe4917eb60a275ea27d149011e
CRs-Fixed: 774533
2018-12-18 07:46:11 -08:00
Abhishek Singh
3360227b8c qcacld-3.0: Fill mgmt_encryption_type in case of RSNE override
In case of RSNE override, the mgmt_encryption_type is not set
and thus AP is not considered as PMF capable by LIM.

TO fix this update mgmt_encryption_type if AP is RSN capable and
profile is RSN capable.

Change-Id: I3350d33ca605c82726156f4f00a8a497dc07d3a8
CRs-Fixed: 2368692
2018-12-18 07:46:10 -08:00
Jeff Johnson
7762006141 qcacld-3.0: Remove PowerUsageControl from struct hdd_config
As part of change Iac183da52495aca07c6270edeb9f383ab49c1ff5
("qcacld-3.0: Add CFG items of power") support for the INI item
"gPowerUsage" was moved from HDD to MLME. However that change left
behind the PowerUsageControl field in struct hdd_config. This is now
obsolete, so remove it.

Change-Id: If5eb74b91f79288a2431b0e806ad89cd3d41b503
CRs-Fixed: 2368702
2018-12-18 07:46:06 -08:00
Visweswara Tanuku
16214ffbe8 qcacld-3.0: Return error for invalid wow pattern
qcacld-2.0 to qcacld-3.0 propagation

Return error from driver whenever user sends invalid
wow pattern via iwpriv command

Change-Id: Iacf84986e95ed3f156fd588d5c855654c3541a89
CRs-Fixed: 2299629
2018-12-18 07:46:02 -08:00
nshrivas
508bc0a223 Release 5.2.0.112B
Release 5.2.0.112B

Change-Id: I9858288c8ee2bce62c4f9f6598302eb0997afc59
CRs-Fixed: 774533
2018-12-18 00:07:51 -08:00
Sourav Mohapatra
a3da1c4f26 qcacld-3.0: Add default NSS to rx_nss before flags calculation
The mcs flags that are sent to the upper layer are derived from mcs
table as present in the driver. Getting the correct values from the
table depends on providing the correct NSS, rate and rate flags.
Currently for the case of TX, all the parameters are passed correctly
but for RX, the NSS is not correct. The rx_nss is set to default value
of 0 where as it should be matched with the value as per the AP
capabilities.

Assign the NSS to the rx_nss as taken from vdev.

Change-Id: Idd579cd23c961d8b194b6b197bc65330be857746
CRs-Fixed: 2366271
2018-12-18 00:07:50 -08:00
Mohit Khanna
8141877926 qcacld-3.0: changes for GRO for TCP packets
Add support for GRO functionality for TCP packets.

CRs-Fixed: 2346997
Change-Id: I9d38c926af4114e90427f5b5c632cd02b9eb3160
2018-12-18 00:07:46 -08:00
Anjaneedevi Kapparapu
c285e926bd qcacld-3.0: disable CONFIG_CRYPTO_COMPONENT for Genoa
This reverts Ieef727e49cedd3e95fabd14f47591ce0006a82d4

Change-Id: I6e217104db158e2fb8538158195458d28034fa3a
CRs-Fixed: 2358016
2018-12-18 00:07:42 -08:00
nshrivas
8621b1b066 Release 5.2.0.112A
Release 5.2.0.112A

Change-Id: I3452cbb720b1a534f455c0071885965f155a0e7e
CRs-Fixed: 774533
2018-12-17 19:31:06 -08:00
Jeff Johnson
29861acdea qcacld-3.0: Remove nRssiFilterPeriod from struct hdd_config
Change I374e870610d79cc0d172ae126bfa70dc6d2db9a9 ("qcacld-3.0: Remove
not used INI CFG") removed support for the gRssiFilterPeriod
configuration item. However it failed to remove the underlying
nRssiFilterPeriod field from struct hdd_config, so do so now.

Change-Id: I5c8106e7ea57c7ab97213e17628caa1ecdd82b05
CRs-Fixed: 2367390
2018-12-17 13:12:03 -08:00