Grafik Komit

14623 Melakukan

Penulis SHA1 Pesan Tanggal
nshrivas
3448b4bc4b Release 5.2.0.120X
Release 5.2.0.120X

Change-Id: Idba321df925c3addb02ff20494666c2b41323f61
CRs-Fixed: 774533
2019-02-22 01:27:44 -08:00
hangtian
0aa4b545c5 qcacld-3.0: Revert set ol_rx_thread to SCHED_RR
Revert set ol_rx_thread to SCHED_RR, SCHED_RR could lead to
hdd_ctx->bus_bw_work delayed for long time, and throughput level is not
updated while running traffic, finally hdd_rx_packet_cbk drop packets(rx
path slow).

Change-Id: Idc48c4ff4f38e25124121f814492ea116555cd32
CRs-Fixed: 2398511
2019-02-22 01:27:43 -08:00
nshrivas
b0057722fc Release 5.2.0.120W
Release 5.2.0.120W

Change-Id: I5140ab1b6b293cb7257d536764c27fbc76be9e78
CRs-Fixed: 774533
2019-02-21 23:25:18 -08:00
Venkata Sharath Chandra Manchala
27e44903f9 qcacld-3.0: Enable full pktlog
Enable full pktlog for QCA6390.

Change-Id: I985ada6895925cbeb8c616428db05075880fa605
CRs-Fixed: 2388909
2019-02-21 23:25:17 -08:00
nshrivas
e323e63162 Release 5.2.0.120V
Release 5.2.0.120V

Change-Id: I9d7998e1a829c9be954950c3b968f2fd91cea1c1
CRs-Fixed: 774533
2019-02-21 01:46:25 -08:00
Nirav Shah
6aeecf9cc4 qcacld-3.0: Fix epping mode for QCN7605
Epping mode is currently borken in qcacld-3.2 codebase.
Fix epping mode for QCN7605 for USB and PCIe interface.

Change-Id: I12a11989d86f255e7ec61c98e328fbb755fc39ae
CRs-Fixed: 2400179
2019-02-21 01:46:24 -08:00
nshrivas
68208856bc Release 5.2.0.120U
Release 5.2.0.120U

Change-Id: I661e9a5bca61499658635fcfe537b8f75bf36a27
CRs-Fixed: 774533
2019-02-20 21:40:36 -08:00
Rachit Kankane
997e373da8 qcacld-3.0: Add a check to allow DBS concurrency
If gEnableMCCMode is disabled then STA connection is rejected by
driver if it is second connection and creating a 2-port combination.
STA should work as the selected AP is operating on otherband thereby
creating a DBS concurrent scenario.

Change-Id: Ia1f4f8dbf927a872ada72fb15d646a0a0e323e36
CRs-Fixed: 2400546
2019-02-20 21:40:35 -08:00
nshrivas
ef9b417aee Release 5.2.0.120T
Release 5.2.0.120T

Change-Id: I912cecd32e0e6cc0c3e147e9ff9aeaec0837261a
CRs-Fixed: 774533
2019-02-20 19:02:05 -08:00
Pragaspathi Thilagaraj
a07b727e75 qcacld-3.0: Fix 11k neighbor report parameters copy from fwol component
11k offload params bitmask is sent over the wmi command
WMI_11K_OFFLOAD_REPORT_CMDID. Its value is controlled by the ini
value "nr_offload_params_bitmask". The ini value got from the cfg
component during initialization is not correctly populated to the
sme layer resulting in zero values sent to firmware. This results
in 11k functionality failure.

Populate the 11k values to sme with values stored into fwol
component from ucfg_fwol_get_neighbor_report_cfg.

Change-Id: I8615745083cdab677bca8cbb76eb0902758a8a75
CRs-Fixed: 2397328
2019-02-20 19:02:04 -08:00
nshrivas
8b9b77e09c Release 5.2.0.120S
Release 5.2.0.120S

Change-Id: Ib6b458a8cf25651aa2ef4683da1dd69df86bb32f
CRs-Fixed: 774533
2019-02-20 11:31:56 -08:00
Dustin Brown
1b899ef904 qcacld-3.0: Integrate DSC (nan)
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 OSIF, protect NAN datapath and
NAN discovery.

Change-Id: Icf24c8f7717cd1ca92616c781f06dacdd69c01f0
CRs-Fixed: 2398340
2019-02-20 11:31:56 -08:00
nshrivas
ecfefa92f9 Release 5.2.0.120R
Release 5.2.0.120R

Change-Id: Idc0fc33f2453cd5f11c7549195889b379173976a
CRs-Fixed: 774533
2019-02-20 09:09:34 -08:00
Jeff Johnson
2de587987d qcacld-3.0: Replace CONVERGED_TDLS_ENABLE feature flag
The CONVERGED_TDLS_ENABLE feature flag was originally introduced when
the TDLS feature was being componentized so that one could select
either the legacy implementation or the componentized implementation.
That componentization activity has concluded and the legacy
implementation no longer exists. To align with the current usage
switch to exclusively using the FEATURE_WLAN_TDLS feature flag since
that more accurately describes the code being protected.

Change-Id: I2cdb4c6ddba22c5b1d29e87403e5e1c87ce5cbfe
CRs-Fixed: 2395728
2019-02-20 09:09:34 -08:00
nshrivas
207671e9bd Release 5.2.0.120Q
Release 5.2.0.120Q

Change-Id: Icd536674d60154b439373dd158dbbe6d4de7e7ee
CRs-Fixed: 774533
2019-02-20 07:42:05 -08:00
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
Rachit Kankane
ff35d3c8be qcacld-3.0: decrement active sessions count
Decrement active session count to be in sync with total no of
active connection when existing AP is moving to STA's channel
to achieve SCC.

Change-Id: Id1b599bc53768ddf6b62efbd2dc2a3003c0ad0b8
CRs-Fixed: 2400564
2019-02-19 23:31:07 -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
Srinivas Dasari
ed83ddebcd qcacld-3.0: Introduce ini parameter for SAE support on SAP
Define ini parameter enable_sae_for_sap to enable SAE
support on SAP. It's enabled by default.

Change-Id: I94f099862ad04e0c9f5155ad9dd7165241540c45
CRs-Fixed: 2394661
2019-02-19 21:54:00 -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
Bala Venkatesh
31cca2f512 qcacld-3.0: Start the driver roc timer same as supplicant requested
Driver multiplies the supplicant requested roc duration by either
6 or 10 times and then requests FW roc of that much duration.
This is because to extend the roc after rx frame is received.
Currently, host is initializing the internal roc timer for the
duration same as requested to FW.
In such case we cannot extend the roc as currently there is only check
for timer running, but not the remaining time. And FW may give
scan completion event immediately after sending the tx frame.

Change-Id: Ib864949d232c31422f83d78bd6b318cadbf13366
CRs-Fixed: 2397924
2019-02-19 06:56:53 -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