Commit Graph

4264 Commits

Author SHA1 Message Date
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
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
Krishna Kumaar Natarajan
1cd73ae235 qcacld-3.0: [11AX] Add support to send scan HE capability IE
Add support to send scan HE capability IE for scanning.

Change-Id: I42733362888cff5014fb86db8e441b14ac273327
CRs-Fixed: 1073481
2017-03-28 13:00:52 -07:00
Sandeep Puligilla
88cd5bc159 Release 5.2.0.17S
Release 5.2.0.17S

Change-Id: I627c656b5a2968b62ab0eb0b95c104f52cfdd168
CRs-Fixed: 688141
2017-03-28 13:00:50 -07:00
Yun Park
64c405e933 qcacld-3.0: Fix pending_event queue corruption during driver unload
There is a possible case for pending_event queue corruption during
driver unloading, by using differnt lock between hdd_ipa_wlan_evt()
and hdd_ipa_uc_proc_pending_event().
Fix by using the same ipa_lock for pending_event queue processing.

Change-Id: If01ded0c2f7d1547b33da6401a98b6495811024d
CRs-Fixed: 1110222
2017-03-28 13:00:48 -07:00
Sandeep Puligilla
e7e50640c8 Release 5.2.0.17R
Release 5.2.0.17R

Change-Id: I3f07093ec3163433a634853284d49d83a88ab554
CRs-Fixed: 688141
2017-03-28 13:00:45 -07:00
Nitesh Shah
db5ea0d6db qcacld-3.0: Send Nss 1x1 for HT-STAs if hw is DBS capable
If the device is DBS capable, then it may switch between 2x2 and
1x1 depending on the active session. If the reference device is
non-VHT STA and is HT-STA, then the reference device may not be
able to decode operating mode notification frame. Thus, there can
be IOT issues.

The fix is to associate with non-VHT STA that are HT STA with 1x1
Nss capability.

Change-Id: Ic6c889f18a2e20bbde9e0d8228de65cffa5162b8
CRs-Fixed: 2023200
2017-03-28 13:00:43 -07:00
Sandeep Puligilla
79a901559d Release 5.2.0.17Q
Release 5.2.0.17Q

Change-Id: I7c3c2c182a847e2f0249f0929b522db4c2cd3fd8
CRs-Fixed: 688141
2017-03-28 13:00:41 -07:00
Selvaraj, Sridhar
a6e3ebad43 qcacld-3.0: Ignore LFR3 ROAM SYNCH indication if disconnect in progress
Currently, WMA is not checking whether the south bound disconnect
(deauth/disassoc from AP) is in progress before processing
LFR3 Roam synch indication which leads to FW out of sync with host.

Fix is to ignore LFR3 Roam Synch Indication if south bound disconnect
is in progress in host.

Change-Id: If3c78139cf1d1d0aa0f977bd2cbdca53c7b1a81c
CRs-Fixed: 2019702
2017-03-28 13:00:39 -07:00
Sandeep Puligilla
072e561f35 Release 5.2.0.17P
Release 5.2.0.17P

Change-Id: I9b70380cacc919e2fd54c02c437cca29574e1e70
CRs-Fixed: 688141
2017-03-28 13:00:37 -07:00
Krishna Kumaar Natarajan
6677ed95d7 qcacld-3.0: [11AX] Relocate kernel doc to header files in LIM
Relocate 11ax related functions' kernel doc from .c files to .h files in LIM.

Change-Id: I25a8d65e0e39a953bcfcbeb0647b7eb5f9c10495
CRs-Fixed: 1073481
2017-03-28 13:00:36 -07:00
Krishna Kumaar Natarajan
9a7638f181 qcacld-3.0: [11AX] Relocate kernel doc to header files in WMA
Relocate 11ax related functions' kernel doc from .c files to .h files in WMA.

Change-Id: I38bc95c7f9d8f19e1596803d5fd28113bd504f57
CRs-Fixed: 1073481
2017-03-28 13:00:34 -07:00
Krishna Kumaar Natarajan
150cd011a3 qcacld-3.0: [11AX] Add support to configure range extenstion
Add support to enable or disable range extenstion using
enable_range_ext iwpriv command. get_range_ext iwpriv is used
to check if range extenstion is enabled or not.

Change-Id: I2231ef9641cfa669dd4b1e820a3b7ec00546a9a3
CRs-Fixed: 1073481
2017-03-28 13:00:32 -07:00
Krishna Kumaar Natarajan
1a71ec7115 qcacld-3.0: [11AX] Add support to configure DCM
Add support to enable or disable DCM using enable_dcm
iwpriv command. get_dcm iwpriv is used to check if
DCM is enabled or not.

Change-Id: I9d81bba92d227a238faf2e705132c80c8e91de86
CRs-Fixed: 1073481
2017-03-28 13:00:30 -07:00
Krishna Kumaar Natarajan
a5c5aad943 qcacld-3.0: [11AX] Update shortgi to handle values upto 4
Update shortgi to handle values upto 4. With support
of 802.11ax, short gi value can go upto 4. This change
set will add support to handle that.

Change-Id: Ifb7e6b0b6298995758bf065c6e54d58d5bd65496
CRs-Fixed: 1073481
2017-03-28 13:00:29 -07:00
Krishna Kumaar Natarajan
f1581df779 qcacld-3.0: [11AX] Add support to configure peer rate
Add support for to configure peer rates using set_peer_rate
iwpriv command.

Change-Id: I5181686a155fb7212cbcb89168b1929e00b0d1d1
CRs-Fixed: 1073481
2017-03-28 13:00:27 -07:00
Krishna Kumaar Natarajan
9e5339da1f qcacld-3.0: [11AX] Add support to configure 11ax rate
Add support for to configure 11ax rates using set_11ax_rate
iwpriv command.

Change-Id: I55ab5cc3b51f92ab5c2e347d3b17e392456b90b8
CRs-Fixed: 1073481
2017-03-28 13:00:25 -07:00
Krishna Kumaar Natarajan
f567650ade qcacld-3.0: [11AX] Add support for vendor commands
Add support for vendor commands to query HE capabilities.

Add support to include HE capabilities in wma_handle as received
from FW to be sent to userspace when queried via vendor sub command.

Change-Id: Icbf141bd1e0646346c2b18aabf3dfb3590d853d7
CRs-Fixed: 1073481
2017-03-28 13:00:23 -07:00
Padma, Santhosh Kumar
5b22002a67 qcacld-3.0: Clear roaming_in_progress during disconnect
There is a chance that roaming_in_progress is not reset if
WOW_REASON_AP_ASSOC_LOST is received before roaming abort.

Clear roaming_in_progress during disconnect to fix this.
Also, clear connection_in_progress, defer_disconnect and
disable napi.

Change-Id: I9d7b80d83b423b0d5471ddb1aadc4d181fe76116
CRs-Fixed: 2022412
2017-03-28 13:00:21 -07:00
Sandeep Puligilla
3f3fddd0c8 Release 5.2.0.17O
Release 5.2.0.17O

Change-Id: I9460c67c9f73b7fdface468a74595b8b21e243a2
CRs-Fixed: 688141
2017-03-28 13:00:20 -07:00
Sandeep Puligilla
44a4d1fe44 Release 5.2.0.17N
Release 5.2.0.17N

Change-Id: I5a38a48cf03cbac221f149c7e73f56552be32d10
CRs-Fixed: 688141
2017-03-28 13:00:18 -07:00
Dustin Brown
d28772bde9 qcacld-3.0: Change sme_open_session to take a session Id
Currently, vdev_id and session_id are assumed to be the same, but are
generated in two separate code paths. Unsurprisingly, this leads to a
whole host of desync issues. Instead, modify sme_open_session to take
a session_id, which will be populated with an objmgr vdev_id. This means
vdev_id and session_id can no longer desync, as there is only a single
source for both.

Change-Id: I104aba29beb3c19d0ef2ff23380e3d005e01ced0
CRs-Fixed: 2022136
2017-03-28 12:49:04 -07:00
Service qcabuildsw
217d55a369 Merge "Release 5.2.0.17M" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:10:16 -07:00
Service qcabuildsw
8632670fdf Merge "qcacld-3.0: Setup CDP interface for flushing RX queue" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:10:16 -07:00
Service qcabuildsw
c9c52cfae1 Merge "Release 5.2.0.17L" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:10:12 -07:00
Service qcabuildsw
b5537991b4 Merge "qcacld-3.0: Migrate unit-test suspend to HIF IRQ enable/disable" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:10:12 -07:00
Service qcabuildsw
a96138c0e8 Merge "Release 5.2.0.17K" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:10:08 -07:00
Service qcabuildsw
1e24247c88 Merge "qcacld-3.0: Check for adapter validity in IPA deinit" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:10:07 -07:00
Service qcabuildsw
7752aa1d63 Merge "Release 5.2.0.17J" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:10:06 -07:00
Service qcabuildsw
306f98ca59 Merge "qcacld-3.0: Fix warning during SAP SSR deinit" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:10:05 -07:00
Service qcabuildsw
53e15a8e18 Merge "qcacld-3.0: Update cfg80211 stop_ap to handle SSR" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:10:04 -07:00
Service qcabuildsw
98637b6f61 Merge "qcacld-3.0: Fix race condition on SAP close and driver exit" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:10:03 -07:00
Service qcabuildsw
39edc6e35c Merge "qcacld-3.0: Check for adapter validity in pre cac work" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:10:02 -07:00
Service qcabuildsw
2e99c7a4dc Merge "qcacld-3.0: ipa-uc: wdi enable bug fix" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:10:02 -07:00
Service qcabuildsw
c759f380e6 Merge "Release 5.2.0.17I" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:57 -07:00
Service qcabuildsw
81f693d6df Merge "qcacld-3.0: use tdls_frm_session_id while sending resp to sme" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:56 -07:00
Service qcabuildsw
0839821004 Merge "Release 5.2.0.17H" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:55 -07:00
Service qcabuildsw
c23b4659ce Merge "qcacld-3.0: Remove bssid from scan cache for HB failure only" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:54 -07:00
Service qcabuildsw
9a82422c40 Merge "Release 5.2.0.17G" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:54 -07:00
Service qcabuildsw
fdaba01183 Merge "Revert "qcacld-3.0: Define gVdevTypeNss_2g and VdevTypeNss_5g as Hex"" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:53 -07:00
Service qcabuildsw
17e31613c9 Merge "Release 5.2.0.17F" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:51 -07:00
Service qcabuildsw
fffb05c1be Merge "qcacld-3.0: Delete tdls peer before leaving BSS" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:50 -07:00
Service qcabuildsw
e94480a878 Merge "Release 5.2.0.17E" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:49 -07:00
Service qcabuildsw
1258571d9e Merge "qcacld-3.0: Fix an htt memory leak" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:48 -07:00
Service qcabuildsw
88f125c482 Merge "Release 5.2.0.17D" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:48 -07:00
Service qcabuildsw
3337bc47e6 Merge "qcacld-3.0: Fix QDF ASSERT in wma_chan_phy_mode during driver load" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:47 -07:00
Service qcabuildsw
f1fae233fd Merge "Release 5.2.0.17C" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:45 -07:00
Service qcabuildsw
9463686c52 Merge "qcacld-3.0: Use magic pattern to avoid double free of packets" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:45 -07:00
Service qcabuildsw
8d5bd9274f Merge "Release 5.2.0.17B" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:44 -07:00
Service qcabuildsw
74e785517e Merge "qcacld-3.0: Remove op_string enum to avoid out of bounds access" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:44 -07:00
Service qcabuildsw
bea3b5543c Merge "Release 5.2.0.17A" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:42 -07:00
Service qcabuildsw
e9c7035114 Merge "qcacld-3.0: Separate pdev detach processing as per pdev attach" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:42 -07:00
Service qcabuildsw
6c50fea9ff Merge "Release 5.2.0.17" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:41 -07:00
Service qcabuildsw
880a581aca Merge "qcacld-3.0: Delete old peer from obj manager when STA roam to new peer" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:41 -07:00
Service qcabuildsw
2ad374fb17 Merge "Release 5.2.0.16Z" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:40 -07:00
Service qcabuildsw
e70b174b50 Merge "qcacld-3.0: Add debug code in hdd_ipa_init" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:39 -07:00
Service qcabuildsw
b69b0c7402 Merge "Release 5.2.0.16Y" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:38 -07:00
Service qcabuildsw
8e147bf8e3 Merge "qcacld-3.0: Fix FEATURE_AP_MCC_CH_AVOIDANCE compilation error" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:37 -07:00
Service qcabuildsw
ee7a6c4380 Merge "Release 5.2.0.16X" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:36 -07:00
Service qcabuildsw
6a3c8c2790 Merge "qcacld-3.0: Fix NPD in hdd_send_peer_status_ind_to_app" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:36 -07:00
Service qcabuildsw
9084ecd47c Merge "Release 5.2.0.16W" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:31 -07:00
Service qcabuildsw
6f0ad8235b Merge "qcacld-3.0: Fix "no space before tabs" style errors" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:30 -07:00
Service qcabuildsw
23487c19de Merge "qcacld-3.0: SME: Remove obsolete support for Class B stats" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:29 -07:00
Service qcabuildsw
f012b9b1f2 Merge "qcacld-3.0: WMA: Remove obsolete support for Class B stats" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:29 -07:00
Service qcabuildsw
dede23f320 Merge "qcacld-3.0: HDD: Remove obsolete support for Class B stats" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:28 -07:00
Service qcabuildsw
c84d330a65 Merge "qcacld-3.0: SME: Remove obsolete support for Class C stats" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:28 -07:00
Service qcabuildsw
73054512e6 Merge "qcacld-3.0: WMA: Remove obsolete support for Class C stats" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:27 -07:00
Service qcabuildsw
3bc51df5af Merge "qcacld-3.0: HDD: Remove obsolete support for Class C stats" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:26 -07:00
Service qcabuildsw
de9bd12e3a Merge "qcacld-3.0: Fix nonsense Class A stats field names" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:26 -07:00
Service qcabuildsw
d672fff950 Merge "Release 5.2.0.16V" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:24 -07:00
Service qcabuildsw
309d89e060 Merge "qcacld-3.0: [11AX] Add changes for peer association" into wlan-cld3.driver.lnx.2.0-dev 2017-03-27 19:09:23 -07:00
Sandeep Puligilla
b321298ac0 Release 5.2.0.17M
Release 5.2.0.17M

Change-Id: I74b21283b97e447a799e73f465d4aeb880ac603b
CRs-Fixed: 688141
2017-03-24 19:01:19 -07:00
Manikandan Mohan
8b4e201376 qcacld-3.0: Setup CDP interface for flushing RX queue
Refactor flush rx queue function call based on soc by adding an
interface to CDP funtion indirection table.

Change-Id: I2d05acd023baf156c5b0752447d76d0e9e92ff53
CRs-fixed: 2023399
2017-03-24 19:01:18 -07:00
Sandeep Puligilla
b83b0e9216 Release 5.2.0.17L
Release 5.2.0.17L

Change-Id: Idaacb1ad324dbfe7d451249d7e9301cfc6aeb4b3
CRs-Fixed: 688141
2017-03-24 15:17:08 -07:00
Dustin Brown
3ed3e9b59f qcacld-3.0: Migrate unit-test suspend to HIF IRQ enable/disable
Unit-test suspend/resume should not know how many IRQs there are or
which is the wake IRQ. Migrate unit-test suspend resume to the new
HIF IRQ enable/disable APIs so detailed IRQ knowledge is no longer
required.

Change-Id: I65b8bd454e469a9081f29dce5a1a96f55698a128
CRs-Fixed: 2023978
2017-03-24 15:17:07 -07:00
Sandeep Puligilla
488292d733 Release 5.2.0.17K
Release 5.2.0.17K

Change-Id: I13e4aa81ddefb364e9d2c2051e3ce39da060df78
CRs-Fixed: 688141
2017-03-24 12:47:50 -07:00
Manikandan Mohan
eab5824f37 qcacld-3.0: Check for adapter validity in IPA deinit
Check for adapter validity during IPA SSR deinit cleanup.

Change-Id: Ifc0ab0c79681388941b220551ec7e0c165fbe642
CRs-fixed: 2008107
2017-03-24 12:47:49 -07:00
Sandeep Puligilla
15b77b9010 Release 5.2.0.17J
Release 5.2.0.17J

Change-Id: Idc0c49945850ac930b51a99017e68548a29694b8
CRs-Fixed: 688141
2017-03-24 12:08:10 -07:00
Manikandan Mohan
0a44ec81fd qcacld-3.0: Fix warning during SAP SSR deinit
Check for SAP BSS started flag before deinitialization of SAP
context data, station disconnection and action frame cleanup

Change-Id: I0191567818d5ee62a826531311cd08cb1a18ad28
CRs-fixed: 2008653
2017-03-24 12:08:09 -07:00
Manikandan Mohan
f9b2dc18fa qcacld-3.0: Update cfg80211 stop_ap to handle SSR
Clear SOFTAP INIT DONE flag at the beginning of stop_ap cfg80211
function to handle SSR case. Thus SAP will not be restarted after
SSR. SAP adapter will be cleaned up during SSR even though stop_ap
returns failure as it could not be processed during SSR.

Change-Id: Ia90b26c68f7ded4481aa4cbdd8f424453853da21
CRs-fixed: 2008697
2017-03-24 12:08:07 -07:00
Manikandan Mohan
5df782768e qcacld-3.0: Fix race condition on SAP close and driver exit
When hostapd close and wlan driver unload are happening in parallel
in different context, there could be a race condition in closing
adapter SAP context resulting in crash. Update to fix the crash
by protecting SAP close functions with lock.

Change-Id: I457b765d4932ad2c321fbc7e02f6ab4f289abb10
CRs-fixed: 2014663
2017-03-24 12:08:06 -07:00
Manikandan Mohan
7ef504ef79 qcacld-3.0: Check for adapter validity in pre cac work
Check for adapter validity for pre cac adapter close work function
and hdd context validity to avoid crash during race condition in
SSR case.

Change-Id: I6c167e8f1a8199c63fba905fff4e781d244c7dc1
CRs-fixed: 2021403
2017-03-24 12:08:04 -07:00
Manikandan Mohan
cd64c0bf0c qcacld-3.0: ipa-uc: wdi enable bug fix
qcacld-2.0 to qcacld-3.0 propagation

After WDI PIPE establish done, WLAN kernel driver sends WDI_ENABLE message
to IPA kernel driver. IPA kernel driver handle this message same way as SCC
message. So, when MCC starts, IPA reconfig to SCC mode.
As a solution, after WDI ENABLE, re-config IPA with SCC/MCC message.

Change-Id: I94c933fce3d005930a24aa989425eed89f8e9d32
CRs-Fixed: 814186
2017-03-24 12:08:02 -07:00
Sandeep Puligilla
f449e12503 Release 5.2.0.17I
Release 5.2.0.17I

Change-Id: I6ac120d916e6a5b2b72674c237260f07e4b6c2f8
CRs-Fixed: 688141
2017-03-24 09:41:44 -07:00
Ganesh Kondabattini
ac57007ff5 qcacld-3.0: use tdls_frm_session_id while sending resp to sme
This change addresses below two issues.
1) pe session entry may not exist in some cases where PE receives
   ack cnf after deleting the pe session. So use
   "lim.tdls_frm_session_id" instead of peSessionId while sending
   the tdls mgmt frames.

2) PE sends eWNI_SME_TDLS_SEND_MGMT_RSP with failure status to SME
   if mgmt tx fails before calling WDA_TxPacket. But SME is
   ignoring this failure and not indicating ack conf failure to HDD.

Change-Id: I089be87fef71ebfb0327c47a301aaf5ede59d031
CRs-Fixed: 887676
2017-03-24 09:41:44 -07:00
Sandeep Puligilla
6c40f7e5e5 Release 5.2.0.17H
Release 5.2.0.17H

Change-Id: I28b658cfdf6d6a3b7e23fe7441217cd70e045f41
CRs-Fixed: 688141
2017-03-24 08:21:38 -07:00
yeshwanth sriram guntuka
951725af99 qcacld-3.0: Remove bssid from scan cache for HB failure only
Bssid is removed from scan cache as part of disconnect
handler if AP/p2p GO sends deauth or disassoc.

Fix is to remove bssid from scan cache only for HB
failure.

Change-Id: I23476858ab63f7c7ba1e82d897a4e37bb192e472
CRs-Fixed: 2017326
2017-03-24 08:21:38 -07:00
Sandeep Puligilla
7e0c556654 Release 5.2.0.17G
Release 5.2.0.17G

Change-Id: Ibeb33ce4d4cab4612bbec42361588e85163efe2b
CRs-Fixed: 688141
2017-03-24 07:06:46 -07:00
Nitesh Shah
0e5c732a91 Revert "qcacld-3.0: Define gVdevTypeNss_2g and VdevTypeNss_5g as Hex"
This reverts commit Ic0adb8287652ab1dcc89107e1610637342c426ec.

Defining gVdevTypeNss_2g and VdevTypeNss_5g as Integer.

Change-Id: Ia07c50dde2af4e6d47b844fa100fad4aaae93eab
CRs-Fixed: 2023756
2017-03-24 07:06:46 -07:00
Sandeep Puligilla
c67f18033e Release 5.2.0.17F
Release 5.2.0.17F

Change-Id: Ia3637002f2fb145c94183d17a04e1ae516ee9535
CRs-Fixed: 688141
2017-03-24 04:58:40 -07:00
Ganesh Kondabattini
9d3d3b1e55 qcacld-3.0: Delete tdls peer before leaving BSS
Delete all tdls peers when processing DEAUTH request on STA
interface.

CRs-Fixed: 2019858
Change-Id: I64fa9ea9719e62fabf86db3aab96e2dd0adfd28b
2017-03-24 04:58:39 -07:00
Sandeep Puligilla
79f7e0c85b Release 5.2.0.17E
Release 5.2.0.17E

Change-Id: I234175860f08423d03f818f6ef48d0b703341283
CRs-Fixed: 688141
2017-03-24 03:39:09 -07:00
Yun Park
eea1c9ca84 qcacld-3.0: Fix an htt memory leak
qcacld-2.0 to qcacld-3.0 propagation

With ATH_11AC_TXCOMPACT defined, host to target message send-completion
won't be called and messages are stored in htt_htc_pkt_misclist after
sending to HTC layer which will be freed upon htt_detach. This list
doesn't have a size limit and outgrow with more messages.
Add a fix to limit the size of this list which gives enough time for
firmware to process these messages before releasing it.

Change-Id: I6feb2d5700abe81a21dd93303163202616c739f5
CRs-Fixed: 902909
2017-03-24 03:39:08 -07:00
Sandeep Puligilla
a7bef07038 Release 5.2.0.17D
Release 5.2.0.17D

Change-Id: Ia12d1635aa11311ddbd1e9d10a62285ab506f296
CRs-Fixed: 688141
2017-03-24 02:58:27 -07:00
Abhishek Singh
d14304bb6a qcacld-3.0: Fix QDF ASSERT in wma_chan_phy_mode during driver load
If channel received in OEM channel info req is invalid for the
current country code the channel width received will be invalid.
When this invalid channel width is passed to wma_chan_phy_mode,
it cause QDF ASSERT.

To fix this if channel width is invalid set the phy mode invalid.

Change-Id: Iafa29be61c94ac6138162d47c8efda7504f0acf2
CRs-Fixed: 2021053
2017-03-24 02:58:26 -07:00
Sandeep Puligilla
e3ea864c92 Release 5.2.0.17C
Release 5.2.0.17C

Change-Id: Ie7608e81b81c7d189295f2cdec65d47fb7ba3cd4
CRs-Fixed: 688141
2017-03-24 02:19:08 -07:00
Himanshu Agarwal
289e40b30f qcacld-3.0: Use magic pattern to avoid double free of packets
Some of the packets like configuration messages and ipa stat
messages to fw are added in htt misc list. If these packets
fail to be transmitted, they are added in endpoint tx queue as well.
When driver is unloaded, as these packets are present in misc list
as well as in endpoint tx queue, double free will happen and crash
will be observed.

Use magic pattern to distinguish the packets that are stored in
endpoint tx queue as well.

Change-Id: I5d327049d0a2a1598f55ef3ec8a5628f9a01ccee
CRs-Fixed: 2016412
2017-03-24 02:19:07 -07:00
Sandeep Puligilla
5d3f8cc916 Release 5.2.0.17B
Release 5.2.0.17B

Change-Id: I6cafc220176cc37aaec6f81a7c02e27838e7f766
CRs-Fixed: 688141
2017-03-24 01:37:34 -07:00
Yun Park
5f0fc2335f qcacld-3.0: Remove op_string enum to avoid out of bounds access
Fix potential buffer overflow by array index out of bounds.
We need to add a new op_string entry whenever a new opcode added.
Otherwise, the op_string entry for the additional opcodes could
be accessed out-of-bounds.

Change-Id: Ic09b19916b63d8bb83bf278361b8519268ee1787
CRs-Fixed: 2005340
2017-03-24 01:37:34 -07:00
Sandeep Puligilla
aac718e951 Release 5.2.0.17A
Release 5.2.0.17A

Change-Id: I7863912dac242f9ab13656de9b37d8fd3c91a88f
CRs-Fixed: 688141
2017-03-24 00:57:38 -07:00
Himanshu Agarwal
0b9bbc3533 qcacld-3.0: Separate pdev detach processing as per pdev attach
Separate out pdev detach processing as ol_txrx_pdev_detach()
and ol_txrx_pdev_pre_detach() corresponding to pdev attach
functions ol_txrx_pdev_attach() and ol_txrx_pdev_post_attach()
respectively.

Change-Id: I7fdbe70ad8262a57b61a742fcfb2779e323172af
CRs-Fixed: 2010653
2017-03-24 00:57:37 -07:00
Sandeep Puligilla
0a608817cb Release 5.2.0.17
Release 5.2.0.17

Change-Id: I43dec5685bfdfcba5c177c0c38fa1fe13373dfcc
CRs-Fixed: 688141
2017-03-23 23:59:15 -07:00
Abhishek Singh
07c627e132 qcacld-3.0: Delete old peer from obj manager when STA roam to new peer
When STA roam to new peer the old peer is not deleted from object
manager and this leads to crash during unload.

To fix this delete old peer from object manager once STA roams to
new peer

Change-Id: I991e0fc5fd7e1a8cb797395de601eab3ebfa015a
CRs-Fixed: 2022056
2017-03-23 23:59:15 -07:00
Sandeep Puligilla
003b0b52bb Release 5.2.0.16Z
Release 5.2.0.16Z

Change-Id: I53adc72fe435acb37571a3a94a682ae5f5ae111d
CRs-Fixed: 688141
2017-03-23 23:19:56 -07:00
Yun Park
baa6286556 qcacld-3.0: Add debug code in hdd_ipa_init
Add ENTER and EXIT log and check return value of ipa_connect_wdi_pipe
in hdd_ipa_uc_ol_init.
Add log to ensure doorbell_paddr and op_cb set correctly.

Change-Id: I444c58ea31f3ec9816cf5d052dbc22272ea8132c
CRs-Fixed: 1111256
2017-03-23 23:19:55 -07:00
Sandeep Puligilla
55aa174f87 Release 5.2.0.16Y
Release 5.2.0.16Y

Change-Id: I325c5e8c39718c00839df63056e57745a408b466
CRs-Fixed: 688141
2017-03-23 21:33:22 -07:00
Dustin Brown
3e61982239 qcacld-3.0: Fix FEATURE_AP_MCC_CH_AVOIDANCE compilation error
Fix a compilation error when FEATURE_AP_MCC_CH_AVOIDANCE is defined,
introduced by a previous commit.

Change-Id: Ic85b805f590ce5acc5cd0caeff107b8315baefaf
CRs-Fixed: 2019332
2017-03-23 21:33:21 -07:00
Sandeep Puligilla
5dff918116 Release 5.2.0.16X
Release 5.2.0.16X

Change-Id: Ia1e98f4a5165b12736291df36ebde38636a8c57f
CRs-Fixed: 688141
2017-03-23 20:54:47 -07:00
Naveen Rawat
6877a24ed2 qcacld-3.0: Fix NPD in hdd_send_peer_status_ind_to_app
Fix null pointer dereference in hdd_send_peer_status_ind_to_app
by adding a null pointer check.

Change-Id: I61db1d5f2636fc80459b0c35ca4db73635fe1a50
CRs-Fixed: 2024102
2017-03-23 20:54:46 -07:00
Sandeep Puligilla
247ad51925 Release 5.2.0.16W
Release 5.2.0.16W

Change-Id: I3731fad0f6c6700a20383079b2e7312ba3711cd3
CRs-Fixed: 688141
2017-03-23 17:00:49 -07:00
Jeff Johnson
560dc56d97 qcacld-3.0: Fix "no space before tabs" style errors
Automated code style checker detected multiple instance of "no space
before tabs," so fix those issues.

Change-Id: I93248e3cfafa047c4fa8c9553769f9457086d01a
CRs-Fixed: 2021507
2017-03-23 17:00:48 -07:00
Jeff Johnson
3c2ffbeba2 qcacld-3.0: SME: Remove obsolete support for Class B stats
SME currently has legacy code to support the tCsrGlobalClassBStatsInfo
data structure. However these stats were specific to the WDI firmware
API used by older generations of hardware, and this interface is not
supported by WMI. In addition the support for these stats has been
removed from HDD.  So remove support for these stats from SME.

Change-Id: Ia18d8635cff63d91f779bc3bae0a30c594514f8f
CRs-Fixed: 2021538
2017-03-23 17:00:46 -07:00
Jeff Johnson
fe074c21c6 qcacld-3.0: WMA: Remove obsolete support for Class B stats
WMA currently has legacy code to support the tCsrGlobalClassBStatsInfo
data structure. However these stats were specific to the WDI firmware
API used by older generations of hardware, and this interface is not
supported by WMI. In addition the support for these stats has been
removed from HDD.  So remove support for these stats from WMA.

Change-Id: I2e152cd55b54ed9f68bf85411fcfa4b95b5325a0
CRs-Fixed: 2021533
2017-03-23 17:00:44 -07:00
Jeff Johnson
f2dac4fcf2 qcacld-3.0: HDD: Remove obsolete support for Class B stats
HDD currently requests SME_GLOBAL_CLASSB_STATS in a few of its legacy
ioctl handlers. However these stats were specific to the WDI firmware
API used by older generations of hardware, and this interface is not
supported by WMI. In addition HDD doesn't actually do anything with
the data returned. So remove support for these stats from HDD.

Change-Id: I97acf231cfffba630aa6a9ac98d3b8298fb8b7d7
CRs-Fixed: 2021531
2017-03-23 17:00:42 -07:00
Jeff Johnson
1b67b84784 qcacld-3.0: SME: Remove obsolete support for Class C stats
SME currently has legacy code to support the tCsrGlobalClassCStatsInfo
data structure. However these stats were specific to the WDI firmware
API used by older generations of hardware, and this interface is not
supported by WMI. In addition the support for these stats has been
removed from HDD.  So remove support for these stats from SME.

Change-Id: I3e63f99e1dd1b509694e3953490355b4c23f6c73
CRs-Fixed: 2021528
2017-03-23 17:00:40 -07:00
Jeff Johnson
19498d7e57 qcacld-3.0: WMA: Remove obsolete support for Class C stats
WMA currently has legacy code to support the tCsrGlobalClassCStatsInfo
data structure. However these stats were specific to the WDI firmware
API used by older generations of hardware, and this interface is not
supported by WMI. In addition the support for these stats has been
removed from HDD.  So remove support for these stats from WMA.

Change-Id: I0614ed2660c886c7e61b0e87058a2f2e522580f3
CRs-Fixed: 2021526
2017-03-23 17:00:39 -07:00
Jeff Johnson
c040269930 qcacld-3.0: HDD: Remove obsolete support for Class C stats
HDD currently requests SME_GLOBAL_CLASSC_STATS in a few of its legacy
ioctl handlers. However these stats were specific to the WDI firmware
API used by older generations of hardware, and this interface is not
supported by WMI. In addition HDD doesn't actually do anything with
the data returned. So remove support for these stats from HDD.

Change-Id: I846aacb7076f29199bd4d3bbce4ca0654565f2ef
CRs-Fixed: 2021523
2017-03-23 17:00:37 -07:00
Jeff Johnson
ad0b2c642f qcacld-3.0: Fix nonsense Class A stats field names
The qcacld-3.0 driver inherited the tCsrGlobalClassAStatsInfo data
structure from a prior version of the driver. This structure was based
upon the WDI firmware API used by older generations of hardware, and
this interface is not directly supported by the WMI interface used by
current generations of firmware. However "glue" code was introduced
which converts between the WMI data and this WDI-based representation.

When the glue code was introduced there were some parameters which
were supported by WDI but not WMI, and there were some parameters
which were supported by WMI but not WDI. Rather than remove the fields
for parameters not supported by WMI and add new fields for the
parameters only supported by WMI, for some reason the existing
WDI-only fields were repurposed. This fact is captured in WMA:
	/* rx_frag_cnt and promiscuous_rx_frag_cnt
	 * parameter is currently not used. lets use the
	 * same parameter to hold the nss value and mcs
	 * rate flags */
	classa_stats->rx_frag_cnt = node->nss;
	classa_stats->promiscuous_rx_frag_cnt = mcsRateFlags;

And leads to nonsense code such as the following in HDD:
	nss = pAdapter->hdd_stats.ClassA_stat.rx_frag_cnt;
	rate_flags = pAdapter->hdd_stats.ClassA_stat.promiscuous_rx_frag_cnt;

Rename these fields so that they match the data they hold, and remove
other legacy fields which are unused.

Change-Id: If04a8943ad90d796968c817ff5e634eec23c97f0
CRs-Fixed: 2021520
2017-03-23 17:00:35 -07:00
Sandeep Puligilla
4374398a51 Release 5.2.0.16V
Release 5.2.0.16V

Change-Id: If197c9b8a4b1cb6b79eaa0a2ccf43d00bb2a3375
CRs-Fixed: 688141
2017-03-23 12:15:40 -07:00
Krishna Kumaar Natarajan
0103ef8f7c qcacld-3.0: [11AX] Add changes for peer association
Add changes for 11ax peer association.

Add support for the following
 - update data structures to hold HE capabilities
 - setting up HE capabilities in the session
 - updating sta context with correct HE config
 - intersecting self and peer capabilities
 - update derivation of peer phymode to handle 11ax phymode

Change-Id: I46c7a7328d09e74bc0c5b25a67f6273d7eb04d30
CRs-Fixed: 1073481
2017-03-23 12:15:39 -07:00
Service qcabuildsw
d2d0a2da00 Merge "Release 5.2.0.16U" into wlan-cld3.driver.lnx.2.0-dev 2017-03-23 11:54:50 -07:00
Service qcabuildsw
f3d39baf58 Merge "qcacld-3.0: TxRx statistics for Lithium datapath" into wlan-cld3.driver.lnx.2.0-dev 2017-03-23 11:54:49 -07:00
Service qcabuildsw
a01da18a29 Merge "Release 5.2.0.16T" into wlan-cld3.driver.lnx.2.0-dev 2017-03-23 11:54:49 -07:00
Service qcabuildsw
a66a7d11ff Merge "Release 5.2.0.16S" into wlan-cld3.driver.lnx.2.0-dev 2017-03-23 11:54:48 -07:00
Service qcabuildsw
e33080c8c4 Merge "qcacld-3.0: Add change to support set FTM caps using vendor cmd" into wlan-cld3.driver.lnx.2.0-dev 2017-03-23 11:54:47 -07:00
Service qcabuildsw
779c86cbdc Merge "Release 5.2.0.16R" into wlan-cld3.driver.lnx.2.0-dev 2017-03-23 11:54:47 -07:00
Service qcabuildsw
900323485e Merge "qcacld-3.0: [11AX] Add INI parameters related to 11AX" into wlan-cld3.driver.lnx.2.0-dev 2017-03-23 11:54:46 -07:00
Service qcabuildsw
00aa176941 Merge "qcacld-3.0: [11AX] Add dot11mode changes to support 11ax" into wlan-cld3.driver.lnx.2.0-dev 2017-03-23 11:54:45 -07:00
Sandeep Puligilla
acec84ccda Release 5.2.0.16U
Release 5.2.0.16U

Change-Id: I193a753894faf1d71d8bb2e24e9de2c33111d71a
CRs-Fixed: 688141
2017-03-22 17:55:37 -07:00
Venkata Sharath Chandra Manchala
8398563492 qcacld-3.0: TxRx statistics for Lithium datapath
Introduce a new iwpriv command txrx_stats to
print both host and firmware stats for Lithium
chipset

Change-Id: If37b798a117446e9fbb369823977fa312872ed48
CRs-Fixed: 2017426
2017-03-22 17:55:36 -07:00
Service qcabuildsw
164169968f Merge "Release 5.2.0.16Q" into wlan-cld3.driver.lnx.2.0-dev 2017-03-22 17:47:24 -07:00
Service qcabuildsw
3ed8854fa7 Merge "qcacld-3.0: Do not trigger fw recovery in case of no scan results" into wlan-cld3.driver.lnx.2.0-dev 2017-03-22 17:47:23 -07:00
Service qcabuildsw
fa9aa0b943 Merge "Release 5.2.0.16P" into wlan-cld3.driver.lnx.2.0-dev 2017-03-22 17:47:11 -07:00
Service qcabuildsw
b92b0284e1 Merge "qcacld-3.0: Indicate roc expire event to supplicant" into wlan-cld3.driver.lnx.2.0-dev 2017-03-22 17:47:10 -07:00
Sandeep Puligilla
1d428e82d3 Release 5.2.0.16T
Release 5.2.0.16T

Change-Id: I443011179ea947f2f3484b394f30086d29659308
CRs-Fixed: 688141
2017-03-22 10:58:49 -07:00
Sandeep Puligilla
a0230793c8 Release 5.2.0.16S
Release 5.2.0.16S

Change-Id: Ibfa606945980bea54cb832948389436c705ebb5b
CRs-Fixed: 688141
2017-03-22 10:10:15 -07:00
Naveen Rawat
5f040ba96b qcacld-3.0: Add change to support set FTM caps using vendor cmd
Add changes to update fine time measurement capability in WIFI POS
private object using vendor command.

Change-Id: I7e3b502660b169f4cdb654cb5f433446a24d2421
CRs-Fixed: 2003488
2017-03-22 10:10:14 -07:00
Sandeep Puligilla
898c950b0e Release 5.2.0.16R
Release 5.2.0.16R

Change-Id: I06d46dbaa83336634fe694150ac2d85f24e3b9eb
CRs-Fixed: 688141
2017-03-22 09:09:32 -07:00
Krishna Kumaar Natarajan
90bb6f12fd qcacld-3.0: [11AX] Add INI parameters related to 11AX
Add INI parameters to enable/disable ul_ofdma and ul_mimo.

Change-Id: Iaeac86db11593002bdbf3d6a92029657c3352e94
CRs-Fixed: 1073481
2017-03-22 09:09:31 -07:00
Krishna Kumaar Natarajan
4f1d7724a8 qcacld-3.0: [11AX] Add dot11mode changes to support 11ax
Add new dot11mode and update the utility functions to derive
the dot11mode based on the userspace config, INI config and
FW capability.

Change-Id: I5780120ef7bc2b78fd596e937fe14a2c8ad88348
CRs-Fixed: 1073481
2017-03-22 09:09:29 -07:00
Linux Build Service Account
f70db24c5c Merge "Release 5.2.0.16O" 2017-03-22 04:10:44 -07:00
Sandeep Puligilla
56ac050df9 Release 5.2.0.16Q
Release 5.2.0.16Q

Change-Id: I2df64d72946b5a8c70a00191ec1b7e5ee075d771
CRs-Fixed: 688141
2017-03-22 03:58:24 -07:00
yeshwanth sriram guntuka
d117ceb8af qcacld-3.0: Do not trigger fw recovery in case of no scan results
Host triggers firmware recovery when bug is reported for no
or zero scan results. This may trigger false alarm and thus
firmware recovery even in no wifi zones.

Fix is to set recovery needed to false in cds_flush_logs
called from scan done callback. Also change flush
completion log to info.

Change-Id: I45cf616803d3f504649fb0fa8e4698b781be5781
CRs-Fixed: 2008108
2017-03-22 03:58:23 -07:00
Sandeep Puligilla
8f9a8d3774 Release 5.2.0.16P
Release 5.2.0.16P

Change-Id: Ic7354f54a085cfc8c0370b00da3a765d00f8585a
CRs-Fixed: 688141
2017-03-21 23:19:29 -07:00
Ganesh Kondabattini
2da6ac02a6 qcacld-3.0: Indicate roc expire event to supplicant
qcacld-2.0 to qcacld-3.0 propagation

When extending the RoC for off channel tx, the cookie of of the RoC
is changed to action cookie so that RoC request and off channel tx
mapped to same tx frame. Indicate roc expire event to the supplicant
for the RoC request before updating the RoC cookie with action cookie.

Change-Id: I66896dd1e98d83b92d4f1e60c7057acd80743929
CRs-Fixed: 2002054
2017-03-21 23:19:29 -07:00
Service qcabuildsw
11ebed34a2 Merge "Release 5.2.0.16N" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:40 -07:00
Service qcabuildsw
fb3b44e1e5 Merge "qcacld-3.0: Pass proper values to bit manipulation methods to avoid panic" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:39 -07:00
Service qcabuildsw
e4f3c5de2e Merge "Release 5.2.0.16M" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:39 -07:00
Service qcabuildsw
66764e5e81 Merge "qcacld-3.0: Fix SBS is set to true by policy manager in SCC mode" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:38 -07:00
Service qcabuildsw
debea2ff87 Merge "Release 5.2.0.16L" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:36 -07:00
Service qcabuildsw
513adda982 Merge "qcacld-3.0: SME: Remove obsolete support for tCsrPerStaStatsInfo" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:36 -07:00
Service qcabuildsw
ad1ab5563f Merge "qcacld-3.0: WMA: Remove obsolete support for tCsrPerStaStatsInfo" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:35 -07:00
Service qcabuildsw
9fa70dbf79 Merge "qcacld-3.0: HDD: Remove obsolete support for SME_PER_STA_STATS" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:35 -07:00
Service qcabuildsw
c306ae5089 Merge "qcacld-3.0: Redesign wma_get_stats_rsp_buf() buffer length logic" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:34 -07:00
Service qcabuildsw
ac3d85a92a Merge "qcacld-3.0: Correlate SME STATS macros to underlying enumerations" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:34 -07:00
Service qcabuildsw
6b4522fdc2 Merge "Release 5.2.0.16K" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:33 -07:00
Service qcabuildsw
25b3ed108f Merge "qcacld-3.0: Send Deauth and delete all TDLS stations" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:33 -07:00
Service qcabuildsw
d8c9156a82 Merge "Release 5.2.0.16J" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:28 -07:00
Service qcabuildsw
7389b3ad48 Merge "Release 5.2.0.16I" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:28 -07:00
Service qcabuildsw
537be67967 Merge "qcacld-3.0: MCL changes for WIFI Positioning component" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:27 -07:00
Sandeep Puligilla
f0ee944b3e Release 5.2.0.16O
Release 5.2.0.16O

Change-Id: I3267c47231b14b7d57c03318963feb95b934edf3
CRs-Fixed: 688141
2017-03-21 16:15:13 -07:00
Sreelakshmi Konamki
075431a9f8 qcacld-3.0: Remove redundant MTRACE logs
This change includes to remove redundant MRACE logs
which are seen very frequent in MTRACE dumps and
remove multiple definition of WMA_SET_TX_POWER_REQ.

Change-Id: Ic5ac780ba3d31a8f2c6e4c10f7af5051864e7f3e
CRs-Fixed: 2020491
2017-03-21 16:15:12 -07:00
Sandeep Puligilla
8c8651e43c Release 5.2.0.16N
Release 5.2.0.16N

Change-Id: I3ebf9dfddc27906a0238f9d5f872f9d58ede2cd2
CRs-Fixed: 688141
2017-03-21 13:25:07 -07:00
Manjeet Singh
1a376cea13 qcacld-3.0: Pass proper values to bit manipulation methods to avoid panic
qcacld-2.0 to qcacld-3.0 propagation

Observed kernel panic due to improper arguments passed to kernel bit
manipulation functions (like set_bit, clear_bit etc.) i.e these
functions expects bit positions as its first argument but bit mask
values are being passed.

To fix these issues ensure below points:
   - Pass bit position as a first argument to bit manipulation
     functions.
   - Re-define MACROs which gives false impression of bit mask values
     with their naming convention.

Change-Id: Ief8cd83b05f01a0926f91c0e9fb461ddd498e05e
CRs-Fixed: 981050
2017-03-21 13:25:06 -07:00
Sandeep Puligilla
0a4d0786fd Release 5.2.0.16M
Release 5.2.0.16M

Change-Id: Idfce036a6ffd92f520bbf5fe336936ec936877db
CRs-Fixed: 688141
2017-03-21 12:31:13 -07:00
Archana Ramachandran
92b4bf1196 qcacld-3.0: Fix SBS is set to true by policy manager in SCC mode
SBS is always set to true by the policy manager. so for the second
connection, if the mode is not DBS, then SBS HW mode is selected.
Since SBS is not supported the second connection fails with invalid
HW mode error.

Change-Id: I817e83cbac194cdfde73a586491d645631692f12
CRs-Fixed: 2021512
2017-03-21 12:31:12 -07:00
Sandeep Puligilla
0695335768 Release 5.2.0.16L
Release 5.2.0.16L

Change-Id: I562e1dec8ee89193f4b3513c055153a77fa2fba9
CRs-Fixed: 688141
2017-03-21 09:48:02 -07:00
Jeff Johnson
60be8a9f44 qcacld-3.0: SME: Remove obsolete support for tCsrPerStaStatsInfo
SME currently has legacy code to support the tCsrPerStaStatsInfo data
structure. However these stats were specific to the WDI firmware API
used by older generations of hardware, and this interface is not
supported by WMI. In addition the support for these stats has been
removed from HDD.  So remove support for these stats from SME.

Change-Id: Ibab7f94764c68933633c46da497613add0824ff1
CRs-Fixed: 2020067
2017-03-21 09:48:01 -07:00
Jeff Johnson
72f47475ef qcacld-3.0: WMA: Remove obsolete support for tCsrPerStaStatsInfo
WMA currently has legacy code to support the tCsrPerStaStatsInfo data
structure. However these stats were specific to the WDI firmware API
used by older generations of hardware, and this interface is not
supported by WMI. In addition the support for these stats has been
removed from HDD.  So remove support for these stats from WMA.

Change-Id: I42ba6535ccfaed99df46d389cbb8ddd9d0f9261b
CRs-Fixed: 2020066
2017-03-21 09:47:59 -07:00
Jeff Johnson
dfe895154b qcacld-3.0: HDD: Remove obsolete support for SME_PER_STA_STATS
HDD currently requests SME_PER_STA_STATS in a few of its legacy ioctl
handlers. However these stats were specific to the WDI firmware API
used by older generations of hardware, and this interface is not
supported by WMI. In addition HDD doesn't actually do anything with
the data returned. So remove support for these stats from HDD.

Change-Id: I070685a0ca2b9c53b93c1f950eab97ea65f43f1e
CRs-Fixed: 2020065
2017-03-21 09:47:58 -07:00
Jeff Johnson
dfd360e0fa qcacld-3.0: Redesign wma_get_stats_rsp_buf() buffer length logic
Currently wma_get_stats_rsp_buf() uses a loop to determine which mask
bits are set, and based upon the loop iteration count it determines
the size of the associated buffer. This calculation is fragile,
however, in that it tightly couples the loop iteration count and
eCsrRoamStatsClassTypes enumeration values. Since code under
development will be removing some of the eCsrRoamStatsClassTypes
enumerations, update this logic to remove the tight coupling.

Change-Id: Ia6cda4c8181c44d25a9da27acffe6bd10ca3b4ed
CRs-Fixed: 2020056
2017-03-21 09:47:56 -07:00
Jeff Johnson
97fdfd0e1b qcacld-3.0: Correlate SME STATS macros to underlying enumerations
Currently SME exposes a set of SME_*_STATS macros to indicate which
stats are of interest in a call to sme_get_statistics().

What is not obvious is that the values of these macros are required to
be aligned with the eCsrRoamStatsClassTypes enumerated values. Update
the macros to make that alignment explicit.

Change-Id: Id992a8230a1aa4df941ea7666bc00a661a9ab68e
CRs-Fixed: 2020055
2017-03-21 09:47:54 -07:00
Sandeep Puligilla
78c80e3bfb Release 5.2.0.16K
Release 5.2.0.16K

Change-Id: Ib341d387cf0baba1c521173fe55defb2c6ba8de5
CRs-Fixed: 688141
2017-03-21 06:12:14 -07:00
Nitesh Shah
99dd95556b qcacld-3.0: Send Deauth and delete all TDLS stations
This change addresses sending Deauth to TDLS peers,
delete TDLS stations and clear hdd structures if
concurrency is detected.

Change-Id: Ia9f6724a9db20c6d9ebfc2fa735569305f35f084
CRs-Fixed: 2022489
2017-03-21 06:12:14 -07:00
Sandeep Puligilla
39a65ce005 Release 5.2.0.16J
Release 5.2.0.16J

Change-Id: I0d9a4c525aafd63308f3360ced2d45ab8f6b7b25
CRs-Fixed: 688141
2017-03-21 02:16:05 -07:00
Sandeep Puligilla
784bc88288 Release 5.2.0.16I
Release 5.2.0.16I

Change-Id: I2ab2bd43dfb3f10cdc8c43c728787549611544ea
CRs-Fixed: 688141
2017-03-21 01:10:22 -07:00
Naveen Rawat
910726a844 qcacld-3.0: MCL changes for WIFI Positioning component
Implement MCL changes to use new WIFI POS component APIs

Change-Id: Ifccc7f6e9c614570de758fde3a23b63ee5f387d7
CRs-Fixed: 2003488
2017-03-21 01:10:21 -07:00
bings
297247160e qcacld-3.0: Fix invalid peer local id in sap start bss
qcacld-2.0 to qcacld-3.0 propagation
Currently when cac ends, it will trigger eSAP_START_BSS_EVENT
with peer local id 0. If there is no peer with 0 local id, sap
starts fails.

Actually valid peer local id should be saved in sap context,
so it can be used in sap_signal_hdd_event.

Change-Id: I3779cb181390650844475b1a2f18768cb5784cf2
CRs-Fixed: 1096534
2017-03-20 23:57:04 -07:00
Sandeep Puligilla
c3f5fec55e Release 5.2.0.16H
Release 5.2.0.16H

Change-Id: Ief48470f9435c29e174094f92b76008fd49837a6
CRs-Fixed: 688141
2017-03-20 23:57:03 -07:00
Sreelakshmi Konamki
17d15ff8eb qcacld-3.0: Add MTRACE parser script parse_mac_trace.cmm file
qcacld-2.0 to qcacld-3.0 propagation

The parse_mac_trace.cmm file will be maintained
under core/mac/src/sys/legacy/src/utils/src/.
This script helps to decode MTRACE logs when we get crash dumps.

Change-Id: I421b53edc18c49e737411d3723b0a1536e86bc58
CRs-fixed: 957900
2017-03-20 23:57:02 -07:00
Sandeep Puligilla
d5b3f06380 Release 5.2.0.16G
Release 5.2.0.16G

Change-Id: I3ba760f0397f0e767887421cc4fa70d420d4a9f9
CRs-Fixed: 688141
2017-03-20 23:57:01 -07:00
Sandeep Puligilla
927809c0bb Release 5.2.0.16F
Release 5.2.0.16F

Change-Id: Ieb8095adeec34d288d7a7513c78f8b2870de4cdf
CRs-Fixed: 688141
2017-03-20 23:57:00 -07:00
Jeff Johnson
b7a168b658 qcacld-3.0: Correctly handle update of scan IEs
Excessive logging of the following error message was observed:
__wlan_hdd_cfg80211_scan: Update scan IEs with default Scan IEs failed

This message was being printed because wlan_hdd_update_scan_ies()
returns an error code when no default scan IEs have been configured.
But this is a valid scenario, so modify wlan_hdd_update_scan_ies()
to return success (0) when no default IEs have been configured.

Change-Id: I4b9dc1d38d38d326861b7c95d13b891cb0d0c522
CRs-Fixed: 2013531
2017-03-20 23:56:59 -07:00
Sandeep Puligilla
cbd36c2e5d Release 5.2.0.16E
Release 5.2.0.16E

Change-Id: I3e66cd64f8d75ce618a5d772e3e093dee5285647
CRs-Fixed: 688141
2017-03-20 23:56:58 -07:00
Naveen Rawat
7df318650c qcacld-3.0: Introduce ini knob for wifi pos logging
Add ini param qdf_trace_enable_wifi_pos to control WIFI_POS logging
level from config.ini

Change-Id: I9baa59448b9badaae94193bd7367a104309d0a1a
CRs-Fixed: 2003488
2017-03-20 23:56:57 -07:00
Naveen Rawat
dd76180765 qcacld-3.0: Remove nl_srv_ucast_oem from wlan_hdd_oemdata.c
This API is moved to qcacmn as part of WIFI_POS convergence.
Remove this API from MCL code include necessary header file
for API.

Change-Id: I8622d0bbfd90c7aee5630aaa3e6e3540dfc9df9b
CRs-Fixed: 2003488
2017-03-20 11:38:13 -07:00
Sandeep Puligilla
1db28e1959 Release 5.2.0.16D
Release 5.2.0.16D

Change-Id: Ib1fcb4a6380953369f5e9c2b732bf2c86f0fa491
CRs-Fixed: 688141
2017-03-20 07:47:44 -07:00
Poddar, Siddarth
28014e9769 qcacld-3.0: Handle error condition when dma map fail
Change the return type to QDF_STATUS of htt_tx_desc_init function
to handle dma map and other error condition.
Free the tx descriptor if this function returns error.

CRs-Fixed: 2021634
Change-Id: Ib9154de308154c43c202ad8a88ecdfff04be47a2
2017-03-20 07:47:44 -07:00
Sandeep Puligilla
7b043b3501 Release 5.2.0.16C
Release 5.2.0.16C

Change-Id: I5eddda0ec9e1f1a05f7786534d373ca098d3aeb9
CRs-Fixed: 688141
2017-03-20 07:05:21 -07:00
Padma, Santhosh Kumar
8392fb49c6 qcacld-3.0: Invoke sme_dhcp_done_ind in all states
Currently driver drops RRM request before completion of DHCP.
Driver uses global variable dhcp_done to check completion of DHCP.
In static IP case, there is a chance that sme_dhcp_done_ind be
invoked before connection. Hence there is a chance that global
variable dhcp_done may not be set. This can cause driver to drop
RRM requests forever in static IP scenarios.

Invoke sme_dhcp_done_ind in all states to allow processing of
RRM requests in static IP scenarios as well.

Change-Id: I20e07eea7a66e7f3336dd783b9533ff642721209
CRs-Fixed: 2021041
2017-03-20 07:05:20 -07:00
Sandeep Puligilla
0e7cf24c43 Release 5.2.0.16B
Release 5.2.0.16B

Change-Id: I0e5ebabb3e10349327ed0174f4ae94dca0c79c69
CRs-Fixed: 688141
2017-03-20 02:47:44 -07:00
Poddar, Siddarth
d6b2fd232e qcacld-3.0: Add a flag in skb->cb for packet tracking
When a packet is generated internally, host adds a debug
node entry to the table and deletes the entry once received
tx completion for that packet by calling qdf_nbuf_free.
But when a packet is coming from network stack, host doesn’t
add any debug entry to the table and on receiving tx completion,
it calls qdf_nbuf_tx_free which will simply free the skb.

In case of P2P GO mode where packets are forwarded internally,
host creates a private copy of skb and add debug node entry in
the table. But when receiving a tx completion for the same packet
host calls qdf_nbuf_tx_free which will free the skb but will not
remove this node entry from the table. Currently, this api is common
for all data tx completion packets.

Add an extra flag in control block to differentiate whether skb is
generated by driver or come from network stack. If flag is true,
that means generated internally and need to remove the entry from
debug node table.

CRs-Fixed: 2021277
Change-Id: I07c12b5bf134a3e56d13005dbe03778781cdf176
2017-03-20 02:47:43 -07:00
Sandeep Puligilla
7cd0b291f4 Release 5.2.0.16A
Release 5.2.0.16A

Change-Id: I96d08713ac2b7dc9cdd15d9554d031100f878bc1
CRs-Fixed: 688141
2017-03-18 16:00:06 -07:00
Krishna Kumaar Natarajan
ed1efd9653 qcacld-3.0: [11AX] Add support in HDD to update HE Capabilities
Add support in HDD to update 11ax - High Efficiency(HE) Capabilities
received as part of the target configuration.

Add support for new WNI_CFG global config parameters to be
used for implementing 11AX standard.

Change-Id: I3f0d3af2369157c657ac59676a434dc794f84b19
CRs-Fixed: 1073481
2017-03-18 16:00:05 -07:00
Krishna Kumaar Natarajan
d0bbb3c52f qcacld-3.0: [11AX] Add support in WMA to receive HE Capabilities
Add support in WMA to receive and store HE capabilities coming
from extended service ready event.

Add support to receive HE capabilities, convert into OTA type of
internal host structure and pass it to the uppper layer as target
config. Add utility funciton for the conversion as well.

Change-Id: If0ceeb3db74be6cf6893b8e74c710863bab8b41b
CRs-Fixed: 1073481
2017-03-18 16:00:03 -07:00
Krishna Kumaar Natarajan
7ee45235ca qcacld-3.0: [11AX] Add 11ax related IEs in dot11f.frms
Add 11ax related IEs in dot11f.frms file.

Add new IEs to support 11ax/High Efficiency(HE). HE capabilities and
HE Operation are the two new IEs added and the IE definition is based on
the 11ax D1.0 specification.

Change-Id: Iab4219a7c068faca0337f70f921ec178f7170952
CRs-Fixed: 1073481
2017-03-18 16:00:00 -07:00
Sandeep Puligilla
0a8be68224 Release 5.2.0.16
Release 5.2.0.16

Change-Id: I9da1ecba00d4e27fd9c3408359410ed8937f20df
CRs-Fixed: 688141
2017-03-17 16:58:03 -07:00
Sandeep Puligilla
095acd9a3d Release 5.2.0.15Z
Release 5.2.0.15Z

Change-Id: I2b8dc807bc08b25304dabd587b8420257ab5078f
CRs-Fixed: 688141
2017-03-17 16:19:41 -07:00
Arif Hussain
405587c313 qcacld-3.0: Remove unnecessary log from wlansap_roam_callback
wlansap_roam_callback function logging an error message if
roam_status is not handled, in default case of switch, but same
information is logged before switch. So remove this log.

Change-Id: Id53eb392929d9328f959c7e54d7f0a5dd77b0739
CRs-Fixed: 2007415
2017-03-17 16:19:41 -07:00
Sandeep Puligilla
cfa8a4d50d Release 5.2.0.15Y
Release 5.2.0.15Y

Change-Id: I0d660d372b9de2c98e7e52230a3399c7834fcb0f
CRs-Fixed: 688141
2017-03-17 15:39:18 -07:00
Tushnim Bhattacharyya
6796d8df5e qcacld-3.0: Enable Policy Manager logging
Enable logging from new policy manager component.

Change-Id: I538b70d7261573a1673386a3984f6a5a821c70f2
CRs-Fixed: 2009818
2017-03-17 15:39:17 -07:00
Sandeep Puligilla
d616db2710 Release 5.2.0.15X
Release 5.2.0.15X

Change-Id: I117d932fc0db9d5cb43ef9f0cf5087de029a0eee
CRs-Fixed: 688141
2017-03-17 14:49:32 -07:00
Naveen Rawat
222b2e9b58 qcacld-3.0: Set Band Capability ini config to PSOC user config
Set Band Capability ini config to PSOC user config. This can later
be used in UMAC component.

Change-Id: I9044cec35cdb478881b827101ee79bcf87084d73
CRs-Fixed: 2003488
2017-03-17 14:49:32 -07:00
Sandeep Puligilla
a1156ed567 Release 5.2.0.15W
Release 5.2.0.15W

Change-Id: Id9398297da41d2176788c4453f30368d68a719d8
CRs-Fixed: 688141
2017-03-17 11:11:09 -07:00
Dustin Brown
dba48c8d9d qcacld-3.0: Add debug prints to catch session_id/vdev_id desync
When HDD detects that the session id and vdev id have de-synchronized,
print the PSOC reference tree and induce a crash.

Change-Id: I1ca47837cd024fd66e19d86222cfbbd85e3f5704
CRs-Fixed: 2020092
2017-03-17 11:11:09 -07:00
Sandeep Puligilla
fa6b646144 Release 5.2.0.15V
Release 5.2.0.15V

Change-Id: I4d8ba5bc106682e261cad75bb86a6b0e3a99536e
CRs-Fixed: 688141
2017-03-17 08:48:28 -07:00
Sreelakshmi Konamki
2d67be24ab qcacld-3.0: Resolve "Unknown" values in MTRACE logs
Sometimes MTRACE dump functions returns "unknown" values instead of
data passed to MTRACE. To resolve this add any missing MTRACE code and
data enums to the corresponding trace functions.

Change-Id: I86b9b9f433be64879c96ccc65c142e07aaf23ed0
CRs-Fixed: 2018532
2017-03-17 08:48:27 -07:00
Sreelakshmi Konamki
40032d588e qcacld-3.0: Update MDIE when PNO match event found
qcacld-2.0 to qcacld-3.0 propagation

Current implementation does not update MDIE while processing of
PNO match event due to this STA is unable to connect to 11r AP.

Add changes to update MDIE to 'tSirBssDescription' in
csr_scan_save_preferred_network_found()

Change-Id: Ia419c0f7284fc168434d91bcc3d7b29b99a06f3f
CRs-Fixed: 2005101
2017-03-17 08:48:26 -07:00
Sreelakshmi Konamki
33a0231baf qcacld-3.0: Remove redundant ini configuration
qcacld-2.0 to qcacld-3.0 propagation

'apDataAvailPollPeriodInMs' ini is redundant in registry table and
hdd_update_config_dat().

Fix to remove redundant ini 'apDataAvailPollPeriodInMs' variable.

Change-Id: Ieb5214ec3052bbec793e91d294b03e425292e348
CRs-Fixed: 2000336
2017-03-17 08:48:24 -07:00
Sandeep Puligilla
e952e222c6 Release 5.2.0.15U
Release 5.2.0.15U

Change-Id: Ie5f34beaf0dcfcc448863f0818b03e2fc4dfb127
CRs-Fixed: 688141
2017-03-17 06:35:38 -07:00
Poddar, Siddarth
a5075466e4 qcacld-3.0: Drop the pkt if deauth is in progress
When SAP initiates deauth/diassoc for peer device, it sets
isDeauthInProgress flag. So, if host receives tx packets
for peer from network layer or ipa path while peer remove
is in progress, then drop the tx packets at hdd level
in __hdd_softap_hard_start_xmit based on above flag check.

CRs-Fixed: 2016092
Change-Id: I52c3bcd92478eb657bdd90d15eb13d1cd95ee090
2017-03-17 06:35:36 -07:00
Sandeep Puligilla
b8a8babc8f Release 5.2.0.15T
Release 5.2.0.15T

Change-Id: I762a088a7a51964e694d555490bb8cfa8357c97a
CRs-Fixed: 688141
2017-03-17 05:37:37 -07:00
yeshwanth sriram guntuka
e345b66378 qcacld-3.0: Fix double peer clear during disconnect
wma_remove_peer does clear peer as part of disconnect.
hdd_roam_deregister_sta also does clear peer which results
in clear peer failed error message.

Fix is to avoid clear peer again in disconnect handler.

Change-Id: I0399a81779aad87201cb67e070421ec549b2d837
CRs-Fixed: 2019168
2017-03-17 05:37:36 -07:00
Sandeep Puligilla
6e9dba15f9 Release 5.2.0.15S
Release 5.2.0.15S

Change-Id: I48e8b46a54006000e47434f95aa5705e822995cb
CRs-Fixed: 688141
2017-03-17 04:59:18 -07:00
Abhishek Singh
897b27a745 qcacld-3.0: Don't send reg hint during start modules after PDR
After PDR driver send regulatory hint with the same country code
which was already set by driver before PDR. As part of regulatory
hint kernel remove the custom regulatory flag from wiphy flags
and as in this case country has not changed, no reg notifier is
called and thus wiphy flags are not restored by driver.
Due to this if user set an country the channel flags and power
are not reset and 5Ghz channels remain Passive.

To fix this don't send reg hint during start modules if
init_by_driver flag is set.

Change-Id: I126465aa91f40df5c92da44361f414a7792e927f
CRs-Fixed: 2019049
2017-03-17 04:59:18 -07:00
Abhishek Singh
cfb4448302 qcacld-3.0: Fix compile errors when WLAN_FEATURE_11W is disabled
Fix compilation errors when WLAN_FEATURE_11W is disabled.

Change-Id: I5bed89f0077a51117c57e176568f849293d40ee5
CRs-Fixed: 2019223
2017-03-17 04:59:16 -07:00
Sandeep Puligilla
482456d4d1 Release 5.2.0.15R
Release 5.2.0.15R

Change-Id: Iae6f0d570ce1360bc61305cb8b2866e8a1cb3c34
CRs-Fixed: 688141
2017-03-17 04:19:15 -07:00
Sandeep Puligilla
cccccab307 Release 5.2.0.15Q
Release 5.2.0.15Q

Change-Id: I2740136f700c203b506eb6dfe630a16ea67afd46
CRs-Fixed: 688141
2017-03-17 03:40:29 -07:00
Wu Gao
2ae0b59e42 qcacld-3.0: Save qdf device to soc object
It need qdf device if send mgmt frame. But host common can not access
legacy codes. Save it to soc object.

Change-Id: Ib943c5f3356e02b946ad1d30838d464e36dd643f
CRs-Fixed: 2014648
2017-03-17 16:43:39 +08:00
Sandeep Puligilla
995ea87265 Release 5.2.0.15P
Release 5.2.0.15P

Change-Id: I012c21ea9e66ba9f794ab0d756d4c4bfb563269a
CRs-Fixed: 688141
2017-03-16 11:21:34 -07:00
Varun Reddy Yeturu
1ce7affdda qcacld-3.0: Handle roam synch propagation failure
Handle Roam synch propagation failure properly.
Disable the roaming in progress flags in HDD.
Send a ROAM STOP command to firmware immediately.

Change-Id: I5f014ab79db553a1df758bf639362f26272a6a23
CRs-Fixed: 2020168
2017-03-16 11:21:33 -07:00
Sandeep Puligilla
5298cd5d19 Release 5.2.0.15O
Release 5.2.0.15O

Change-Id: I4e39dd4dd02abcd573bda49307791255ca87ed28
CRs-Fixed: 688141
2017-03-16 09:49:53 -07:00
Nishank Aggarwal
4a88884148 qcacld-3.0: Fix ASSERT while loading driver
Currently in csr_purge_old_scan_results() mutex_lock
did't acquire by current thread but same thread is
releasing the lock due to which there is a ASSERT while
releasing mutex_lock.

Fix is to acuire the mutex_lock properly before releasing.

Change-Id: I1023dca73ffaa3d3b3a123d474c3ac5b0e1c1af2
CRs-Fixed: 2020452
2017-03-16 09:49:52 -07:00
Sandeep Puligilla
ada3b6e1b3 Release 5.2.0.15N
Release 5.2.0.15N

Change-Id: I9e15459324f5d401fbe884c7f8e08261fcaf69bd
CRs-Fixed: 688141
2017-03-16 08:33:24 -07:00
Sandeep Puligilla
a836686bb4 Release 5.2.0.15M
Release 5.2.0.15M

Change-Id: I12420d407f2938b580eb2c525449b822b2293a02
CRs-Fixed: 688141
2017-03-16 07:00:29 -07:00
Nitesh Shah
49f5390c82 qcacld-3.0: Acquire mutex before accessing p2p context
Every access to remain_on_chan_ctx need to be protected
with mutex lock.

This change refactors the code in the function wlan_hdd_
cancel_existing_remain_on_channel() and wlan_hdd_cancel_
pending_roc().

Change-Id: Ie4551ab7cc4297f04ea2980aff7e613f6d3d2bb6
CRs-Fixed: 2020554
2017-03-16 07:00:28 -07:00