Commit Graph

14718 Commits

Author SHA1 Message Date
Jeff Johnson
74c6bb25ba qcacld-3.0: Conditionally build TDLS component
Currently the TDLS component code is unconditionally built which will
bloat images where TDLS is not required. Fix this by only building the
TDLS component when the TDLS feature is enabled.

Change-Id: I7496b8f07ed495b00e62fc3cf50a96e1829d9341
CRs-Fixed: 2399966
2019-02-16 21:28:39 -08:00
nshrivas
7c0082d61d Release 5.2.0.120B
Release 5.2.0.120B

Change-Id: I7f4eb59c2ef409e77d6bb44abb30e6568fb6eeec
CRs-Fixed: 774533
2019-02-15 20:50:30 -08:00
Krishna Reddy
64c14daf05 qcacld-3.0: Correct comments for Coex iwpriv
Correct embedded documentation for the  ipwriv
commands, set_btc_mode and set_btc_rssi.
CRs-Fixed: 2396490

Change-Id: I77f93510885352d766eb581769502cdc87422a77
2019-02-15 20:50:30 -08:00
nshrivas
6db36a4adb Release 5.2.0.120A
Release 5.2.0.120A

Change-Id: I0955d614d6e514d3a041980eaf44b81b800559fc
CRs-Fixed: 774533
2019-02-15 18:28:29 -08:00
Harprit Chhabada
09b5003488 qcacld-3.0: Add ini for supporting partial/full bandwidth UL MUMIMO
Add ini to support partial and full bandwifth feature of UL MU-MIMO.
0-> no support
1-> partial bandwidth
2-> full and partial bandwidth

Change-Id: I94b2c8e525795a32a923e75f0650742f806dfcd5
CRs-Fixed: 2397536
2019-02-15 18:28:28 -08:00
Abhishek Singh
b1954c63bc qcacld-3.0: Force P2PGO to SCC only if other beacon entity is active
In case SAP+P2PGO+STA interface are present, with SAP in down state
and STA in conencted state and P2PGO is started, it uses API
policy_mgr_concurrent_beaconing_sessions_running checks if multiple
beaconing interface are present to force the P2PGO to SCC or DBS
channel and as SAP and P2PGO interface are present it returns true.
Now the API to get concurrent channel get the channel of STA
which is active and thus P2PGO moves to STA channel.

Thus use the api to get channel for concurrent beaconing interface
instead of any interface to take care of beaconing interface
concurrency scenareos. With this concurrent channel will be non 0 only
if any other beaconing entity is present and in up state and thus
P2PGO will move to SCC or DBS only in case any other beaconing
interface is actually up and beaconing on a channel.

Change-Id: Ic4bacc8cc45386499c11e09e79d095e926318400
CRs-Fixed: 2395530
2019-02-15 18:28:24 -08:00
nshrivas
83a2dd231a Release 5.2.0.120
Release 5.2.0.120

Change-Id: Ia20f2744f2201346d9f72a1b19cef7b586780c0e
CRs-Fixed: 774533
2019-02-15 13:10:05 -08:00
Dustin Brown
8513e84f6f qcacld-3.0: Zero-initialize soc info
pld_snoc_get_soc_info() stack allocates a icnss_soc_info struct before
populating its contents via a call to icnss_get_soc_info(). However,
icnss_get_soc_info() may not populate all of the fields of the struct.
Zero-initialize the struct before passing it to icnss_get_soc_info() to
avoid using any uninitialized values.

Change-Id: I859a880c9fb8483b66e17ded2857634ab878977a
CRs-Fixed: 2396653
2019-02-15 13:10:05 -08:00
Dustin Brown
93bdff328c qcacld-3.0: Remove qdf_util.h from osif_sync
Now that qdf_status_to_os_return() has moved to qdf_status.h in
Iaa2efa5f662be014a61a8490c3fab411ec0f2054, remove references to
qdf_util.h from osif_sync.

Change-Id: I42e70c8ac1a29ebba6d00994a12b96076684c403
CRs-Fixed: 2397508
2019-02-15 13:10:01 -08:00
Dustin Brown
8660dd30d8 qcacld-3.0: Integrate DSC (pre-cac)
The Driver Synchronization Core (DSC) is a set of synchronization
primitives for use by the driver's orchestration layer. It provides APIs
for ensuring safe state transitions (including bring up and tear down)
of major driver objects: a single driver, associated psocs, and their
associated vdevs.

As part of integrating the DSC APIs into HDD, protect pre-CAC vdev
create and destroy.

Change-Id: I8f597fca2ccd908e358475abf360feefeac7db4d
CRs-Fixed: 2397319
2019-02-15 13:09:56 -08:00
Dustin Brown
0e1e1624b5 qcacld-3.0: Integrate DSC (vdev up/down/change mode)
The Driver Synchronization Core (DSC) is a set of synchronization
primitives for use by the driver's orchestration layer. It provides APIs
for ensuring safe state transitions (including bring up and tear down)
of major driver objects: a single driver, associated psocs, and their
associated vdevs.

As part of integrating the DSC APIs into HDD, protect vdev up, down, and
mode change.

Change-Id: Ie6c8df3e4166bbfed5496b474bc49ecdb9a8ca91
CRs-Fixed: 2397318
2019-02-15 13:09:52 -08:00
nshrivas
61f7096e75 Release 5.2.0.119Z
Release 5.2.0.119Z

Change-Id: I7fce4fb340afecc954a81567bb75627399223fe9
CRs-Fixed: 774533
2019-02-15 11:46:19 -08:00
Nachiket Kukade
92ee534ea3 qcacld-3.0: Cleanup usage of RA rate limit variables in WMA
By design, when APF is supported by target, RA filtering need
not be configured. Legacy code handled this by passing INI value
of RA rate limit value to WMA and intersecting it with APF
enabled flag. Change Iabb75b46fce64b2c4a7a303848d7cb6b4714253b
replaced this implementation by a single check in PMO. So remove
the WMA legacy code since it has no purpose now. Also remove
unused PMO prototypes pmo_update_ra_limit and
pmo_update_target_service.

Cleaunp the WMA code that intersects RA rate limit and APF
variables.

Change-Id: I870a1271a627d47242000f5e04068e628f567216
CRs-Fixed: 2379745
2019-02-15 11:46:18 -08:00
nshrivas
7e80877dfd Release 5.2.0.119Y
Release 5.2.0.119Y

Change-Id: Iaf0592a77f101edfb1506be10b69ac2950162aca
CRs-Fixed: 774533
2019-02-15 08:10:00 -08:00
gaurank kathpalia
37b4636b42 qcacld-3.0: Make PCL mandatory for ACS
Currently the driver has the default ini of
PCL policy to select SAP channel as optional,
which leads to ACS on a band where the STA is
present, hence a waste of time, because SAP anyways
has to move to STA channel.

Fix is to make the PCL mandatory, so that the driver
doesn't waste time in ACS, and returns the best channel
of STA, to turn on hotspot fast.

Change-Id: Id9d3dd60e93c9df9e3c65ad8583d8d90058094f8
CRs-Fixed: 2395581
2019-02-15 08:09:59 -08:00
nshrivas
9edb48d369 Release 5.2.0.119X
Release 5.2.0.119X

Change-Id: I943716040bc83f26cfd13f2e4b29035493b900b0
CRs-Fixed: 774533
2019-02-15 06:47:37 -08:00
Sandeep Puligilla
01fcd3df08 qcacld-3.0: Advertise the MBSSID capability
Advertise MBSSID capability in association request frame.

Change-Id: Id70fbd35b6e486d9e3e0f6f483983d599cf4aca3
CRs-Fixed: 2396078
2019-02-15 06:47:36 -08:00
nshrivas
109b5bc6db Release 5.2.0.119W
Release 5.2.0.119W

Change-Id: I85615afe08207f0700015361d7ed23df254208b2
CRs-Fixed: 774533
2019-02-15 03:27:15 -08:00
Kiran Kumar Lokere
9cab525856 qcacld-3.0: Add support for 11ax draft 3.3 changes
Add support for 11ax Draft 3.3 specification.

Change-Id: I18eda46c724f8febe5652876175bebfda3f7fc88
CRs-Fixed: 2388130
2019-02-15 03:27:15 -08:00
nshrivas
4dab49336d Release 5.2.0.119V
Release 5.2.0.119V

Change-Id: I248304f5b7457d54e6dbb46886f21fde9eeb760f
CRs-Fixed: 774533
2019-02-15 02:08:42 -08:00
Rakshith Suresh Patkar
107a659f57 qcacld-3.0: Validate session_id in __wlan_ipa_wlan_evt
Session_id in __wlan_ipa_wlan_evt is used as an index
to access the array ipa_ctx->vdev_to_iface[].

Add sanity check for session_id to avoid invalid access.

Change-Id: Ie6079924c4772c3fa892b4537120db136a899885
CRs-Fixed: 2395162
2019-02-15 02:08:41 -08:00
Srinivas Dasari
10ab5edfea qcacld-3.0: Replace tpAniSirGlobal with struct mac_context *
Replace tpAniSirGlobal with struct mac_context * as it is going
to be deprecated to be in align with coding standards.

Change-Id: I4c8052d5be6ddc28155ecfccbc7754e8f0457be3
CRs-Fixed: 2392137
2019-02-15 02:08:37 -08:00
nshrivas
ab31f985ea Release 5.2.0.119U
Release 5.2.0.119U

Change-Id: I7ca82c66ce483dabb3acfb1c1e7417625cf3a855
CRs-Fixed: 774533
2019-02-15 00:44:55 -08:00
Rajeev Kumar
0f10c5ab45 qcacld-3.0: Remove obsolete prevent_link_down from hdd cfg
After CFG INI componentization hdd prevent link down config
is obsolete and hence remove it from hdd config.

Change-Id: Ibcceef38b9aedfb323e859ff0c20d1b068dce08d
CRs-Fixed: 2397353
2019-02-15 00:44:54 -08:00
nshrivas
38c72a1ba7 Release 5.2.0.119T
Release 5.2.0.119T

Change-Id: I6d1c649207df35d374fd687f8b06bb092326343b
CRs-Fixed: 774533
2019-02-14 20:18:30 -08:00
Jeff Johnson
19ce8d0f84 qcacld-3.0: Replace typedef tSirTxPowerLimit
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tSirTxPowerLimit typedef does
not meet any of those criteria, so replace it with a reference to the
underlying struct.

Further note the Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so in conjunction rename the underlying
struct to be in compliance.

Change-Id: I0c466bfbf4b820911e983f8bf74dc9e6f7e8ab70
CRs-Fixed: 2399110
2019-02-14 20:18:30 -08:00
Jeff Johnson
e943bca8f9 qcacld-3.0: Replace typedef tSirLinkSpeedInfo
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tSirLinkSpeedInfo typedef does
not meet any of those criteria, so replace it (and the "tp" variant)
with a reference to the underlying struct.

Further note the Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so in conjunction rename the underlying
struct to be in compliance.

Change-Id: I36ab84336b9f0290bc68eb5a42678fd49d0f3c51
CRs-Fixed: 2399107
2019-02-14 20:18:25 -08:00
Jeff Johnson
10cde6968b qcacld-3.0: Replace typedef tSirSmeHOFailureInd
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tSirSmeHOFailureInd typedef
does not meet any of those criteria, so replace it (and the "tp"
variant) with a reference to the underlying struct.

Further note the Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so in conjunction rename the underlying
struct to be in compliance.

Change-Id: I313e1155aa463bc55ae2467539755fd75cf8a8eb
CRs-Fixed: 2399109
2019-02-14 20:18:21 -08:00
nshrivas
17ba1d345f Release 5.2.0.119S
Release 5.2.0.119S

Change-Id: I66bacf9304107d20e6d3aa95e0f370e0cd95af17
CRs-Fixed: 774533
2019-02-14 18:48:07 -08:00
gaurank kathpalia
43c5262700 qcacld-3.0: Refactor cfg item dot11mode ini to hdd cfg
Refactor cfg item dot11mode ini to hdd cfg

Change-Id: I212ea8040f958de5834aefc70b1e39102aa635ab
CRs-Fixed: 2393501
2019-02-14 18:48:07 -08:00
nshrivas
1d69c7a311 Release 5.2.0.119R
Release 5.2.0.119R

Change-Id: I6279ae1d19b8df2d8e7daf4219acd41b040ef18d
CRs-Fixed: 774533
2019-02-13 16:05:22 -08:00
Jeff Johnson
2be205e590 qcacld-3.0: Remove UAPSD trigger structs from TDLS public structs
As part of the TDLS feature, structs sta_uapsd_trig_params and
sta_uapsd_params were replicated from qcacmn wmi_unified_param.h to
qcacld-3.0 wlan_tdls_public_structs.h, and conditional compilation
based upon CONVERGED_TDLS_ENABLE was used to determine which structs
are actually used by a build. Since these structs are not specific to
TDLS, remove the duplicates and exclusive use the structs from qcacmn
wmi_unified_param.h.

This is co-dependent upon Ida0f2b6f131ff2dce7217b881ffadecfd685f563
("qcacmn: Remove TDLS featurization from UAPSD trigger structs").

Change-Id: I37b2d80a4710aced158dcf2ea973d15801a7cecc
CRs-Fixed: 2395823
2019-02-13 16:05:21 -08:00
nshrivas
c8c31f7850 Release 5.2.0.119Q
Release 5.2.0.119Q

Change-Id: Iea3c652e7a56e96bf41ce880e3914aade79e8708
CRs-Fixed: 774533
2019-02-13 14:47:28 -08:00
Jeff Johnson
d577713a84 qcacld-3.0: Rename HDD variable pBeacon
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation so rename local variable pBeacon to be in
compliance.

Change-Id: Ie305a91281b043fe915a91b9f7b17a84ebd96576
CRs-Fixed: 2396524
2019-02-13 14:47:27 -08:00
Jeff Johnson
bf8299a5a3 qcacld-3.0: Remove enum wma_tdls_off_chan_mode
As part of TDLS componentization the legacy enum
wma_tdls_off_chan_mode was replicated, creating enum
tdls_off_chan_mode. All of the TDLS code has transitioned
to the new enum. Since the legacy enum is obsolete, remove it.

Change-Id: I02f9fba0d3fc0cf1f9bada82d3fedc49845f99ee
CRs-Fixed: 2397352
2019-02-13 14:47:22 -08:00
Jeff Johnson
f51c7fa48b qcacld-3.0: Converge on enum tdls_peer_state
As part of TDLS componentization the legacy enum WMA_TdlsPeerState was
replicated, creating enum tdls_peer_state.  Unfortunately this left
the driver with two different enums which serve the same purpose,
which is pointless. Furthermore, due to the way in which these enums
are used, there is an implicit requirement that they be exactly
identical. This approach is very fragile. To align with the converged
software architecture and to improve code maintainability remove the
legacy enum and exclusively use the TDLS public enum.

Change-Id: I4ded30d12cd7c8ebcf6a36331240f5c26c413d85
CRs-Fixed: 2397351
2019-02-13 14:47:18 -08:00
Jeff Johnson
067f2376f0 qcacld-3.0: Rename enumeration TDLS_PEER_STATE_CONNCTED
Enumeration TDLS_PEER_STATE_CONNCTED contains a spelling error, so
rename it to TDLS_PEER_STATE_CONNECTED.

Change-Id: Ifa0ff667a407cdad3e240aec6c188f20336a166a
CRs-Fixed: 2397350
2019-02-13 14:47:13 -08:00
nshrivas
e0d4835015 Release 5.2.0.119P
Release 5.2.0.119P

Change-Id: I4e8260676215c2817f0a928c5baba786dd2b32a2
CRs-Fixed: 774533
2019-02-12 13:09:47 -08:00
Dustin Brown
dc789027bf qcacld-3.0: Add qdf_status.c to the Kbuild
Change Iaa2efa5f662be014a61a8490c3fab411ec0f2054 added qdf_status.c.
Include this file in the Kbuild.

Change-Id: I263924b4ec82d2e3137f659144251b4a43e5d30f
CRs-Fixed: 2395179
2019-02-12 13:09:46 -08:00
nshrivas
13ae14c72b Release 5.2.0.119O
Release 5.2.0.119O

Change-Id: Id64422ed4e07eaa9c986cec178a2f3f813ccde72
CRs-Fixed: 774533
2019-02-12 10:06:12 -08:00
stonez
396a973271 qcacld-3.0: Get evm inforation of each antenna in groups
User layer need to get evm info of each groups of antenna.
Host first get this info by WMI command and then transfer
it to user layer by netlink.

Change-Id: I6e15b85962d06718799f91b86f07ddd8762adb5c
CRs-Fixed: 2381569
2019-02-12 10:06:11 -08:00
Liangwei Dong
08c92b51ae qcacld-3.0: Restart opportunistic timer in LFR3
For 2x2 DBS hw, when DUT station connects to 2G AP,
DUT runs into DBS mode. If DUT roams to 5G AP in Firmware,
host needs to start the opportunistic timer to check
and change hw mode to single mac mode.

Change-Id: Ie9185d5fc50a6150bb15e4026bcf575d1f752819
CRs-Fixed: 2372438
2019-02-12 10:06:07 -08:00
nshrivas
9a2bb4fe39 Release 5.2.0.119N
Release 5.2.0.119N

Change-Id: I9c5420fa4533cefa98548629dd03c3f9f3c60021
CRs-Fixed: 774533
2019-02-12 08:44:58 -08:00
Varun Reddy Yeturu
567184febc qcacld-3.0: Fix compiler error in policy mgr
Before updating pcl_list_org & weight_list_org array,
memzero these arrays to length of array passed by caller.

CRs-Fixed: 2395140
Change-Id: I856ceafd8f4d86eeee3401227f5d6f48615098f5
2019-02-12 08:44:58 -08:00
nshrivas
ce4bf61629 Release 5.2.0.119M
Release 5.2.0.119M

Change-Id: Icc37d5087f7ff31922a4d880ce576bbbd9246d72
CRs-Fixed: 774533
2019-02-12 04:47:25 -08:00
Dustin Brown
2c5e0480c0 qcacld-3.0: Rename hdd_vdev_sync to osif_vdev_sync
Change I556e9d2833edd2bd26266496b6000347649c5fbe moved hdd_dsc to osif,
but retained the existing naming. Rename hdd_vdev_sync to a more
appropriate osif_vdev_sync, and address any remaining naming problems.

Change-Id: Ic0983a79b09254b1615a348fe540f1dc0121baff
CRs-Fixed: 2396514
2019-02-12 04:47:24 -08:00
Jeff Johnson
95d5bf502f qcacld-3.0: Rename HDD function param ppBeacon
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation so rename wlan_hdd_cfg80211_alloc_new_beacon()
parameter ppBeacon to be in compliance.

Change-Id: If6b9b6d61c5fa6957310bccd1f6c5f0a33a469a6
CRs-Fixed: 2396505
2019-02-12 04:47:20 -08:00
nshrivas
cfef8c97d7 Release 5.2.0.119L
Release 5.2.0.119L

Change-Id: Ia66c651d656cd591d7e06a7bb96cfa34174a1939
CRs-Fixed: 774533
2019-02-12 03:28:11 -08:00
Jeff Johnson
181cca70eb Revert "qcacld-3.0: Enable crypto convergence set key and IE support"
This reverts commit Icf1a1f8150d8503f5527cf23b48dddfd4e9a5439.
Feature is causing WEP regression.

Change-Id: If638c88806d1cb93e92c61b516df464b1f62d678
CRs-Fixed: 2396619
2019-02-12 03:28:10 -08:00
nshrivas
a8e06dedaf Release 5.2.0.119K
Release 5.2.0.119K

Change-Id: Ie6a22da67218dedbb888d63fbaf6028b6f84ef7f
CRs-Fixed: 774533
2019-02-11 23:58:20 -08:00