Gráfico de commits

12414 Commits

Autor SHA1 Mensagem Data
nshrivas
bdc38531c4 Release 5.2.0.106U
Release 5.2.0.106U

Change-Id: I0f9467ebfc8d160b55b0a68f62bd40af6bcc0afb
CRs-Fixed: 774533
2018-11-15 22:00:20 -08:00
Tiger Yu
287056c463 qcacld-3.0: Enable scatter gather feature for msm8996 platform
Enable the scatter gather feature for msm8996 platform to improve
the TCP TX throughput.

Change-Id: I634f48baf2f1f57aa89030acab37ada798ce7d2c
CRs-Fixed: 2344092
2018-11-15 22:00:19 -08:00
nshrivas
b537c64ac7 Release 5.2.0.106T
Release 5.2.0.106T

Change-Id: I60c724d68a074fd5243ba23db761cda62cf077a2
CRs-Fixed: 774533
2018-11-15 18:48:59 -08:00
Dustin Brown
5a26dae6d0 qcacld-3.0: Don't stop transition in ssr shutdown
During sub-system recovery, the platform driver invokes the wlan's
shutdown and reinit callbacks. Reinit is called regardless of the result
of shutdown. Currently, the SSR transition is aborted in shutdown in the
event of a failure. This results in a panic during reinit, which expects
to be protected by that transition. Regardless of the result of
shutdown, do not stop the SSR transition such that the entire recovery
process is properly protected.

Change-Id: I3685920de5a7d47f6334bf4d8389cb267a46fac2
CRs-Fixed: 2350868
2018-11-15 18:48:59 -08:00
nshrivas
ff2d5ca1b8 Release 5.2.0.106S
Release 5.2.0.106S

Change-Id: I91547ea9de4fc8c58a96dbd7578abdd49b0ac61f
CRs-Fixed: 774533
2018-11-15 17:19:26 -08:00
gaurank kathpalia
5f6919b0f4 qcacld-3.0: Skip ACS based on hw mode and STA's channel
If the STA is already present, and a SAP has to come up,
return the STA channel as the best channel, and skip ACS,
if the Hw_mode is set according to the STA channel
Eg:- STA on channel 1, and hw_mode is 11B, or 11G.
Also the driver doesnt check the DFS master mode, and
includes the DFS channels in the ACS scan list, which
may result in SAP bringup on a DFS channel

Check the conc_channel, and acs_policy ini, and return the
best channel as the STA channel.
Also exclude the DFS channels from the ACS scan list if
DFS master mode is disabled.

Change-Id: I70951d7b51b620db8cda7ed771d5c36a7571a125
CRs-Fixed: 2340965
2018-11-15 17:19:26 -08:00
Jeff Johnson
b460dd7685 qcacld-3.0: Replace hHal in sme_api
Recently all instances of tHalHandle were replaced with mac_handle_t
to align with current usage and the Linux coding standard. To align
with the new naming now replace all instances of hHal with mac_handle
in sme_api.

Change-Id: Idd66679290567e9ed27b5c7e1a5401f36229d9a7
CRs-Fixed: 2349571
2018-11-15 17:19:21 -08:00
Jeff Johnson
fe8aa4ffe8 qcacld-3.0: Replace hHal in sme_ft_api
Recently all instances of tHalHandle were replaced with mac_handle_t
to align with current usage and the Linux coding standard. To align
with the new naming now replace all instances of hHal with mac_handle
in sme_ft_api.

Change-Id: I5e41d0767b97bf698dbb14834f2080bd82577035
CRs-Fixed: 2349570
2018-11-15 17:19:18 -08:00
Jeff Johnson
d32f3622dc qcacld-3.0: Replace hHal in sme_qos
Recently all instances of tHalHandle were replaced with mac_handle_t
to align with current usage and the Linux coding standard. To align
with the new naming now replace all instances of hHal with mac_handle
in sme_qos.

Change-Id: I067ec7d921888cc8f743561810f9163bb4ea9008
CRs-Fixed: 2349569
2018-11-15 17:19:14 -08:00
nshrivas
21702429c8 Release 5.2.0.106R
Release 5.2.0.106R

Change-Id: Ia8ec4c651e98d714c52115dea627012a260d76fc
CRs-Fixed: 774533
2018-11-15 15:18:15 -08:00
Jeff Johnson
c0203e218a qcacld-3.0: Replace hHal in wlan_qct_sys
Recently all instances of tHalHandle were replaced with mac_handle_t
to align with current usage and the Linux coding standard. To align
with the new naming now replace all instances of hHal with mac_handle
in wlan_qct_sys.

Change-Id: I4f5b7c46ae56140d0a2456f9ba48fdcf54d9262b
CRs-Fixed: 2349568
2018-11-15 15:18:14 -08:00
Jeff Johnson
419348b1bc qcacld-3.0: Replace hHal in sap_module
Recently all instances of tHalHandle were replaced with mac_handle_t
to align with current usage and the Linux coding standard. To align
with the new naming now replace all instances of hHal with mac_handle
in sap_module.

Change-Id: I5422b4a7e1a464a8f870cea33069c47401c73bac
CRs-Fixed: 2349566
2018-11-15 15:18:10 -08:00
Jeff Johnson
793e5a9163 qcacld-3.0: Replace hHal in sap_api_link_cntl
Recently all instances of tHalHandle were replaced with mac_handle_t
to align with current usage and the Linux coding standard. To align
with the new naming now replace all instances of hHal with mac_handle
in sap_api_link_cntl.

Change-Id: I1248b01c4da617c307bc7262e32c32e069491d1c
CRs-Fixed: 2349565
2018-11-15 15:18:05 -08:00
Jeff Johnson
19681ce028 qcacld-3.0: Replace hHal in sap_fsm
Recently all instances of tHalHandle were replaced with mac_handle_t
to align with current usage and the Linux coding standard. To align
with the new naming now replace all instances of hHal with mac_handle
in sap_fsm.

Change-Id: I478b21a0e060b86c05025f3f8b1d46e196d7e93f
CRs-Fixed: 2349564
2018-11-15 15:18:01 -08:00
nshrivas
ed18801089 Release 5.2.0.106Q
Release 5.2.0.106Q

Change-Id: I94589f4cdf1da79057327c71350fe2267bdfdb1a
CRs-Fixed: 774533
2018-11-15 10:08:24 -08:00
Abhinav Kumar
9b4f4ba969 Revert "qcacld-3.0: Acquire wake lock timeout for rrm scan"
FW does not assert when wow is enabled in presence of active
scans. Only requirement is to abort the scans while suspending.
So holding wakelock till scan is complete may introduce power
side effects.

Aborting the scan while suspending is already taken care by
the CR-2343385.

Fix is to revert the
Change Id: I02ddc9b5e6ba5f1782d00e34f044ace34c54d0b0 and
cleanup the channel list from rrm context in case of failure
of rrm scan req.

Change-Id: I844210a6a11f1d882bf42340b80b386856d9b87b
CRs-Fixed: 2349857
2018-11-15 10:08:24 -08:00
nshrivas
b6a147a2af Release 5.2.0.106P
Release 5.2.0.106P

Change-Id: Id5c5e9ecd0dd0919ff2172df144a6549a90d8ab5
CRs-Fixed: 774533
2018-11-15 08:20:30 -08:00
Bala Venkatesh
4a72b06fc9 qcacld-3.0: Avoid redefination of tdls_add_oper enum
Enums tdls_add_oper and TdlsAddOper are same. Instead redefining
use the same enum across different files.

Change-Id: Ibb71b0f80e156e4bd3a345a56c7b4d99ce770ef7
CRs-Fixed: 2349616
2018-11-15 08:20:30 -08:00
Ashish Kumar Dhanotiya
c90aaa122d qcacld-3.0: memset mac_context on mac close
on mac_close, current global mac_context is not getting memset
to zero, so when new mac_open occures this global mac_context
contains the previous configuration which leads to undefined
behaviour.
Initially during load time, driver type is set as production in
global mac context, on change of the con_mod to FTM, this driver
type is chnaged to MFG, now again if the con_mode is changed to
MISSION mode or MONITOR mode this driver type should be updated
to production, but since during mac_close, mac_ctx is not memset
to zero, this driver type is not getting updated and having the
previous value as MFG, because of this in pe mc process handler,
message is not getting processed leading to mem leak at stop
modules.

Change-Id: I342ad5c9bd4b710c668d8121f41f5ffd98d2c221
CRs-Fixed: 2349670
2018-11-15 08:20:25 -08:00
Arif Hussain
ca0fbb7d93 qcacld-3.0: Fix memory leak issue in csr_roam_issue_ft_preauth_req()
Make sure to free BSS descriptor buffer in case of failure to
send message. In failure case only message body buffer is freed.

Change-Id: I1919ed25d98808fad47f455820b760d96d18f4b2
CRs-Fixed: 2332101
2018-11-15 08:20:19 -08:00
nshrivas
57630b746b Release 5.2.0.106O
Release 5.2.0.106O

Change-Id: Iabcece5261e72421664cb834f0df4d6d87b34025
CRs-Fixed: 774533
2018-11-15 05:11:04 -08:00
Manjunathappa Prakash
ce8109df27 qcacld-3.0: Rate limit IPA callback API failure logs
Excessive failure log due driver is in transition state. This
is coming from stats callback function, rate limiting the logs.

Change-Id: Idcd5304c492fa538614ac45d4c7bb3a601f23bcc
CRs-Fixed: 2347721
2018-11-15 05:11:03 -08:00
nshrivas
0a5ab8a3a4 Release 5.2.0.106N
Release 5.2.0.106N

Change-Id: I3ca920e9156a3e8661e4b791b80764a3e641c3d3
CRs-Fixed: 774533
2018-11-15 03:38:19 -08:00
jitiphil
4e3bef4621 qcacld-3.0: disable pktlog as part of stop modules
Pktlog is not disabled as part of stop procedure. If
the DUT was booted up with WLAN turned off, the modules
will be loaded and after a timer expires they are
unloaded. At this point if WLAN was turned on, the start
procedure will try to enable pktlog and find that it
is already enabled, and will not send indication to
firmware.

Ensure pktlog is called as part of stop procedure.

Change-Id: If17fb597cabed59ef5a3220ba7e536820a940eaf
CRs-Fixed: 2349956
2018-11-15 03:38:19 -08:00
nshrivas
bc0c8bf21e Release 5.2.0.106M
Release 5.2.0.106M

Change-Id: I260799bc613b69ac4c301bc3d3df629627bac095
CRs-Fixed: 774533
2018-11-15 01:38:16 -08:00
Min Liu
8c5d99e012 qcacld-3.0: Get vdev from adapter directly
For the case that there is leakage of vdev, get ref of vdev by mac address
might get the incorrect vdev object. Get vdev from adapter directly.

Add help function to get vdev reference counted before use it.

Change-Id: I7d4ad1a2b7031f2877adb19bc15f690616e87c74
CRs-Fixed: 2312152
2018-11-15 01:38:16 -08:00
nshrivas
281eeafb6a Release 5.2.0.106L
Release 5.2.0.106L

Change-Id: I5b0c88c47beb1449949efe522cc6d9d178be6278
CRs-Fixed: 774533
2018-11-14 22:06:11 -08:00
Jeff Johnson
274a1d6063 qcacld-3.0: Refactor WE_SET_CHANNEL ioctl processing
One of the HDD functions with the highest cyclomatic complexity is
__iw_setint_getnone(). In order to reduce the complexity there is a
plan to replace the existing switch with a vtable. As part of that
goal refactor the WE_SET_CHANNEL ioctl handling into a separate
function.

Change-Id: I66a8e9902b8b2a1ab2df0088630dc9a4923fbabd
CRs-Fixed: 2350065
2018-11-14 22:06:10 -08:00
jiad
15fb83796a qcacld-3.0: Fix WDI 1.0 MCC TX SMMU unmap
For WDI 1.0 MCC TX, wlan driver is involved for TX and skb is
provided from IPA driver. With SMMU enabled, dma_addr is of
IPA domain. In such case, wlan driver needs to do DMA map
itself. After doing DMA map, an offset of frag_header
and ipa_header is added to the iova and skb->cb is updated
with the new iova. After TX completion, skb DMA unmap is done
but with the iova of the above offset included, which leads to
unmapped iova error.

Fix is to recalculate the iova and update skb->cb with new iova,
which has frag_header and ipa_header length removed.

Change-Id: I7d04e9b01fbd973601ee9e4e74c6bf4dd3d0f7bb
CRs-Fixed: 2338049
2018-11-14 22:06:05 -08:00
nshrivas
8055beccd8 Release 5.2.0.106K
Release 5.2.0.106K

Change-Id: I2fd79eab47fe9ff82a2e9ac5fcfbf3f173b7f3d7
CRs-Fixed: 774533
2018-11-14 20:30:06 -08:00
Abhishek Singh
cdd3d4c1d1 qcacld-3.0: Use objmgr API to get 1st vdev from pdev
If Vdev id is not present driver tries to get vdev with vdev id 0
from pdev. Vdev with vdev_id 0 might not be present on pdev so use
objmgr API wlan_objmgr_pdev_get_first_vdev to get the first vdev.

Change-Id: I2ae0d6056709339a8167582ec327269aa84c93f4
CRs-Fixed: 2349702
2018-11-14 20:30:06 -08:00
nshrivas
a1d56ead93 Release 5.2.0.106J
Release 5.2.0.106J

Change-Id: I278ce6afc13c44761abb4e6211775a470993a46a
CRs-Fixed: 774533
2018-11-14 18:51:41 -08:00
wadesong
5cea9124a5 qcacld-3.0: Add missing CFG INI comment text - wave 1
Some CFG INI options' comment text are missing.

Add them so automation script can parse and retrieve the
correct comment text.

Change-Id: I4f79b075244c18490c52bc9a178d36c47db43878
CRs-Fixed: 2348307
2018-11-14 18:51:40 -08:00
nshrivas
7cb027d4ac Release 5.2.0.106I
Release 5.2.0.106I

Change-Id: Idb8a454febc7412a272eb417873d19a566308cd3
CRs-Fixed: 774533
2018-11-14 13:47:15 -08:00
Kai Liu
eabb1df217 qcacld-3.0: Release bus clock and bandwidth when module stop
Wlan should release bus clock and bandwidth when module stop,
otherwise when system enter into X0 shutdown, voted clock is still on.

Change-Id: I735cbed1289b17ab2fbc81e35043f1f663a60473
CRs-Fixed: 2341653
2018-11-14 13:47:15 -08:00
Karthik Kantamneni
9180c75d61 qcacld-3.0: Add RTT related CFG item
ADD RTT MAC randomization CFG item based on converged cfg component

Change-Id: I0e1203fc3b3cdab8d9f331c90092b460a02f0fbf
CRs-Fixed: 2349709
2018-11-14 13:47:11 -08:00
nshrivas
3c4fb6e9be Release 5.2.0.106H
Release 5.2.0.106H

Change-Id: Ic05c8bb8974514d5d2369d3cd87219c02553eaf9
CRs-Fixed: 774533
2018-11-14 10:40:52 -08:00
Alok Kumar
2fad644d65 qcacld-3.0: Add vendor event to update TCP paramenter
Currently, TCP params are configured through cnss-daemon.

Add vendor event to configure TCP params through Wi-Fi HAL.

Change-Id: I5ca3e33a8b15b5d499f771098ce8a3c58e4bb850
CRs-Fixed: 2349253
2018-11-14 10:40:52 -08:00
nshrivas
e265432489 Release 5.2.0.106G
Release 5.2.0.106G

Change-Id: Ib3185d7b6bea94f7eca86797144db9507701f2c5
CRs-Fixed: 774533
2018-11-13 21:11:50 -08:00
Dustin Brown
81cf264aaa qcacld-3.0: Print stack trace on DSC timeout
DSC panics in debug builds in the event of various timeout events. In
addition to these panics, print the stack trace of the invoking thread
to assist in finding the exact reason for deadlocks.

Change-Id: I69666cfc52fb7ca3638c32212bae3e3c3ddd8366
CRs-Fixed: 2349387
2018-11-13 21:11:49 -08:00
yuanl
45a1526a61 qcacld-3.0: Fix compiling error for 32 bit platform
Fix compiling error on 32 bit platform due to integer overflow

Change-Id: Ie9517e141b504cfd28138a0e353a0fbbad46e806
CRs-Fixed: 2347903
2018-11-13 21:11:45 -08:00
nshrivas
d4d2582ae6 Release 5.2.0.106F
Release 5.2.0.106F

Change-Id: Ic3c186fcdc95db18413559b9d26c96d33a0ee215
CRs-Fixed: 774533
2018-11-13 19:41:42 -08:00
Dustin Brown
13fa987a29 qcacld-3.0: Ignore uninitialized driver mode change
The driver mode can be dynamically controlled via the module parameter
"con_mode," which triggers the callback con_mode_handler(). However, if
the wlan module is loaded with a non-default con_mode, this callback
handler is invoked before module init (e.g. 'insmod wlan.ko
con_mode=5'). If con_mode_handler is invoked before module init, simply
return success, as no processing is needed.

Change-Id: Iaa426188d13507cc6c7f09a03effd881854bbf3d
CRs-Fixed: 2349370
2018-11-13 19:41:41 -08:00
nshrivas
61ee8a5da2 Release 5.2.0.106E
Release 5.2.0.106E

Change-Id: I538c3fcfe9bf7e7eb7b8de97c8ec4839181b85f5
CRs-Fixed: 774533
2018-11-13 17:21:18 -08:00
Jeff Johnson
030cd90bd9 qcacld-3.0: Rename hdd_is_valid_mac_address() pMacAddr param
hdd_is_valid_mac_address() currently takes a parameter named pMacAddr.
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged" so rename the
parameter to mac_addr to conform to the naming convention. As part of
the cleanup relocate the documentation so that the interface is
documented, not the implementation.

Change-Id: I4abff563bb396a4ffce1356527307ce3bfed8a16
CRs-Fixed: 2347990
2018-11-13 17:21:17 -08:00
nshrivas
5c842e949b Release 5.2.0.106D
Release 5.2.0.106D

Change-Id: I70435228cec986b479c45d6c2399b15ff5848f1e
CRs-Fixed: 774533
2018-11-13 15:43:03 -08:00
Abhishek Singh
1d8bd6255d qcacld-3.0: Fix 80Mhz BW allowed for PEER in 2.4GHz SAP
In case PEER send BW as 80Mhz in OPmode IE in 2.4Ghz, driver doesn't check
the SAP session BW and allow this BW in PEER assoc command to firmware.

Fix this by limiting the PEER BW to less than or equal to SAP session
BW.

Change-Id: Icf9e53fec32d30e5620e51b8664b0e92ba2b26d6
CRs-Fixed: 2346537
2018-11-13 15:43:02 -08:00
Jeff Johnson
53f3acab74 qcacld-3.0: Remove tHalHandle definition
All references to the legacy tHalHandle have been removed, so remove
the definition itself.

Change-Id: I41e93fc7dd1bc7cb5d06300c607854b7c691f3c1
CRs-Fixed: 2348558
2018-11-13 14:24:54 -08:00
Jeff Johnson
60bfb3efd0 qcacld-3.0: Replace tHalHandle in sap_fsm
I9d0d7d109621237f29d66f7b06c5b63c38f63fb2 (qcacld-3.0: Introduce
mac_handle_t) introduced a "better" name for tHalHandle, so replace
tHalHandle with mac_handle_t in sap_fsm.

Change-Id: Ia61860e788b51c7becc6fc708a41f78e4658565d
CRs-Fixed: 2348557
2018-11-13 14:24:54 -08:00
Jeff Johnson
adf1313618 qcacld-3.0: Replace tHalHandle in sap_ch_select
I9d0d7d109621237f29d66f7b06c5b63c38f63fb2 (qcacld-3.0: Introduce
mac_handle_t) introduced a "better" name for tHalHandle, so replace
tHalHandle with mac_handle_t in sap_ch_select.

Change-Id: I204e955c7cda75bbed27a8653fbca4cca4f4b055
CRs-Fixed: 2348556
2018-11-13 14:24:53 -08:00