Commit-Graf

6127 Incheckningar

Upphovsman SHA1 Meddelande Datum
Chris Guo
1751acf0c2 qcacld-3.0: Fix QDF assert in command ipaucstat
When doing HDD context check in ipa_init, the CDS is not yet
loaded. So remove the CDS loading check in ipa_init.

Change-Id: I45843c406f280cfbf932bc489f9051c2300b77ba
CRs-Fixed: 2070428
2017-08-09 18:10:46 -07:00
jiad
05c1e81910 qcacld-3.0: fix ipa mcc tx_desc leak
In MCC case when vdev pause queue is full, driver fails to tx and pkts
are dropped. ipa tx_desc only replenishes to ipa driver. This leads to
holes in hdd_ipa_tx_desc free list and list will be drained out causing
unexpected packet drops.

Fix is to replenish tx_desc to wlan driver maintained free list as well
using ipa registered skb free callback.

Change-Id: I1ae8570816efd822d5ced2c6383a03c56b12ec89
CRs-Fixed: 2073444
2017-08-09 18:10:45 -07:00
Yingying Tang
87f0139d6a qcacld-3.0: Fix compilation error when WLAN_FEATURE_ROAM_OFFLOAD is disabled
csr_roam_roaming_offload_timer_action() is used only when
WLAN_FEATURE_ROAM_OFFLOAD is enabled. But it is defined out of
WLAN_FEATURE_ROAM_OFFLOAD. So there is a compilation error that
csr_roam_roaming_offload_timer_action() is defined but not used when
WLAN_FEATURE_ROAM_OFFLOAD is disabled. Add fix to resolve this issue.

Change-Id: I31036a91df3d2799d53fb64f73dbae847bee97bf
CRs-Fixed: 2023165
2017-08-09 18:10:43 -07:00
snandini
8d85c9e1c8 Release 5.2.0.37U
Release 5.2.0.37U

Change-Id: I945f3fba0b63bdfd140cd37a901f2f0668511df1
CRs-Fixed: 774533
2017-08-09 16:07:53 -07:00
Yingying Tang
71961045fd qcacld-3.0: Disable LFR3.0 for SDX20
Since wifi chip do not supprot LFR3.0 on SDX20, disable LFR3.0
feature in Kbuild, and fix a compilation error.

CRs-Fixed: 2009403
Change-Id: I16eb3bd68d5564801be9cbcf9db1386cb0e3953b
2017-08-09 16:07:53 -07:00
snandini
39d40cfddd Release 5.2.0.37T
Release 5.2.0.37T

Change-Id: I4e2e47c85f554316a40ceb4075f6f7ef2eb4ecbb
CRs-Fixed: 774533
2017-08-09 15:00:10 -07:00
Peng Xu
5c68281c62 qcacld-3.0: Add interface info when sending P2P LO event
Add interface information when sending P2P listen offload stop
event to upper layer so that the event can be processed on the
correct interface.

Change-Id: I7aac52552e9277aff838d9bfef01201af48773c9
CRs-fixed: 2088732
2017-08-09 15:00:10 -07:00
snandini
a8e4ac39a0 Release 5.2.0.37S
Release 5.2.0.37S

Change-Id: Ibbf298514c24d10d67b7eb97fae4c367ca304286
CRs-Fixed: 774533
2017-08-08 23:10:31 -07:00
Yingying Tang
e145876c21 qcacld-3.0: Fix compilation error without WLAN_FEATURE_ROAM_OFFLOAD
eWNI_SME_HO_FAIL_IND is defined under WLAN_FEATURE_ROAM_OFFLOAD, but
it is used out of WLAN_FEATURE_ROAM_OFFLOAD, it will cause compilation
error. Add fix to resolve this issue.

Change-Id: I7dda8806ecadc4dd8c8c1d7f14cc7bc21bdc2bf7
CRs-Fixed: 2023694
2017-08-08 23:10:30 -07:00
snandini
2fb57dc095 Release 5.2.0.37R
Release 5.2.0.37R

Change-Id: I4758e04faede890e391c224ec5b6535f6405690d
CRs-Fixed: 774533
2017-08-08 16:05:12 -07:00
Kabilan Kannan
00d2041f9b qcacld-3.0: Restructure TDLS function to fix the compilation issue
If TDLS disabled at the build level, it triggers
build failures in some of the projects, which does
not support TDLS feature.
Restructure the TDLS function to avoid build
failures, when TDLS is not enabled.

Change-Id: I3b63546f22d0187fb42d400fd7e15ff7a3d64653
CRs-Fixed: 2056022
2017-08-08 16:05:11 -07:00
snandini
f9ac315ff5 Release 5.2.0.37Q
Release 5.2.0.37Q

Change-Id: I374fa6e3c7c9a7a5415ce3fb1a030acd07d69350
CRs-Fixed: 774533
2017-08-08 13:15:14 -07:00
Varun Reddy Yeturu
a863ec2f34 qcacld-3.0: Fix wpa index overflow issue
Check if wpa index for the OUI retrieval is
going beyond the limit of the array and return

Change-Id: I040246d7a7c2ca387282dc4d86ffdbdf34007323
CRs-Fixed: 2085702
2017-08-08 13:15:13 -07:00
Varun Reddy Yeturu
8a5d3d4775 qcacld-3.0: Fix logging levels - Part 3
Move the log messages to appropriate log levels so that
the console does not get a huge spam of unnecessary logs

Change-Id: I8e140039a3a483953606558e102db23ab8b0096a
CRs-Fixed: 2043741
2017-08-08 13:15:11 -07:00
snandini
f5df035a0a Release 5.2.0.37P
Release 5.2.0.37P

Change-Id: I9581a11836dec740e78f7b3fcaffda081ef1ea53
CRs-Fixed: 774533
2017-08-08 01:21:56 -07:00
yeshwanth sriram guntuka
0dcbcab7ca qcacld-3.0: Add delay in sending open system auth frame
On receiving auth resp with algo not supported status
code, open system auth is sent to firmware. There is
a possibility that AP does not receive ack sent by DUT
and retries auth frame. The retry frame could be received
at host after open sys auth req is sent to firmware
resulting in auth failure.

Fix is to send open system auth frame after timer of
15msec expires.

Change-Id: I6bc7097ec7568fc65a379c7c31c96d5874f1e216
CRs-Fixed: 2075272
2017-08-08 01:21:56 -07:00
Chris Guo
9597ded3df qcacld-3.0: Enable tx_free_at_download feature for SDIO WLAN
When FW support SDIO_REDUCE_TX_COMPL_FW_ACK feature, WLAN host can
enable tx_free_at_download feature to increase efficiency further.

CRs-Fixed: 2078825
Change-Id: I542e51254ca5c0a6c51f7479e0cc1cdb12a077fa
2017-08-08 01:21:54 -07:00
snandini
8fc047a34a Release 5.2.0.37O
Release 5.2.0.37O

Change-Id: I42141addf9415273d32bbc4fcae965d8d7f137d5
CRs-Fixed: 774533
2017-08-07 23:56:00 -07:00
Rajeev Kumar
d8be47afed qcacld-3.0: Flush power save command only for INFRA STA VDEV
Currently flush power save command logic is sending power save
enable for all VDEVs. FW does not support power save for SAP
VDEV hence add check to make sure to flush power save command
only for INFRA STA VDEV.

Change-Id: I8f162535f8a4c3b66b6ed136c3c0d599c7dc0dba
CRs-Fixed: 2084683
2017-08-07 23:56:00 -07:00
snandini
6cc3894900 Release 5.2.0.37N
Release 5.2.0.37N

Change-Id: I5e72c1331c6983f0a16c764d2702ec0b9caed79e
CRs-Fixed: 774533
2017-08-07 20:24:19 -07:00
jiad
b20627788b qcacld-3.0: enable pktlog support for HL project
qcacld-2.0 to qcacld-3.0 propagation

Currently for SDIO implementation, tx comp indication is
suppressed and tx_desc is freed when htt download is done.
This leads to invalid tx_desc being referenced when pktlog
indication handler wants to collect TX-ed tx_desc information.

Fix consists of two parts:
1. When pktlog is enabled in ini, enable tx comp indication
handler just like PCIe and USB. tx_desc is still valid when
pktlog indication comes.

2. Check vdev pointer embedded in tx_desc structure. vdev
pointer is set when tx_desc is allocated and set to NULL when
tx_desc is freed. This guards against invalid tx_desc_id
from firmware.

Note that performance drops should be expected when
pktlog is enabled on HL platforms.

Change-Id: Iba9b8323b4a6e2ae17e36768bda3511f52236a2c
CRs-Fixed: 2034996
2017-08-07 20:24:18 -07:00
snandini
dc963f1329 Release 5.2.0.37M
Release 5.2.0.37M

Change-Id: Id87d59e25e883c32f996c3ccb2981fc4ff2d5b63
CRs-Fixed: 774533
2017-08-07 19:22:57 -07:00
Dustin Brown
ec2c92eb37 qcacld-3.0: Release vdev start wakelock after vdev up/down
Currently, a wakelock is acquired before vdev start is sent to firmware
and released after a vdev stop response is received. In some cases, this
can cause a race condition where the device will power collapse before
the association process is complete. Instead, release the wakelock after
either vdev up or vdev down is sent to firmware, ensuring the entire
association process is protected.

Change-Id: Iab1a241f1c5810d9f71bfd86e1e8036847ebf602
CRs-Fixed: 2082928
2017-08-07 19:22:56 -07:00
snandini
9125bf04c3 Release 5.2.0.37L
Release 5.2.0.37L

Change-Id: I7b946af2dd718e7c014aa1f96fbb7f4d4beaa6a6
CRs-Fixed: 774533
2017-08-07 17:47:45 -07:00
Yun Park
b4f591d8aa qcacld-3.0: Enable WLAN host data path support for IPA WDI3.0
Change to support WLAN Napier host autonomy data path architecture.

Change-Id: I80e8f609587d0df85d2da9fb0f41cb49e02a9d2f
CRs-Fixed: 2033368
2017-08-07 17:47:45 -07:00
snandini
20747edb82 Release 5.2.0.37K
Release 5.2.0.37K

Change-Id: Ifb211967befad660dc7087d46798a31b147fa490
CRs-Fixed: 774533
2017-08-06 22:49:56 -07:00
Venkata Sharath Chandra Manchala
cc78917112 qcacld-3.0: Adjust logging level for Rx path
Change the log level from ERROR to INFO
for hdd_rx_packet_cbk log to prevent
packet information from flooding on the
kmsg.

Change-Id: I27bfcc708740f50c4b15d72b89176af2ce27f6fa
CRs-Fixed: 2082577
2017-08-06 22:49:56 -07:00
snandini
000f7452bb Release 5.2.0.37J
Release 5.2.0.37J

Change-Id: I87c92e4c6bacd3aadfc495031fc7b67715454997
CRs-Fixed: 774533
2017-08-06 20:45:06 -07:00
Ashish Kumar Dhanotiya
b28338c403 qcacld-3.0: Add host support to configure the SMPS parameters
Currently there is no support to configure SMPS parameter
from host, add support to configure SMPS parameters using ini.

Change-Id: I6f8273ffed39a0b95c31f1647e86406b870165f2
CRs-Fixed: 2080571
2017-08-06 20:45:06 -07:00
Ashish Kumar Dhanotiya
b8630abe6d qcacld-3.0: Configuration to enable/disable LPRx
Add host support to enable/disable LPRx from ini.

Change-Id: I7a5acd34331cdd1f06a2d08317efcf04c6f608a7
CRs-Fixed: 2080316
2017-08-06 20:45:04 -07:00
Deepak Dhamdhere
b0d2ddad4e qcacld-3.0: Remove peer from peer_id_to_obj map before delete
Run through the entire peer_id_to_obj_map array and if any peer_id's
peer entry points to a particular peer, change it to NULL. Calling
this routine before deleting the peer ensures that subsequent peer_unmap
events will not access a peer object that is deleted.

CRs-Fixed: 2027846
Change-Id: I05089bece20ea070694f243feb06d222f8e50ac6
2017-08-06 20:45:02 -07:00
snandini
08deb3ba98 Release 5.2.0.37I
Release 5.2.0.37I

Change-Id: If95fa00f33c5fef788b1024711f2a38e254df51d
CRs-Fixed: 774533
2017-08-06 14:48:18 -07:00
Srinivas Girigowda
5da651bc36 qcacld-3.0: Add support for CFG80211_REMOVE_IEEE80211_BACKPORT
CFG80211_REMOVE_IEEE80211_BACKPORT is added to indicate
backport of Change-Id: 57fbcce37be7c1d2622b56587c10ade00e96afa3
from upstream 4.7 kernel to 4.4.

Hence add this flag CFG80211_REMOVE_IEEE80211_BACKPORT to
support this compilation. Also introduce HDD_NUM_NL80211_BANDS.

Change-Id: I60a15a1273f939a0a288d08d03ccb5bf1bdcc429
CRs-Fixed: 2087917
2017-08-06 14:48:18 -07:00
Srinivas Girigowda
6519b93735 qcacld-3.0: Fix clang warning 'Wlogical-not-parentheses'
logical not is only applied to the left hand side of this
bitwise operator [-Werror,-Wlogical-not-parentheses]
           (!(ies->RSN.RSN_Cap[0] >> 7) & 0x1)))
            ^                           ~
csr_api_roam.c:14617:6: note: add parentheses after the '!' to
evaluate the bitwise operator first
           (!(ies->RSN.RSN_Cap[0] >> 7) & 0x1)))
            ^
             (                               )
csr_api_roam.c:14617:6: note: add parentheses around left hand
side expression to silence this warning
           (!(ies->RSN.RSN_Cap[0] >> 7) & 0x1)))
            ^
            (                          )

Change-Id: I489eba6a6265778346bb3b20832f92774a2d5e0e
CRs-Fixed: 2087302
2017-08-06 14:48:15 -07:00
Srinivas Girigowda
f326dfe224 qcacld-3.0: clang: Remove extraneous parentheses
clang is reporting these compiler warnings.
Remove extraneous parentheses.

Change-Id: I3dd6490cc1bf2a038e72e1630ba9b0c2b5f0ebed
CRs-Fixed: 2087229
2017-08-06 14:48:13 -07:00
snandini
0cd4be2953 Release 5.2.0.37H
Release 5.2.0.37H

Change-Id: Ia9d1f87da50f0d7d90573f96e218b6396d53e324
CRs-Fixed: 774533
2017-08-06 13:48:14 -07:00
Kabilan Kannan
98440ce38e qcacld-3.0: Add ssr protection for scan callback function
Add ssr protection to scan_block_work to avoid null
reference access.

Change-Id: I0ff111abf2bbdcb7b0c3a3c255396c14b0b59f01
CRs-Fixed: 2066506
2017-08-06 13:48:14 -07:00
Ravi Joshi
62765443e6 qcacld-3.0: Fix monitor mode initialization failure on Helium
Returning a negative value from the API results in the failure
on unsupported platform.

CRs-Fixed: 2082239
Change-Id: I75b14b81eaa00d53784a6deb90b99666e28b164d
2017-08-06 13:48:12 -07:00
Srinivas Girigowda
6598eea7ff qcacld-3.0: Move logs to appropriate log levels
Move logs to appropriate log levels.

Change-Id: I230318a934762d5fcda33f2446a1b176c11fc263
CRs-Fixed: 2083965
2017-08-06 13:48:11 -07:00
snandini
1d2315220d Release 5.2.0.37G
Release 5.2.0.37G

Change-Id: If3a4c996f0a7c8003d49211c5249ac8ed3599202
CRs-Fixed: 774533
2017-08-06 11:48:36 -07:00
yeshwanth sriram guntuka
f6059f280c qcacld-3.0: Add MBO ie in beacon template sent to fw
MBO ies sent in tail buffer of beacon params
structure are not sent in beacon template to
firmware.

Fix is to add MBO ies in beacon template sent to fw

Change-Id: I3987bd431f9a21218650499afa16eac2b59e6486
CRs-Fixed: 2087752
2017-08-06 11:48:36 -07:00
Lin Bai
dc00fb8fa5 qcacld-3.0: Kernel crash as incorrect DMA buffer size
When HTT attached, driver allocates DMA buffer to record each RX ring
entry, with element size - target_paddr_t, which is bus size, and may be
different from kernel's physical address size.
While in htt_rx_detach, size of qdf_dma_addr_t used for buffer free.
In case kernel built as 64-bit, and bus size as default 32-bit,
it will crash when free.

Use same element size to avoid it.

CRs-Fixed: 2087592
Change-Id: Iabe95f92ea82b736213a8b81453163229b2a3a3b
2017-08-06 11:48:34 -07:00
Hanumanth Reddy Pothula
0586014fbf qcacld-3.0: On PNO progress, issue PNO STOP during STA session close
In STA+AP concurrency case, driver fails to receive PNO STOP
indication from the upperlayer and thereby driver fails to send
same indication to FW, leading to a FW crash.
To mitigate this issue, during STA session close, issue PNO
stop indication to FW, if PNO is in progress.

Change-Id: If30e631fc5e8151cd5ecc66ff1d48627123a0a1e
CRs-Fixed: 2059793
2017-08-06 11:48:33 -07:00
snandini
c6928a6234 Release 5.2.0.37F
Release 5.2.0.37F

Change-Id: I4af28f273d63d7218dd94690b358bfa454ecf6a7
CRs-Fixed: 774533
2017-08-06 09:47:29 -07:00
Yingying Tang
22facc1b25 qcacld-3.0: Fix incorrect NULL pointer check for SAP
Propagate from qcacld-2.0 to qcacld-3.0

Currently there are some places where array name is compared to NULL
in SAP, add fix to correct it.

CRs-Fixed: 1063255
Change-Id: I736ac42dd08cd6d3375b7693e914e825dae6c702
2017-08-06 09:47:29 -07:00
snandini
28602e90b1 Release 5.2.0.37E
Release 5.2.0.37E

Change-Id: I563f83ad881e1af012728e95c072a84db9d6b168
CRs-Fixed: 774533
2017-08-06 05:00:09 -07:00
Rajiv Ranjan
11f3a5772b qcacld-3.0: Correct symbolic link for wlan.ko
In Treble bsed architecture, wlan driver generated
can be part of vendor image or system image. Symbolic
link is corrected so that wlan.ko points to correct path
irrespective of split/non-split image.

Change-Id: Ia3f237d2797e4526bfd6c089e54df1622886bf56
CRs-Fixed: 2078121
2017-08-06 05:00:09 -07:00
Vidyullatha Kanchanapally
f9a0c38360 qcacld-3.0: Add support for the unified roam event
Add support for indicating the new unified roam event
"cfg80211_roamed" which takes a structure to give roam information
to cfg80211.

Change-Id: I71769666e2112e0f443cb36d7db03cb7bdbaf1f2
CRs-Fixed: 2084891
2017-08-06 05:00:07 -07:00
snandini
42e0f0846d Release 5.2.0.37D
Release 5.2.0.37D

Change-Id: Icd0c3ad349bc9b2f3f50d77e23391cb47bd3fc67
CRs-Fixed: 774533
2017-08-06 03:57:49 -07:00
Sameer Thalappil
b4d7b211cd qcacld-3.0: Fix Module location for Treble builds
Fix the location to include /lib/modules for Treble enabled
builds. This was incorrectly added when the change was made
to support installing WLAN driver to KERNEL_MODULES_OUT.

CRs-Fixed: 2078384
Change-Id: Iafacc998922b2693f7e8e228a72cbc9a2f71b081
2017-08-06 03:57:49 -07:00