Commit Graph

4114 Commits

Author SHA1 Message Date
Yue Ma
b14663f00a qcacld-3.0: Fix compilation errors for runtime PM feature
Fix compilation errors in order to enable to compile runtime PM
feature.

Change-Id: Ie15fa5ae1ef06c27658e5b38af0e832076e3d920
CRs-fixed: 2023358
2017-03-31 21:18:11 -07:00
Sandeep Puligilla
4710ac391e Release 5.2.0.18S
Release 5.2.0.18S

Change-Id: I7ec4320ca5926737b6f9a50bf76c440c7b30bc8d
CRs-Fixed: 774533
2017-03-31 20:39:41 -07:00
Archana Ramachandran
c1a03a099f qcacld-3.0: Fix incorrect TX status reported to supplicant for p2p action frames
During p2p negotiation/invitation if the TX status for the actions frames
are reported success when they actually failed, the supplicant will
not retransmit the failed frames. It will move on to the next action
frame in the protocol. This would lead to GO Negotiation failure.

CRs-Fixed: 1112657
Change-Id: I9b462524793d8ced5ae86de75e085458070e6513
2017-03-31 20:39:40 -07:00
Sandeep Puligilla
547824cf71 Release 5.2.0.18R
Release 5.2.0.18R

Change-Id: I32fc6ae9565321fe1a3c7e5c4d753c4e57abe12f
CRs-Fixed: 774533
2017-03-31 16:07:58 -07:00
Krishna Kumaar Natarajan
fa482f5e8b qcacld-3.0: Update correct check while unpacking PPE threshold
Update correct check while unpacking PPE threshold. Incorrect
placement of parentheses may lead to unexpected behavor.

Change-Id: If1af2ab7a0601e4a25183cb8fbaf0dfd99e9bf58
CRs-Fixed: 1073481
2017-03-31 16:07:57 -07:00
Krishna Kumaar Natarajan
b3a8f6289e qcacld-3.0: Update HE ops correctly in vdev start request
Update HE ops correctly in vdev start request. Currently the update
is done in a local copy and is not updating the vdev start request.
Fix is to copy the local he ops value into vdev start request.

Change-Id: Ife5b40a8df3d6a47c2f170efdb7aae009bb8be95
CRs-Fixed: 1073481
2017-03-31 16:07:55 -07:00
Sandeep Puligilla
9a6e885a1b Release 5.2.0.18Q
Release 5.2.0.18Q

Change-Id: Ia1a60977dfec225bdebd6c31b7c3d323095dcea9
CRs-Fixed: 774533
2017-03-31 10:01:58 -07:00
Himanshu Agarwal
df9c8ac2d7 qcacld-3.0: Decrement peer ref cnt incremented while getting peer
Decrement the peer ref cnt incremented while getting peer through
wlan_objmgr_get_peer() to pass it to wlan_mgmt_txrx_mgmt_frame_tx().

Change-Id: I2791075d63610d76fa1c70d3efe76df2b2618b01
CRs-Fixed: 2025052
2017-03-31 10:01:57 -07:00
Sandeep Puligilla
8e1bae1852 Release 5.2.0.18P
Release 5.2.0.18P

Change-Id: I7cb1d6884c2d6051bdd371827f6d010e2015d7b0
CRs-Fixed: 774533
2017-03-31 05:16:05 -07:00
Nitesh Shah
0bf768fe16 qcacld-3.0: Unlock tdls mutex properly in few instances
TDLS mutex is not unlocked properly in few error instances.
Thus, the thread gets stuck.

The fix is to unlock mutex properly before returning.

Change-Id: Ic16015e568dd91af17b3bb1ba9b19722cb0f82d9
CRs-Fixed: 2026737
2017-03-31 15:33:38 +05:30
Sandeep Puligilla
696f16eaba Release 5.2.0.18O
Release 5.2.0.18O

Change-Id: I2325422739ff4dc8b6d101d5a5de4fd97d8b58d4
CRs-Fixed: 774533
2017-03-30 16:27:05 -07:00
Archana Ramachandran
62886cea31 qcacld-3.0: Update fixes in restructured legacy code for policy manager
Update fixes in restructured legacy code for policy manager:
1.Handle disconnect requests during LFR3 roaming

CRs-Fixed: 2009818
Change-Id: I2d9cbe0478090d56f22447478b33ca0de22f47c4
2017-03-30 16:27:04 -07:00
Archana Ramachandran
2eb7a61aeb qcacld-3.0: Register legacy callbacks with Policy Manager part 2
Register legacy callbacks with Policy Manager part 2.

Change-Id: Ia2d2999d75866bf1f9ca5984ae49cbbe7c5a3192
CRs-Fixed: 2009818
2017-03-30 16:27:02 -07:00
Tushnim Bhattacharyya
7e546692f3 qcacld-3.0: Add 2x2 chain configuration in policy manager
Add 2x2 chain configuration in policy manager that is coming from
user space.

Change-Id: I0cdb7e45b7fea508a3f2f933798435311397d664
CRs-Fixed: 2009818
2017-03-30 16:27:00 -07:00
Tushnim Bhattacharyya
9fb2e42e0b qcacld-3.0: Add a HDD callback to get the type of adapter
Add a HDD callback to get the type of a non connected vdev
needed by policy manager.

Change-Id: I9e0666217f7f4fef3d754534a83295f5e47b0ab9
CRs-Fixed: 2009818
2017-03-30 16:26:58 -07:00
Tushnim Bhattacharyya
ba8ee932ba qcacld-3.0: Set user configurations to policy manager
Set user configurations to policy manager.

Change-Id: I8fb2a80464c4fdd014be475a5ffffdc5a2bbd61f
CRs-Fixed: 2009818
2017-03-30 16:26:55 -07:00
Archana Ramachandran
ea34c4fb2c qcacld-3.0: Implement HDD callbacks for Policy Manager
Implement HDD callbacks for Policy Manager

Change-Id: I6ff6d194c09d0301c606b218740a6bf7152e0752
CRs-Fixed: 2019994
2017-03-30 16:26:53 -07:00
Archana Ramachandran
b8c04f9bb6 qcacld-3.0: Moving back non policy manager functionality to HDD
Functionality to send the P2P QUOTA and MCC LATENCY values to FW
is moved back to HDD since the policy manager is not using them.

Change-Id: Ia084035a27056dab6ed8d66cab2687c2f697fb4c
CRs-Fixed: 2019994
2017-03-30 16:26:50 -07:00
Tushnim Bhattacharyya
0669771031 qcacld-3.0: HDD TDLS change for policy manager restructuring
Move back TDLS logic from policy manager to HDD-TDLS.

Change-Id: Id163c7c6876fff4de1adb34d8e29c108a816c6ae
CRs-Fixed: 2009818
2017-03-30 16:26:48 -07:00
Tushnim Bhattacharyya
9104963b0d qcacld-3.0: Register legacy callbacks with Policy Manager
Register legacy callbacks with Policy Manager.

Change-Id: I8cb60890ba41f8735f342cf20916dc53d268d609
CRs-Fixed: 2009818
2017-03-30 16:26:46 -07:00
Tushnim Bhattacharyya
45ed04f74c qcacld-3.0: Add correct header files in legacy code
After removing legacy policy manager header file had to add
correct header files from host common to allow the compilation
to happen successfully.

Change-Id: I566b8f09776520e8a43eb48cc944ce627dc0c5cf
CRs-Fixed: 2009818
2017-03-30 16:26:43 -07:00
Tushnim Bhattacharyya
ff6260d114 qcacld-3.0: Remove reference to legacy policy manager API
Remove reference to legacy policy manager API to cope with
the policy manager moving to host common.

Change-Id: I5d2d4f497b02a4c701cd83e319d533c328be48cd
CRs-Fixed: 2009818
2017-03-30 16:26:41 -07:00
Tushnim Bhattacharyya
51258a79c2 qcacld-3.0: change wma code for policy manager restructuring
Modify wma code to cope with the policy manager moving to host
common.

Change-Id: Ie75b3da1291fcf1126a9e269f7b3b7974f9992a1
CRs-Fixed: 2009818
2017-03-30 16:26:39 -07:00
Tushnim Bhattacharyya
12b4874f33 qcacld-3.0: Replace policy manager header file included in data path
Replace policy manager header file include as part of policy manager
moving to host common.

Change-Id: Ie1f9d6675cc373c3325c9e76514f48299932cdda
CRs-Fixed: 2009818
2017-03-30 16:26:36 -07:00
Tushnim Bhattacharyya
e2ee70a6b6 qcacld-3.0: Remove legacy code for policy manager restructuring
Remove legacy policy manager code as part of policy manager moving to host
common.

Change-Id: I6cb9fe12bee3702556c9b52e7ccb7c69c762d8de
CRs-Fixed: 2009818
2017-03-30 16:26:34 -07:00
Tushnim Bhattacharyya
0c4ad2d08a qcacld-3.0: change sme code for policy manager restructuring
Modify sme code to cope with the policy manager moving to host
common.

Change-Id: I3a78736ea63f5e79644a9e0a3db790a1fcd286bd
CRs-Fixed: 2009818
2017-03-30 16:26:32 -07:00
Tushnim Bhattacharyya
66348bd6ba qcacld-3.0: change mac for policy manager restructuring
Modify mac code to cope with the policy manager moving to host
common.

Change-Id: I2fa5f7ed1a597b4fa5cea6aa87f5ed9f849a1cd7
CRs-Fixed: 2009818
2017-03-30 16:26:29 -07:00
Tushnim Bhattacharyya
de1070d516 qcacld-3.0: HDD change for policy manager restructuring part 3
Modify HDD code to cope with the policy manager moving to host
common.

Change-Id: I21fe97b9ba924ede1040a4bcc56313f1101b59f2
CRs-Fixed: 2009818
2017-03-30 16:26:27 -07:00
Tushnim Bhattacharyya
9028cc7246 qcacld-3.0: HDD change for policy manager restructuring part 2
Modify HDD code to cope with the policy manager moving to host
common.

Change-Id: I9f15fad9edba92aa95a062fe187b084de8e0d419
CRs-Fixed: 2009818
2017-03-30 16:26:25 -07:00
Tushnim Bhattacharyya
8716158e35 qcacld-3.0: HDD change for policy manager restructuring part 1
Modify HDD code to cope with the policy manager moving to host
common.

CRs-Fixed: 2009818
Change-Id: I6972216f56abdaa28c012449926f640074d4acb5
2017-03-30 16:26:23 -07:00
Tushnim Bhattacharyya
9e81b4ca94 qcacld-3.0: legacy code change for policy manager restructuring
Modify legacy code to cope with the policy manager moving to host
common

CRs-Fixed: 2009818
Change-Id: Ifa27ecdf1e37eda6f929f89da603bc356e9cb7fd
2017-03-30 16:26:20 -07:00
Sandeep Puligilla
96dcf134ee Release 5.2.0.18N
Release 5.2.0.18N

Change-Id: I10c468efd3db0279c928f38f4a0e6f801770539d
CRs-Fixed: 774533
2017-03-30 15:39:10 -07:00
Sandeep Puligilla
b90da5b913 Release 5.2.0.18M
Release 5.2.0.18M

Change-Id: Ida6d5cab7a81c95d2a3253ba7c149884d8a786a9
CRs-Fixed: 774533
2017-03-30 13:37:30 -07:00
Jeff Johnson
ae6bb80915 qcacld-3.0: Use published methods to reset pdev ospriv
Currently hdd_release_and_destroy_pdev() retrieves and resets the
pdev's ospriv data pointer by directly dereferencing the pdev
object. This is not the correct object-oriented approach. Instead of
dereferencing the object, invoke the wlan_pdev_get_ospriv() and
wlan_pdev_reset_ospriv() methods that exists for this purpose.

Change-Id: I71a5d090648b76261d863a0b0168a83cdf9911b3
CRs-Fixed: 2024022
2017-03-30 13:37:29 -07:00
Jeff Johnson
39d8d33efc qcacld-3.0: Use published method to reset vdev ospriv
Currently hdd_release_and_destroy_vdev() resets the vdev's ospriv data
pointer by directly dereferencing the vdev object. This is not the
correct object-oriented approach. Instead of dereferencing the object,
invoke the wlan_vdev_reset_ospriv() method that exists for this
purpose.

Change-Id: I68a504b022933a47276d5c76c079472e8d3a6402
CRs-Fixed: 2024020
2017-03-30 13:37:27 -07:00
Sandeep Puligilla
889cf3c12b Release 5.2.0.18L
Release 5.2.0.18L

Change-Id: I83ea60b627c019abef95b7ec1e22cbba7600f9af
CRs-Fixed: 774533
2017-03-30 12:09:58 -07:00
Rajeev Kumar
512f48af6a qcacld-3.0: Fix wrong multiplication to iface change timer
Interface change timer is wrongly multiplied by 50000 leading
to very large timeout value and FW getting stuck in ON state
even if there is no active interface and leading to battery drain.

Fix the battery drain issue by removing the wrong multiplication.

Change-Id: Icc23bc6c666c2e474c17c9a5175ca54721861e0d
CRs-Fixed: 2017489
2017-03-30 12:09:57 -07:00
Sandeep Puligilla
23162cb100 Release 5.2.0.18K
Release 5.2.0.18K

Change-Id: I4c3563f5a2a7301d99f2a323f10216917b3f8a37
CRs-Fixed: 774533
2017-03-29 18:12:54 -07:00
Wu Gao
9a704f4540 qcacld-3.0: Enable p2p component of umac convergence
This is a change to enable P2P component of umac convergence.

Change-Id: I583d64af4451777dfb7656ed8fdb9fddb33f2932
CRs-Fixed: 2006267
2017-03-29 18:12:53 -07:00
Sandeep Puligilla
20b7fa553b Release 5.2.0.18J
Release 5.2.0.18J

Change-Id: Iae715c06d8a03983ab75f74bff3f826ae3e37f9b
CRs-Fixed: 774533
2017-03-29 12:29:30 -07:00
Sreelakshmi Konamki
ded64d7209 qcacld-3.0: Add INI/IOCTL template for 11k feature
Add INI and IOCTL template for 11k feature for documentation

Change-Id: If69ff7a7ecf1b9d69daaba1a4297ce8d44cd258a
CRs-Fixed: 2002124
2017-03-29 12:29:27 -07:00
Sreelakshmi Konamki
6d478cd5cf qcacld-3.0: Drop mgmt frames if no.of RX mgmt packets reaches to threshold
This change includes to drop RX mgmt packets before sending to MC thread
context based on below conditions

1) Print an warn message when no.of pending RX packets reaches to
   1/4th of threshold
2) Drop probe req, probe resp and beacon frames when
   no.of pending RX packets reaches to 1/2 of threshold
3) Drop all the RX management packets when no.of pending RX packets
   equals to threshold

Add a counter to maintain no.of pending management packets in queue
and MGMT_RX_PACKETS_THRESHOLD for threshold value

Change-Id: I9428a1a054f717a285378dbe95592ba0c5c569e6
CRs-Fixed: 2011645
2017-03-29 12:29:25 -07:00
Sandeep Puligilla
3bdd8149e5 Release 5.2.0.18I
Release 5.2.0.18I

Change-Id: If688406361d46104793009b3a62dfc32592c6a22
CRs-Fixed: 774533
2017-03-29 12:29:22 -07:00
Sandeep Puligilla
1fcdb7744b qcacld-3.0: Changes to support converged scan component
Changes to support converged scan component.

Change-Id: Ic91a437bcb0b3b0ca4dd6d4fe86fcc86f24dc15f
CRs-Fixed: 2013212
2017-03-29 12:29:20 -07:00
Sandeep Puligilla
4c1a2327e0 Release 5.2.0.18H
Release 5.2.0.18H

Change-Id: Idd829115e058d5e8e13b9be12b6ccdbddb93db8d
CRs-Fixed: 774533
2017-03-29 12:29:17 -07:00
Ravi Joshi
1c2cfb6135 qcacld-3.0: Add new files for supporting rx monitor mode
Add new files for supporting rx monitor mode on lithium
architecture.

Change-Id: I39ba7495a1a635a01ce349ac4a126737bf36775c
CRs-Fixed: 1113187
2017-03-29 12:29:13 -07:00
Sandeep Puligilla
54fbb4e7a1 Release 5.2.0.18G
Release 5.2.0.18G

Change-Id: I895c01c39dd67f7b616d915f4a32d11e20b8fb76
CRs-Fixed: 774533
2017-03-29 12:29:08 -07:00
Liangwei Dong
cf7fcf0841 qcacld-3.0: Fix AP+AP MCC OBSS scan unreliable
qcacld-2.0 to qcacld-3.0 propagation

AP1 starts on 2.4g, AP2 starts on 5g ht40.
The AP2 is always failed to find the interference
AP during OBSS scan. It is because the cld driver
uses passive scan but the dwell time is set to
active scan's default dwell time 80ms. That is too
short for passive scan.
The fix is to set the dwell time based on scan type.

Change-Id: I687217f7d15f963f0043dab661ae29bb026ba7b5
CRs-Fixed: 1093940
2017-03-29 12:29:06 -07:00
Sandeep Puligilla
ae0d7249d2 Release 5.2.0.18F
Release 5.2.0.18F

Change-Id: I9332d03e3ad5fc118a163afc9adb44e15caf2613
CRs-Fixed: 774533
2017-03-29 12:29:04 -07:00
yeshwanth sriram guntuka
d4b482a14f qcacld-3.0: Fix memory leak in csr_process_set_hw_mode
Memory is not freed in csr_process_set_hw_mode in the
failure case when connection or bt coex is in progress.

Fix is to free memory in failure case.

Change-Id: I6be164c516ce30d5def7b0088c8b62d6409acf6a
CRs-Fixed: 2024748
2017-03-29 12:29:02 -07:00