Commit Graph

4559 Commits

Author SHA1 Message Date
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
Dhanashri Atre
2f507a7d5a qcacld-3.0: Enable Hash Based RX Steering
Enable Hash Based RX Steering on Lithium (Napier).

Change-Id: I9dcc5ff0fb3342ac29b0af1f7ff2748f7b4c9b50
CRs-Fixed: 2022770
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
Ravi Joshi
12665a02c8 qcacld-3.0: Enable monitor mode support in datapath
Enable monitor mode support in lithium datapath.

Change-Id: I9069b69bda269e019841c2c34c4e2d1be235fb18
CRs-Fixed: 1113187
2017-03-29 12:29:11 -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
Sandeep Puligilla
41309fa8c4 Release 5.2.0.18E
Release 5.2.0.18E

Change-Id: I2a82cf4de21cf7ed959b05a39678340d4eb2b737
CRs-Fixed: 774533
2017-03-29 12:28:59 -07:00
Dustin Brown
cd60132141 qcacld-3.0: Disallow crash recovery in FTM mode
FTM mode is purely a testing mode. As such, crashes in firmware should
not be gracefully handled. Instead, crash the system to produce a crash
dump to aid in the debugging process.

Change-Id: Ie4098b02be39a25c00f839566d35456bad5834d6
CRs-Fixed: 2025877
2017-03-29 12:28:58 -07:00
Sandeep Puligilla
437b0f7fa9 Release 5.2.0.18D
Release 5.2.0.18D

Change-Id: If39c4f49f6988540daa3f0094e29a6e60806ce4e
CRs-Fixed: 774533
2017-03-29 12:28:56 -07:00
Krishna Kumaar Natarajan
f30de90329 qcacld-3.0: [11AX] Relocate kernel doc to header files in HDD
Relocate 11ax related functions' kernel doc from c files to
header files in HDD to be inline with kernel specification.

Change-Id: Ib911f029414386c4a7b00cbd526886fb50853be2
CRs-Fixed: 1073481
2017-03-29 12:28:54 -07:00
Krishna Kumaar Natarajan
f86c6edc80 qcacld-3.0: Extend channel bonding to 11ax dot11mode
Extend channel bonding to 11ax dot11mode. Currently channel bonding
is enabled only for 11n and 11ac, extend this to support 11ax as well.

Change-Id: I45cd733962b71ac05c1c8839593edbecec76b0a9
CRs-Fixed: 2025238
2017-03-29 12:28:52 -07:00
bings
d09dea36af qcacld-3.0: Fix vendor command setband failure
QCA_NL80211_VENDOR_SUBCMD_SETBAND does not work because
vendor_id is missed.

Add vendor_id for QCA_NL80211_VENDOR_SUBCMD_SETBAND.

Change-Id: Ide61bc28fe5f555f9e55bd05be19ac86a5777eb5
CRs-Fixed: 2021204
2017-03-29 12:28:50 -07:00
Sandeep Puligilla
67866be8b1 Release 5.2.0.18C
Release 5.2.0.18C

Change-Id: Idca6a1be3d8d2068ecd2bcbe8f260747eb8e56a0
CRs-Fixed: 774533
2017-03-29 12:28:49 -07:00
Sandeep Puligilla
432108d259 Release 5.2.0.18B
Release 5.2.0.18B

Change-Id: I9e9eff5ecdff70697649af3d58173c823e52d70c
CRs-Fixed: 774533
2017-03-29 12:28:48 -07:00
Rajeev Kumar
86177c2c77 qcacld-3.0: Fix race condition between external threads and module stop
External threads and interface change timer are racing against each other
leading to various side effects. Fix the race condition between external
threads and interface change timer by leveraging existing ssr/driver
unload protection mechanism for module stop.

Change-Id: Ic3d6d516161afee1dd65abb8f1eafe160bea54ff
CRs-Fixed: 2021483
2017-03-29 12:28:46 -07:00
Sandeep Puligilla
541d2b8fb6 Release 5.2.0.18A
Release 5.2.0.18A

Change-Id: Idcda85ed2178892b2a17e26d71e04383de473881
CRs-Fixed: 774533
2017-03-29 12:28:44 -07:00
Dustin Brown
ab1364a5ca qcacld-3.0: Add gL1ssSleepAllowed
Add an ini item for configuring when PCIe L1ss Sleep is allowed.

Change-Id: I49eddbf7a91678753524a1b623765b5622f85520
CRs-Fixed: 2025363
2017-03-29 12:28:41 -07:00
Sandeep Puligilla
2cd3262f20 Release 5.2.0.18
Release 5.2.0.18

Change-Id: I4d925d58aee9c29476f5c82b640895d361f5e412
CRs-Fixed: 774533
2017-03-29 12:28:39 -07:00
Dustin Brown
0d2eeaeb87 qcacld-3.0: Do objmgr vdev destroy before sme close session
Converged host driver code listens for a vdev_destroy event from
object manager to release vdev related resources. Currently, vdevs
are destroyed in firmware before they are destroyed by object manager,
leading to a possible use-after-free situation in firmware. Reverse
the order of vdev destroy, first in object manger, then in firmware,
to prevent the potential use-after-free.

Change-Id: I54bbede9732cecb3bec291692f452758976184c4
CRs-Fixed: 2024633
2017-03-29 12:28:38 -07:00
Dustin Brown
7d043f6fec qcacld-3.0: Rename HDD objmgr wrappers
Rename the HDD object manager wrapper functions to better reflect their
relevance to object manager.

Change-Id: Ic12cd192096c9fd89dd19568edfaac72001cd965
CRs-Fixed: 2025251
2017-03-29 12:28:36 -07:00
Sandeep Puligilla
65e86e5a2a Release 5.2.0.17Z
Release 5.2.0.17Z

Change-Id: I8eb457d8d8c65653d1ee1acd54e0813757379b06
CRs-Fixed: 688141
2017-03-28 13:01:25 -07:00
Wu Gao
84d120c6e2 qcacld-3.0: Not register vendor specific public action frame
Since converged P2P component supports rx vendor specific public
action frame, not register in hdd layer again.

Change-Id: Ic0aaecffbffeb61ff4413d46c58a97c2bfb4ea84
CRs-Fixed: 2024394
2017-03-28 13:01:22 -07:00
Sandeep Puligilla
d8195f9028 Release 5.2.0.17Y
Release 5.2.0.17Y

Change-Id: If3220698972d25a446549206edb3fd0c3ea27988
CRs-Fixed: 688141
2017-03-28 13:01:20 -07:00
Kiran Kumar Lokere
3fbafbcdcc qcacld-3.0: Regulatory componentization support changes
Add Regulatory component support changes

Change-Id: Id9521810a29073e0a5586bd75441f4decd57bdfc
CRs-Fixed: 2008013
2017-03-28 13:01:17 -07:00
Sandeep Puligilla
b86749c41b Release 5.2.0.17X
Release 5.2.0.17X

Change-Id: I6c9a041328030cd5dd3597fd6493e6cf9317664f
CRs-Fixed: 688141
2017-03-28 13:01:14 -07:00
Himanshu Agarwal
f8f43a7956 qcacld-3.0: Free memory and destroy spinlock in failure cond
Free memory allocated in ol_tx_desc_dup_detect_init() and spinlock
created in ol_txrx_pdev_post_attach() in case of failure condiiton.

Change-Id: I7e3909622e5b63af2d20c2c8cc0a8cc4350e4085
CRs-Fixed: 2024377
2017-03-28 13:01:11 -07:00
Ashish Kumar Dhanotiya
9298a8ec8c qcacld-3.0: Check unsafe channel on bss start
qcacld-2.0 to qcacld-3.0 propagation.

There is a race condition, LTE channel avoidance indication is received
while BSS is starting, thus BSS is starting on the unsafe channel and
driver is not honoring the unsafe channel list given by LTE
coex event.

Always check current operating channel with unsafe channel list on
SAP start.

Change-Id: Ieda6fd4c6fa61fd45d340a850d61a6954d2a67a9
CRs-Fixed: 1106969
2017-03-28 13:01:08 -07:00
Sandeep Puligilla
7dc801d033 Release 5.2.0.17W
Release 5.2.0.17W

Change-Id: Ie89e91e7f9d22751bef71bd3cc31c36c16bad01b
CRs-Fixed: 688141
2017-03-28 13:01:07 -07:00
Sandeep Puligilla
2210eb1465 Release 5.2.0.17V
Release 5.2.0.17V

Change-Id: Ia419b61bce6e8d26b3c21bb66060f06bd434d285
CRs-Fixed: 688141
2017-03-28 13:01:05 -07:00
Mukul Sharma
6411bb8535 qcacld-3.0: Add vdev pause bitmap (Set/Clear/Update/Get) API's
Currently, Host modify the vdev pause bitmap
directly which may be problematic in scenario
where this value update information need to
notify to other components.

Hence as a part of this fix, Add (set/clear/update) API's
for vdev pause bitmap modification.

Change-Id: I5c8d6576d27076f697463b42632962327306902f
CRs-Fixed: 2013376
2017-03-28 13:01:01 -07:00
Sandeep Puligilla
c4c53bf232 Release 5.2.0.17U
Release 5.2.0.17U

Change-Id: I2da5e705af527b4e9b07abb78c37d7bf885f3406
CRs-Fixed: 688141
2017-03-28 13:00:59 -07:00
Will Huang
55ba104911 qcacld-3.0: Avoid dead loop in sap_process_avoid_ie
qcacld-2.0 to qcacld-3.0 propagation

In function sap_process_avoid_ie, if type of avoid_ch_ie is not
QCOM_VENDOR_IE_MCC_AVOID_CH, we need to get next node(scan result)
for process. Otherwise the dead loop causes VosMcThread stuck.

Change-Id: If0e736c5b8a5638ea2bc96c3afb25be286959942
CRs-Fixed: 2019048
2017-03-28 13:00:57 -07:00
Sandeep Puligilla
7e3dac7e00 Release 5.2.0.17T
Release 5.2.0.17T

Change-Id: I811c58e11ef3403f22b73dcbc659fa83e0f7e4cc
CRs-Fixed: 688141
2017-03-28 13:00:54 -07:00