Commit graph

3,859 commits

Author SHA1 Message Date
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
Mukul Sharma
3ba26b8747 qcacld-3.0: Add support for arp/ns offload in PMO component
Add support for arp/ns offload in PMO component

Change-Id: I823ba0a426cce5a5717cf2b693b49c8f8a2f7a29
CRs-Fixed: 2002639
2017-02-28 16:21:40 -08:00
Mukul Sharma
0005869f52 qcacld-3.0: add support for static configurations in PMO
PMO add support for static configurations during
vdev create.

Change-Id: If4a91b289a039eed14f3df6533e8d70d9becf095
CRs-Fixed: 2002634
2017-02-28 16:21:38 -08:00
Mukul Sharma
9d797a0cb5 qcacld-3.0: Pass user configuration to pmo
Pass user configuration / ini param to pmo component.

Change-Id: I056b25050cbf5773468cf0457912cc6544aeccc3
CRs-Fixed: 2002630
2017-02-28 16:21:36 -08:00
Mukul Sharma
c5de677a6e qcacld-3.0: Enable power manager offload (PMO) in kbuild
Include pmo source and includes files in Kbuild.

Change-Id: I2c636ad080a242183ed70d6ead146dd1efd6b6ec
CRs-Fixed: 2002629
2017-02-28 16:21:34 -08:00
qcabuildsw
9ea65e29a2 Release 5.2.0.11Z
Release 5.2.0.11Z

Change-Id: I1907fac27b090a4dc10f154b8a057ef8177e8156
CRs-Fixed: 688141
2017-02-28 00:38:04 -08:00
yeshwanth sriram guntuka
58bbcf8d91 qcacld-3.0: Update params to PE session entry on roam
On roam, obss scan params, sta ext capabilites and
qos map set are not updated to pe session entry
before returning from lim_process_assoc_rsp_frame.

Fix is to copy QoS map set, update obss scan params and
sta ext capabilities in PE session entry before return.

Change-Id: Iad35491c04452b6d459dde94713fc9c627c098e1
CRs-Fixed: 2007784
2017-02-28 00:38:03 -08:00
qcabuildsw
5bba956985 Release 5.2.0.11Y
Release 5.2.0.11Y

Change-Id: I1c2a838488d29213584dcd08a940cb2ec1cef3df
CRs-Fixed: 688141
2017-02-27 22:49:46 -08:00
Abhishek Singh
9be07e2ee7 qcacld-3.0: Add Kbuild changes to include converged scan files
Add changes to include converged scan APIs and definitions

Change-Id: I715b3c217d60f45ef621e56f683d6ca855c4b684
CRs-Fixed: 1095299
2017-02-27 22:49:46 -08:00
qcabuildsw
a7aaa6ede6 Release 5.2.0.11X
Release 5.2.0.11X

Change-Id: If810b957264739500ca7c44c73b33326037f34c3
CRs-Fixed: 688141
2017-02-27 15:05:41 -08:00
Ravi Joshi
fa5536fad9 qcacld-3.0: Enable per-PDEV Tx descriptor pool
Napier uses per-PDEV Tx descriptor pool until per-VDEV descriptor
pools are introduced.

Change-Id: I6887d07046045b12e6f3983793eb66ae16f63772
CRs-Fixed: 2005582
2017-02-27 15:05:41 -08:00
qcabuildsw
8c1fdbdb2d Release 5.2.0.11W
Release 5.2.0.11W

Change-Id: Ia581e50ef246b61b92975868ea77a72aa53a7669
CRs-Fixed: 688141
2017-02-26 02:07:53 -08:00
Krunal Soni
d8e8e3d885 qcacld-3.0: Fix review comments provided for legacy serialization
During legacy serialization's code review, few comments were provided.
Fix them.

CRs-Fixed: 2005532
Change-Id: Id5daea23532f263aea1e1bb9c3daa4651274890f
2017-02-26 02:07:51 -08:00
Krunal Soni
81f068c8e3 qcacld-3.0: Replace legacy scan serialization with new one
Replace legacy scan serialization with new one serialization

CRs-Fixed: 2005532
Change-Id: I57d48d226d5092d8cfc834196acf28a7e5d48966
2017-02-26 02:07:50 -08:00
Krunal Soni
a8270f5401 qcacld-3.0: Replace legacy SME serialization with new serialization
Legacy SME module is using old serialization mechanism, enable new
serialization mechanism.
Provide ifdef switch to fallback to old serialization in-case if it
is required to move to old serialization.

CRs-Fixed: 2005532
Change-Id: I4801dbab53e451206e2ff0904d102676fd7336e2
2017-02-26 02:07:48 -08:00
Krunal Soni
6ca248aaba qcacld-3.0: Add new legacy serialization file in Kbuild
There is new legacy serialization MCL file added to serialization
module which needs to be compiled for MCL platform and needed to
add reference in SME  module.

CRs-Fixed: 2005532
Change-Id: Id946a62f6e0dec4531deccc83dae6373d396a91a
2017-02-26 02:07:47 -08:00