Commit Graph

9371 Commits

Author SHA1 Message Date
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
Abhishek Singh
6378103e12 qcacld-3.0: Add logic to ignore PMF check for STA test mode
In testbed STA mode the RSNE may not match with APUT and thus
driver fails to filter AP from scan cache as PMF capability
mismatch.

With this change driver will ignore PMF capability check and
proceed with connection to send auth and assoc to APUT.

Change-Id: I1bf5947fb08574941eaf1845ec1e36ee9b030dd0
CRs-Fixed: 2195354
2018-02-26 21:44:43 -08:00
snandini
7a0d8730ae Release 5.2.0.67O
Release 5.2.0.67O

Change-Id: I980e43d4e25f03d249bb3f21a924ca9a34cb6c87
CRs-Fixed: 774533
2018-02-26 12:08:27 -08:00
Rajeev Kumar
64de4544a2 qcacld-3.0: Kbuild changes to compile qdf_util.c
Add Kbuild changes to compile qdf_util.c

Change-Id: I94bfaa13512c1287ff02f890348d44034b8d106e
CRs-Fixed: 2195161
2018-02-26 12:08:25 -08:00
snandini
b7a2d775a6 Release 5.2.0.67N
Release 5.2.0.67N

Change-Id: I8f6c801ecb4dd00828dfb8cd1f7bb9b6e4ec60b2
CRs-Fixed: 774533
2018-02-26 06:34:30 -08:00
Yeshwanth Sriram Guntuka
469f957cd3 qcacld-3.0: Set hw mode based on channel_select_logic_conc ini
Set hw mode to DBS or single MAC for STA+STA and STA+P2P
concurrencies based on channel_select_logic_conc ini.

Change-Id: I46ba4d5cd8f5cda71d0c00be2b612bc851eb5ba4
CRs-Fixed: 2185554
2018-02-26 06:34:27 -08:00
Yeshwanth Sriram Guntuka
db7995db23 qcacld-3.0: Add ini support for channel selection logic
Add ini to select DBS or inter-band MCC channel selection logic
for STA+STA and STA+P2P connections.

Change-Id: I7cfde9592ec210b0a8c812171d2bc6f005e17fb2
CRs-Fixed: 2185552
2018-02-26 06:34:22 -08:00
Himanshu Agarwal
1b3be70ff7 qcacld-3.0: Free ACS channel list before allocating new list
In __wlan_hdd_cfg80211_do_acs(), driver allocates memory for
ACS channel list without checking if there is already some
memory allocated for channel list or not. When SSR is triggered
before ACS completion, ACS list does not get freed and after
driver reinit, when a new do ACS comes, it allocates a new memory
without deallocating the older memory. This causes memory leak.

Free ACS channel list if already allocated before allocate a new
list.

Change-Id: Ic001c3daac518e97644da00cb82ea1d3fde4b539
CRs-Fixed: 2191839
2018-02-26 06:34:16 -08:00
snandini
db40093ed3 Release 5.2.0.67M
Release 5.2.0.67M

Change-Id: I6151d0226d7cbed85e41d71eced6cf904390c196
CRs-Fixed: 774533
2018-02-26 04:07:11 -08:00
Sravan Kumar Kairam
c1ae71c4cd qcacld-3.0: Add ARP debug stats
Change to collect arp packet stats along with
existing hdd stats to debug arp packet related
issues.

Change-Id: Idce70799bd3698dc8a8ecd8cfc8ef7d9bf1f5764
CRs-Fixed: 2019787
2018-02-26 04:07:10 -08:00
snandini
1596296121 Release 5.2.0.67L
Release 5.2.0.67L

Change-Id: Ic2a7c5c6003fcc0c3b83e00cd81753cae86954bf
CRs-Fixed: 774533
2018-02-26 02:54:50 -08:00
Himanshu Agarwal
91c5c0f7d7 qcacld-3.0: Avoid 2.4Ghz channel in 40Mhz for SAP start
When the channel list provided from hostapd contains both
2.4Ghz and 5Ghz channels and channel width is 40Mhz, scan
happens on all the 2.4Ghz  and 5Ghz channels and ACS algo
runs on all the channels to find the best channel for
starting SAP in 40Mhz. If a 2.4Ghz is selected, an OBSS
scan happens on all the 2.4Ghz channels to check if there
is any legacy BSS present on any overlapping channel. If
any BSS is found, channel width fallbacks to 20Mhz and
SAP gets started in 20Mhz bw instead of 40Mhz. This is
generally the case with 2.4Ghz whereas there is no such
issue in 5Ghz channels.

Avoid 2.4Ghz channels for starting SAP in 40Mhz bw by
assigning max weight to all the 2.4Ghz channels if 5Ghz
channels are also present in the channel list provided
from hostapd.

Change-Id: I079d20b912282c9db5c9b51b1ed4b85a4aa9c5df
CRs-Fixed: 2186658
2018-02-26 02:54:49 -08:00
snandini
348bf81f54 Release 5.2.0.67K
Release 5.2.0.67K

Change-Id: I83a1301cf90247a8b6fa38b92a33889d04879086
CRs-Fixed: 774533
2018-02-26 00:24:14 -08:00
Ashish Kumar Dhanotiya
4be2a7b2a4 qcacld-3.0: Validate update avoid frequency channel list
qcacld-2.0 to qcacld-3.0 propagation.

Validate the avoid frequency channel list of
QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY command and update the
driver's unsafe channel list with the channels received in the command.

Change-Id: I1a10e668bf6fe6dbb22f7f2f8aef929fc6e7fc65
CRs-Fixed: 2187477
2018-02-26 00:24:11 -08:00
snandini
d04cc3a105 Release 5.2.0.67J
Release 5.2.0.67J

Change-Id: I02a87f5b35e2110f54ff305f0f465fd0e454391a
CRs-Fixed: 774533
2018-02-25 21:08:43 -08:00
Mahesh Kumar Kalikot Veetil
48af32b8a2 qcacld-3.0: Fix the incremental compilation
BUILD_TAG changes in each build, which makes all files to recompile.
Notify build system that BULD_TAG is only used in wlan_hdd_main.c. This
reduces the recompile time significantly.

Change-Id: I40952e75eeb951ce8a693c8130dbc55a4a92eff5
CRs-Fixed: 2195100
2018-02-25 21:08:40 -08:00
snandini
a73a51aca2 Release 5.2.0.67I
Release 5.2.0.67I

Change-Id: I16ca4caf365b1ae5d95c6b945d044fda7cecf7d6
CRs-Fixed: 774533
2018-02-24 04:11:17 -08:00
Kiran Kumar Lokere
5cc2f0da1f qcacld-3.0: Add support to configure HE fragmentaion
Add support to configure HE fragmentation support using NL
command.

Change-Id: I49b81df96a9c8199a1cc5994762aeba0ed9676b0
CRs-Fixed: 2166782
2018-02-24 04:11:17 -08:00
snandini
1d94aca1d9 Release 5.2.0.67H
Release 5.2.0.67H

Change-Id: I457529341c6091adc922fb06cd9a1e4c071084cb
CRs-Fixed: 774533
2018-02-23 20:01:10 -08:00
Dustin Brown
7bd76330b1 qcacld-3.0: Disable Packet Filter by default
The Android Packet Filter (APF) is the preferred method for filtering
packets, but the legacy Packet Filter may also be used. In order to
encourage the use of APF over Packet Filter, disable Packet Filter by
default. Customers may still enable Packet Filter via setting
gDisablePacketFilter=0 via ini configuration.

Change-Id: I581a4001167571efbc7c1c1738c5585e4bde0611
CRs-Fixed: 2195111
2018-02-23 13:26:05 -08:00
snandini
4d6d6425a6 Release 5.2.0.67G
Release 5.2.0.67G

Change-Id: I905b803bf77015551905e11fe9e74205c76cceb6
CRs-Fixed: 774533
2018-02-22 23:30:49 -08:00
Tushnim Bhattacharyya
087bff3a13 qcacld-3.0: Trim ACS channel list based on the concurrent connections
If force SCC is enabled and there is a STA connection, trim the
ACS channel list on the band on which STA connection is present.

Change-Id: Ibd580a7afdcdfc5fb4398ada547565e229d59c70
CRs-Fixed: 2191792
2018-02-22 23:30:48 -08:00
snandini
428897d9a5 Release 5.2.0.67F
Release 5.2.0.67F

Change-Id: I2d96905bfc53819ea0d5a1df7074756ad83be543
CRs-Fixed: 774533
2018-02-22 17:46:20 -08:00
Rajeev Kumar
69ddd852e5 qcacld-3.0: Free nested set link state response msg buffer in PE
PE is not freeing the second level of allocated memory during MC
thread message queue flush logic and hence leaking the memory.
Free second level of allocated memory in pe_free_message such
that message posted from WMA is still freed even if MC thread is
shutdown during driver unload/SSR.

Change-Id: I6a88d3b331c29496bc7c1d9e451c97206a2b85cf
CRs-Fixed: 2192884
2018-02-22 17:46:20 -08:00