Commit Graph

19344 Commits

Author SHA1 Message Date
nshrivas
35c24f8e81 Release 5.2.0.181E
Release 5.2.0.181E

Change-Id: Idbb49a91e412d81e0b6bd22ce5ae7a7e3bd8cba0
CRs-Fixed: 774533
2020-04-11 20:42:11 -07:00
Li Feng
b93e6aea80 qcacld-3.0: Release intf addr if failed to open adapter
Release intf addr which is allocated by wlan_hdd_get_intf_addr()
if failed to open adapter when try to add new virtual interface.

Change-Id: Ifa0f795ca06b15da00f8809a764734e8d0fe288d
CRs-Fixed: 2653590
2020-04-11 20:42:11 -07:00
nshrivas
dd149a55f4 Release 5.2.0.181D
Release 5.2.0.181D

Change-Id: I079540d5bae08be418c42519ee1a35e438e8c64a
CRs-Fixed: 774533
2020-04-11 18:25:08 -07:00
Ananya Gupta
e6bb014360 qcacld-3.0: Add null check to osdev object
Add null check to osdev to avoid invalid access.

Change-Id: If34bc94cd23e3b4f1149a57b43bcc136575ec06c
CRs-Fixed: 2658532
2020-04-11 18:25:08 -07:00
nshrivas
c6e19bbe85 Release 5.2.0.181C
Release 5.2.0.181C

Change-Id: Id6cbd4e5a5859863eccc1e74c059a62b89299d1e
CRs-Fixed: 774533
2020-04-11 15:57:53 -07:00
Ashish Kumar Dhanotiya
210ccabe9e qcacld-3.0: Update dot11 mode correctly
In case of sap big data logging, it is assumed that legacy
dot11 mode is always supported, if the connection is done
in 11ax and if station does not shares the ht and vht info
in that case legacy dot11 mode should not be updated as it
is possible that sta is only 11ax supported.

Change-Id: I8324b3e5a2491d4a1722c03e5e86fa1bedbf5062
CRs-Fixed: 2656843
2020-04-11 15:57:53 -07:00
Abhishek Singh
90f388b9de qcacld-3.0: Move PN replay detect logic in objmgr peer
Control path use the data path variables to detect PN replay
and also modify the same.

Thus move the PN replay detect logic in objmgr peer in control path.

Change-Id: I8d1cd4b86eac3f6a7343c4616e398579bc4932ae
CRs-Fixed: 2658077
2020-04-11 15:57:38 -07:00
nshrivas
ed5d08c7f3 Release 5.2.0.181B
Release 5.2.0.181B

Change-Id: I04fd5c6753b6edf2a65bc15045c7bb7d1c324d28
CRs-Fixed: 774533
2020-04-11 12:39:45 -07:00
Abhishek Singh
1be145fcbd qcacld-3.0: Fix igtk index while getting the igt key
While sending tx frame WMA_IGTK_KEY_INDEX_4 is used to get the
igtk key, but the WMA_IGTK_KEY_INDEX_5 is also valid igtk key index
and thus if igtk index passed is WMA_IGTK_KEY_INDEX_5 the get igtk
always fails.

So during set key store the igtk key index and use the same to get
igtk key.

Change-Id: I5c3baf1231472e7d9aeb2f762285befc9100c858
CRs-Fixed: 2661204
2020-04-11 12:39:44 -07:00
nshrivas
149eefac85 Release 5.2.0.181A
Release 5.2.0.181A

Change-Id: If0dd6991f8b210b1bdd06bfdbbc05063a7e8060a
CRs-Fixed: 774533
2020-04-11 10:04:20 -07:00
Pragaspathi Thilagaraj
7e8cad2ad7 qcacld-3.0: Set the key installed flag to sta_ds after roam
After roaming, new pe session is created and based on the authentication
status received in the roam synch indication, the is_key_installed flag
is set. But this flag is not set to sta ds after roaming.
This causes deauth frame to roamed AP sent out unencrypted after
roam.

Set the key installed flag to sta ds if the auth status in
roam synch indication is authenticated.
If the status is connected, this flag will be set in the
set key response path.

Change-Id: I9784fc4e44bb859b8ad075b164ed9bddc4c4fc36
CRs-Fixed: 2635262
2020-04-11 10:04:19 -07:00
nshrivas
45c353be7b Release 5.2.0.181
Release 5.2.0.181

Change-Id: Ie3ff8ae9228185edc4eb392a8f9ab5b7a11eb20b
CRs-Fixed: 774533
2020-04-11 07:34:00 -07:00
Utkarsh Bhatnagar
00b9851ebb qcacld-3.0: Fix Mem leak in wma_tx_packet
Free packet memory in error cases in wma_tx_packet.

Change-Id: I4409b69fecdf28ae6e94af390e5de61208577383
CRs-Fixed: 2658624
2020-04-11 07:33:59 -07:00
nshrivas
f1f419593b Release 5.2.0.180Z
Release 5.2.0.180Z

Change-Id: I5c597e02556272c5586714bd42a4871dd552c0b0
CRs-Fixed: 774533
2020-04-10 16:36:40 -07:00
Abhishek Ambure
c04140f818 qcacld-3.0: Update proper NSS in OMN ie of assoc request
Host adds OMN ie in the association request only if the AP to
which DUT associates advertises OMN IE and DUT supports VHT.

Update proper NSS in OMN ie of assoc request to overcome low
throughput issues in VHT op mode.

Change-Id: If00042b5f61016efb7839b87d7e8a46513f6d520
CRs-Fixed: 2660821
2020-04-10 16:36:40 -07:00
Srinivas Dasari
2fb2579b4a qcacld-3.0: Check for objmgr peer entry in wma_remove_peer
Currently, NDP peer entry is cached in dph table when an NDP
indication is received. Existence of this entry in the table
is used to know if the NDP session is still valid and peer cleanup
happens based on that. It removes the entry from dph table once the
cleanup is done in WMA_DELETE_STA_RSP handler. Below are the two
cases to initiate cleanup on an NDP,
1. When NDP_END indication is received from firmware
2. When NDP confirm is received with a failure from firmware

There can be a scenario where these two events happen back to
back for the same peer. An event might attempt to remove peer with
wma_remove_peer while the other event has already removed and just
before deleting the entry from dph table.
So check for the existence of peer entry in objmgr in
wma_remove_peer before proceeding for the peer removal. Try to
remove peer only if it's present.

Change-Id: I473a4608939f1ad919d93e065b7deaa9ff2da5a7
CRs-Fixed: 2653662
2020-04-10 16:36:24 -07:00
nshrivas
9f464b901d Release 5.2.0.180Y
Release 5.2.0.180Y

Change-Id: Idb868b11a86e4b47421a27c376d172444278613e
CRs-Fixed: 774533
2020-04-10 14:42:51 -07:00
Alan Chen
7fdebd5b4a qcacld-3.0: Change NLA_UNSPEC to NLA_BINARY for DO_ACS vendor command
Kernel does not like NLA_UNSPEC type in DO_ACS vendor command. Hence,
change NLA_UNSPEC to NLA_BINARY and pass the .length attribute as well.

Change-Id: I686d0caa31f66e316f79b3d21158f349417e19e8
CRs-Fixed: 2661125
2020-04-10 14:42:51 -07:00
nshrivas
cf597e4d6e Release 5.2.0.180X
Release 5.2.0.180X

Change-Id: Ifccdddcb94cb4ac93b5545666c28d2660d30905f
CRs-Fixed: 774533
2020-04-09 21:08:52 -07:00
gaurank kathpalia
18aa9fa4a4 qcacld-3.0: Force SAP on default channel
Currently the driver fails the ACS process
if no channel is found suitable for SAP by
ACS and thus hotspot cannot be enabled.

Fix is to force SAP to come up on some
default channel, this behaviour would
be controlled via an ini to that customers
can choose whether to opt for this behaviour
or not.

Change-Id: I8a63cf0c5d42802e33f4ad67a33d148a4da54d2a
CRs-Fixed: 2658297
2020-04-09 21:08:52 -07:00
nshrivas
b4b63306e4 Release 5.2.0.180W
Release 5.2.0.180W

Change-Id: Iefa1c931a706b0ccf0a64bdcac4e17a96bfbd03e
CRs-Fixed: 774533
2020-04-09 19:39:02 -07:00
hqu
d7b5479bb5 qcacld-3.0: Don't remove pending cmd when NB disconnect complete
In case eCsrForcedDeauthSta from NB is completed, eWNI_SME_DEAUTH_RSP
will remove all pending eSmeCommandWmStatusChange type commands from
serialization, this will cause other peers which deauth request is
from SB are not deleted from LIM and remain in deleting progress.

Fix is to don't remove pending eSmeCommandWmStatusChange type
commands when NB disconnect complete from eWNI_SME_DEAUTH_RSP.

Change-Id: I8e2248463fb7fd97343d411d46b1cae08dc4cb25
CRs-Fixed: 2652486
2020-04-09 19:39:02 -07:00
nshrivas
8bd2a26851 Release 5.2.0.180V
Release 5.2.0.180V

Change-Id: I14cc7a7b07d4a95565f4e2ca92e6dc62254450da
CRs-Fixed: 774533
2020-04-09 18:07:45 -07:00
Wu Gao
152144bd1a qcacld-3.0: Parse capture type of CFR
Userspace uses enum qca_wlan_vendor_cfr_capture_type as CFR capture
type, and host parses and converts to enum capture_type.

Change-Id: Ia9054d405afee914fe8166315a21f205ba7968bb
CRs-Fixed: 2656468
2020-04-09 18:07:45 -07:00
nshrivas
07a1eff512 Release 5.2.0.180U
Release 5.2.0.180U

Change-Id: Icbabde0529a2e0270f9b34637f8af69c3978b630
CRs-Fixed: 774533
2020-04-09 16:16:41 -07:00
bings
ae6ab55517 qcacld-3.0: Allow sap start in dfs channel if sta in 2g for DBS mode
If DBS mode is supported, when station is connected in 2g channel, sap
should be able to start in dfs channel.

Allow sap start in dfs channel if sta is connected in 2g for DBS mode.

Change-Id: I189651785982b0f08a286da9f5dbe8c91b1f16c4
CRs-Fixed: 2654949
2020-04-09 16:16:41 -07:00
nshrivas
c576364f4d Release 5.2.0.180T
Release 5.2.0.180T

Change-Id: Ib0c34c07af1f5a3ac222de7b82991f0079903fe8
CRs-Fixed: 774533
2020-04-09 09:46:12 -07:00
Abhinav Kumar
b473f03317 qcacld-3.0: Fix race between disconnection and RSO stop
Assume in case of STA + STA, where STA1 is on 2G band
and STA2 is on 5G band.

While switching STA1 to STA2, hdd_reg_set_band issue
disconnect, in order to change band (say 2G to 5G) and
start processing roam scan offload request to make sure
roaming gets enable on only one STA at a time.

eWNI_SME_DISASSOC_REQ and eWNI_SME_ROAM_SCAN_OFFLOAD_REQ
msg get posted to lim back to back through a single thread.

HOST starts processing DISASSOC_REQ first and waits for
tx_completion ACK for disassoc frame. Ideally, Host should
process eWNI_SME_ROAM_SCAN_OFFLOAD_REQ before getting ACK
for disassoc frame.

In case if DUT immediately gets disassoc ACK, DUT complete
disassoc req and then gets chance to process SCAN_OFFLOAD req.
Once DUT enters into Disconnection state, HOST never sends
RSO stop command to FW and leads to assert in fw.

Fix is to synchronize eWNI_SME_DISASSOC_REQ and
eWNI_SME_ROAM_SCAN_OFFLOAD_REQ command to make sure RSO stop
gets process first followed by Disconnection/deauth.

Change-Id: I4b29dda44729f5eddd82fec0b0e52a656d5cae37
CRs-Fixed: 2657305
2020-04-09 09:46:12 -07:00
nshrivas
b3e8019000 Release 5.2.0.180S
Release 5.2.0.180S

Change-Id: I605be843ea291e2390440380e69bceddda7190da
CRs-Fixed: 774533
2020-04-09 05:20:30 -07:00
Gururaj Pandurangi
a0d5b2ffb2 qcacld-3.0: Update HE BW in assoc indication
Update ch_width in assoc indication in the API
lim_fill_lim_assoc_ind_params if op frequency
is 6GHz. Also, create mapping function to map
two different ch_width enums.

Change-Id: I4f8a19a60a8922cbc6b5d35cbac86233108818da
CRs-Fixed: 2656016
2020-04-09 05:20:30 -07:00
Nisha Menon
5a8ea4c3a3 qcacld-3.0: Enable MCL feature flag HIF_CPU_PERF_AFFINE_MASK
This feature is enabled in order to move the WLAN IRQs
to the gold cores only for defconfig builds. The IRQ
affinity hint is updated on boot up and when the cpu
hotplugs in.

Change-Id: I8014c181c8ba66875f13736638db91f6a5174f49
CRs-Fixed: 2656331
2020-04-09 05:20:14 -07:00
nshrivas
530bf66893 Release 5.2.0.180R
Release 5.2.0.180R

Change-Id: If28704795040a18e85bd6b70dc662b3624975f8b
CRs-Fixed: 774533
2020-04-09 01:39:07 -07:00
Amar Singhal
f01729c76b qcacld-3.0: Check for 6 ghz service bit enabled
Check for 6ghz wmi service bit enabled to set
channel range.

Change-Id: I00139a07840673eda463d898a7919093a4c55c14
CRs-Fixed: 2655381
2020-04-09 01:39:07 -07:00
nshrivas
3d4b93ad8a Release 5.2.0.180Q
Release 5.2.0.180Q

Change-Id: I1c21b8c40d1e7a507eaf57c50a2624acbe8d34d0
CRs-Fixed: 774533
2020-04-08 20:48:26 -07:00
Sandeep Puligilla
7f8ac8f46a qcacld-3.0: Add 6ghz band capability IE to probe response
6GHz Band capabilities are not present in probe
response from 6Ghz SAP.

Add 6Ghz band capability IE to probe response
template to firmware in SAP mode.

Change-Id: I66aed722a4a7cfbe409dc932fd20169b59575495
CRs-Fixed: 2655788
2020-04-08 20:48:26 -07:00
nshrivas
31662c0141 Release 5.2.0.180P
Release 5.2.0.180P

Change-Id: I01c6d33516de324fc9e663a301ef7e137b623073
CRs-Fixed: 774533
2020-04-08 19:10:32 -07:00
Abhinav Kumar
1322a2da5f qcacld-3.0: Fix race between ht_width_switch and roam start
Host receives ROAM_SYNCH event from FW when MLME SM
is in ST-RESTART_PROG state while processing ht_width_switch
request. This results in MLME SM not able to send SYNC IND failure
to FW and leads to assert in FW.

Below fix are required to handle the above situation:
1. Avoid VDEV-RESTART while handling ht_width_switch if
   roaming is in progress on the same vdev.

2. If Vdev is not UP then send roam sync failure to FW to
   avoid assert in FW.

3. If ht_width_switch req fails then make sure host initiates
   disconnection.

Change-Id: I91cb46cc7b9c3e3a1d5858275ade16c6f0f47286
CRs-Fixed: 2658871
2020-04-08 19:10:32 -07:00
nshrivas
e86d74b287 Release 5.2.0.180O
Release 5.2.0.180O

Change-Id: Iac2b64a3774c88e88ea73573d6ce7d4f70d76351
CRs-Fixed: 774533
2020-04-08 11:26:38 -07:00
Pragaspathi Thilagaraj
ae0fb161a4 qcacld-3.0: Remove redundant SAP logs
Remove excessive SAP start/client connection logs.

Change-Id: Idb593c3eee77eb24084eca15ce53a43a3f4060da
CRs-Fixed: 2627367
2020-04-08 11:26:38 -07:00
nshrivas
b9e29b0f11 Release 5.2.0.180N
Release 5.2.0.180N

Change-Id: Ia8748386129d21b4ca935a56a60902d5015578f0
CRs-Fixed: 774533
2020-04-08 06:30:03 -07:00
Madhvapathi Sriram
3e48ab869c qcacld-3.0: Enable PN check in host for qcn7605
qcn7605 firmware does not support full PN check.
Disable PN check offload to firmware and enable host check.

Change-Id: I4720c3fed80bda6626a62bd396e01ec88dc22dd3
CRs-Fixed: 2657576
2020-04-08 06:30:03 -07:00
nshrivas
af96f2cf17 Release 5.2.0.180M
Release 5.2.0.180M

Change-Id: Ib9f57805d9e3684f596b60f32ba3a44824df03d3
CRs-Fixed: 774533
2020-04-08 05:00:18 -07:00
Jianmin Zhu
7a78877964 qcacld-3.0: Mgmt frame buffer free before dma unmap on Rome
Rome doesn't support service WMI_SERVICE_MGMT_TX_WMI, mgmt frames
and their tx complete are sent by HTT instead of WMI.
WLAN_SOC_CEXT_WMI_MGMT_REF cap isn't set too.

When delete vdev, need drain all mgmt packets of the vdev,
if there are mgmt frames waiting tx complete, need complete them
and free nbuf forcely, but dma unmap is missed on Rome for
WLAN_SOC_CEXT_WMI_MGMT_REF not set, assert will happen when free
nbuf.

Fix:
Don't check WLAN_SOC_CEXT_WMI_MGMT_REF when drain mgmt frames,
then dma unmap will happen before nbuf free on Rome.

Change-Id: I27c46c71cbc35df371d9852860da0cb9f08c826f
CRs-Fixed: 2650229
2020-04-08 05:00:17 -07:00
nshrivas
746fbcaa9e Release 5.2.0.180L
Release 5.2.0.180L

Change-Id: Ibaecd8c21dd613acc9de07dce697ff97c770949f
CRs-Fixed: 774533
2020-04-08 03:23:46 -07:00
Karthik Kantamneni
16b1553717 qcacld-3.0: Add new PLD PCI FW sim API
Add new pld pci fw sim api to read pci configuration header from
host.

Change-Id: Ie1820065f23c7fdf220a4abb9d6975270c2d1766
CRs-Fixed: 2657797
2020-04-08 03:23:46 -07:00
Mohammed Siddiq
d1f55ebdbc qcacld-3.0: initialize pld_uevent_data variable to zero
Initialize pld_uevent_data variable to zero, as the driver
expects zero data if there is no fw down data sent from
platform driver.

Change-Id: I24c3fa459207d254f7b579a387985eca06466447
CRs-fixed: 2658683
2020-04-08 03:23:03 -07:00
nshrivas
a4a1a9ba38 Release 5.2.0.180K
Release 5.2.0.180K

Change-Id: I816c2837b35b8776848a280bccbf4b64301df2fe
CRs-Fixed: 774533
2020-04-08 00:04:33 -07:00
Abhinav Kumar
8f5c55f368 qcacld-3.0: Remove unused CSA code for non offload
CSA is offloaded in all chipset and thus the non-offload
version can be removed.

Change-Id: I9f84195ef962c69668843cfc50631757a8960fee
CRs-Fixed: 2658860
2020-04-08 00:04:33 -07:00
nshrivas
7e2e01bce4 Release 5.2.0.180J
Release 5.2.0.180J

Change-Id: I7cacb5d1db9ed5abce7b036f0adf40f40838daf1
CRs-Fixed: 774533
2020-04-07 22:20:53 -07:00
Sourav Mohapatra
18bed7536f qcacld-3.0: Rectify sanity check for IE whitelisting bitmaps
Currently the sanity check present for the IE whitelisting bitmaps is
not proper. Instead of allowing the correct bitmaps to be used, it
prevents any of the bitmap to be used if a single one is zero.

Rectify the above check to allow the bitmaps to be used if atleast one
of them has a non zero value.

Change-Id: I496d6c6a1bda8c11d9bd42ea41a79ab04b539357
CRs-Fixed: 2647608
2020-04-07 22:20:53 -07:00