Commit graph

21,532 commits

Author SHA1 Message Date
snandini
534b052d39 Release 2.0.8.9W
Release 2.0.8.9W

Change-Id: I6cf4db5b481f20477582fef021102a0496776eb0
CRs-Fixed: 774533
2021-02-02 13:57:04 -08:00
Rajeev Kumar
964bb04a28 qcacld-3.0: Set target config with default sap and go d3 config
Host needs to send down sap and go client connected mode d3 wow
feature support and hence save the default config which will be
send later down to FW via WMI INIT CMD.

Change-Id: I71ff3155e30ea03c63045473ad256dc14026f5fd
CRs-Fixed: 2866617
2021-02-02 13:57:04 -08:00
snandini
375a02b971 Release 2.0.8.9V
Release 2.0.8.9V

Change-Id: Ib1b9771ec07445837b3cee89588605549f6a21a7
CRs-Fixed: 774533
2021-02-02 09:19:34 -08:00
Pragaspathi Thilagaraj
c484007a83 qcacld-3.0: Fix AEAD decryption failure with FILS PMF connection
AEAD decryption failure happens when AP sends association
rejection frame as part of the PMF SA query procedure. AP
doesn't include FILS Session IE, but STA tries to AEAD decrypt
the frame starting from the FILS session IE and drops the
association rejection frame due to AEAD decryption frame.
So association failure timeout kicks in and proper reason
code is not indicated to userspace due to which automatic
connection retry to the AP doesn't happen.

Skip AEAD decryption if status code is not success in the
association response frame and proceed to parse the frame.

Change-Id: I9dcc85afb896717cfd20102c219b58e0e982f340
CRs-Fixed: 2797416
2021-02-02 09:19:34 -08:00
snandini
1fb2dab782 Release 2.0.8.9U
Release 2.0.8.9U

Change-Id: Ie216e152dd6a28a13f1b9f5ce981a2601b514720
CRs-Fixed: 774533
2021-02-02 00:03:08 -08:00
Kiran Kumar Lokere
6cf1003125 qcacld-3.0: Update the session he cap if channel is changed
Update the session he capabilities when SAP switches to new
channel and if new channel band or channel width is different from
current session channel info.

Change-Id: I1a91864eb6f26189c37b2dc715e6b6d7fb950458
CRs-Fixed: 2863366
2021-02-02 00:03:08 -08:00
snandini
e31e29c20c Release 2.0.8.9T
Release 2.0.8.9T

Change-Id: Ie20132be14e190fa95178114f94fe089ef522859
CRs-Fixed: 774533
2021-02-01 20:52:48 -08:00
Arun Kumar Khandavalli
332c4e19ab qcacld-3.0: Release sme global lock in the error condition
with recent commit 203218df88e7 
("qcacld-3.0: Set sme power stats response cb and context to NULL")  
fix in the error condition the sme global lock is not getting released 
resulting in the mc thread being struck.

Release the sme global lock in the error condition.

Change-Id: I6235a632c6b74c48374d4584eb727bf9ffe296a8
CRs-Fixed: 2867358
2021-02-01 20:52:48 -08:00
snandini
20f79de095 Release 2.0.8.9S
Release 2.0.8.9S

Change-Id: I963b019e2aadb2cf783a565e42fd8d685c74e174
CRs-Fixed: 774533
2021-02-01 18:40:06 -08:00
gaurank kathpalia
6f939ff044 qcacld-3.0: Move HE caps to vdev mlme priv
Move HE caps to vdev mlme priv and remove it from csr session.

Change-Id: I3f68aa66cfd1828dea4e46aff1dd758fbfde4a48
CRs-Fixed: 2809092
2021-02-01 18:40:05 -08:00
snandini
6206963745 Release 2.0.8.9R
Release 2.0.8.9R

Change-Id: Ia2e41126291faf0a99cac659bffb0418e3955208
CRs-Fixed: 774533
2021-02-01 16:20:03 -08:00
Liangwei Dong
9380857123 qcacld-3.0: Fix SAP 160Mhz radar event miss issue
When SAP operated in channel 36 with 160Mhz, the primary channel
36 is non-dfs and existing checking dfs will drop the radar event
if the radar detected on channel 52. Change policy mgr API to
check the dfs flags instead of primary channel state.

Change-Id: Ie2f242182b8df30e5d1875e278c5ebffa2e7cafd
CRs-Fixed: 2865173
2021-02-01 16:20:03 -08:00
snandini
b64317d44b Release 2.0.8.9Q
Release 2.0.8.9Q

Change-Id: If9e1b71224424fa5eb73f019d8c07b3c3d381dec
CRs-Fixed: 774533
2021-02-01 12:42:12 -08:00
Ashish Kumar Dhanotiya
49ff00af85 qcacld-3.0: check net dev ref leak before removing adapter from list
Currently driver checks net dev ref leak for adapter, once it
removes adapter from the list which is not the correct way as
in some cases it is possible that one thread loops through the
the adapter list and uses one of the adapter and the other thread
deletes the adapter from the list, since the adapter is deleted
from the list, it's next and previous pointers will point to
itself which will lead first thread to fall into infinite loop.

To address above issue check net dev ref leak before removing
adapter from the adapter list so that it will make sure that
no other thread is holding the referene of this adapter.

Change-Id: I819458e9de8f016898e24bf3bb376acb657e8187
CRs-Fixed: 2854000
2021-02-01 12:42:12 -08:00
Lincoln Tran
c7ffe15429 qcacld-3.0: Rate limit logs related to SAP chan select
When selecting channel for SAP to operate on, it searches,
calculates, and sorts the channels. Each of these steps produces a lot
of prints, so rate limit them to prevent a time out.

Change-Id: If78c7a4f840bf9353f42dd544134ee690637d22e
CRs-fixed: 2865639
2021-02-01 08:47:36 -08:00
snandini
6f7b6c565e Release 2.0.8.9P
Release 2.0.8.9P

Change-Id: I22b17d59bb751d766f724dcc1a0b993e6ff6aa05
CRs-Fixed: 774533
2021-02-01 05:49:41 -08:00
Min Liu
23a4c839ad qcacld-3.0: Fix iwpriv command getMaxAssoc
Fix the issue that iwpriv command getMaxAssoc act as setMaxAssoc.

Change-Id: I8fddc0ff724147cb55d53b0ce5a918745b3101d3
CRs-Fixed: 2844640
2021-02-01 05:49:41 -08:00
snandini
5eef4197a9 Release 2.0.8.9O
Release 2.0.8.9O

Change-Id: I232f08504c9baffafa45993be07b5cc1e8f641b7
CRs-Fixed: 774533
2021-01-31 17:20:49 -08:00
Abdul Muqtadeer Ahmed
50982ac6b3 qcacld-3.0: Replace mission mode with monitor mode
The command should not be sent when device is in monitor mode.
But it is allowed in mission mode.

Change-Id: Ic21a8244425315577e7f0b2423c4fe6c5ac42702
CRs-Fixed: 2847777
2021-01-31 17:20:49 -08:00
Abdul Muqtadeer Ahmed
f324265e16 qcacld-3.0: Add new driver commands
TPUT_DEBUG_MODE_ENABLE and TPUT_DEBUG_MODE_DISABLE are two new driver
commands. So when this commands will get issue, host needs to send
setUnitTestcmd with different arguments for different target to
enable/disable the module logging.

Change-Id: I5deb18f08f59ce936696e00b6537b0acf7c846a1
CRs-Fixed: 2842740
2021-01-31 17:20:45 -08:00
snandini
6b0935a924 Release 2.0.8.9N
Release 2.0.8.9N

Change-Id: I583a2f540b36ad65c6d035dd1049af4afe6b0684
CRs-Fixed: 774533
2021-01-31 14:07:19 -08:00
Utkarsh Bhatnagar
036a02041d qcacld-3.0: Don't use Auto API to get Op class from freq
Use wlan_reg_freq_width_to_chan_op_class() instead of
wlan_reg_freq_width_to_chan_op_class_auto() to convert freq
to Operating class.
As the auto API forces the non-6Ghz channel to use the channel
map class. With auto API, in case of 6Ghz band, only those classes
specified in global operating class can be used

For OCV validation , always use global opclass as mandated by spec

Change-Id: I8ae776199f3b886f3c9cec83070294fca2135b50
CRs-Fixed: 2848638
2021-01-31 14:07:19 -08:00
snandini
0cae238680 Release 2.0.8.9M
Release 2.0.8.9M

Change-Id: I7ea787b67c413390da9c2136f617a3fed6f27c08
CRs-Fixed: 774533
2021-01-31 12:02:34 -08:00
Abdul Muqtadeer Ahmed
261a0b6895 qcacld-3.0: Add a new ini param to enable PCI gen switch
Add a new ini param to enable/disable PCI gen switch

Change-Id: Ie8c61dbfb9834aac96a95eb935521e1bc4b3b835
CRs-Fixed: 2865861
2021-01-31 12:02:34 -08:00
snandini
8a9950f3ab Release 2.0.8.9L
Release 2.0.8.9L

Change-Id: I95d6848920721b4f7795af92413c9dbb414636a1
CRs-Fixed: 774533
2021-01-31 03:25:18 -08:00
Naman Padhiar
83b2ce6faa qcacld-3.0: Collect return value of pld_ipci_smmu_get_domain
Return value of pld_ipci_smmu_get_domain is not collected and
return to caller. Properly collect return value of
pld_ipci_smmu_get_domain.

Change-Id: Ia09f5eba950cb2631f4696fc927c32f49821b9ff
2021-01-30 07:12:55 -08:00
snandini
67b670357d Release 2.0.8.9K
Release 2.0.8.9K

Change-Id: Ic9ad504d29720ad91ea715cfe2c70592d3e07ed1
CRs-Fixed: 774533
2021-01-29 19:11:33 -08:00
Alan Chen
f7877eaa80 qcacld-3.0: Split SAP and GO modes ini
Rename existing INI to enable_bus_suspend_in_sap_mode and define a
new enable_bus_suspend_in_go_mode. Also define new APIs
wma_is_vdev_in_sap_mode and wma_is_vdev_in_go_mode.

Change-Id: If38c4db7b3d1f7323df45d9a7d80a02a44e7ca41
CRs-Fixed: 2864596
2021-01-29 19:11:33 -08:00
Alan Chen
590d5406c3 qcacld-3.0: Define a new wakelock for WPS probe request wakeup
Define a new wakelock for WPS probe request wakeup.

Change-Id: Idd39664dc70db4dd15594f77846b74c36049659c
CRs-Fixed: 2863611
2021-01-29 19:11:29 -08:00
Alan Chen
b604f18753 qcacld-3.0: Add a log for generic wake up reason
Add a log for generic wake up reason.

Change-Id: I83c3d89d334e3688529ff908e072ca681d0ad579
CRs-Fixed: 2863479
2021-01-29 19:11:25 -08:00
snandini
28fc1640a8 Release 2.0.8.9J
Release 2.0.8.9J

Change-Id: If0480ee06a3cf78ac715e5b2cd17e07ff583a11b
CRs-Fixed: 774533
2021-01-29 03:56:55 -08:00
Pragaspathi Thilagaraj
3d67265b0c qcacld-3.0: Strip the fixed fields of assoc req/rsp in connect result
Driver sends the assoc request and association response frame to
the kernel/userspace on connection success & association failure
cases. In successful connection case, the driver strips the fixed
fields and sends only the Association request/response IEs. But
in association failure case driver includes the Fixed fields in
the connect result.

Don't include the fixed fields in the association request/
response frame sent in the connect result.

Change-Id: I2e17df1669a8790253b1dde91f5ed100c1d3e6d9
CRs-Fixed: 2856213
2021-01-29 03:56:55 -08:00
snandini
ccf731cb90 Release 2.0.8.9I
Release 2.0.8.9I

Change-Id: I7f52107e943a914465a416287ca27c0019f8938f
CRs-Fixed: 774533
2021-01-29 01:56:10 -08:00
Surabhi Vishnoi
0ad4d25156 qcacld-3.0: Release dev_hold before interface cleanup
hdd_for_each_adapter_dev_held_safe API takes dev_hold and
during cleanup of interface, dev is unregistered. So later
when dev_put is called, it results in illegal access to
unregistered dev.
Fix this issue by releasing dev_hold before interface cleanup.

Change-Id: Ib6bfe1a985f21be107b69beec0f92feccc98f34e
CRs-Fixed: 2855833
2021-01-29 01:56:10 -08:00
snandini
75ba7aa2a4 Release 2.0.8.9H
Release 2.0.8.9H

Change-Id: I05557eff4ebdf8a54353e44cdda218bbaa86701d
CRs-Fixed: 774533
2021-01-28 21:56:29 -08:00
Arun Kumar Khandavalli
f54d8b55c6 qcacld-3.0: save hang data to extract from the dumps
In order to improve the hang data it will be now processed internally
on every dump, hence store the data in the global variable to get
parsed by tools internally.

Change-Id: I0cfacd0643e5e486630a8ba0989c0d7d0c9a63c8
CRs-Fixed: 2810338
2021-01-28 07:21:40 -08:00
snandini
2ad21cb593 Release 2.0.8.9G
Release 2.0.8.9G

Change-Id: I1b9c79691c6e16154c97b5048e3d6f4584bb8138
CRs-Fixed: 774533
2021-01-27 21:25:11 -08:00
Surabhi Vishnoi
459da8ac41 qcacld-3.0: Issue disconnect only in case of mon concurrency
While adding monitor interface, issue disconnect for existing
STA interface only if mon concurrency is supported, for packet
capture mode disconnection is not required.

Change-Id: I6e970eb52681fcb500ab56372ff93e9c73d79618
CRs-Fixed: 2855842
2021-01-27 21:25:10 -08:00
Surabhi Vishnoi
7028b1194c qcacld-3.0: Add support for RX offload pkts in packet capture mode
Add support to process RX offload packets in lithium for
packet capture mode.

Change-Id: Ic307d83f579bf53a025b4b4c159e24de97e2dde6
CRs-Fixed: 2856783
2021-01-27 21:25:06 -08:00
Vulupala Shashank Reddy
f3e6a28f1a qcacld-3.0: Remove ucfg_pkt_capture_deregister_callbacks
ucfg_pkt_capture_deregister_callbacks getting called twice
while deregistering packet capture mode.

Remove ucfg_pkt_capture_deregister_callbacks from
wlan_hdd_del_monitor.

Change-Id: Id69288b390d9508396e4fb4ca4adcea3f0548deb
CRs-Fixed: 2734980
2021-01-27 21:25:01 -08:00
snandini
6c58a76eaa Release 2.0.8.9F
Release 2.0.8.9F

Change-Id: I899bdc9f8254e9fbbaf88484c15c6b597d7fc7e6
CRs-Fixed: 774533
2021-01-27 12:30:12 -08:00
Bapiraju Alla
c95d0eef1f qcacld-3.0: Don't unregister vdev sync after pre CAC success
Currently , pre CAC adapter will be closed during SAP interface down.
But pre_cac vdev sync is being unregistered after pre CAC success.
Because of this, pre CAC adapter close will fail and the same pre CAC
adapter context will be retained for subsequent SAP start. As a result
pre CAC request may fail after SAP restart.

To address this, don't unregister vdev sync after pre CAC success.

Change-Id: I2d5969274de290bd86cd510ed2a3ff4e095042b0
CRs-Fixed: 2861298
2021-01-27 12:30:11 -08:00
Bapiraju Alla
85d542301d qcacld-3.0: Add debug infra to detect reference leaks for dev_hold
Currently there is no debug infra to detect the API that caused the
reference leak for dev_hold. So, It very hard to debug/fix the
reference leak issues.

To address this, add debug_infra for dev_hold and dev_put calls in
the driver. This change also fixes the few reference leaks with
hdd_for_each_adapter_dev_held_safe.

Change-Id: Icf1adf53c3bd11c715111494bac958c541ef87ea
CRs-Fixed: 2825558
2021-01-27 12:30:07 -08:00
snandini
0993e4da2c Release 2.0.8.9E
Release 2.0.8.9E

Change-Id: I3623e4fce46043a9afa0c26df83ed8a484029650
CRs-Fixed: 774533
2021-01-26 23:22:47 -08:00
Liangwei Dong
0467897c6e qcacld-3.0: Revert wdev->mtx lock in channel switch
Revert wdev->mtx locking in commit
I0dd415a5576d29e3a7729768c8482205677ca3e7.
For STA eCSR_ROAM_STA_CHANNEL_SWITCH message, the sme_global_lock
is acquired in schedule thread alreadly. If we acquire wdev->mtx
in same thread, it will break the lock order and cause deadlock
issue. That is because the kernel -> Driver hdd request will
acquire wdev lock and then sme lock.

Change-Id: I6737040b596161c57589a5b2aac1a53754a8cba5
CRs-Fixed: 2862879
2021-01-26 23:22:47 -08:00
Srinivas Dasari
5639d14557 qcacld-3.0: Allow/reject WAPI concurrency based on firmware support
Currently, host driver rejects any concurrent session with other
security modes(e.g. NAN) when WAPI is present. This is due to a
limitation on older platforms. But newer platforms(e.g. Lithium
architecture) support WAPI+other security modes concurrently.
Firmware advertises service capability WAPI_CONCURRENCY_SUPPORTED if it
supports other security modes when WAPI is active. Get the capability
and accept/reject concurrent sessions.

Change-Id: I0e004e1220afd9c42869589364606c9f729798f7
CRs-Fixed: 2844799
2021-01-26 23:22:43 -08:00
snandini
39a0f584d4 Release 2.0.8.9D
Release 2.0.8.9D

Change-Id: Iba5f3b9fd9755820e5dca5619d985fd51eeaa57e
CRs-Fixed: 774533
2021-01-26 13:55:53 -08:00
Min Liu
864856f884 qcacld-3.0: Channel switch on 2G when CC is updated
Current logic in wlansap_get_chan_band_restrict will skip channel
switch for 2G channel which is disabled due to CC update by mistake.
Update the condiction logic to make it work properly.

Change-Id: Ib4c07447f14a47c2934c63ebdc09821eb8e5a3d1
CRs-Fixed: 2818651
2021-01-26 13:55:53 -08:00
Min Liu
cbfd662af4 qcacld-3.0: Update CC in beacon of SAP
Currently when CC change but restart SAP is not needed, no beacon
or probe response template is updated to FW and the CC IE in beacon
is not updated. Need to update accordingly.

Change-Id: I588fdf6f9dd69c9c01058ba17a4282d732ed74be
CRs-Fixed: 2818650
2021-01-26 13:55:48 -08:00
snandini
0fffb0a232 Release 2.0.8.9C
Release 2.0.8.9C

Change-Id: I0cce0b4150814cbc8b750da65d8ec75cb0865c3c
CRs-Fixed: 774533
2021-01-26 03:29:06 -08:00