Commit grafiek

8263 Commits

Auteur SHA1 Bericht Datum
Yun Park
b28dc14126 qcacld-3.0: Set PF_WAKE_UP_IDLE flag in the IPA Rx exception callback
Prevent CPU bottleneck caused by scheduling the user process running
on the same CPU with IPA worker thread.
Set PF_WAKE_UP_IDLE flag in the IPA Rx exception callback, to wake
user task to idle CPU.

Change-Id: Ifd5b917c46fff39febd7e98f4761c9e80000ea35
CRs-Fixed: 2131917
2017-12-07 21:38:14 -08:00
Deepak Dhamdhere
66bb63ddda qcacld-3.0: Fix QDF_TRACE() in ol_txrx_peer_remove_obj_map_entries
Save peer_ids[] array during cleanup and print it later, after
releasing peer_map_unmap_lock. It avoids usage of multiple QDF_TRACE()
calls inside critical region.

CRs-Fixed: 2027795
Change-Id: I77474f75d0889604e30ba637a04d39fddcaf754c
2017-12-07 21:38:12 -08:00
snandini
60d9627549 Release 5.2.0.56R
Release 5.2.0.56R

Change-Id: Ia633653f9900fdff56de9ed0bf1d183d5e8eea06
CRs-Fixed: 774533
2017-12-07 19:26:50 -08:00
Naveen Rawat
b0c5b6b6a0 qcacld-3.0: Statically allocate DPH hash table
DPH hash table is allocated for each session of depth equal to
max possible peers. This memory chunk goes upto 33KB in size and
may fail. Instead allocate the memory from BSS segment so that
run-time allocation is not needed.

Change-Id: I56d6adb7934faef1940ab8515fed30646f536ab2
CRs-fixed: 2149563
2017-12-07 19:26:50 -08:00
snandini
ad0871f518 Release 5.2.0.56Q
Release 5.2.0.56Q

Change-Id: Ia29834de42c4fcaf1961477b1a10b3f08a76fd3c
CRs-Fixed: 774533
2017-12-07 15:39:06 -08:00
Dustin Brown
bd68fe1638 qcacld-3.0: Destroy pdev as part of module stop
Currently, pdevs are created during module start, but are destroyed
when the driver is unloaded. This leads to situations where multiple
pdevs are created, but only one is destroyed. Move the pdev destroy
logic up into module stop to ensure every allocated pdev is properly
destroyed.

Change-Id: I0d9160ae75549b965bbfb4167c28b986c3dc3f12
CRs-Fixed: 2154041
2017-12-07 15:39:06 -08:00
Dustin Brown
44cde35fcc qcacld-3.0: Call new dispatcher enable/disable APIs
The dispatcher life-cycle functions have recently been split, resulting
in new dispatcher_enable and dispatcher_disable APIs. Call these APIs as
appropriate from HDD.

Change-Id: I807070e67811e9d5804a8ffa2d7f7db62efb0908
CRs-Fixed: 2153292
2017-12-07 15:39:03 -08:00
snandini
d49360af1c Release 5.2.0.56P
Release 5.2.0.56P

Change-Id: Ib603e8e0a154f5f654722edea27f18794acd0af7
CRs-Fixed: 774533
2017-12-07 13:27:12 -08:00
Rajeev Kumar
ec1194dc72 qcacld-3.0: Rename pmo_ucfg_* APIs to ucfg_pmo_* APIs
Rename pmo_ucfg_* API to ucfg_pmo_* to match existing
naming convention for component ucfg APIs.

Change-Id: I59491eff038709a883efb527168159a7e9e2ba2a
CRs-Fixed: 2145088
2017-12-07 13:27:12 -08:00
snandini
85c4715e04 Release 5.2.0.56O
Release 5.2.0.56O

Change-Id: I9607297dc05303baf7798e63d320cdb3ccf4c0b5
CRs-Fixed: 774533
2017-12-07 11:26:24 -08:00
Vignesh Viswanathan
06296aa111 qcacld-3.0: Fix clang errors in dot11f_get_packed_iersn
In function dot11f_get_packed_iersn, RSN_Cap is member of the structure
sDot11fIERSN and cannot be NULL.

Remove the NULL check for RSN_Cap in dot11f_get_packed_iersn
to fix Clang errors.

Change-Id: If334c66e6b84d9776b0f1f5c1e1969125d490f2f
CRs-Fixed: 2150438
2017-12-07 11:26:23 -08:00
snandini
ad9ddd8dff Release 5.2.0.56N
Release 5.2.0.56N

Change-Id: I2ef9b9713873078fd34e2d2ace43a53744876653
CRs-Fixed: 774533
2017-12-06 21:27:08 -08:00
Abhishek Singh
82571c8ec5 qcacld-3.0: Kbuild changes to add new scan files
Kbuild changes to add new scan files, as part of spliting the
filter and bss scoring logic.

Change-Id: Ic239035da1d9cf1478b79c695703b426855eb85f
CRs-Fixed: 2148890
2017-12-06 21:27:07 -08:00
Rajeev Kumar
089852ec1d qcacld-3.0: Detach OL TXRX vdev when WMI vdev delete fails
In SMMU enabld builds when system goes in low memory DMA MAP APIs
fails which causes WMI VDEV delete command send failure and as a
side effect WALN driver leaks the OL TXRX VDEV memory.

To fix OLTXRX VDEV memory leak call TXRX vdev deatch API in case
WMI VDEV delete fails  because of DMA MAP failure.

Change-Id: I3936a973a1398a2e22c9e4e1ca3cdb969309d61b
CRs-Fixed: 2154578
2017-12-06 21:27:05 -08:00
snandini
6e1669182c Release 5.2.0.56M
Release 5.2.0.56M

Change-Id: If3469bccc5044478fac5c014d97db58d3d7d056a
CRs-Fixed: 774533
2017-12-06 13:27:24 -08:00
Padma, Santhosh Kumar
9d896c2ef9 qcacld-3.0: Disable roaming for OWE
OWE is supported only for fresh connection. Hence, disable roaming
for OWE.

Change-Id: I234e167c11b21e800fed78218ba198b7a5acba5b
CRs-Fixed: 2141423
2017-12-06 13:27:24 -08:00
Padma, Santhosh Kumar
c69ce070a9 qcacld-3.0: Add support for OWE
Add AKM suite changes to support Opportunistic Wireless Encryption.
Also, add changes to populate OWE IE's if OWE AKM is present.

Change-Id: I3cf9e5b0a5980e4f535034127dbc4c6e54764da6
CRs-Fixed: 2141423
2017-12-06 13:27:21 -08:00
Padma, Santhosh Kumar
666f96e24d qcacld-3.0: Add OWE IEs
Add support for Opportunistic Wireless Encryption IEs

Change-Id: Ifb5b11c3f775654e31248ea5b91da0df6aebe6a9
CRs-Fixed: 2141423
2017-12-06 13:27:18 -08:00
snandini
bcdc943cee Release 5.2.0.56L
Release 5.2.0.56L

Change-Id: I5166fa47c1f36568366d537c6f6b156d52882ced
CRs-Fixed: 774533
2017-12-06 11:38:00 -08:00
Srinivas Girigowda
91d726c140 qcacld-3.0: Check for NULL before dereferencing ll_stats result buffer
Check for NULL before dereferencing ll_stats result buffer.

Change-Id: Ie33b372a0231b8fdbe363d9537723f7f991cc4ac
CRs-Fixed: 2153520
2017-12-06 11:38:00 -08:00
snandini
8725cc4f6d Release 5.2.0.56K
Release 5.2.0.56K

Change-Id: I44d9eeef448d0946b3afc8a66e2f49a60c076a54
CRs-Fixed: 774533
2017-12-06 09:26:34 -08:00
Naveen Rawat
59e715325d qcacld-3.0: Define HE Ops cfg_params
Define HE Ops cfg_param

Change-Id: I4b8edbb2feda3e3ca3318fa0b516b9a952632246
CRs-Fixed: 2145508
2017-12-06 09:26:33 -08:00
snandini
38e6e9d5f7 Release 5.2.0.56J
Release 5.2.0.56J

Change-Id: Iea53a5a2a8a33422cbedde05c3d348be99582d4f
CRs-Fixed: 774533
2017-12-06 07:45:11 -08:00
Kabilan Kannan
d48b01664d qcacld-3.0: Restrict PLD event as per the driver state
PLD event try to clean up the driver data structures
which is not even initialized.
Restrict the PLD event, if the driver is loading and
not initialized.

Change-Id: I914adac8efc080d01f3ccd43d024427770f9018f
CRs-Fixed: 2147359
2017-12-06 07:45:10 -08:00
snandini
38784ced1d Release 5.2.0.56I
Release 5.2.0.56I

Change-Id: I7c8d203d1d0eab6a2b4c61a9633d8b76910a8e7a
CRs-Fixed: 774533
2017-12-06 06:56:53 -08:00
Padma, Santhosh Kumar
22614a04b6 qcacld-3.0: Always send assoc req/rsp
Currently driver sends rsn ie request and response as part
of connect results update. Instead, send assoc request and
assoc response always which will anyways have rsn ie request
and response. Supplicant needs assoc response to proceed
for OWE based connection.

Change-Id: I7f022248a6ad2ad835826c94ccdfaccd5d6090bc
CRs-Fixed: 2141429
2017-12-06 06:56:53 -08:00
Bala Venkatesh
8c2c9712a3 qcacld-3.0: Change default value of gEnableTDLSScan
Change the value of CFG_TDLS_SCAN_ENABLE_DEFAULT to 1.

Change-Id: I51710ef88e14c02f48677b5fd271710b98e6eff1
CRs-Fixed: 2153756
2017-12-06 06:56:50 -08:00
jiad
cd49ec74b5 qcacld-3.0: indicate tkip mic error to protocol layer
Currently tkip mic countermeasure is not supported for Napier. Fix is to
indicate tkip mic error indication to protocol layer so that errors can
be propogated to supplicant.

Change-Id: I8ee94343e76040e360f0887a826c07f98545f71f
CRs-Fixed: 2151984
2017-12-06 06:56:47 -08:00
snandini
2318e4ae40 Release 5.2.0.56H
Release 5.2.0.56H

Change-Id: Ibad7a0c9a395c175a1865d17736d40d5ca522257
CRs-Fixed: 774533
2017-12-05 13:38:43 -08:00
Vignesh Viswanathan
62d9899e8c qcacld-3.0: Fix potential buffer over-read during FILS Association
In function wlan_hdd_send_roam_auth_event, FILS kek is copied to
skb for the vendor command QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_PTK_KEK
for kek_len length. There is no validation for the max value of
kek_len and would lead to an buffer over-read if kek_len exceeds
SIR_KEK_KEY_LEN_FILS.

Add sanity check for kek_len for max limit SIR_KEK_KEY_LEN_FILS
before copying the kek to skb.

Change-Id: I4290909cd2df8686a32d25aa14711db2b899b2eb
CRs-Fixed: 2152985
2017-12-05 13:38:42 -08:00
snandini
325061be38 Release 5.2.0.56G
Release 5.2.0.56G

Change-Id: Iebbf849663bbb3ead290d31a0dc40869ba302809
CRs-Fixed: 774533
2017-12-05 07:22:36 -08:00
Yun Park
22026c75b7 qcacld-3.0: Enable Metering feature
Enable Data Metering feature in WLAN host driver for SDM845 and SDM670.

Change-Id: If720e40dd299d70b1a6300f56444855ae0f6fc64
CRs-Fixed: 2149525
2017-12-05 07:22:36 -08:00
snandini
5d9ddfa603 Release 5.2.0.56F
Release 5.2.0.56F

Change-Id: Icfec5c82d551345c3f45c875426077b0f624c8c5
CRs-Fixed: 774533
2017-12-04 23:38:52 -08:00
Frank Liu
c0c25fd5c8 qcacld-3.0: Enable TDLS dynamic antenna switch
Enable TDLS dynamic antenna switch

Change-Id: I03bcdcd18281eb42389a87f8f65dd3d6fde67f44
CRs-Fixed: 2084952
2017-12-04 23:38:51 -08:00
snandini
aab4c58a4f Release 5.2.0.56E
Release 5.2.0.56E

Change-Id: I7bd6e1e7586f0a892d02d7eb8f00b96a8fad1530
CRs-Fixed: 774533
2017-12-04 19:47:07 -08:00
Mohit Khanna
ca4173ba74 qcacld-3.0: add periodic data traffic stats
Add support for periodic stats for data packets to be displayed in
wlan driver logs.

Change-Id: Iee6759ae75657ae93e94ea1bb1343f2ea489c087
CRs-Fixed: 2120047
2017-12-04 19:47:06 -08:00
Rajeev Kumar
6e0cbffa6b qcacld-3.0: Flush SAP pre-cac clean up work during SAP stop adapter
Flush SAP pre-cac clean up work during SAP stop adapter such that
pre cac work does not run after SAP adapter is destroyed.

Change-Id: Ie3e659ab04a9d9bf3b7c114c2d0446f13746420c
CRs-Fixed: 2152520
2017-12-04 19:47:03 -08:00
snandini
3ad646a6ee Release 5.2.0.56D
Release 5.2.0.56D

Change-Id: I0f4c6ac3f7629bcc764a4c919d55a7e8abb03d45
CRs-Fixed: 774533
2017-12-04 18:16:48 -08:00
Yun Park
9281cb7be8 qcacld-3.0: Remove IPA Tx system pipe setup for TX_FLOW_CONTROL_V2
The Tx system pipes are not needed for MCC when TX_FLOW_CONTROL_V2
is enabled, where per vdev descriptors are supported in firmware.

Change-Id: I42ca1211af5a301db5fbbbfdd1876bd9065ab77a
CRs-Fixed: 2150488
2017-12-04 18:16:48 -08:00
snandini
055d3ebf22 Release 5.2.0.56C
Release 5.2.0.56C

Change-Id: Ie598a928a13d82d1ddab89ed390c89376dd8064c
CRs-Fixed: 774533
2017-12-04 15:27:51 -08:00
Yeshwanth Sriram Guntuka
d5aae7fcf4 qcacld-3.0: Add check to validate vdev id
Set ARP stats command is sent to firmware after
SAP is stopped. As a result, invalid vdev id is
sent in the set ARP stats param resulting in
firmware crash.

Fix is to add check to validate vdev id before
sending set ARP stats command to firmware.

Change-Id: Ia7ab56b9d5aa6a0fd53d84ef1264feea395dd44c
CRs-Fixed: 2149289
2017-12-04 15:27:51 -08:00
snandini
cb289e3443 Release 5.2.0.56B
Release 5.2.0.56B

Change-Id: I4304ff09f68edbda39bb44735687a23fc2ba2634
CRs-Fixed: 774533
2017-12-04 13:38:32 -08:00
Abhishek Singh
6d6e3d1a34 qcacld-3.0: Break when STA entry is found in a session
Once duplicate sta entry is deleted, in lim_send_sme_disassoc_ntf,
driver loop through the SAP interfaces to find the new added sta
to send ADD STA req to firmware. Now while looping through SAP
interfaces even if STA is found on 1st interface, it checks next
interface, making the sta entry as NULL. Thus even if STA is present
on an interface sta remains NULL and ADD STA req is not sent to
firmware.

To fix this break as soon as STA entry is found in a session.

Change-Id: I6fbeda48c7a8f403bbdb8c0bd9b38b832d7e002f
CRs-Fixed: 2149764
2017-12-04 13:38:31 -08:00
snandini
983cba41c6 Release 5.2.0.56A
Release 5.2.0.56A

Change-Id: I5dc77ceeba459c3235ab4272d13e61298aef6321
CRs-Fixed: 774533
2017-12-03 19:26:27 -08:00
Alok Kumar
19b6ad998b qcacld-3.0: Replace instances of unadorned %p
Replace instances of unadorned %p which violates security guidelines.

Change-Id: Ia3d69204a426f1208f3e685107f528e7ca544cba
CRs-Fixed: 2133314
2017-12-03 19:26:26 -08:00
snandini
8a803ba0cb Release 5.2.0.56
Release 5.2.0.56

Change-Id: I95ab691ea9a378b6779518b7ebbf109d3c321696
CRs-Fixed: 774533
2017-12-03 15:25:59 -08:00
Sourav Mohapatra
3bc5e981b1 qcacld-3.0: Wait for external threads to complete before con mode switch
Interface up runs in normal mode (wifi@1.0-service) and it gets
preempted by the con_mode change handler when Monitor mode is
invoked via user. Then again when the normal mode gets scheduled
after the completion of Monitor mode, it tries to access contents
freed during the con_mode change.

The __con_mode_handler is made to wait for the external
threads to complete before making the con mode switch

Change-Id: I245b6b6f855e119a11422677da161a43c1184069
CRs-fixed: 2147499
2017-12-03 15:25:59 -08:00
snandini
6d5446249e Release 5.2.0.55Z
Release 5.2.0.55Z

Change-Id: I1f613f953a3b58528037bc66112ed5b449e09445
CRs-Fixed: 774533
2017-12-02 19:26:33 -08:00
Padma, Santhosh Kumar
5bc0c24d7f qcacld-3.0: Do not update beacon for ESE
Currently driver updates beacon for ESE connections as well
as part of SIR_HAL_ROAM_INVOKE. Due to this, there is a
possibility that firmware may receive rejection of reassoc
request because of stale beacon and results in roaming failure.
Hence, do not update beacon for ESE connections so that firmware
can use latest beacon to avoid roaming failure.

Change-Id: Id10cec040c36e559eacf82388f3d702afc17ce5a
CRs-Fixed: 2150713
2017-12-02 19:26:33 -08:00
Padma, Santhosh Kumar
2d1f77c9a0 qcacld-3.0: Fix to update KRK/BTK for ESE connection
Currently driver updates KRK/BTK only during RSO start.
Supplicant can update these KRK/BTK during timeout. But
driver currently does not update KRK/BTK dynamically.
This can lead to MIC failure in firmware and cause
roaming failure. Update KRK/BTK as and when they are
received using RSO update to fix this issue.

Change-Id: Ib3ee656e63920d0162dea56eef7f052c585bb5a4
CRs-Fixed: 2149232
2017-12-02 19:26:31 -08:00