Commit grafiek

3874 Commits

Auteur SHA1 Bericht Datum
Yu Wang
66e4ff2fe1 qcacld-3.0: Update prefix for multi-interface with chip name
1. The paths for driver to get ini and fw files
   are incorrect for QCA SDIO chip on Dual-WiFi
   platforms, with wrong prefix or no prefix.
   Correct prefix for ini file, from '<mod_name>'
   to '<chip_name>/'; add prefix '<chip_name>/'
   for fw files.

2. For QCA9377, there is a special cnss API for getting
   fw names, it's cnss_get_qca9377_fw_files().
   Use the right cnss API to get fw files for QCA9377

Change-Id: Ia7616153b6823e9550703e649c7fc21ab306ca07
CRs-Fixed: 2008217
2017-03-02 19:58:56 -08:00
qcabuildsw
1163a6e886 Release 5.2.0.12O
Release 5.2.0.12O

Change-Id: Ic6a183d61bd90954f36cdcbda4a481766ce311b9
CRs-Fixed: 688141
2017-03-02 17:52:33 -08:00
gbian
016a42e2c7 qcacld-3.0: Add vdev checking in the ol_tx_desc_free to avoid crash
qcacld-2.0 to qcacld-3.0 propagation

The ol_tx_desc_free might access the invalid content of vdev referred by tx
desc, since this vdev might be detached in another thread asynchronous.

Go through tx desc pool to set corresponding tx desc's vdev to NULL
when detach this vdev, and add vdev checking in the ol_tx_desc_free to
avoid crash.

Change-Id: I3afa63659e047bbbf008440335fb71c8295ca353
CRs-Fixed: 1087690
2017-03-02 17:52:32 -08:00
qcabuildsw
5382cf4865 Release 5.2.0.12N
Release 5.2.0.12N

Change-Id: Iff557c2ced5ed226fd97cc276ea2889479710927
CRs-Fixed: 688141
2017-03-02 16:54:26 -08:00
yeshwanth sriram guntuka
af7b73f87d qcacld-3.0: Send reason for connect timeout to user space
Reason for association failure due to timeout is not sent
to user space.

Add changes to send association failure status code to
user space using cfg80211_connect_bss or
cfg80211_connect_timeout.

Change-Id: I060bdfdfd7875c7e945d1b2bf011c14a680b24f1
CRs-Fixed: 2012804
2017-03-02 16:54:25 -08:00
qcabuildsw
4946ffbf16 Release 5.2.0.12M
Release 5.2.0.12M

Change-Id: Ia1488ce95a20ac8d632b043787d71acaa796a73b
CRs-Fixed: 688141
2017-03-02 16:15:59 -08:00
Padma, Santhosh Kumar
f3f6fc00b5 qcacld-3.0: Logging enhancements to WMM
Add logging enhancements to WMM code

Change-Id: Ic464711f201deb5af3b2eff09b9211a0aa0c3b25
CRs-Fixed: 1106417
2017-03-02 16:15:58 -08:00
Padma, Santhosh Kumar
93ec7d2960 qcacld-3.0: Logging enhancements to RRM APIs
Add logging enhancements to RRM code

Change-Id: I4aacbca13c604d2f2dd354d9417a3e65dff398ae
CRs-Fixed: 1106418
2017-03-02 16:15:57 -08:00
Padma, Santhosh Kumar
cd35f532e4 qcacld-3.0: Logging enhancements to LFR3 code
Add logging enhancements to LFR3 code

Change-Id: If8ea2c15a29889a22359911acc433f93691b9279
CRs-Fixed: 1106420
2017-03-02 16:15:55 -08:00
Padma, Santhosh Kumar
52456c6044 qcacld-3.0: Avoid waiting if driver is not in connecting stage
qcacld-2.0 to qcacld-3.0 propagation

If disconnect is already in progress because of deauth received
from AP when disconnect is also received from supplicant, there
is a possibility that completion variable disconnect_comp_var
gets reset in hdd_DisConnectHandler because of disconnection
in progress from AP before completion variable disconnect_comp_var
gets initialized in wlan_hdd_disconnect to handle disconnect from
supplicant. This can cause a delay of 5 seconds eventhough disconnect
was already happened. This waiting is not required when previous
connection status was not eConnectionState_Connecting. Fix this delay
by adding a check to avoid waiting when previous connection status was
not eConnectionState_Connecting.

Change-Id: I58ac638622c5164fa1e9fe45c52ebf60fab2340f
CRs-Fixed: 1093562
2017-03-02 16:15:53 -08:00
qcabuildsw
c1ab165e1f Release 5.2.0.12L
Release 5.2.0.12L

Change-Id: Ib759d4d855609f9ed0d8a7c64e4831bef5df7d33
CRs-Fixed: 688141
2017-03-02 15:30:46 -08:00
Krunal Soni
971ea8c37f qcacld-3.0: Fix IE order in association request frame
Current driver is packing IEs associated with association request
out of order which is violating 80211 spec.

Fix the order in association request based on element ID.

Change-Id: Ie7a69ce2999d5a5d8ba88bac1e988f0a41dd10a6
CRs-Fixed: 2006920
2017-03-02 15:30:45 -08:00
qcabuildsw
2418c583c2 Release 5.2.0.12K
Release 5.2.0.12K

Change-Id: I1b6eef957cff690532bcda3492931d54af84fa55
CRs-Fixed: 688141
2017-03-02 13:02:25 -08:00
Naveen Rawat
56b4de80a8 qcacld-3.0: Fix uninitialized usage
In function sme_get_beacon_frm, result_handle maybe used uninitialized.
Fix this by initializing result_handle with NULL value.

Change-Id: Ia1437b6adf1bbcfe7d2d87b42a252e4a0ee6f5ea
CRs-Fixed: 2008665
2017-03-02 13:02:24 -08:00
qcabuildsw
ad9b00571a Release 5.2.0.12J
Release 5.2.0.12J

Change-Id: Ic994047f82448c12c4287ea6cdd3dc5d381dc619
CRs-Fixed: 688141
2017-03-02 12:22:37 -08:00
Manikandan Mohan
fa7b7fe5d4 qcacld-3.0: Check for HDD context validity
Check for HDD context validity for SAP Net dev stop ioctl to
resolve crash during SSR.

Change-Id: I09c57da5db4b072a8066f3c2b22c748cd79c293c
CRs-fixed: 2007350
2017-03-02 12:22:36 -08:00
Manikandan Mohan
b0932ab0bf qcacld-3.0: Cleanup Vdev response timer on SSR
During SSR firmware is reloaded and FW responses for previous
vdev sessions are not received. Thus cleanup FW response timers
on SSR.

CRs-fixed: 2005625
Change-Id: I95e2d85b29da240d372039deeece9db6add74edb
2017-03-02 12:22:34 -08:00
Manikandan Mohan
b089ed654d qcacld-3.0: Check for SSR on fw timeouts
During SSR firmware is reloaded and FW responses for previous
vdev sessions are not received. Thus check for SSR before host
crash trigger on FW timeout.

Change-Id: I8be8b7264c133fa115a5b6ac6a3b865f7040e739
CRs-fixed: 2005995
2017-03-02 12:22:32 -08:00
Manikandan Mohan
bb8a7eed59 qcacld-3.0: Update IPA resource info at reconfiguration
IPA resource information allocated during cds_open must be
updated to IPA HW before configuring to FW in cds_enable.
Thus remove IPA HW configuration from HDD IPA init function
to do this action at every reconfiguration.

CRs-fixed: 2004133
Change-Id: I8761c06c1e84b68addbdcddccb4c652166c4c306
2017-03-02 12:22:31 -08:00
Manikandan Mohan
0a0ac95919 qcacld-3.0: Fix SAP SSR reinit for uninitialized config
SSR can happen during SAP initialization. Thus check of SAP
initialization complete before attempting to restart SAP instance
during SSR.

Change-Id: Ib26116cfc33684035df692ae6c7b5d83cb0a27b8
CRs-fixed: 2005281
2017-03-02 12:22:29 -08:00
Arun Khandavalli
cc544b3909 qcacld-3.0: Add support in driver to do sap restart during SSR
qcacld-2.0 to qcacld-3.0 propagation

Presently, during subsystem restart Host is sending sap restart
indication to framework(via carrier off) to do SAP unload/load.
But SAP restart functionality is removed in framework when the
carrier off event is received, leading SAP fails to come-up
after subsystem restart.

Add support in driver to do SAP restart internally without sending
restart indication to framework, during subsystem restart.
This feature is controlled by ini param 'gEnableSapInternalRestart'
and by default it's enabled.

Change-Id: I76cb73c1887d4d8124cd9a1c29b9aac47642072a
CRs-Fixed: 1105651
2017-03-02 12:22:27 -08:00
Manikandan Mohan
153a4c3ff8 qcacld-3.0: IPA UC sync init
WLAN IPA UC data path initialize should be sync up with UC load
status. If UC driver is not loaded when WLAN driver loading,
WLAN UC data path initialize should be delayed till UC driver
will be ready

Change-Id: I297a53d1913ec4d88a5c51794959dcfebf85b45b
CRs-fixed: 786656
2017-03-02 12:22:25 -08:00
qcabuildsw
994c18c736 Release 5.2.0.12I
Release 5.2.0.12I

Change-Id: Iec383cfe03ad098401a9a639b4859b74fdd5f1a9
CRs-Fixed: 688141
2017-03-02 10:43:54 -08:00
Sandeep Puligilla
9ead8c42ec qcacld-3.0: Move enum scan_source to common module
Move enum scan_source to common module.

Change-Id: I1bf916da0258614a4b325aee8df78181cc2b25bc
CRs-Fixed: 2013212
2017-03-02 10:43:53 -08:00
qcabuildsw
b631358151 Release 5.2.0.12H
Release 5.2.0.12H

Change-Id: Id32624bc1464e73b0e38d9f9b7c5a14881ee0c6a
CRs-Fixed: 688141
2017-03-02 10:03:54 -08:00
Sreelakshmi Konamki
89f6ff8bd2 qcacld-3.0: Remove unnecessary log in wma_peek_vdev_req()
Fix to remove unnecessary log in wma_peek_vdev_req().

Change-Id: I40a2e74c8300904d5750d3d5f7af3e4797fa21f4
CRs-Fixed: 1102379
2017-03-02 10:03:53 -08:00
Sreelakshmi Konamki
f76b407559 qcacld-3.0: Fix SME command stuck issue
If ADD TS is sent it will be an active command in SME till driver gets
resp from peer or timeout. During this phase if LFR3 roam sync event is
received from firmware then PE session cleanup will be done and
SME/CSR is updated with new BSS info. In LIM, 'gLimAddtsSent' flag is
set while processing add tspec request and 'gLimAddtsSent' flag will be
reset once add tspec response received or addts rsp timeout.
This timeout doesn't expire because as part of LFR3 roam sync,
PE delete session is done which stops the timer. Because of this
'gLimAddtsSent' flag is not reset and add tspec response is not sent to
SME, this blocks further SME commands as addts req is not removed from
the active command list. This also blocks PE msg processing as
gLimProcessDefdMsgs is set to FALSE when addts request is sent.
This is not reset as the timer is killed as part of pe delete session.

To address this issue, call lim_process_sme_addts_rsp_timeout()
to reset the 'gLimAddtsSent' flag and send addts rsp timeout to SME.

Change-Id: I7cd1f38fa317bb0a10e22de242aaf42ff62641fd
CRs-Fixed: 1104590
2017-03-02 10:03:52 -08:00
Sreelakshmi Konamki
6b1f5513cf qcacld-3.0: Remove redundant fast_roam_enabled flag from CSR session
'fast_roam_enabled' flag does same as 'do_not_roam' flag which is used to
track whether roaming is enabled or disabled per CSR session.
As per code 'do_not_rome' flag alone is sufficient to track roaming status
per session.

Fix to remove redundant 'fast_roam_enabled' flag to allow vendor roaming.

Change-Id: Id7f6e547b883c932f615cfbf89eeb30d47d6408e
CRs-Fixed: 1105973
2017-03-02 10:03:50 -08:00
Sreelakshmi Konamki
9be8d4185b qcacld-3.0: Add INI/IOCTL template for WMM feature
Add INI and IOCTL template for WMM feature for documentation

Change-Id: I39e2d0a1af2f3ca282ef7842fa0d180bcaa9d25d
CRs-Fixed: 1106990
2017-03-02 10:03:48 -08:00
Sreelakshmi Konamki
873a175b51 qcacld-3.0: Validate no.of RIC data desctiptors before use
qcacld-2.0 to qcacld-3.0 propagation

Add change to validate no.of RIC data desctriptors
before using it to access RICData array.

Change-Id: I0ac4e9e1eb61690b3c13a74fa0edfc5af13d88c6
CRs-Fixed: 1102327
2017-03-02 10:03:47 -08:00
Sreelakshmi Konamki
66ddf3a759 qcacld-3.0: Remove PTK/GTK debug logs
qcacld-2.0 to qcacld-3.0 propagation

Currently host prints PTK and GTK key information in default logs.
Fix to remove the debug logs which prints sensitive key information.

Change-Id: I358b09b77d23eeb5da7d826859ae119a8ea4af8a
CRs-Fixed: 1097857
2017-03-02 10:03:45 -08:00
Sreelakshmi Konamki
b53c629c0f qcacld-3.0: Generate bug report if scan rejected by driver
qcacld-2.0 to qcacld-3.0 propagation

Driver will not allow scan if connection is in progress.

Add driver changes to generate bug report and trigger SSR
if current session id, rejected reason matches with last rejected
sesssion id, reason and time delta between current time and
last rejected timestamp is greater than 5 mins

Change-Id: Ic64a6fd443104b291b5b7f6cda3bfbe8273c671a
CRs-Fixed: 1081489
2017-03-02 10:03:43 -08:00
qcabuildsw
df331cde98 Release 5.2.0.12G
Release 5.2.0.12G

Change-Id: I2bf747ebaa64ae8c5895226f01937aaac0c0998e
CRs-Fixed: 688141
2017-03-01 23:58:05 -08:00
Himanshu Agarwal
d4fe5f748f qcacld-3.0: Avoid NULL pointer dereferencing of mpdu_buf
Avoid NULL pointer dereferencing of mpdu_buf by putting NULL
check before using it in htt_rx_restitch_mpdu_from_msdus func.

Change-Id: I726891d4fc1f6928cbda911932dbbcd2ec681b63
CRs-Fixed: 2008901
2017-03-01 23:58:04 -08:00
qcabuildsw
d99accb513 Release 5.2.0.12F
Release 5.2.0.12F

Change-Id: Iea6800ae974a51145b9fee583a8d881ec0c1271f
CRs-Fixed: 688141
2017-03-01 23:19:27 -08:00
Ashish Kumar Dhanotiya
d097251612 qcacld-3.0: Support fast transition with open security
wlan-cld3.driver.lnx.1.1-dev to wlan-cld3.driver.lnx.2.0-dev propagation

If station is connected to an AP with open security, fast
transition would fail as preauth is attempted only if FT
ies are present.

To fix this, Preauth is attempted even if FT ies are not
present for a 11R connection in open security.

Change-Id: I0ac15fc63b4b97a0e2fcecfe70d7cfc1c9277318
CRs-Fixed: 1086498
2017-03-01 23:19:26 -08:00
qcabuildsw
87eb438835 Release 5.2.0.12E
Release 5.2.0.12E

Change-Id: I27f13ed4eaadf3244c8fb7ba4e62b8c3eb54f133
CRs-Fixed: 688141
2017-03-01 19:01:58 -08:00
Ravi Joshi
d55b18a8bd qcacld-3.0: Fix wlan_cfg header file inclusion issue
wlan_cfg.h header file was not getting included due to error in the
wlan_cfg path.

Change-Id: I97d706f1c35475e4da4be3d181f2d6c215b531cc
CRs-Fixed: 2005582
2017-03-01 19:01:57 -08:00
qcabuildsw
98e8fa09b0 Release 5.2.0.12D
Release 5.2.0.12D

Change-Id: I485af965a6f4263577490d18bd89aed18fbf7aa5
CRs-Fixed: 688141
2017-03-01 16:47:30 -08:00
Varun Reddy Yeturu
35c07f93a6 qcacld-3.0: Changes to compile renamed files
Make changes to support compilation for the files that have
been renamed. Rename the files from wlan_serialization_legacy_mcl_api
to wlan_serialization_legacy_api to keep it more appropriate.

Change-Id: Id219a9f3e00bef0ed85408539b33d54462bf91b5
CRs-Fixed: 2012863
2017-03-01 16:47:29 -08:00
qcabuildsw
15101ae3a4 Release 5.2.0.12C
Release 5.2.0.12C

Change-Id: Idf58dfa7b30ebe4531849ed03935df4502aaabab
CRs-Fixed: 688141
2017-03-01 14:09:22 -08:00
Dustin Brown
5409643f2e qcacld-3.0: Allow iface pause override for unit test suspend
For testing purposes, expose the ability to override the interface pause
setting sent to firmware during WoW enable. Relatedly, allow userspace
to specify which wakeup trigger firmware should use, instead of assuming
HTC wakeup.

Change-Id: I265ccef7ca5304c94bcb5ff2eb9a3d35cfa74191
CRs-Fixed: 2011131
2017-03-01 14:09:21 -08:00
qcabuildsw
4198b3daa2 Release 5.2.0.12B
Release 5.2.0.12B

Change-Id: I746cfea6ab403f9d6fb510e61b4f0706175b6469
CRs-Fixed: 688141
2017-03-01 12:16:50 -08:00
Ganesh Kondabattini
a590a8a397 qcacld-3.0: Delete tdls peer while deleting STA session
PE is sending the deauth frames to all the connected tdls peers
while processing the deauth frame on STA interface from AP. But it
is not deleting the TDLS peer.

This change is to delete the tdls peer after sending the deauth frame
to tdls peer.

CRs-Fixed: 1108945
Change-Id: I0e115bf005e7d3bb3102f170f0d614160b9a0e38
2017-03-01 12:16:49 -08:00
qcabuildsw
d8e83a467f Release 5.2.0.12A
Release 5.2.0.12A

Change-Id: Iad6f350b8d6c7b2c14c5dcb6dd1943b60c0188f4
CRs-Fixed: 688141
2017-03-01 11:25:41 -08:00
Arun Khandavalli
13cb5dad67 qcacld-3.0: Wait for driver probe to complete in module_init
During wifi-on the framework will load the driver and starts the
supplicant. In the present scenario, as soon as the driver registers
with the platform driver it checks whether FW_READY indication is
recieved. If the FW_READY is received the platform driver calls
probe of the driver in same context of the wifistate machine. If
the FW_READY indication is not received it calls the probe of the
driver in the work queue context. This is resulting in the wifi grey
out in the UI.

So, wait for the driver probe completion in the module_init, before
returning the context to framework.

Change-Id: I21b70f7e383bde07ac8cc3d4969be18b840d26a4
CRs-fixed: 1112295
2017-03-01 11:25:40 -08:00
qcabuildsw
50f520f123 Release 5.2.0.12
Release 5.2.0.12

Change-Id: I4687720a5457e2f65251df539ae7084b08caaf81
CRs-Fixed: 688141
2017-02-28 16:21:46 -08:00
Mukul Sharma
0cdf8b3ba3 qcacld-3.0: Update Kbuild to suppport PMO functionality in target interface
Update Kbuild to suppport target interface PMO functionality.

Change-Id: I768ba97a738226046510807954b26e722d828111
CRs-Fixed: 2002387
2017-02-28 16:21:45 -08:00
Mukul Sharma
3d36c391b2 qcacld-3.0: Add support for gtk offload PMO component
Add support for gtk offload in PMO component.

Change-Id: Ia5ea2daf873ad481f51e2d1cf24441a8c1d93476
CRs-Fixed: 2005114
2017-02-28 16:21:43 -08:00
Mukul Sharma
ff2ac2e1e5 qcacld-3.0: Add support for mc addr list in PMO component
Add support for mc address list  in PMO component.

Change-Id: I711ff4a1394258400573ff6658605b1650832b0f
CRs-Fixed: 2005103
2017-02-28 16:21:41 -08:00