Commit Graph

26702 Commits

Author SHA1 Message Date
Madan Koyyalamudi
c9887c1976 Release 5.2.1.33R
Release 5.2.1.33R

Change-Id: Idf83bfe217b6cd06c44b47ebd6916dc77ff4cfd1
CRs-Fixed: 774533
2022-08-21 06:38:36 -07:00
Paul Zhang
3e1ee7c2e5 qcacld-3.0: Do not generate link probe response
Currently, it DUT only supports one link,
lim_gen_link_specific_probe_rsp returns error. It causes
one link connection failure.

To resolve this issue, return success if DUT only supports
one link.

Change-Id: I9fcad7e82865ff6a4424ca74ea60f68e3a59ea21
CRs-Fixed: 3270226
2022-08-21 06:38:35 -07:00
Madan Koyyalamudi
5bc2e93d44 Release 5.2.1.33Q
Release 5.2.1.33Q

Change-Id: If22b1d723bebe6bc8b25ac2c2692d4e70e3b8b75
CRs-Fixed: 774533
2022-08-19 16:15:08 -07:00
Liangwei Dong
d547233ef3 qcacld-3.0: Enforce PCL weightage for GO/GC in 2 or 3 vif
If policy_mgr_is_concurrency_allowed is false, don't set
weighed_valid_list = WEIGHT_OF_NON_PCL_CHANNELS. Keep
WEIGHT_OF_DISALLOWED_CHANNELS for them so that the interface
won't start on disallowed channel. And in P2P+P2P or SAP+P2P
case strictly follow PCL weightage for second P2P interface.

Change-Id: I005e680e796269d3cd847b5df460506813d0d033
CRs-Fixed: 3265478
2022-08-19 16:15:08 -07:00
Madan Koyyalamudi
b3a141a81c Release 5.2.1.33P
Release 5.2.1.33P

Change-Id: I4b9e9c04586f4277944103f46a19687822432369
CRs-Fixed: 774533
2022-08-19 14:51:50 -07:00
Kiran Kumar Lokere
15d4a12f31 qcacld-3.0: Return failure response for link vdev assoc fail
Send the failure response if the association response generation
is failed for link vdev to release the connect request command.

Change-Id: I0d05347c61cfd8fea90b23c3de6f0fb1ba7752d4
CRs-Fixed: 3253510
2022-08-19 14:51:49 -07:00
Madan Koyyalamudi
3341dd8843 Release 5.2.1.33O
Release 5.2.1.33O

Change-Id: I66b96d196f2d5bf13da8483c4e8bdf69107486ec
CRs-Fixed: 774533
2022-08-19 08:14:54 -07:00
Surabhi Vishnoi
abba175dc5 qcacld-3.0: Add new scan filter if ACS scan is done partially
If the acs scan is optimized based on last scan ageout time,
it can lead to either skip ACS scan fully or scan partial
ACS frequency list. If ACS scan is skipped or partially
done, use a scan filter based on last scan ageout time to
retrieve the scan entries for ACS algorithm.

Change-Id: Id1d3a3d4364163686f92c380e9f6d6dada033ff5
CRs-Fixed: 3239389
2022-08-19 08:14:54 -07:00
Liangwei Dong
68da70f0d2 qcacld-3.0: Move GO to other band for SAP starting on 3vif conc
In GO+STA+SAP concurrency, if GO is MCC with STA, the new SAP
will not be allowed in same MAC. FW doesn't support MCC in same
MAC for 3 or more vdevs. Move GO to other band to avoid SAP
starting failed.

Change-Id: Ia19abd1b11f7416797af3e975ab8ffde9037c11f
CRs-Fixed: 3262185
2022-08-19 08:14:48 -07:00
Madan Koyyalamudi
9f2a2d298a Release 5.2.1.33N
Release 5.2.1.33N

Change-Id: If3b551c730031eb5eec2b871da5e97b5d3ccff67
CRs-Fixed: 774533
2022-08-19 06:40:32 -07:00
Arun Kumar Khandavalli
7f556d1502 qcacld-3.0: search with mld address also in wma_find_vdev_id_by_addr
Currently wma_find_vdev_id_by_addr searches for the mac address of the
vdev there are some function which pass the mld address to this
utility api which is currently returning error.

Search with mld address alo in wma_find_vdev_id_by_addr.

Change-Id: I34ef8486a406cbaadbe95e5cb493bc5b0c8d8b0c
CRs-Fixed: 3270810
2022-08-19 06:40:31 -07:00
Utkarsh Bhatnagar
6e3351f66a qcacld-3.0: Follow Ap's BW when moved from 40 MHz to 20 MHz in 2.4 GHz
For 2.4 GHz band, if AP switches its BW from 40 MHz to 20 MHz, it
changes its beacon respectivily with ch_width 20 MHz without STA
disconnection.
This will result in TDLS remaining on 40 MHz and not follwoing APs BW
on 2.4 GHz.
Better Teardown the link here and with traffic going on between peers
the tdls connection will again be restablished with the new BW

Change-Id: I7f7b3cdc7937b2d4b78df46ca970fae22efc2ead
CRs-Fixed: 3243624
2022-08-19 06:40:25 -07:00
Liangwei Dong
ba8cf63a22 qcacld-3.0: Allow SAP+P2P GO+STA SCC on same band
If SAP+P2P GO SCC on 2.4 GHz, the new STA interface will be
allowed connect to AP on 2.4 GHz SCC channel of SAP/GO or
5/6 GHz band AP. And do same for 5 GHz band.
For 3rd SAP/P2P GO coming up, try to force SCC to
existing same band SAP/GO home channel if any, to avoid the
concurrency check failure.

Change-Id: I363e9c8307ac4cfa70d6d00bc0d01a545c3eca26
CRs-Fixed: 3249205
2022-08-19 06:40:19 -07:00
Madan Koyyalamudi
dae7dbfd15 Release 5.2.1.33M
Release 5.2.1.33M

Change-Id: I5357b7c34221bb5004c325b59bb613e167dffc9e
CRs-Fixed: 774533
2022-08-19 05:05:37 -07:00
Deeksha Gupta
cd451c20c6 qcacld-3.0: Fix pack and unpack EHT-MCS map (BW = 160 MHz) issue
As a part of eht cap pack and unpack, EHT MCS map (BW = 160 MHz)
is present only if B2 of the Supported Channel Width Set field
in the HE PHY capabilities information field is 1.

Change-Id: I24519b27e67219a9d4611636e2c02af4b82b17ec
CRs-Fixed: 3258157
2022-08-19 05:05:37 -07:00
Arun Kumar Khandavalli
6c9cb8b5b4 qcacld-3.0: Add a new flag to enable the mlo key operation support
Add a new flag to enable the Mlo key operation support.

Change-Id: I528526dd3787ae9ff50d00be0d8e36e33443557c
CRs-Fixed: 3267043
2022-08-19 05:05:31 -07:00
Utkarsh Bhatnagar
23582bfd81 qcacld-3.0: Reject TDLS Setup for concurrencies
Add concurrency conditions to reject TDLS setup if
along with BSS STA, any other iface is in connected state.

In case where supplicant directly sends TDLS setup without
adding peer or Discovery been rejected because of
concurrency, driver adds the peer and update fw with the
same using UPDATE_TDLS_PEER_STATE command. This results
in fw crash as TDLS state is not yet set.
This check is required because setp_peer shouldn't be
processed if any other interface such as SAP, P2P already
have started otherwise it will result in FW crash.

Change-Id: Ia0f1f099a5fb5be0c4875a38842d97070964aaa0
CRs-Fixed: 3263513
2022-08-19 05:05:25 -07:00
Liangwei Dong
dac2e7867e qcacld-3.0: Fix client disconnect from SAP in 2.4 GHz
After SAP moved to 2.4 GHz HT 40 because of Radar detected in 5 GHz,
the REF STA send SA Query to SAP. But the REF STA disabled HT 40 in
2.4 GHz(channelBondingMode24GHz=0), the REF STA switched to HT 20.
The SA query OCI included op class 81 (20 MHz) from REF STA, the SAP
check OCI failure (SAP op class 84, 40 MHz) by lim_check_oci_match
and send deauth to REF STA.
lim_check_oci_match only check the op_class equal or not with received
OCI. If not equal, it will return false.
According OCI doc, local transmit BW is not allowed greater than BW
in OCI received from peer. Fix it by checking BW of local and peer
instead of op class only.

Change-Id: I62a477f8edabae31d07d6ec8ebb78ca76ca78792
CRs-Fixed: 3268105
2022-08-19 05:05:20 -07:00
Madan Koyyalamudi
bd995b86b7 Release 5.2.1.33L
Release 5.2.1.33L

Change-Id: I5499b033227d1e97c98353870582b42b9fa70cfa
CRs-Fixed: 774533
2022-08-19 01:53:49 -07:00
Surabhi Vishnoi
ef08e7a4c4 qcacld-3.0: Select first clean channel for ACS to optimize SAP turn on time
Currently, ACS computation triggers when ACS scan complete event is
received after firmware has scanned all channels. This leads to
delay in selection on SAP channel.
As an optimization, this change selects the first clean channel
while scan is still in progress. The criteria for first clean channel
is that no beacon/probe response should be received on that channel.
If such channel is obtained while scan is in progress, then select this
channel as SAP channel and abort ongoing scan. Firmware sends
wma_chan_info_event per channel this change uses this event as an
indication that scan is completed on that channel.

To further increase the optimize the time to get clean channel, sort the
ACS frequency list in descending order in ACS SCAN request to
firmware. Firmware scans the channel in the order given by host
in scan request, as higher band channels are less occupied, the
probability of getting clean channel initially will increase, which
will lead to selecting the channel in less time and thereby reduce
the SAP turn on time.

Change-Id: I1a38556862b66943edea08783436f5e1e3a255f6
CRs-Fixed: 3245166
2022-08-19 01:53:49 -07:00
Surabhi Vishnoi
1981726d18 qcacld-3.0: Refactor code to store chan info status in cp_stats
Currently channel info stats are stored in LIM. Refactor
code to store channel info stats in cp stats component.

Change-Id: I2e7219c112e96916d3b73f974dd9803b9c2821c3
CRs-Fixed: 3265722
2022-08-19 01:53:43 -07:00
Xiaoning Ma
a7fcc140bb qcacld-3.0: Add fixed FDD mode to btc_chain_mode
Previously when chains of BT and WLAN 2.4 GHz are separated,
hybrid mode will be used for BTC. Now adding fixed FDD mode
to fulfill different BTC scenarios.

Change-Id: I3a4d6919319f0f66e6b816566f24f4ac11b2c669
CRs-Fixed: 3244045
2022-08-19 01:53:35 -07:00
Madan Koyyalamudi
1c9910e1b5 Release 5.2.1.33K
Release 5.2.1.33K

Change-Id: Ie774d5277b47c75f9c09930b33efbc46a193ab4b
CRs-Fixed: 774533
2022-08-18 21:53:25 -07:00
Vinod Kumar Pirla
91b87f3ddc qcacld-3.0: Configure add key on link MAC address for MLO
Unencrypted DHCP frame is sent when add key is configured
on MLD address for secure MLO association.

In secure MLO assoication, configure add key on the link MAC
address.

Change-Id: Id1c953569a1f115beb5c0dcb816f08126901a05f
CRs-Fixed: 3270887
2022-08-18 21:53:25 -07:00
Gururaj Pandurangi
e3626b9d02 qcacld-3.0: Populate HE 160 MCS map for session ch bw 320
Populate HE 160 MCS rates even when session bandwidth is
320 MHz and peer supports 160 MHz BW.
Currently, HE 160 MCS map is populated only when session
bandwidth is 160 MHz, else it is reset. In the case of
11be SAP with 320 MHz support, HE 160 tx/rx MCS rates
must be updated with the intersection of self and peer
MCS rates, instead of HE_MCS_ALL_DISABLED.

Change-Id: I93d1d476c33aa98e96e76c2668f18456a9a874b9
CRs-Fixed: 3264361
2022-08-18 21:53:20 -07:00
Madan Koyyalamudi
eb7d9558d6 Release 5.2.1.33J
Release 5.2.1.33J

Change-Id: I9df1a47f7b9666ab4e440ed3686cb12da6155049
CRs-Fixed: 774533
2022-08-18 18:05:25 -07:00
Abhinav Kumar
86b60fe23a qcacld-3.0: Update Min and Max range for neighbor lookup INI
Update the Min and Max value for gNeighborLookupThreshold
/RoamRSSI_Trigger INI as per customer requirement.

Change-Id: I5af4552cd805b57861121a32704f4fe1e98a7002
CRs-Fixed: 3245135
2022-08-18 18:05:25 -07:00
Madan Koyyalamudi
c1d9a4c2cd Release 5.2.1.33I
Release 5.2.1.33I

Change-Id: I7389116cf7ad660e07121bcc6aefa3f3f4d5be61
CRs-Fixed: 774533
2022-08-18 07:17:44 -07:00
Liangwei Dong
926116e8ad qcacld-3.0: Handle assoc request frm in ROAM sync crypto update
Target may use association request frame to roam to AP in offload
roaming. Current API pe_update_crypto_params only supports
reassociation frame parsing.
Add association request frame RSN IE extraction support in
pe_update_crypto_params.

Change-Id: Ic8bc427a9d7a37dd3531cdfda243bce398eb7400
CRs-Fixed: 3264727
2022-08-18 07:17:44 -07:00
Madan Koyyalamudi
ea4a574dbe Release 5.2.1.33H
Release 5.2.1.33H

Change-Id: Idddba1f8767b0b9af548c2763c2e907a0235ae93
CRs-Fixed: 774533
2022-08-18 05:11:42 -07:00
Yu Wang
20e6c8ebe1 qcacld-3.0: enable trace log for CoAP component
Enable trace log for CoAP(Constrained Application Protocol)
component.

Change-Id: I4b49bdc48547617e943353c9b76d88870fe2ff05
CRs-Fixed: 3257886
2022-08-18 05:11:42 -07:00
Yu Wang
befefc565c qcacld-3.0: add CoAP component
Add component for the Constrained Application Protocol.
This component provides interfaces to enable/disable
offload reply/periodic transmitting for CoAP messages,
and also the interface for fetching CoAP messages those
been cached during offload processing.

Change-Id: I91397f598c2702a63e250d50641352d13117777e
CRs-Fixed: 3254535
2022-08-18 05:11:36 -07:00
Yu Wang
3b26b0f942 qcacld-3.0: implement wmi interfaces for CoAP
Implement wmi interfaces for sending CoAP(Constrained
Application Protocol) commands and extracting CoAP events.

Change-Id: I74244ad071c70512223dcbe03a99204734751644
CRs-Fixed: 3254530
2022-08-18 05:11:30 -07:00
Madan Koyyalamudi
772a195aee Release 5.2.1.33G
Release 5.2.1.33G

Change-Id: Id35293b6d6131242e746c047457bbe2fada6ad2a
CRs-Fixed: 774533
2022-08-18 00:48:56 -07:00
Azmath Mohammed
69c27376be qcacld-3.0: Modify static inline API's for net dev stats handling
Currently net dev stats are handled using QDF MACROS which is not
ideal approach. So modified it to OS agnostic inline API's for
handling net dev stats.

Change-Id: I1739779c4fa7699e867b9aa75aff48546b7754ac
CRs-Fixed: 3250935
2022-08-18 00:48:56 -07:00
Madan Koyyalamudi
d0f99ad449 Release 5.2.1.33F
Release 5.2.1.33F

Change-Id: Idfa9cadb6dea1362c5ca644d2a638ff808515ac0
CRs-Fixed: 774533
2022-08-17 19:57:45 -07:00
Jinwei Chen
5262eabf66 qcacld-3.0: Disable RX packet dropping and desc sanity check
Currntly RX_DESC_DEBUG_CHECK and FEATURE_ALLOW_PKT_DROPPING is enabled
by default for KIWI, extra check per msdu will take lot CPU cycles and
increase RX desc size.

disable them for perf build on KIWI.

Change-Id: I1d75f4f93a151d931321e7a327b5fd569bdbb987
CRs-Fixed: 3265714
2022-08-17 19:57:44 -07:00
Liangwei Dong
a212fe8e12 qcacld-3.0: Fix 2.4 GHz ACS SAP started on STA 5 GHz indoor channel
Add ACS band check for indoor STA+SAP force SCC logic.
If SAP ACS band only support 2.4 GHz channels, do not move
to 5 GHz STA indoor channel for SCC.

Change-Id: I330dee9c35d2955cedc2b802a5bfb4d13ecb5d4c
CRs-Fixed: 3263428
2022-08-17 19:57:38 -07:00
Madan Koyyalamudi
54b6512c70 Release 5.2.1.33E
Release 5.2.1.33E

Change-Id: I415820775ae83356b98122fce42442f9b3940b79
CRs-Fixed: 774533
2022-08-17 15:35:06 -07:00
Jyoti Kumari
d0c89ad942 qcacld-3.0: Give valid range of value for aliasing INI
There are two different name with different range of value for
aliasing INI's. So, it should pick the valid range of value wrt INI
name.

Change-Id: Ia0ea4ebc6b1f96b38243c4e0693e47be99868953
CRs-Fixed: 3258760
2022-08-17 15:35:06 -07:00
Madan Koyyalamudi
eab8fa966b Release 5.2.1.33D
Release 5.2.1.33D

Change-Id: I55b4a6883d5ad424ab0d72a7943dd4d7f50d049a
CRs-Fixed: 774533
2022-08-16 21:38:46 -07:00
Ming Jiang
5ba58f5e9c qcacld-3.0: Initialize page size of DP cacheable resource
Set DP_BLOCKMEM_SIZE for cacheable dp multipage prealloc resource

Change-Id: I610cb3b78f8413dfbc52eee9d8b690c7bac38db0
CRs-Fixed: 3240041
2022-08-16 21:38:46 -07:00
Madan Koyyalamudi
16833ddc0d Release 5.2.1.33C
Release 5.2.1.33C

Change-Id: If639ce17e9ce07b6cccc46a076087728290c2de1
CRs-Fixed: 774533
2022-08-16 19:26:48 -07:00
Jyoti Kumari
0bcd36f74b qcacld-3.0: Disable CONNECTION_ROAMING_CFG macro by default
Aliasing INI range value depends on this macro. Disable this
macro by default.

Change-Id: I67fad0d1c9baea56aec96c548f14c3280ef2a13b
CRs-Fixed: 3266625
2022-08-16 19:26:48 -07:00
Madan Koyyalamudi
005a2212ab Release 5.2.1.33B
Release 5.2.1.33B

Change-Id: I819e3053661dd9659038d6facce7ad5890cd1e31
CRs-Fixed: 774533
2022-08-16 15:18:11 -07:00
Vinod Kumar Myadam
35968ab412 qcacld-3.0: Set wdev for vendor event OEM_DATA_INDEX
Currently, host sends wdev as NULL to cfg80211_vendor_event_alloc,
this allows userspace to process nl_cmd for
QCA_NL80211_VENDOR_SUBCMD_OEM_DATA_INDEX event with 1st interface
which is P2P in supplicant instead of WLAN interface.

Set wdev with the proper value for STA interface to avoid processing
nl_cmd with P2P interface by userspace.

Change-Id: I3376640226356bddc57d9c13e6c438498ee58326
CRs-Fixed: 3262753
2022-08-16 15:18:11 -07:00
Azmath Mohammed
0dfc34fa0b qcacld-3.0: Fix for vdev up status check
Currently vdev up status check is wrong
Handle the return status of vdev up properly

Change-Id: I9dbe226d572295038256d5ac42400a4063f358f8
CRs-Fixed: 3265590
2022-08-16 15:18:05 -07:00
Madan Koyyalamudi
7897fb65a7 Release 5.2.1.33A
Release 5.2.1.33A

Change-Id: I1638f2179895d617ca22e23a2df310a1470fdc69
CRs-Fixed: 774533
2022-08-16 10:46:58 -07:00
Srinivas Dasari
1c124e5467 qcacld-3.0: Limit mandatory channel list addition to STA+SAP
When STA+SAP is operating in indoor channels, mandatory
channel list is added to the supported channel list of the
seconday interface.

But the API is common even for SAP+SAP and fails to detect
interfering channels in case of SAP+SAP due to this.
So, limit the mandatory channel list consideration only
for STA+SAP.

Change-Id: If7063e81d0daa9ef86b8af71ba517756f96edb32
CRs-Fixed: 3245034
2022-08-16 10:46:57 -07:00
Madan Koyyalamudi
46b9e8662e Release 5.2.1.33
Release 5.2.1.33

Change-Id: Ie13cb971992ea7c3ab19ab0080e31273fc4f41d9
CRs-Fixed: 774533
2022-08-16 09:14:29 -07:00