Commit Graph

23797 次程式碼提交

作者 SHA1 備註 提交日期
Madan Koyyalamudi
0f18c4fe06 Release 5.2.0.244L
Release 5.2.0.244L

Change-Id: I95cbdd77973364e5d379012edbb984da1f030623
CRs-Fixed: 774533
2021-08-18 14:21:01 -07:00
Jyoti Kumari
6209487c3c qcacld-3.0: Disable beamformer for single chain
If there is single chain support then driver should disable
beamformer instead of enable

As part of fix, check the number of chains by intersecting the
firmware capability and ini config. If it is 1 then set
su_bformer, mu_bformer and num_soundingdim as 0

Change-Id: I84434c741cbf774f368657b2c57668f6e7b99991
CRs-Fixed: 3003257
2021-08-18 14:21:01 -07:00
Madan Koyyalamudi
5842e66a2b Release 5.2.0.244K
Release 5.2.0.244K

Change-Id: I9bde4344fbbc6c1bee81060299dc8ecac27020bf
CRs-Fixed: 774533
2021-08-18 12:07:58 -07:00
Kiran Kumar Lokere
dec08a2999 qcacld-3.0: Configure FW to prevent PM during TWT suspend
Configure FW to prevent entering into power save during the
TWT suspend and resume when the STA role is testbed device.

Change-Id: If0d1d93076d60a3cd72e5c07f7e5b8519a039988
CRs-Fixed: 2995102
2021-08-18 12:07:58 -07:00
Bapiraju Alla
6874af8035 qcacld-3.0: Fix ac fallback issue when TSPEC id deleted
When TSPEC session is deleted, the access category of the data packets
should be downgraded to next lower AC. But this is not happening due to
acm mask is not getting updated when bss descriptor is NULL.

To fix this ssue, update acm mask from bss descriptor only when beacon
IEs are not present.
Also move qos related logic to LIM and bring missig changes which were
there before connection manager.

Change-Id: I9da80cf492b01762b4cc0a7b73271a0f5fe4b4a4
CRs-Fixed: 3011069
2021-08-18 12:07:53 -07:00
Madan Koyyalamudi
b0cba71dd2 Release 5.2.0.244J
Release 5.2.0.244J

Change-Id: I769265233840163c923e3667b10dcd0262537859
CRs-Fixed: 774533
2021-08-18 09:50:43 -07:00
Jianmin Zhu
6ffbb3df4b qcacld-3.0: Fix issue that rx_mpdu is 0 for 11a/g mcs 0
For 11a/g mcs 0, preamble:OFDM 0, nss 1x1:0, channel width:20M, 0,
mcs 0 rate:0.
so (((_pream)) | ((_nss) << 3) | ((_bw) << 5) | ((_rate) << 8))  is 0,
so wmi_rate_stats.rate is 0,  rx_mpdu is set to 0.

Fix it by not setting rx_mpdu to 0 when rate is 0.

Change-Id: Ie12660480af42e26c2ea957b6576dbd395730522
CRs-Fixed: 3008693
2021-08-18 09:50:43 -07:00
Madan Koyyalamudi
f93ab8c431 Release 5.2.0.244I
Release 5.2.0.244I

Change-Id: I5bd6c1ab10779f370bcc4ca2e02d5288171f560f
CRs-Fixed: 774533
2021-08-18 07:34:28 -07:00
Ashish Kumar Dhanotiya
d7a6c9e1cb qcacld-3.0: Do not free radio stats memory from wma
Currently driver frees the radio stats memory from wma
in error cases, there is a possibility that if hdd gets
time out for the stats request, it tries to free the radio
stats memory and at the same time if wma receives invalid
stats from fw in that case wma also tries to free the radio
stats memory which may lead to double free.

To aoid above issue, do not free the radio stats memory from
wma, in error cases hdd will free this memory after it gets
time out.

Change-Id: I6f6073a1a8e0be1b87efce288b7567e8fc8d69b0
CRs-Fixed: 3013842
2021-08-18 07:34:28 -07:00
Madan Koyyalamudi
63a9a135f7 Release 5.2.0.244H
Release 5.2.0.244H

Change-Id: Ia1a761312d493d1c77b635893b2234af5e2004a7
CRs-Fixed: 774533
2021-08-18 03:13:03 -07:00
Will Huang
7ceef833da qcacld-3.0: Check unsafe channel again after bandwidth selected
In LTE coex SAP restart scenario, currently SAP new channel is selected
base on 20M bandwidth, and channel bandwidth is determined after
channel frequency determined, if new channel bandwidth is greater than
20M, it is possible channel boundary fall in unsafe channel range,
because bonded channel is fixed with different bandwidth.

If select new primary channel with determined bandwidth, it would
violate MCC to SCC limitation if concurrency, to make it simple,
just shrink SAP bandwidth to 20M if check unsafe channel failed.

Change-Id: Id9bc5e6e807c0446138ca816bc3ada22443fe7a2
CRs-Fixed: 3005333
2021-08-18 03:13:03 -07:00
Madan Koyyalamudi
ae22a444ca Release 5.2.0.244G
Release 5.2.0.244G

Change-Id: I3e6f3c41ccf68b0727bfb9ea2b6243ee2e6273e1
CRs-Fixed: 774533
2021-08-17 18:03:14 -07:00
Paul Zhang
2e903a08b7 qcacld-3.0: Invalid ADDROAMSCANCHANNELS if specific channels configured
For roam scanning, "specific channels list" is preferred over
"preferred channel list". Hence if user configured specific channels
then return invalid for ADDROAMSCANCHANNLES command.

Change-Id: I858eef5c990cedb4b12c21c1a00f34ff6b819849
CRs-Fixed: 3014609
2021-08-17 18:03:14 -07:00
Karthik Kantamneni
e649071fbe qcacld-3.0: Don't start fisa fse flush timer in suspend state
Currently CMEM FISA FSE flush work timer can be triggered
in suspend sequence, this may lead to starting timer even
it is pending to executed.

To avoid this check if flush is allowed before starting the timer.

Change-Id: Ie4a8386a7a7c7ae8c2fba97cae65578ae56b0b4b
CRs-Fixed: 3015719
2021-08-17 18:03:10 -07:00
Madan Koyyalamudi
8b87f5c8b5 Release 5.2.0.244F
Release 5.2.0.244F

Change-Id: I22b4168d9c90d8ecb357bf762a1caf0120c01576
CRs-Fixed: 774533
2021-08-17 15:46:24 -07:00
Balaji Pothunoori
1cd76edad4 Revert "qcacld-3.0: addba request reject for peer ap"
Peer addba request is rejected when reject_addba_req is set from
ini or vendor command.
Current reject_addba_req ini is replacing with gRxAggregationSize
when it is set 1 from ini.
Hence this reverts commit I80a4b78c1af77f5bfa68be3163f9e9a78cc64245.

Change-Id: I1cc57b88311da4dd8f26eade17072aaa1f0ebb59
CRs-Fixed: 3002204
2021-08-17 15:46:23 -07:00
Madan Koyyalamudi
9bd41d9c77 Release 5.2.0.244E
Release 5.2.0.244E

Change-Id: I1d0abadeaace572b0c9306fb4d813522b3761251
CRs-Fixed: 774533
2021-08-17 13:17:46 -07:00
Jia Ding
63ff4f1a48 qcacld-3.0: Support LLSTATS set for P2P mode
ll_stats_set vendor cmd is now only supported for STA mode.
Add support for P2P_GO and P2P_CLI modes since FW supports
LL_STATS for P2P mode as well.

For P2P_GO mode, use WMI_REQUEST_LINK_STATS_CMDID instead
of the club cmd WMI_REQUEST_UNIFIED_LL_GET_STA_CMDID.

Change-Id: I675ff87593e6eb80e1e1fef85ae1f46d24701d63
CRs-Fixed: 3012389
2021-08-17 13:17:46 -07:00
Madan Koyyalamudi
e33a75b72a Release 5.2.0.244D
Release 5.2.0.244D

Change-Id: Id89d4be10bec543acd5dcaf24019f7c6245625fa
CRs-Fixed: 774533
2021-08-17 11:01:12 -07:00
Jianmin Zhu
1d4b529547 qcacld-3.0: Fix Dual AP IPA failed when NAPI enabled
Fix AP+AP IPA offload path failure when NAPI over IPA enabled on mdm
platforms by adding QCA_CONFIG_RPS check.

QCA_CONFIG_RPS is same as CONFIG_RPS, default Y, but depend on CONFIG_SMP
as msm-5.4/net/Kconfig.

For AP+AP mode,
For LA,   CONFIG_SMP on,  then QCA_CONFIG_RPS on,  use IPA exception path.
For mdm,  CONFIG_SMP off, then QCA_CONFIG_RPS off,  use IPA offload path.

For IPA napi enable status check, just use qdf_ipa_get_lan_rx_napi,
don't need MACRO IPA_LAN_RX_NAPI_SUPPORT.

Change-Id: I6b16f2a830d4e7829c9e539896ed2977895d367e
CRs-Fixed: 2992393
2021-08-17 11:01:11 -07:00
Madan Koyyalamudi
170726e3ae Release 5.2.0.244C
Release 5.2.0.244C

Change-Id: I774dff1e562d5f72bde2a291def79f95bf8c8535
CRs-Fixed: 774533
2021-08-16 21:01:16 -07:00
Aditya Kodukula
fdcacde7c4 qcacld-3.0: Enable FW logging in FTM mode
FW logging is not enabled in FTM mode and hence add changes
to enable FW logging in FTM mode.

Change-Id: Ic23853ddf42bd2b3815fa5c8644263f23a9a40d3
CRS-Fixed: 3014033
2021-08-16 21:01:16 -07:00
Madan Koyyalamudi
a5c0936f73 Release 5.2.0.244B
Release 5.2.0.244B

Change-Id: I610e306be7f60440cf50b5eaac69763b5fea61ab
CRs-Fixed: 774533
2021-08-16 15:52:26 -07:00
Surya Prakash Sivaraj
bad0b3e491 qcacld-3.0: Add an INI to configure SAE auth failure timeout
Currently, the SAE authentication request retry happens
after a fixed timeout of 1 second in a STA DUT.

To make this timeout user configurable, add an INI to
configure SAE auth failure timeout.

Change-Id: I3a3944ab14564a944e0c83cc31a92847b5e8c5e0
CRs-Fixed: 3011892
2021-08-16 15:52:25 -07:00
Madan Koyyalamudi
dd1f166ab7 Release 5.2.0.244A
Release 5.2.0.244A

Change-Id: Ie8df74aadb2e2519a225743a6d33be0fdaee0292
CRs-Fixed: 774533
2021-08-16 12:52:55 -07:00
sheenam monga
e0c299d567 qcacld-3.0: Add WLAN_FEATURE_P2P_P2P_STA flag for p2p + p2p support
Add feature flag for conditional compilation of feature to enable
p2p+p2p on a device.

Change-Id: I2c95b39c3db6e51213f7625383c365799fff9e31
CRs-Fixed: 2991307
2021-08-16 12:52:55 -07:00
Madan Koyyalamudi
da3c4b7fb9 Release 5.2.0.244
Release 5.2.0.244

Change-Id: I43398c041f93cd69fd7dc031de9a046e9efdc3cc
CRs-Fixed: 774533
2021-08-16 10:34:34 -07:00
Yeshwanth Sriram Guntuka
5308b1abd3 qcacld-3.0: Use ini values for datapath prealloc
The memory allocation for srngs and tx/rx descriptors
are done during prealloc using macros. This could
potentially result in OOB access if the srngs sizes
and tx/rx descriptor num of elements are increased
via ini config.

Fix is to use ini values to update the srng sizes or
num of tx/rx descriptors for appropriate memory alloc
during dp prealloc.

Change-Id: Iaeac3833fd8e13df6baa9452a7d7f194b86a8bd3
CRs-Fixed: 3012648
2021-08-16 10:34:34 -07:00
Madan Koyyalamudi
2779fc1c8d Release 5.2.0.243Z
Release 5.2.0.243Z

Change-Id: I21c3295fbff74660c13a45e7e1f57764486a9bc1
CRs-Fixed: 774533
2021-08-16 05:37:03 -07:00
Liangwei Dong
66ab5fbe0d qcacld-3.0: Fix 2.4G assoc request bandwidth info wrong
With the commit I630423de03636e6c4ca07638dce6966c3ca381f9,
driver will enable HT40 capability field in assoc request
frame to 2.4G AP. In some countries, the 40Mhz is disallowed
in 2.4G.
Fix by disable HT40 if regulatory disallow

Change-Id: I8a1e6b2c59c486373c49cba0e3c635b34f443e1c
CRs-Fixed: 3012747
2021-08-16 05:37:03 -07:00
Madan Koyyalamudi
c90caf5f71 Release 5.2.0.243Y
Release 5.2.0.243Y

Change-Id: I327d82e77fb9ea6a96f807ad651cdccc9638278d
CRs-Fixed: 774533
2021-08-16 01:08:34 -07:00
bings
4320b87f57 qcacld-3.0: Pass mld mac addr correctly when creating peer
Make sure mld mac addr is passed to wma when creating peer obj

Change-Id: I4500033d75edd59255e299174de1c49d09a45422
CRs-Fixed: 3014211
2021-08-16 01:08:33 -07:00
Madan Koyyalamudi
bd17cac9fe Release 5.2.0.243X
Release 5.2.0.243X

Change-Id: I14143a67e3291af686a1f13e689d76b47881e094
CRs-Fixed: 774533
2021-08-15 01:52:49 -07:00
bings
82adff83dc qcacld-3.0: fix memory leak for mlo sta
Fix memory leak detected by mlo whunt test case

Change-Id: Ia7d8fe298bc2a4bb223650f1ea8bd84cd965cb9c
CRs-Fixed: 3012584
2021-08-15 01:52:49 -07:00
Madan Koyyalamudi
6ba659af55 Release 5.2.0.243W
Release 5.2.0.243W

Change-Id: Ibddaeafb3975b43e5e1be3b5962924fc3342f273
CRs-Fixed: 774533
2021-08-14 23:06:53 -07:00
Utkarsh Bhatnagar
9e23c8f4d1 qcacld-3.0: Fill He_Op correctly for non-6ghz TDLS link
For the TDLS link, not established in 6ghz band, some
elements in HE OP IE such as basic mcs, bss color are
not filled properly. This might cause some IOT issue.
To fix it fill the params correctly.

It should be noted that VHT operation info should not
be included in HE OP IE if the frame carries the VHT OP
IE or sent in 2.4GHz.
For TDLS link connected in 5Ghz band, VHT OP IE is sent
in the setup confirm frame so no need to include that.

Change-Id: I9426ff3ca16461628b8ebe9710048dc68866dbf4
CRs-Fixed: 3003984
2021-08-14 23:06:53 -07:00
bings
fe192d525a qcacld-3.0: Use legacy AID allocation for non mlo case
When the 11be feature flag is enabled but the MLO flag is not,
it puts the MLO manager in a weird state since some parts are
enabled while others are not. In this case, use legacy AID
allocation for non mlo connections.

Change-Id: Ic7d82303d5a6700ba8f4b8f7f287db13ac88846f
CRs-fixed: 3010156
2021-08-14 23:06:48 -07:00
Vevek Venkatesan
d26b38d254 qcacld-3.0: call CDP API for pkt_log_exit from CDS layer
Once pkt_log_con_service success in cds_pre_enable,
in case of any further failure, pkt_log_exit cleanup is
not done, so calling CDP interface API for pkt_log_exit.

Change-Id: Ibddc99fb47109a73de095f068694b2548849f14d
CRs-Fixed: 2978390
2021-08-14 23:06:43 -07:00
Madan Koyyalamudi
13087899e0 Release 5.2.0.243V
Release 5.2.0.243V

Change-Id: I61010bff42689b62bcb915750174256dc15d5b1c
CRs-Fixed: 774533
2021-08-12 23:52:36 -07:00
bings
90aa002a4a qcacld-3.0: Update correct trigger reason when cleaning up peer
Update correct clean up trigger reason for all the peer in mlo
mode

Change-Id: I6d2653aee2eb2935cfc76d095d570f10a4f52418
CRs-fixed: 3011398
2021-08-12 23:52:35 -07:00
Deeksha Gupta
9457734236 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-12 23:52:29 -07:00
Madan Koyyalamudi
75a44a2814 Release 5.2.0.243U
Release 5.2.0.243U

Change-Id: I0c7aa36b41b16fad7fae671779032700ed1e6d5d
CRs-Fixed: 774533
2021-08-12 21:45:04 -07:00
Jianmin Zhu
8a1b7512eb qcacld-3.0: Fix data stall when connect a special SAP
For SAP with special OUI, if DUT STA connect with 11ax mode with ht
control enabled, SAP can't decode unicast pkt from DUT.

Fix it by clearing ht control bit in he cap when send peer assoc cmd
to firmware when connect such IOT AP with 11ax mode.

Steps:

1. When wlan driver is loaded, psoc ht cap is initialized by ini or
default value in hdd_component_psoc_open->mlme_init_he_cap_in_cfg.
mac->mlme_cfg = &mlme_ext_obj->cfg in mac_open.

2. When WMI_SERVICE_READY_EXT_EVENT is received from firmware,
psoc he cap is updated in wma_update_hdd_cfg->hdd_update_tgt_cfg->
hdd_update_tgt_he_cap->mlme_update_tgt_he_caps_in_cfg.

3. When wlan0 up, vdev0 is created, mlme_priv->he_config is copied from
psoc he cap in sme_vdev_post_vdev_create_setup->csr_setup_vdev_session->
csr_update_session_he_cap.

4. When DUT STA connect, check OUI in beacon when join request in
lim_check_oui_and_update_session, if matched special pattern of SAP
which doesn't support htc he, htc he in vdev mlme_priv->he_config is
disabled, then session->he_config is copied from vdev mlme_priv->he_config
in lim_fill_pe_session->lim_copy_join_req_he_cap with htc he disabled too.

5. When assoc rsp is received, ht cap of peer and DUT are intersected
and set to add_bss->staContext.he_config in lim_process_assoc_rsp_frame->
lim_sta_send_add_bss->lim_intersect_ap_he_caps->lim_intersect_he_caps.
so htc he is also disabled in peer_he_cap_macinfo.
htc he in peer_he_cap_info is disabled when WMI_PEER_ASSOC_CMDID is sent
in wma_send_peer_assoc->wma_populate_peer_he_cap. then htc he is disabled
in all tx pkts in he mode.

Change-Id: Icf9d6d7ddc370c79e615a713c76606e7fd195fd3
CRs-Fixed: 3004761
2021-08-12 21:45:03 -07:00
Madan Koyyalamudi
f3a611e14d Release 5.2.0.243T
Release 5.2.0.243T

Change-Id: Ie7e0dacdd81a85ba89cc1cc740b2f93217091d1a
CRs-Fixed: 774533
2021-08-12 10:45:03 -07:00
Ashish Kumar Dhanotiya
b4f20040b1 qcacld-3.0: Add INI aliasing for idle_roam_band
Based on new requirement add aliasing for idle_roam_band.

Change-Id: I7ebc2eaf647da6b9dc3cd63a5c81e9160a14e72b
CRs-Fixed: 3007435
2021-08-12 10:45:03 -07:00
Madan Koyyalamudi
4e9b242261 Release 5.2.0.243S
Release 5.2.0.243S

Change-Id: I5b0f294d4384eb416f85fc80a795fb06eadf65c4
CRs-Fixed: 774533
2021-08-12 03:14:12 -07:00
bings
ebf4bc83c7 qcacld-3.0: update sta mlo information for mlo connection
Fix build error when WLAN_FEATURE_11BE_MLO is not enabled while
WLAN_FEATURE_11BE is enabled.

update sta mlo information only when WLAN_FEATURE_11BE_MLO is
defined

Change-Id: I863fad494a819d6676be4cc1adaf5e8ca9b519a9
CRs-Fixed: 3011721
2021-08-12 03:14:11 -07:00
Jia Ding
94054464bf qcacld-3.0: Add 320MHz support in connection info
Add 320MHz support in cm so that connection info can reflect
correct 11BE 320MHz bandwidth.

Change-Id: I44772472bf9e64af0e47ad71ca7d29d1ff90daed
CRs-Fixed: 3009311
2021-08-12 03:14:06 -07:00
Madan Koyyalamudi
a125cdf1e2 Release 5.2.0.243R
Release 5.2.0.243R

Change-Id: Idfc08e10402786b809f30302be327639ea866765
CRs-Fixed: 774533
2021-08-12 00:55:42 -07:00
Paul Zhang
76ed8bb82c qcacld-3.0: Don't recover wlm level if ftm mode
Per stress test in ftm mode, it causes
NL80211_CMD_TRIGGER_SCAN failed.

To resolve this issue, don't recover wlm level in ftm mode.

Change-Id: If8514e3d0f3d2bbf9594502efba476d8ad43d1e3
CRs-Fixed: 3011739
2021-08-12 00:55:41 -07:00