Commit Graph

13057 Commits

Author SHA1 Message Date
Pragaspathi Thilagaraj
2720d81efe qcacld-3.0: Send all assoc request IE to hostapd in SAP mode
Host driver packs only the RSN IE, WAP IE and additional IE
from association request to upper layers. With any new IE
support added on the driver, the driver has to add new structure
to csr_roam_info and pack that IE into the
tSap_StationAssocReassocCompleteEvent and pass it to higher
layers. This increases the redundancy with new IE introduced.

To facilitate hostapd to get information on all IE, pass all the
IE present in the assoc request to hostapd.

Change-Id: I1665a83de52bd67529ea026dc0c5e92cfbd51590
CRs-Fixed: 2390425
2019-02-20 07:42:04 -08:00
nshrivas
0603e26350 Release 5.2.0.120P
Release 5.2.0.120P

Change-Id: I38500ab764ebfcc6ff776d67c762d12e521bab2e
CRs-Fixed: 774533
2019-02-20 02:55:52 -08:00
Nirav Shah
da761ede23 qcacld-3.0: Fix datapath statistics print format
Fix datapath statistics print format.

Change-Id: Id1c95fc93f1d7335eb199afa59b2077a36641dc3
CRS-Fixed: 2401250
2019-02-20 02:55:51 -08:00
nshrivas
3c60710fe6 Release 5.2.0.120O
Release 5.2.0.120O

Change-Id: I1c1d2e01805fa6d903015af3fb4a1658c44a9b52
CRs-Fixed: 774533
2019-02-19 23:31:08 -08:00
Jeff Johnson
b8cfffb180 qcacld-3.0: Remove obsolete hdd_context_lock
The functionality previously synchronized by the hdd_context_lock has
migrated to the OSIF Request Manager, and the hdd_context_lock is no
longer used. Since it is obsolete, remove it.

Change-Id: Ibb807eeec5e5a20a39596cdb1b068ea5cca9d2d3
CRs-Fixed: 2400777
2019-02-19 23:31:03 -08:00
nshrivas
fb135f37c5 Release 5.2.0.120N
Release 5.2.0.120N

Change-Id: I516a03e2dc653c401a00b5e593874d32517c8cd8
CRs-Fixed: 774533
2019-02-19 21:54:01 -08:00
Jeff Johnson
3f3ad25bfb qcacld-3.0: Rename pGetTemperatureCb & pTemperatureCbContext
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pGetTemperatureCb and
pTemperatureCbContext in struct sme_context to be compliant.

Change-Id: Ie87e87b8fffc89510d72a8b849282975b4202999
CRs-Fixed: 2400320
2019-02-19 21:53:56 -08:00
Jeff Johnson
e7aa5cd3b0 qcacld-3.0: Rename peerInfoParams in struct sme_context
The Linux Coding Style frowns upon mixed-case names so rename
peerInfoParams in struct sme_context to be compliant.

Change-Id: I7221fa6b7b432440d62cded556365d524b28bb14
CRs-Fixed: 2400319
2019-02-19 21:53:50 -08:00
Jeff Johnson
56ba88aeb5 qcacld-3.0: Replace typedef tSmePeerInfoHddCbkInfo
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 tSmePeerInfoHddCbkInfo 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 so in
conjunction rename the underlying struct to be in compliance.

Change-Id: I751e865a5d3ad64ee46794a28a11b2671e405d34
CRs-Fixed: 2400318
2019-02-19 21:53:45 -08:00
Jeff Johnson
d6a2316239 qcacld-3.0: Rename typedef pIbssPeerInfoCb
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation so rename typedef pIbssPeerInfoCb to be compliant.

Change-Id: I2a2ab001ec6af392680810443bc971c56130f452
CRs-Fixed: 2400317
2019-02-19 21:53:40 -08:00
nshrivas
8a08212ff1 Release 5.2.0.120M
Release 5.2.0.120M

Change-Id: Ia8ca551e90a0aa7e3dc947df0d9da35a56813b6e
CRs-Fixed: 774533
2019-02-19 19:07:47 -08:00
Jeff Johnson
5a6a0c90ea qcacld-3.0: Rename currDeviceMode
The Linux Coding Style frowns upon mixed-case names so rename
currDeviceMode in struct sme_context to be compliant.

Change-Id: I26ca94487c4f037098e06f0dd820360d90cb276b
CRs-Fixed: 2400316
2019-02-19 19:07:46 -08:00
nshrivas
8a2639fa64 Release 5.2.0.120L
Release 5.2.0.120L

Change-Id: Ib26270f2ecc3856a410f4476d628b93258ec26bc
CRs-Fixed: 774533
2019-02-19 17:47:29 -08:00
Jeff Johnson
eb7bbed5ad qcacld-3.0: Rename pAutoShutdownNotificationCb
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation so rename pAutoShutdownNotificationCb in tSmeStruct
to be in compliance.

Change-Id: I0cc79b5f9687e039f9f0be5ff976c27194d9a138
CRs-Fixed: 2400336
2019-02-19 17:47:29 -08:00
nshrivas
27debbea47 Release 5.2.0.120K
Release 5.2.0.120K

Change-Id: Ia3109c459f51cfb732928cde2ffe0d01e6b0af65
CRs-Fixed: 774533
2019-02-19 12:47:50 -08:00
Jeff Johnson
a9ade7d8d4 qcacld-3.0: Replace typedef tSirAutoShutdownCmdParams
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 tSirAutoShutdownCmdParams
typedef does not meet any of those criteria, so replace it with a
properly named struct.

Change-Id: Ia15a4cb0cfd3ef8868aaa7eaa77cd5dbb44423d0
CRs-Fixed: 2400334
2019-02-19 11:59:30 -08:00
Jeff Johnson
aebd823208 qcacld-3.0: Remove tSirAutoShutdownEvtParams usage
Currently when an auto-shutdown timer event is handled by WMA it
allocates a tSirAutoShutdownEvtParams struct which is then passed as
the payload of a eWNI_SME_AUTO_SHUTDOWN_IND message. However when this
message is processed by SME the payload is ignored since the callback
to HDD does not require it. Therefore it is pointless for WMA to
allocate and fill a payload which SME will ignore, so remove that
aspect of the auto-shutdown timer event handling.

Change-Id: Ibb1e1122c2e29c9369c1d1119d58d15fe9b93159
CRs-Fixed: 2400335
2019-02-19 11:59:30 -08:00
nshrivas
e538142f49 Release 5.2.0.120J
Release 5.2.0.120J

Change-Id: Ibda118cb7e5e8af78be52e927e79582ec5885dc2
CRs-Fixed: 774533
2019-02-19 06:56:54 -08:00
Jeff Johnson
ea9f3d705a qcacld-3.0: Rename smeCmdFreeList
The Linux Coding Style frowns upon mixed-case names so rename
smeCmdFreeList in struct sme_context to be compliant.

Change-Id: I8f006bf10f7476b16fca8b251b076ec007134e98
CRs-Fixed: 2400315
2019-02-19 06:56:49 -08:00
nshrivas
c2cf8e66cd Release 5.2.0.120I
Release 5.2.0.120I

Change-Id: Ie131e5f52a117539119ec7e24cfc9c3f10ff9262
CRs-Fixed: 774533
2019-02-19 05:24:14 -08:00
Jeff Johnson
1935317c58 qcacld-3.0: Rename pSmeCmdBufAddr
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pSmeCmdBufAddr in struct sme_context
to be compliant.

Change-Id: I79fbbaa82d6106dad168f60839b2ac37c80af5c6
CRs-Fixed: 2400314
2019-02-19 05:24:14 -08:00
Jeff Johnson
2a84c5313d qcacld-3.0: Rename totalSmeCmd
The Linux Coding Style frowns upon mixed-case names, so rename
totalSmeCmd in struct sme_context to be compliant.

Change-Id: If25c57423db261a314f1ad2d438ffeeeadce3d89
CRs-Fixed: 2400313
2019-02-19 05:24:09 -08:00
Jeff Johnson
3e7a493b81 qcacld-3.0: Rename lkSmeGlobalLock
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename lkSmeGlobalLock in struct sme_context
to be compliant.

Change-Id: Id776753920b96114fd28624c9d080366f0bbbda8
CRs-Fixed: 2400312
2019-02-19 05:24:04 -08:00
Jeff Johnson
50980e16a9 qcacld-3.0: Replace typedef tSmeStruct
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 tSmeStruct 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 tagSmeStruct to be in compliance.

Change-Id: Ia817cc5d2b91a7cbddf4670edd049408deb71f63
CRs-Fixed: 2400311
2019-02-19 05:24:00 -08:00
nshrivas
a385fa7292 Release 5.2.0.120H
Release 5.2.0.120H

Change-Id: Ib5333135d52ec7705e29a38fb99e19acb132fb80
CRs-Fixed: 774533
2019-02-19 03:03:50 -08:00
Visweswara Tanuku
6488a1cd4e qcacld-3.0: Fix compilation error when Motion detection enabled
Fixed compilation error when WLAN_FEATURE_MOTION_DETECTION is
enabled

Limited rate of error console log

Change-Id: I0335fb1358be58d68b99b0632406a9102dbd5d4e
CRs-Fixed: 2400835
2019-02-19 03:03:49 -08:00
Frank Liu
d462d9c62b qcacld-3.0: Add support for IPA SMMU on CNSS
For now IPA SMMU can only work on ICNSS platform.
Add support for IPA SMMU feature on CNSS platform.

CRs-Fixed: 2286287
Change-Id: I6515d6ec764659f1aeefa50d9fd0b120c47b36bf
2019-02-19 03:03:45 -08:00
nshrivas
df951c8b6a Release 5.2.0.120G
Release 5.2.0.120G

Change-Id: I0c0cfb1cece32aae2347bae03e801c193706dbce
CRs-Fixed: 774533
2019-02-18 20:50:22 -08:00
Jeff Johnson
8bfc29e8cc qcacld-3.0: Converge on struct dhcp_offload_info_params
The driver currently defines two different data structures to hold
DHCP Server Offload configuration:
- typedef tSirDhcpSrvOffloadInfo
- struct dhcp_offload_info_params

To align with the converged software architecture as well as the Linux
coding style remove the legacy typedef and exclusively use the unified
WMI structure.

Change-Id: Ia2b537a917bbe9e36ba4bc3b289e8c2e9ec630d6
CRs-Fixed: 2399938
2019-02-18 20:50:22 -08:00
Jeff Johnson
e77641ea77 qcacld-3.0: Fix DHCP_SERVER_OFFLOAD featurization
When the DHCP_SERVER_OFFLOAD feature is enabled the driver does not
build, so address the build issues.

Change-Id: I42103afd91c4bed2d04f22bdb6159e286ff12fa0
CRs-Fixed: 2399937
2019-02-18 20:50:17 -08:00
nshrivas
dde3896127 Release 5.2.0.120F
Release 5.2.0.120F

Change-Id: Ibd7fbf6c38271b2ae564f0d47d8764f6c8a00859
CRs-Fixed: 774533
2019-02-18 11:59:35 -08:00
gaurank kathpalia
b7a9f70f2b qcacld-3.0: Disassoc peers in SAP mode before stop ap
When the driver gets virtual interface delete, as part
of change interface, stop bss cmd is queued, and when
the command is processed by LIM layer, it deletes all
the peers and sends the disassociation frame.

It may happen that at the same time the peer which was
associated to the SAP sent a disassoc before it got the
same from the SAP.

That disassoc frame would also the queued, and processed
after the stop bss command is done. When the command of
disassoc frame from the peer is processed, the peer is
searched in the session, but since the stop bss has already
been processed, and the peer is deleted, the driver won't be
able to find the peer, hence will drop the command process.

Since the command process was dropped, but command was still
in the active list, timeout would happen in the serialization
module, and the remaining commands in the pending list would
not be processed.

Fix is to flush all the peers and send disassoc frame before
the stop bss cmd is put in a serialization list, to avoid this
race condition.

Change-Id: Ideefbca5b250a24e29b66122fd32019cf7441f30
CRs-Fixed: 2399221
2019-02-18 11:59:35 -08:00
nshrivas
858e14497a Release 5.2.0.120E
Release 5.2.0.120E

Change-Id: Ib1947ef76e3dcc69142db369558cee7db34bc0ec
CRs-Fixed: 774533
2019-02-18 09:14:11 -08:00
Lin Bai
1a73a41b4c qcacld-3.0: Implement converged packetdump API
Packetdump invokes legacy data path API directly without
considering underlying HW:
1. ol_register_packetdump_callback
2. ol_deregister_packetdump_callback
Global pointer pdev_txrx_ctx will be casted to struct ol_txrx_pdev_t
always even Lithium (use struct dp_pdev) underlying, and overwrite
struct dp_pdev unexpected.

Wrap with cdp API to avoid.

Change-Id: I4f587c5378726b7cc4b340760f1112b054610da1
CRs-Fixed: 2400472
2019-02-18 09:14:10 -08:00
nshrivas
b0f25fa3c2 Release 5.2.0.120D
Release 5.2.0.120D

Change-Id: I31b9a4ee2dd0a5d0228375368314b77fc687488b
CRs-Fixed: 774533
2019-02-18 02:22:25 -08:00
nshrivas
a1d20c3b90 Release 5.2.0.120C
Release 5.2.0.120C

Change-Id: Ie147543ec264a5aa1e8738550b5b1605e1a11628
CRs-Fixed: 774533
2019-02-16 21:28:39 -08:00
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
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
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