Commit Graph

8567 Commits

Author SHA1 Message Date
nshrivas
de08617366 Release 5.2.0.68K
Release 5.2.0.68K

Change-Id: I92e57245d60a0958e7cc5ad88f924639f12bf03c
CRs-Fixed: 774533
2018-03-05 04:28:09 -08:00
Sourav Mohapatra
001cfaf94a qcacld-3.0: Extend scan cleanup API to support netdev level cleanup
In the present scenario the function wlan_cfg80211_cleanup_scan_queue
does the code scan queue cleanup during radio detach, leading to access of
freed vdev netdev.

Extend cfg80211 scan cleanup API to support netdev level cleanup. The
second parameter if NULL cleans up all the queues or only the queue of
the specific net dev given.

Change-Id: I2a6b350fe5102b2a5d772dd9a075003ccf3b684c
CRs-Fixed: 2197309
2018-03-05 04:28:09 -08:00
Abhinav Kumar
c93e5ad6c5 qcacld-3.0: Prioritize connection req frames in pe queue
If multiple auth req comes, it added to the header of message queue
but in between mc thread could be processing some beacon frame. while
processing beacon, SAP gets assoc req and adds it to head of message
queue and will be processed first instead of auth req. After sending
of accoc rsp, mc thread will start to process queued auth req, which
is at the top of message queue which will result in deauthentication.

Reverts commit 360c5d590ec8 ("qcacld-3.0: Prioritize connection req
frames in pe queue")

Change-Id: Iaf511be1160e05cfcd9d60f18be4339587308089
CRs-Fixed: 2192836
2018-03-05 04:28:05 -08:00
nshrivas
f121472f38 Release 5.2.0.68J
Release 5.2.0.68J

Change-Id: I7d04df97b3a745dd7b203ade45e3210a51f24707
CRs-Fixed: 774533
2018-03-02 21:48:37 -08:00
Jeff Johnson
e0847ba99e qcacld-3.0: Add missing blank lines after declarations in HDD
The checkpatch script has identified instances of "Missing a blank
line after declarations" in HDD, so add them.

Change-Id: I289072b26e0c9c1f8392616438e304b018d9ecd2
CRs-Fixed: 2198555
2018-03-02 21:48:36 -08:00
Jeff Johnson
321069fee3 qcacld-3.0: Remove empty hdd_roam_deregister_sta() test
Currently hdd_roam_deregister_sta() tests the STA to see if it is in
the eConnectionState_IbssDisconnected state, but then doesn't actually
do anything if it is true. Since this is obviously an obsolete test
where the action code has been previously removed, now remove the
actual test.

Change-Id: I6a0077088d87f91b8d8f220049de05a19232995b
CRs-Fixed: 2198554
2018-03-02 21:48:33 -08:00
nshrivas
a4f156fe65 Release 5.2.0.68I
Release 5.2.0.68I

Change-Id: Ica672622760343bd23a3a9ac0105b15474c5ff49
CRs-Fixed: 774533
2018-03-02 20:37:21 -08:00
nshrivas
bf1077559d Release 5.2.0.68H
Release 5.2.0.68H

Change-Id: I1a6547154f306ce6765093cfc1bd70690f0628f1
CRs-Fixed: 774533
2018-03-02 18:28:26 -08:00
Rajeev Kumar
d056536a27 qcacld-3.0: Nuke HDD and SME obsolete wow enter and exit APIs
WoW is always enabled on ROME and ADRASTEA platforms and wow
wake up pattern configuration is dynamic based on vdev type.
All wow wake up patterns are configured at the time of vdev
creation. HDD and SME has obsolete wow enter and exit logic
and hence nuke it.

Change-Id: I228ff5b77a7f9dac579448ada4ebee591d5a0c38
CRs-Fixed: 2198644
2018-03-02 18:28:26 -08:00
nshrivas
8af954527b Release 5.2.0.68G
Release 5.2.0.68G

Change-Id: I80b242b234e34449b246f32cb528fd52b86ab815
CRs-Fixed: 774533
2018-03-02 16:52:33 -08:00
Abhishek Singh
1d1d3e3970 qcacld-3.0: Stop the vdev rsp timer as soon as vdev req is removed
In wma_vdev_delete_handler() once vdev req is removed from the
vdev_resp_queue the vdev rsp timer is stopped and freed after
releasing the wake lock and vdev detach callback.

So before vdev rsp timer is stopped it may get expired and
post msg in MC thread. Now once this timer msg is processed it
access the already freed memory.

To fix it stop vdev rsp timer first before releasing the wake
lock and vdev detach callback.

Change-Id: Iface6d1faaa9f801d0da7a70d548eafbd082dc48
CRs-Fixed: 2196338
2018-03-02 16:52:31 -08:00
nshrivas
557e179854 Release 5.2.0.68F
Release 5.2.0.68F

Change-Id: I37712a8d5f50ac131f63dba15c13cf07b8224128
CRs-Fixed: 774533
2018-03-02 16:52:29 -08:00
Jingxiang Ge
b897656a5d qcacld-3.0: Register IPA Tx desc free callback
IPA tx desc free callback function is missed here.
Add it back.

Change-Id: Ic29857816d6d749e1a90219e78f198e7adaaddc0
CRs-Fixed: 2189751
2018-03-02 16:52:27 -08:00
nshrivas
f30a6d960a Release 5.2.0.68E
Release 5.2.0.68E

Change-Id: Id11ca11e5e64c5459b85646745c0aca141c24c15
CRs-Fixed: 774533
2018-03-02 16:51:52 -08:00
Prakash Manjunathappa
e73e3b57db qcacld-3.0: Add INI to control tcp_limit_output_bytes tuning
Current driver posts the high and low Tx TPUT indications to cnss-daemon to
tune  the tcp_limit_output_byte system parameter. Add option to disable it.

Change-Id: Ic65fe0bd762024425cabf2f1f07123211dce5dce
CRs-Fixed: 2197112
2018-03-02 16:33:34 -08:00
snandini
a63fc0c2e3 Release 5.2.0.68D
Release 5.2.0.68D

Change-Id: I959955cfe8e42aa13efe209690507baf1eb3a014
CRs-Fixed: 774533
2018-03-01 09:48:19 -08:00
Himanshu Agarwal
e994970c2a qcacld-3.0: Update band to ICM module
ICM does not support hw_mode=any at present. When hw_mode is
set to any in hostapd.conf, HOST driver choose one band out of
2.4Ghz and 5Ghz based on "acs_freq_band" ini item and update the
ACS and PCL channel list accordingly. But currently driver does
not send updated band to ICM and so ICM still gets BAND_ALL from
HOST driver which is INVALID for ICM module. As a result ICM
algorithm does not run and channel selection fails.

Send Updated band to ICM and also update channel width accordingly
for 2.4Ghz band as it does not support 80/160/80PLUS80 Mhz.

Change-Id: I13593a3c59c204d1ff7677e67d96d039c9456568
CRs-Fixed: 2196247
2018-03-01 17:30:45 +05:30
snandini
e126751324 Release 5.2.0.68C
Release 5.2.0.68C

Change-Id: I9be8f7003d6f7397f38d2ce69d68f020f3c22bae
CRs-Fixed: 774533
2018-02-28 23:35:44 -08:00
gaurank kathpalia
85f8a61cf9 qcacld-3.0: Periodically update host time stamp to firmware for sync
qcacld-2.0 to qcacld-3.0 propagation

Send host timestamp to firmware, so that firmware can print the
logs timestamp in sync with host.

Change-Id: I1d4d223aa1c8e207941ab659f69b72a855e3a604
CRs-Fixed: 2193976
2018-02-28 23:35:44 -08:00
Kiran Kumar Lokere
0923ad8015 qcacld-3.0: Fix capability parsing in service ready event
Check the total supported mac and phy count for capability
parsing in service ready extension event.

Change-Id: Ibde9040e5adf97d53645f714e5e8981dd1a9d22a
CRs-Fixed: 2194602
2018-02-28 23:35:40 -08:00
snandini
b13b0bc130 Release 5.2.0.68B
Release 5.2.0.68B

Change-Id: I81c688eb10d65b55c3706672c04e6aacb94d0112
CRs-Fixed: 774533
2018-02-28 19:16:02 -08:00
snandini
ad48da603d Release 5.2.0.68A
Release 5.2.0.68A

Change-Id: Ic9cf6ae8d39faf08605bf5a3d0f465f9819e2db0
CRs-Fixed: 774533
2018-02-28 18:02:41 -08:00
Jeff Johnson
153f0263ea qcacld-3.0: Fix bad block comment in wlan_hdd_main.h
The checkpatch script has identified an instance of a non-conformant
block comment in wlan_hdd_main.h, so fix it.

Change-Id: Ie76156601021e2b5e503280337b38792217b7dbc
CRs-Fixed: 2197711
2018-02-28 18:02:41 -08:00
snandini
36b274da0f Release 5.2.0.68
Release 5.2.0.68

Change-Id: Ia2eac3e19561d04f907c14dbd43cf4f316210030
CRs-Fixed: 774533
2018-02-28 17:12:30 -08:00
Jeff Johnson
c66d31077c qcacld-3.0: Fix instances of "else after return" in HDD
The checkpatch script has identified instances of "else after return"
that is not conformant with the Linux coding style, so fix them.

Change-Id: Ica4ccb1ef1c865089851e928ddeaa27ea54bcb4a
CRs-Fixed: 2197681
2018-02-28 12:03:12 -08:00
snandini
74f1c2637b Release 5.2.0.67Z
Release 5.2.0.67Z

Change-Id: I0f74687ec7898ee8ead8041041c92b90a1701786
CRs-Fixed: 774533
2018-02-28 08:50:15 -08:00
Jeff Johnson
b8adae49a1 qcacld-3.0: Fix instances of bad indentation in HDD
The checkpatch script has identified multiple instances of non-conformant
indentation in HDD, so fix them.

Change-Id: Icb28911e54324198d50018fcaf6d6662c9dc161c
CRs-Fixed: 2197006
2018-02-28 08:50:14 -08:00
Jeff Johnson
109e79d599 qcacld-3.0: Fix instances of bad brace placement in HDD
The checkpatch script has identified two instances of non-conformant
brace placement in HDD, so fix them.

Change-Id: I0c8bbf2258b24c4876c6a8749633b90873980e95
CRs-Fixed: 2196976
2018-02-28 08:50:11 -08:00
snandini
384d0598ce Release 5.2.0.67Y
Release 5.2.0.67Y

Change-Id: I66b1ecffa6f68923343c606dc334208c48bc87b7
CRs-Fixed: 774533
2018-02-28 05:29:40 -08:00
Nirav Shah
eb017befbd qcacld-3.0: Add support for QCA9379 on x86 platform
Add support for QCA9379 chip on x86 platform for
USB and SDIO attach.

Change-Id: I2de81794cd16521097ffa6956a18b4b0fe981d36
CRs-Fixed: 2196757
2018-02-28 05:29:39 -08:00
snandini
b45a07658c Release 5.2.0.67X
Release 5.2.0.67X

Change-Id: I4500389fe9d00e70899d1db7e1090a547a4eb3f8
CRs-Fixed: 774533
2018-02-28 01:29:51 -08:00
Padma, Santhosh Kumar
9668240906 qcacld-3.0: Add support for GMAC offload
Add check for GMAC offload capability wmi_service_gmac_offload_support.
If firmware supports GMAC offload, trim MMIE when driver receives
PMF frame. Otherwise, driver calculates MIC and trims MMIE.

Also, add support for suiteB auth types during roaming in
e_csr_auth_type_to_rsn_authmode.

Change-Id: Id44f44a41297ca3e462d14905f5986f904a639fd
CRs-Fixed: 2185819
2018-02-28 01:29:51 -08:00
snandini
4081a3a3cc Release 5.2.0.67W
Release 5.2.0.67W

Change-Id: I9f6623638d5bcdd698cc9aa9c67bcac078fc5bea
CRs-Fixed: 774533
2018-02-28 00:31:25 -08:00
Venkata Sharath Chandra Manchala
2996517bbc qcacld-3.0: Enable pktlog for Helium
Add Support to enable pktlog through INI
for helium based devices.

Change-Id: I0acfcf1db8c007c5e2ce81fcb1775fd1b7a50570
CRs-Fixed: 2185210
2018-02-28 00:31:24 -08:00
snandini
392562febc Release 5.2.0.67V
Release 5.2.0.67V

Change-Id: I58e27045b0abc1ddb2ab1fd2d911a4508957ad8a
CRs-Fixed: 774533
2018-02-27 22:17:10 -08:00
Krunal Soni
a5388a25f7 qcacld-3.0: Add vdev restart when changing channel in monitor mode
While changing the channel, driver needs to add vdev restart instead
of channel switch.

Change-Id: I2d5a40aee2108feda5da5e41c6d18aab6c3a30bc
CRs-Fixed: 2182014
2018-02-27 22:17:09 -08:00
Dustin Brown
d424194c5c qcacld-3.0: Include qdf_str.h
The qdf_str APIs have recently been moved from qdf_mem. Reference the
new qdf_str.h header file where appropriate.

Change-Id: I2be5fa3f511fd6d67b4217243f4b3498321e0a9f
CRs-Fixed: 2196120
2018-02-27 22:17:06 -08:00
Varun Reddy Yeturu
bc1bea0956 qcacld-3.0: Send ROAM_STOP if roam synch failed
Send a ROAM_STOP command to firmware with an explicit
reason code for the failure so that it is not blocked
in WMA before sending it to firmware.

Change-Id: I4d7e2e525c145ca0e990dcef85948285e2186c63
CRs-Fixed: 2182671
2018-02-27 22:17:04 -08:00
Zhu Jianmin
439682ddbd qcacld-3.0: Fix LFR2 roam on same channel fail
When LFR2 roaming on same channel, after pre-auth resp received,
A new PE session is created, currentOperChannel is 0 before
lim_fill_ft_session, not same as currentOperChannel of original
session, so lim_is_in_mcc return true, pre-auth auth result is
not sent to SME/CSR for lim_ft_process_pre_auth_result isn't
called in lim_handle_ft_pre_auth_rsp

Change-Id: If8686c7f73c76655f7ab69c23fb97a7bb540732f
CRs-Fixed: 2195749
2018-02-27 22:17:01 -08:00
snandini
5372bf7151 Release 5.2.0.67U
Release 5.2.0.67U

Change-Id: I72d5dc81fada4135599f6dab330cfaf151a07ff0
CRs-Fixed: 774533
2018-02-27 21:17:03 -08:00
Abhishek Singh
3f13a81758 qcacld-3.0: Security enhancement fixes for RSNE frame parser
Adds logic in frame parser to use default RSN IE fields if optional
fields are not present in IE. So if RSN IE doesn't contain AKM,
group and unicast cipher use the default AKM(AKM_IEEE8021X) and
cipher (CCMP). Also adds sanity checks for RSNE in the frame parser.

Change-Id: I120a29c21407f82aab2c6fcdcaf1095518cb71b5
CRs-Fixed: 2195951
2018-02-27 21:17:02 -08:00
snandini
dd25fcdf7f Release 5.2.0.67T
Release 5.2.0.67T

Change-Id: I89aa762e6b3b54b6937a804ab533fefca96f4928
CRs-Fixed: 774533
2018-02-27 20:17:50 -08:00
Krunal Soni
3cf1f1cef6 qcacld-3.0: Initialize save_peer_id_ref_cnt array with default value
One of the arrays defined in data-path's API is not initialized
and this API assumes that subsequent loop will fill up the array to
correct default value. This assumption is wrong.

Intialize the array "save_peer_id_ref_cnt" in API
"ol_txrx_peer_remove_obj_map_entries" to default value "0" to avoid
any issue.

CRs-Fixed: 2196084
Change-Id: If0080708662fc44e6583823717798a9f505ec1d0
2018-02-27 20:17:49 -08:00
snandini
279ab101bc Release 5.2.0.67S
Release 5.2.0.67S

Change-Id: Id1051472205343030ac1fc3a972b4205851961ee
CRs-Fixed: 774533
2018-02-27 15:07:49 -08:00
Ashish Kumar Dhanotiya
aa0ca60f16 qcacld-3.0: Reject invalid MAC address during dynamic MAC change
Currently when the MAC address is changed dynamically, invalid MAC
(Broadcast, Multicast and 00:00:00:00:00:00) are getting accepted
and interface is getting up on these invalid addresses because
of this device is trying to connect to AP with the configured
invalid address.

To address this issue reject all invalid MAC addresses
when MAC is dynamically getting configured.

Change-Id: If2530b213b5ffc2ddf0bc728138e1f3200f33286
CRs-Fixed: 2190468
2018-02-27 15:07:49 -08:00
snandini
6361a05532 Release 5.2.0.67R
Release 5.2.0.67R

Change-Id: Ie458f630cb8821fda97b3eceb18a226f9fa5ada3
CRs-Fixed: 774533
2018-02-27 14:07:03 -08:00
Vignesh Viswanathan
200f5c19b0 qcacld-3.0: Skip starting SAP after channel change if stop BSS in progress
When stop_bss from HDD is received when a SAP channel change request
is currently in progress and channel change response is not yet
received from the FW, the stop_bss would clear the SAP session and
when channel change response is received, we try to start BSS again.
The CSR roam state is also set to JOINING in this case.

As part of start BSS, we queue set key command to SME active command
list. Since the session has been cleared, eWNI_SME_SETCONTEXT_RSP
sent to lim would not be processed in CSR state JOINING leading to set
key command stuck in the active command list.

Do not restart BSS after channel change response if stop BSS is in
progress. Also handle eWNI_SME_SETCONTEXT_RSP and clear the command
queue in CSR Joining state.

Change-Id: I8dbab054746d26cc92fc2274d35ce76a694035fe
CRs-Fixed: 2193505
2018-02-27 14:07:02 -08:00
snandini
38e732a272 Release 5.2.0.67Q
Release 5.2.0.67Q

Change-Id: I839bf2ab343307c060f15e0bf8f7d2b53de70b3a
CRs-Fixed: 774533
2018-02-27 01:57:26 -08:00
jiad
af1b76efa5 qcacld-3.0: skip dma unmap for IPA owned skb
In MCC tx path, skb is owned by IPA driver, where IPA driver provides
wlan driver directly DMA mapped address. Doing dma unmap of the skb
will lead to skb dma map check failure.

Fix is to skip dma unmap for IPA owned skb and let IPA driver handle
dma unmap.

Change-Id: Ib38ca949ba915785e460c05172b70088a3564b1c
CRs-Fixed: 2189889
2018-02-27 01:57:25 -08:00
snandini
cc0e11b6ca Release 5.2.0.67P
Release 5.2.0.67P

Change-Id: I5ea4b7e6431e61794c2536be945d6021bab7b7cc
CRs-Fixed: 774533
2018-02-26 21:44:43 -08:00