Commit Graph
19822 Commits
Author SHA1 Message Date
Madan Koyyalamudi dcd9798a57 Release 5.2.022.8U
Release 5.2.022.8U

Change-Id: I1f9f97ec5fc33d4a5af47a057d3934b735313108
CRs-Fixed: 774533
2021-08-19 09:51:31 -07:00
Arun Kumar Khandavalli 9d3c695209 qcacld-3.0: Stop dsc transaction in case of reinit failure
Incase of any error in the driver reinit the dsc transaction is
not stopped resulting in the timeout and system instability.

To mitigate the above issue, stop the dsc timeout incase of
reinit failure.

Change-Id: I59b37581a2e6909b61a32344ae9c4af2118558eb
CRs-Fixed: 2780376
2021-08-19 08:31:57 -07:00
Madan Koyyalamudi df422ddaf5 Release 5.2.022.8T
Release 5.2.022.8T

Change-Id: I2b74b9a6778f8883ec04291a2ad66e959efa7158
CRs-Fixed: 774533
2021-08-16 10:35:22 -07:00
Chaoli Zhou b25ad59cfe qcacld-3.0: Add vendor command support for GPIO Configuration
Add vendor command support for GPIO configuration.
It adds wma wrapper functions to send wmi command
for GPIO configuration, which are called by cfg80211
API in hdd layer
Change-Id: I9a02072afaab893d12fc9c991c8265b5aa19cd75
CRs-Fixed: 2753571
2021-08-16 10:35:22 -07:00
Madan Koyyalamudi 3cd0525e6b Release 5.2.022.8S
Release 5.2.022.8S

Change-Id: I672d35f641d1ac15a129e5667a46c6afc0fc417e
CRs-Fixed: 774533
2021-08-16 03:46:41 -07:00
Deeksha Gupta f6d7c03a40 qcacld-3.0: Reset rand mac addr filter after tx frame cancel
Currently, If supplicant sends tx_mgmt request with random
mac_addr then driver adds the random mac_addr and sets this
random mac_addr to firmware via
WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_CMDID command. Driver waits
for tx_ack or tx cancel wait to complete and then remove the
cookies and start timer to delete the random mac_addr.
In case after receiving tx_ack, driver removes the cookie and
starts timer and before timeout supplicant sends the
tx_cancel_wait request. But driver can't update the timer
duration as the cookie was already deleted as part action frame
tx completion.

Fix is driver will remove the cookie with below condition:
1. If driver receives the tx_ack and the wait duration = 0 then
no need to start the timer, remove the cookie and also remove the
random mac_addr from firmware
2. If driver receives the tx_ack and the wait duration != 0 then
start the timer
3. If driver receives tx_cancel_wait then stop the timer and
remove the randon mac_addr from firmware
4. If timeout happens then remove all the cookies for the random
mac_addr and also remove the random mac_addr from firmware

Change-Id: I3e227213239e865582e5d8674260d049c437aa9b
CRs-Fixed: 3002851
2021-08-16 03:46:40 -07:00
Madan Koyyalamudi 2cd6d34efe Release 5.2.022.8R
Release 5.2.022.8R

Change-Id: I546d786b3a4e988353c7a75b25fe5d16b30f7abc
CRs-Fixed: 774533
2021-08-13 15:48:00 -07:00
Ashish Kumar Dhanotiya 111c40077e qcacld-3.0: Update he and ht rate flags correctly
Currently driver does not update he and ht rate flags correctly
in wma as rate flags should include all the subsets of the
lower rate sets, which is not the case today and driver only
updates the higher rate flag. Because of which it leads to
invalid computation of txrate at the kernel.

To address this issue, update he and ht rate flags correctly in
wma.

change-Id: I6ec68af1f75650990384efbd61536042329665b2
CRs-Fixed: 2837245
2021-08-05 06:02:57 -07:00
Madan Koyyalamudi 03a42b10a1 Release 5.2.022.8Q
Release 5.2.022.8Q

Change-Id: I06f46b968cb2261bdcce7bddc5731febe3bfc972
CRs-Fixed: 774533
2021-07-30 09:52:39 -07:00
sheenam monga 7bfb466704 qcacld-3.0: Check band caps before initializing wiphy band
Currently driver initializes the wiphy 6ghz band without
checking the band capability. If FW does not support 6Ghz
then wiphy register is failed as wiphy 6ghz band is initialized
by driver.

To fix this, initialize the wiphy 6ghz band only when host
driver and FW both supports 6Ghz band.

CRs-Fixed: 2968968
Change-Id: I28d660f515d16d0eb4245311b42c69308576ac62
2021-07-30 09:52:39 -07:00
Madan Koyyalamudi 77aa021ea7 Release 5.2.022.8P
Release 5.2.022.8P

Change-Id: Ie9f8590bbf216251c32679d03f0fd844a4ada2e0
CRs-Fixed: 774533
2021-07-29 19:57:16 -07:00
Linux Build Service Account 1ae6784b03 Merge 4285c3dbb4 on remote branch
Change-Id: I50a7bdf1ed3ca2b8bc1bddce9079c970ef06fb98
2021-07-29 01:33:03 -07:00
sheenam monga 1b3e3b6483 qcacld-3.0: Don't consider previous rate flags after vdev restart
Currently rate flags are fetched from adapter before updating new
rate flags. Due to OR condition previous rate flags may not
overwrite and may provide different bandwidth and rate based than
actual params.

Fix is not to consider previous rate flags while updating new rates.

Change-Id: Ic6123858b0560141d1a8f3d366c3c5be95fd2fc9
CRs-Fixed: 2830204
2021-07-28 17:58:54 +05:30
Madan Koyyalamudi 7ac2cbb792 Release 5.2.022.8O
Release 5.2.022.8O

Change-Id: I0c6ad9d5f5c7112506c385fccfe5a1b509c1bce6
CRs-Fixed: 774533
2021-07-12 11:28:40 -07:00
Linux Build Service Account 399a6bb396 Merge 166c36edd6 on remote branch
Change-Id: Ia90f36ef44825a93058e116f9a9f71d1c856f42d
2021-07-10 01:42:08 -07:00
Yeshwanth Sriram Guntuka fc935dddd1 qcacld-3.0: Set system suspend/resume state in hif ctx
Set system state in hif ctx to suspend or resume on
system suspend and resume respectively.

Change-Id: If1904a4fe5c861deed1b35071be10cb8cc8d6407
CRs-Fixed: 2899520
2021-07-09 18:24:21 +05:30
Madan Koyyalamudi 4285c3dbb4 Release 5.2.022.8N
Release 5.2.022.8N

Change-Id: Id0f996c99c611ff86a3a87f8ee8a8562a3fee62b
CRs-Fixed: 774533
2021-07-08 02:46:20 -07:00
abhinav kumar 3d0c3f494f qcacld-3.0: Possible buffer overflow issue in wma
Possible bufer overflow risk in function
wmi_unified_bcn_tmpl_send.

Validate the beacon template length against
WMI_BEACON_TX_BUFFER_SIZE length to avoid overflow.

Change-Id: I98665de677f314f30a57991f48191f847718740c
CRs-Fixed: 2960714
2021-07-07 00:33:24 -07:00
Madan Koyyalamudi b17558f0b7 Release 5.2.022.8M
Release 5.2.022.8M

Change-Id: If3ec32aefea5c0910a722d1541b8c30d6187f712
CRs-Fixed: 774533
2021-07-06 00:04:51 -07:00
Pragaspathi Thilagaraj 0a5a928bbe qcacld-3.0: Fix IE offset while checking OWE transition mode
In OWE transition mode, the beacon from the transition mode AP
should be dropped after sending unicast probe to avoid kernel
entry for BSS with null ssid. But while parsing the IE, the
frame pointer passed points to the fixed fields.

So pass the ssid IE pointer to the OWE transition mode IE
parsing API.

Change-Id: I668bc2dfc32a5a23b44da50ac81bac98250faa2a
CRs-Fixed: 2814173
2021-07-06 00:04:51 -07:00
Madan Koyyalamudi de6443cfab Release 5.2.022.8L
Release 5.2.022.8L

Change-Id: I2f0ac62410e3e7c39547f2212cabe119b64f7046
CRs-Fixed: 774533
2021-07-05 15:56:04 -07:00
Pragaspathi Thilagaraj 9c4573d7da qcacld-3.0: Wait for probe response from AP in OWE transition mode
In OWE transition mode, the AP advertises one Hidden SSID and one
normal ssid and the OWE capable STA connects to the OWE supported
hidden SSID. When connecting to the hidden SSID, if the AP sends
beacon for the unicast probe request sent by driver before
anouncing join success, then the beacon NULL ssid gets updated to
the kernel. Then after successful association, while indicating
the connection successs to the kernel, the current bss is not
filled as wlan_cfg80211_get_bss() is called with the actual ssid
and not the NULL ssid.
Due to this when supplicant sends install key command for this
bss, kernel returns error and set_key always fails.

Wait for the probe response from the AP for the unicast probe
request sent before announcing join success and drop the beacon
received from the AP so that the driver
fills the proper ssid to the kernel bss entry and same ssid gets
used in association completion handler.

Change-Id: Icded0af5d45d3281ab4304bf166bdc318aa7a942
CRs-Fixed: 2782618
2021-07-05 15:32:43 +05:30
Madan Koyyalamudi d4f84e9ae9 Release 5.2.022.8K
Release 5.2.022.8K

Change-Id: I3f9498b61e4d4cd39ab7e9f2b85ea2841c46a959
CRs-Fixed: 774533
2021-07-01 02:11:01 -07:00
Yu Wang e56de246fb qcacld-3.0: Add sanity check for RRM global channel list
Add sanity check for RRM global channel list to avoid
possible NULL-Pointer issue.

Change-Id: Icfbf5282304a549a0dc92889f83cb1a31dde15b2
CRs-Fixed: 2972194
2021-07-01 13:18:43 +08:00
Madan Koyyalamudi 7b34499791 Release 5.2.022.8J
Release 5.2.022.8J

Change-Id: Ifdc7727e8afe5a3dd1b6f16683b0ba1dda954c2f
CRs-Fixed: 774533
2021-06-29 13:56:12 -07:00
Yeshwanth Sriram Guntuka dfebe0613a qcacld-3.0: Do not do PN check in case of WEP security
In WEP connection, IV values used for consecutive packets
could be random and need not be monotonically increasing
or consecutive in case of fragments. This could result in
incorrect drop of fragments.

Fix is to not do PN check in case of WEP security.

Change-Id: I8bfe16f3bf68752f4279b3fae1cf485a3abc1af7
CRs-Fixed: 2977416
2021-06-28 22:57:59 -07:00
Linux Build Service Account 5251d6b484 Merge 3333b25f9f on remote branch
Change-Id: I5a31a0c76054fb13dd506635f5ac6019705e61b2
2021-06-27 15:04:42 -07:00
Madan Koyyalamudi 166c36edd6 Release 5.2.022.8I
Release 5.2.022.8I

Change-Id: I5cb3bdb0f6815e7db7c376c6fff694cfa12fc518
CRs-Fixed: 774533
2021-06-23 02:39:52 -07:00
Yu Wang a021228fe2 qcacld-3.0: wait till complete for north bound add key request
Set the newly added flag for wlan_cfg80211_crypto_add_key():
set to true if the request is from north bound, false otherwise.
Move processing of install key complete event into
crypto component.

Change-Id: I981e3722966c5b44255b3e29b7df3fbccfa087c8
CRs-Fixed: 2839454
2021-06-22 21:04:26 +08:00
Madan Koyyalamudi 4d86c1a2dd Release 5.2.022.8H
Release 5.2.022.8H

Change-Id: I901ae74737e4d701a21370d067520522cc8e5b2b
CRs-Fixed: 774533
2021-06-17 06:24:48 -07:00
Ashish Kumar Dhanotiya cb6a0b3b78 qcacld-3.0: Add ini support to enable NAN on indoor channels
Currently there is no  support to enable NAN on indoor channels,
as per the new requirement add an ini support to enable NAN on
indoor channels.

Change-Id: Ia3acbc133cab4865d8ad69992e893be91439f50f
CRs-Fixed: 2943668
2021-06-15 11:36:04 -07:00
Madan Koyyalamudi d4870245c8 Release 5.2.022.8G
Release 5.2.022.8G

Change-Id: Ia6a1f0d7de0921ce15aefc5942607c2a7ce939b7
CRs-Fixed: 774533
2021-06-15 07:56:59 -07:00
Sandeep Puligilla ab85e77826 qcacld-3.0: Define A_OFFSETOF macro
Define A_OFFSETOF macro to fix compilation
errors.

A_OFFSETOF macro is mapped to macro offsetof()
defined in stddef.h.

Change-Id: I766826d610fcb6a06775f07bcd8a041ee29be89b
CRs-Fixed: 2967130
2021-06-15 02:12:38 -07:00
Madan Koyyalamudi 3333b25f9f Release 5.2.022.8F
Release 5.2.022.8F

Change-Id: I009594347f54964fdd27c5f0364dc025d707cf72
CRs-Fixed: 774533
2021-06-14 08:31:12 -07:00
Srinivas Dasari c286d5cc64 qcacld-3.0: Send nan enabled/disabled flag of SRD channels to fw
Check if NAN SRD operation is enabled in the ini
"etsi13_srd_chan_in_master_mode" and send the same to firmware
for all SRD channels.

Change-Id: I2aa8fd34c67b2061963b62a34d29c73740af3a76
CRs-Fixed: 2748455
2021-06-14 08:31:12 -07:00
Madan Koyyalamudi 3bf5bb9ff2 Release 5.2.022.8E
Release 5.2.022.8E

Change-Id: Ib866a1db305c31c01fb651e074854d6c1aa1e4a3
CRs-Fixed: 774533
2021-06-11 06:27:47 -07:00
Pradosh Das 32155edb54 Merge commit 'debc9305ed8c51dccb4c9695cf0b170f0237d722' into wlan-cld3.driver.lnx.2.0.r18
Change-Id: I7705e5e883944535b875713a4f54007eabfefaba
2021-06-11 15:28:21 +05:30
Srinivas Dasari 00df58a1d9 qcacld-3.0: Enable/Disable SRD support for vdev
Currently the driver enables the SRD channels
support for both P2P_GO and SAP if the SRD master
mode is enabled.

Have individual ini values to enable/disable
the SRD channel for each op-mode as required.

Change-Id: If6e66996ed19dacbde7f71a6702f378a7e9a273c
CRs-Fixed: 2748446
2021-06-11 15:10:38 +05:30
Madan Koyyalamudi 85d3adb0e8 Release 5.2.022.8D
Release 5.2.022.8D

Change-Id: I1b6f715304dbbbc84b67f0c52714f8d203ed1b3c
CRs-Fixed: 774533
2021-05-26 06:03:02 -07:00
Prateek Patil 23ac35c392 qcacld: Fix compilation error due to wrong format specifier
Fix wrong format specifier

Change-Id: Ie4c9ebcd871a1136ff8823f4d61bc362b3f3ac6b
2021-05-26 06:03:02 -07:00
Linux Build Service Account 7f2577b406 Merge "qcacld-3.0: Add support to flush fragments for a particular peer" into wlan-cld3.driver.lnx.2.0.r18 2021-05-25 14:52:19 -07:00
Linux Build Service Account 72a9fbcb35 Merge "qcacld-3.0: Do not intrabss forward fragmented EAPOL frames" into wlan-cld3.driver.lnx.2.0.r18 2021-05-25 14:52:18 -07:00
Linux Build Service Account c9f9697fde Merge "qcacld-3.0: Drop mcast and plaintext frags in protected network" into wlan-cld3.driver.lnx.2.0.r18 2021-05-25 14:52:17 -07:00
Linux Build Service Account e121a31457 Merge "qcacld-3.0: Modify check to ensure consecutive PN for frags" into wlan-cld3.driver.lnx.2.0.r18 2021-05-25 14:52:17 -07:00
Linux Build Service Account f5476ed3b3 Merge "qcacld-3.0: wma_send_peer_assoc() sets incorrect peer state" into wlan-cld3.driver.lnx.2.0.r18 2021-05-25 14:52:16 -07:00
Linux Build Service Account 2f5fc2a5ea Merge "qcacld-3.0: Do not intrabss fwd EAPOL frames in IPA exc path" into wlan-cld3.driver.lnx.2.0.r18 2021-05-25 14:52:15 -07:00
Linux Build Service Account 3bbd41061a Merge "qcacld-3.0: Drop non-EAPOL/WAPI frames from unauthorized peer" into wlan-cld3.driver.lnx.2.0.r18 2021-05-25 14:52:14 -07:00
Yeshwanth Sriram Guntuka 1788c57c74 qcacld-3.0: Add support to flush fragments for a particular peer
Add support for flushing fragments for a particular peer.

Change-Id: I91236d2edc73317380590458b974013a02e858a1
CRs-Fixed: 2860131
2021-05-25 14:15:45 -07:00
Yeshwanth Sriram Guntuka 8e74700717 qcacld-3.0: Do not intrabss forward fragmented EAPOL frames
Do not intrabss forward fragmented EAPOL frames that have
DA different from the SAP vdev mac addr.

Change-Id: I4145227c9b02fe8cec86ef4ffc3bc2025f906923
CRs-Fixed: 2888467
2021-05-25 14:08:16 -07:00
Yeshwanth Sriram Guntuka 39a69108ba qcacld-3.0: Drop mcast and plaintext frags in protected network
Multicast frames should not be fragmented and plaintext
frags should not be reassembeld in protected network.

Fix is to drop mcast frags and plaintext frags received
in protected network.

Change-Id: I98cf0715f5832f2f86f86b79dbdbc3a7c86dbfd0
CRs-Fixed: 2860245
2021-05-25 14:05:38 -07:00