Commit Graph

3794 Commits

Author SHA1 Message Date
Sandeep Puligilla
c3a99faf66 Release 5.2.0.15B
Release 5.2.0.15B

Change-Id: I8a3cce9ead89ead3c806600f7ce78abc9e360347
CRs-Fixed: 688141
2017-03-15 01:03:11 -07:00
Mukul Sharma
72ffb7e14b qcacld-3.0: Free wow params as apart of the suspend/resume
Free wow params as apart of the suspend/resume.

Change-Id: I6a3ab9098704cfd7e7d270b0a77f0521ae9d9ce9
CRs-Fixed: 2019140
2017-03-15 01:03:11 -07:00
Sandeep Puligilla
2caeaf7b4a Release 5.2.0.15A
Release 5.2.0.15A

Change-Id: I8d2185dbace96bb7a50578b8523a56d3a0f3b3d0
CRs-Fixed: 688141
2017-03-14 23:40:52 -07:00
Varun Reddy Yeturu
88f123c804 qcacld-3.0: Ignore RSI if disconnect is initiated
Ignore the Roam Synch Indication from firmware if the
user space has already issued a disconnect before
receiving ROAM_START from firmware.

Disconnect might have cleared the roam profile and will be
sitting in the queue for the PE processing to happen.
If the disconnect is in the queue and a roam synch indication
is received, then check the CSR state from the first callback
of roam synch propagation and bail out there itself.

Disconnect will eventually send a ROAM_STOP command to the
firmware and it will cleanup

Change-Id: I528f552cd601dc9d23f709410115fb0af944899d
CRs-Fixed: 2018928
2017-03-14 23:40:51 -07:00
Varun Reddy Yeturu
f86f052f74 qcacld-3.0: Issue disconnect if roaming fails
If the offloaded roaming feature has started, but
has not completed for some reason, then issue a
disconnect and cleanup

Change-Id: Ibcd4f83ea126a1d05531f9bf30d6827008fdbfea
CRs-Fixed: 2019435
2017-03-14 23:40:50 -07:00
Sandeep Puligilla
0eb6f340e3 Release 5.2.0.15
Release 5.2.0.15

Change-Id: I8567b307634bc8d9981f2c70bee04e72ae18e804
CRs-Fixed: 688141
2017-03-14 22:23:37 -07:00
Jeff Johnson
0d26ae673f qcacld-3.0: Fix HDD scan cleanup issues
While addressing the issue fixed by change "qcacld-3.0: Cleanup scan
queue during driver unload" a couple of issues were observed in the
HDD scan cleanup code:
1) list node was directly typecast to hdd_scan_req instead of using
   container_of() operation.
2) hdd_scan_req_q_lock spinlock was not being destroyed.

Address these issues.

Change-Id: I6d1e7f5a78848d43e62f893b82f538b960ea0609
CRs-Fixed: 2018045
2017-03-14 22:23:36 -07:00
Jeff Johnson
f337b0c176 qcacld-3.0: Cleanup scan queue during driver unload
The following assert was observed during driver unload:
  QDF ASSERT in qdf_list_destroy Line 90
  PC is at hdd_scan_context_destroy+0x4c/0x78 [wlan]

There was also an associated memory leak detected:
 memory Leak@ File core/hdd/src/wlan_hdd_scan.c, @Line 562, size 48
 memory Leak@ File core/hdd/src/wlan_hdd_scan.c, @Line 2284, size 584

The issue is that the scan cleanup routine, hdd_cleanup_scan_queue(),
is currently only called during SSR and is not being called during the
driver unload sequence. Update the unload sequence to call this API.

Change-Id: Ib398a528cbb504bc132d985a0fa8c2a772d44332
CRs-Fixed: 2018045
2017-03-14 22:23:35 -07:00
Sandeep Puligilla
129083e411 Release 5.2.0.14Z
Release 5.2.0.14Z

Change-Id: I4fcd426641abae6e09c1b5db527ee2709cfff7f9
CRs-Fixed: 688141
2017-03-14 20:58:01 -07:00
Rajeev Kumar
662d75d26b qcacld-3.0: Purge shutdown notification before wma_close
WMA registers for shutdown notification and during wma_close
WMA events are destroyed which are accessed from WMA shutdown
callback. Hence make sure to purge shutdown notification 1st
before calling wma_close.

Change-Id: I868a835f3da52596c0451f9c99638dbc97ea6abe
CRs-Fixed: 2018911
2017-03-14 20:58:01 -07:00
Sandeep Puligilla
faf089a04a Release 5.2.0.14Y
Release 5.2.0.14Y

Change-Id: I72a10f2b87c8b09c90b2cba75dd4dbece324c2e9
CRs-Fixed: 688141
2017-03-14 20:22:17 -07:00
Ashish Kumar Dhanotiya
ff4e1c4bc4 qcacld-3.0: Check module status before processing driver command
If the driver module is closed do not process the driver command,
it will lead to a crash by accesssing uninitialized lock.

To handle this issue check the module status before processing
driver command and if module is closed, simply return error.

Change-Id: Ic651e1abdf6b2efa27e57695c04ace249f9d21bb
CRs-Fixed: 2018746
2017-03-14 20:22:17 -07:00
Sandeep Puligilla
086986f0c8 Release 5.2.0.14X
Release 5.2.0.14X

Change-Id: If72ae63bd7703605724ed942bd1eaba3b37e20dc
CRs-Fixed: 688141
2017-03-14 12:57:54 -07:00
Selvaraj, Sridhar
4f684bbaf2 qcacld-3.0: Add "g_enable_bcast_probe_rsp" INI and pass it to firmware
Add "g_enable_bcast_probe_rsp" INI and pass the configured value
to firmware for STA vdev as part of vdev attach. Based on this INI,
firmware will send the dwell time IE in probe request.

Change-Id: I446c7d7589534688e04579ed434de0803ed8b4ff
CRs-Fixed: 1113498
2017-03-14 12:57:54 -07:00
Sandeep Puligilla
1f33d4293e Release 5.2.0.14W
Release 5.2.0.14W

Change-Id: Ib286c892c8b80128fe2ed0c3d3d5e38137e4c36e
CRs-Fixed: 688141
2017-03-14 11:26:58 -07:00
Dustin Brown
d5f1294562 qcacld-3.0: Acquire wakelock before sending VDEV_START
The host driver should not attempt to power collapse while pending
VDEV_START commands are in flight. Acquire a wakelock before sending a
VDEV_START request to firmware, and release it upon receipt of
VDEV_START response.

Change-Id: Iccca8ce4213b7527421f6b93fc4e08be9c31f471
CRs-Fixed: 2018066
2017-03-14 11:26:58 -07:00
Sandeep Puligilla
5581285544 Release 5.2.0.14V
Release 5.2.0.14V

Change-Id: I64e23eb45918fd068dc0a766289737a62c07bd4b
CRs-Fixed: 688141
2017-03-14 00:52:01 -07:00
Selvaraj, Sridhar
c7d808965f qcacld-3.0: Send proper reason code to Supplicant on beacon miss event
qcacld-2.0 to qcacld-3.0 propagation

Once the beacon miss event is received in driver, sta cleanup
happens and sends deauth reason code as 505 which is internal
value to driver(eSIR_SME_LOST_LINK_WITH_PEER_RESULT_CODE).

Send reason code as zero to Supplicant for Beacon miss kickout.
Cleanup the similar handling in csr_api_roam as it is redundant.

Change-Id: I6df97e05ac20f285646df3d5fe73800138a18d89
CRs-Fixed: 1025871
2017-03-14 00:52:00 -07:00
Sandeep Puligilla
3580ba0355 Release 5.2.0.14U
Release 5.2.0.14U

Change-Id: I0a76107f95b150f968fe57928586acd85e892088
CRs-Fixed: 688141
2017-03-14 00:13:32 -07:00
Selvaraj, Sridhar
046d77d673 qcacld-3.0: Add support to use generic netlink sockets for userspace apps
Currently user space communication functions[cnss diag, PTT socket app]
in host driver uses netlink user sockets which is a security concern from
Linux Android SE policies.

Add support for to use netlink family cld80211 which uses generic
netlink sockets.

Change-Id: I4ea49ac6d7c9381212c93567fdc40f90e04dfba4
CRs-Fixed: 1112784
2017-03-14 00:13:31 -07:00
Sandeep Puligilla
932f73b976 Release 5.2.0.14T
Release 5.2.0.14T

Change-Id: I4f21a8602879ff24868bff8d43d48184f017ed32
CRs-Fixed: 688141
2017-03-13 18:58:08 -07:00
Arif Hussain
6cec6bc14a qcacld-3.0: Fix supported operating classes IE order in assoc request
Strip supported operating classes IE from additional IE’s sent by user
and update the same to rearrange along with other IE’s in ascending
order.

Change-Id: I198e8e3aa8e0f977d916d7f3a6fc0e5951032769
CRs-Fixed: 2006920
2017-03-13 18:58:08 -07:00
Sandeep Puligilla
524c80fbd6 Release 5.2.0.14S
Release 5.2.0.14S

Change-Id: I833827a3aae814e30d7771c98c86e576eb2caffd
CRs-Fixed: 688141
2017-03-13 15:19:28 -07:00
Dustin Brown
a13cf0d2b5 qcacld-3.0: Change default value of gFwDebugModuleLogLevel
Update the default value of gFwDebugModuleLogLevel as per the request
of the firmware team.

Change-Id: I7d0c45689b962d39c5f9371a10f6da690129de99
CRs-Fixed: 2013439
2017-03-13 15:19:27 -07:00
Sandeep Puligilla
bc9f2b423a Release 5.2.0.14R
Release 5.2.0.14R

Change-Id: I9c3c435f0a63257ca02c5fb44b9c5ba6c3d8f911
CRs-Fixed: 688141
2017-03-13 14:41:01 -07:00
Dustin Brown
13995f0efc qcacld-3.0: Add gActiveBpfMode ini item
Active Mode Berkeley Packet Filter (Active BPF) is a new feature that
allows firmware to apply BPF even while the Apps processor is active.
There are 3 modes:
 * Disabled: do not apply BPF in active mode
 * Enabled: apply BPF to all packets in active mode
 * Adaptive: apply BPF up to some threshold to avoid performance impact

Add an ini item called gActiveBpfMode to configure the Active BPF Mode
in firmware.

Change-Id: I6cf60d67238802fe1e1662c040910091f5c25bec
CRs-Fixed: 1111400
2017-03-13 14:41:00 -07:00
Sandeep Puligilla
a2743b2c4b Release 5.2.0.14Q
Release 5.2.0.14Q

Change-Id: I2ed0bbfdfc665669bd18e5ab580ae0e318c973c7
CRs-Fixed: 688141
2017-03-13 14:01:56 -07:00
Dhanashri Atre
09828f1c91 qcacld-3.0: Hash based rx steering
This change includes adding hooks in the data path to
send WMI command to enable LRO or/and configure a hash
seed value

Change-Id: I3f068307f7669c4ff8baa5102e9fb7729d4a348d
CRs-Fixed: 1094775
2017-03-13 14:01:55 -07:00
Sandeep Puligilla
b007e53b91 Release 5.2.0.14P
Release 5.2.0.14P

Change-Id: Ia01316a8f96d9d4d95461a88be9960ed0f387f90
CRs-Fixed: 688141
2017-03-13 11:12:21 -07:00
Varun Reddy Yeturu
c13305eeac qcacld-3.0: Do not take a reference to bss when disconnect is deferred
Propagation from cld3.0-1.1 to cld3.0-2.0

Do not indicate the roam event to user space if disconnect is
deferred, since it will soon be honored and a disconnect event
will be sent to the user space. Do not reference the kernel bss
data as well when disconnect is in progress.

Change-Id: I0b76a2af021efe0e1c8693c4e5908ed576770813
CRs-Fixed: 2017409
2017-03-13 09:53:00 -07:00
Sandeep Puligilla
0a184ecb2c Release 5.2.0.14O
Release 5.2.0.14O

Change-Id: Ibf029a419887ee0a54035b671896a21962cbe881
CRs-Fixed: 688141
2017-03-13 08:30:08 -07:00
Nitesh Shah
9a66f94f30 qcacld-3.0: Remove updating fw tdls state while deleting tdls sta
FW TDLS state supports single TDLS context. TDLS context in FW
does not need to be deleted while deleting TDLS sta in the host.
If FW TDLS state update comes for one vdev while TDLS context
is already present for other vdev, then FW will crash.

The change is to remove updating FW TDLS state while deleting
TDLS sta. This change also address cleaning up TDLS peer from
lim while informing to supplicant.

Change-Id: I300388def5052180d330cc82553085538e80202e
CRs-Fixed: 2013151
2017-03-13 17:42:42 +05:30
Sandeep Puligilla
d62b957d30 Release 5.2.0.14N
Release 5.2.0.14N

Change-Id: I4b860b5d121c8bf711d5a398897ba7d834370832
CRs-Fixed: 688141
2017-03-13 04:39:14 -07:00
Kapil Gupta
43c2f997ea qcacld-3.0: Correct API for acs channel range validation
qcacld-2.0 to qcacld-3.0 propagation

Add changes to correct the function to check for acs channel range.

CRs-Fixed: 1117328
Change-Id: Ie0a53c2f5ee26552d36da0e6c4dcda124abc71a7
2017-03-13 04:39:13 -07:00
Sandeep Puligilla
da06d74dc5 Release 5.2.0.14M
Release 5.2.0.14M

Change-Id: I865b3c8530ec1efc7cf9ddfffe73bb88456879b3
CRs-Fixed: 688141
2017-03-13 00:37:08 -07:00
Hong Shi
b707b05cc0 qcacld-3.0: Fix compilation error when TDLS macro disabled
Currently, 3 non-tdls ini config options are wrongly merged inside
TDLS macro when auto propagation from CLD2.0 to CLD3.0. Move the ini
configs outside of TDLS macro.

Change-Id: I1ee784519c2197b4dc3f0119fb3a9f379fe7288b
CRs-Fixed: 2016679
2017-03-13 00:37:07 -07:00
Liangwei Dong
35bded49b3 qcacld-3.0: Fix peer invalid free issue
qcacld-2.0 to qcacld-3.0 propagation

tx_msdu_info.peer should be reset to NULL for
each MSDU. Each MSDU will be classified by
ol_tx_classify to get peer.

Change-Id: I68fe619435a6edfdd82fa083ad9cb81251705ad5
CRs-Fixed: 1109984
2017-03-13 00:37:04 -07:00
Sandeep Puligilla
e27c81a9cb Release 5.2.0.14L
Release 5.2.0.14L

Change-Id: I93590506d718388c058c45b5ae6f0cfcb7584198
CRs-Fixed: 688141
2017-03-12 21:40:19 -07:00
Kiran Kumar Lokere
35fb524572 qcacld-3.0: Enable channel bonding only in 11n or 11ac mode
Enable channel bonding only if the dot11 mode is 11n or 11ac

Change-Id: Ic0afdb8ed7c36838725fd63730fca0310d5a731f
CRs-Fixed: 2018363
2017-03-12 21:40:19 -07:00
Varun Reddy Yeturu
a578414c8a qcacld-3.0: Handle disconnect requests during LFR3 roaming
Propagation from cld3.0-1.1 to cld3.0-2.0

Upper layer can send cfg80211 disconnect command anytime in the life
of a connection. It arrive when firmware roaming may have started,
completed, failed, etc. Processing of roam events may collide with
processing of disconnect command in the host driver.

Defer the hdd disconnect command if roaming has started. Upon completing
roaming send the deferred disconnect command to sme which will
eventually complete the requested disconnect.

If disconnect is deferred during roaming, then do not send the
new roam event to supplicant since it is not expected and upon
honoring the disconnect later, a disconnect event would be
sent to supplicant.

Remove the earlier workaround done to send a try again error message
to upper layers upon receiving a disconnect request when roaming
is in progress

Firmware can now handle the ROAM_SCAN_OFFLOAD_STOP command even
if it is in the middle of roaming operation. Hence remove this
check in SME.

Add LFR3 roaming state to the cds_is_connection_in_progress API since
it currently captures only LFR2 roaming states.

Change-Id: Id352d94b41f0766889ceebd0b57b2c566ce3ca42
CRs-Fixed: 1114853
2017-03-12 21:40:17 -07:00
Sandeep Puligilla
426bd9eda3 Release 5.2.0.14K
Release 5.2.0.14K

Change-Id: I7be8bdeb135f5398a80506a272b9be60590a2867
CRs-Fixed: 688141
2017-03-11 23:21:24 -08:00
Nitesh Shah
77442574ca qcacld-3.0: Allow burst scan when SAP is on DFS channel
When SAP comes up on DFS channel, then scan windows scans
only limited APs since NL scan cache will be flushed every
7 secs and scan results shall be read by the wpa_supplicant
only after the scan done indication.

The change is to allow burst scan when SAP is on DFS channel.

Change-Id: Ia1458cf4f4f868f2d0c36b2679118016fd966528
CRs-Fixed: 2017252
2017-03-11 23:21:23 -08:00
Sandeep Puligilla
b551b434ef Release 5.2.0.14J
Release 5.2.0.14J

Change-Id: Iafd8d5708f040b908d1263d097ba70c1e8cf70e0
CRs-Fixed: 688141
2017-03-11 12:11:03 -08:00
Abhishek Singh
e6857812fe qcacld-3.0: Fix for ROC cmd timeout issue with new scan module
When converged scan is enabled all the scan commands are queued to
serialization module from scan module and use struct
scan_start_request pointing to umac_cmd pointer.

Due to this if there is already an scan req going on and ROC is
queued driver fails to find ROC request in csr_get_active_scan_entry()
as the CSR try to interpret umac_cmd pointer as tSmeCmd.
And thus sometime ROC cmd times out.

Fix this by interpreting umac_cmd as struct scan_start_request for
scan cmd instead of tSmeCmd.

Change-Id: I6674a54b60d28d799188261b1e56b0c657c1ac19
CRs-Fixed: 2013212
2017-03-11 12:11:02 -08:00
Sandeep Puligilla
a330c8cd93 qcacld-3.0: Legacy scan for ssid support
Update Legacy scan for ssid code according to
new scan common module.

Change-Id: Ieb20c84c56f91b32a0b2c6381ad0f19c363df34d
CRs-Fixed: 2013212
2017-03-11 12:11:00 -08:00
Sandeep Puligilla
82f6497a54 Release 5.2.0.14I
Release 5.2.0.14I

Change-Id: Ibd37a37819c6722b0a2d6d79720c35a4d66e5dcd
CRs-Fixed: 688141
2017-03-11 00:52:30 -08:00
Dustin Brown
0a4cfeb33d qcacld-3.0: Enhance gEnableSifsBurst for legacy mode
Enhance gEnableSifsBurst to support legacy mode for 11n certification
	0 - disabled
	1 - enabled, but disabled for legacy mode
	3 - enabled

propagation from qcacld-2.0

Change-Id: Ia0a21cec25ce46b3ef2ed0ee8d4e4682558da468
CRs-Fixed: 2018162
2017-03-11 00:52:29 -08:00
Sandeep Puligilla
2b16fc1dd3 Release 5.2.0.14H
Release 5.2.0.14H

Change-Id: Ibd4e621878f2de8f075cb958431267561ae3284a
CRs-Fixed: 688141
2017-03-10 20:27:06 -08:00
Sandeep Puligilla
e663c5cefa Release 5.2.0.14G
Release 5.2.0.14G

Change-Id: Ie4606e085cb1a5666a93c9002b22dd82dd6bfa11
CRs-Fixed: 688141
2017-03-10 18:30:58 -08:00
Nitesh Shah
41896ab13c qcacld-3.0: Remove 160 MHz support hardcoded from STA Assoc Req
This change is to remove the hardcoded 160 MHz support in STA
Assoc Request in VHT Capabilities IE.

Change-Id: I1ddbea312348c115a1a891fbc2dfde4e2790a79f
CRs-Fixed: 2017691
2017-03-10 18:30:58 -08:00