Gráfico de commits

22773 Commits

Autor SHA1 Mensagem Data
Madan Koyyalamudi
db8a3754cd Release 5.2.0.231Y
Release 5.2.0.231Y

Change-Id: I7ea36c9b12319ec3196b07bdf186ed2b64bfa42d
CRs-Fixed: 774533
2021-05-03 00:50:47 -07:00
Yeshwanth Sriram Guntuka
2b309943f4 qcacld-3.0: Mark rx/fisa history prealloc as non-critical
Mark rx and fisa history related allocations as non
critical for prealloc. This will ensure that prealloc
init can continue when memory alloc fails for the above
as these are only for debug purposes.

Change-Id: I94fc5c35a3a7a5dae3a4c97cf4ceca4eee7372ca
CRs-Fixed: 2936359
2021-05-03 00:50:47 -07:00
Madan Koyyalamudi
e33168eabc Release 5.2.0.231X
Release 5.2.0.231X

Change-Id: I3d16e54477d1058d9e7dbf7ad125082aed8acaf7
CRs-Fixed: 774533
2021-05-01 17:43:18 -07:00
Pragaspathi Thilagaraj
051ca7c0c1 qcacld-3.0: Reject TWT commands while scan is in progress
Reject the below TWT commands while scan is in progress:
1. TWT setup
2. TWT pause
3. TWT resume
4. TWT Nudge

Also convert the wmi status code for scan in progress
to vendor status.

Change-Id: I2b5c2cdd23a3172913e122b5c8fd04f4bb5c3e1e
CRs-Fixed: 2923282
2021-05-01 17:43:17 -07:00
Madan Koyyalamudi
6ee6c9244e Release 5.2.0.231W
Release 5.2.0.231W

Change-Id: I542efc17a5dc1b69eda9bbeac224eb7f68aeaf57
CRs-Fixed: 774533
2021-04-30 23:51:09 -07:00
Yu Tian
3c98ddde4d qcacld-3.0: revert TDLS pkt statistics changes
TDLS pkts statistics API cost 10% CPU cycle of whole RX
thread. It's optimized in another change from TDLS team to
remove excessive lock/unlock. So original change is not needed.

Change-Id: Ica1dd6bf8a94a4bef6045b07228bd547aeda3a00
CRs-Fixed: 2930306
2021-04-30 23:51:09 -07:00
Gururaj Pandurangi
7fded8ebb8 qcacld-3.0: Add country IE check to determine STA's power type for 6G
If STA Country Code is US and if AP Country IE has a different
county code, STA should not allow connection to this AP as VLP
mode is not implemented yet in the US.
If STA Country Code is GB and if AP Country IE has a different
county code, STA will use VLP mode.

Change-Id: I7d247ae9fc83d7b578b01ec664247c807f7834fc
CRs-Fixed: 2933632
2021-04-30 23:51:04 -07:00
Ashish Kumar Dhanotiya
c4cf668445 qcacld-3.0: Add synchronization around country set for CM connect
Change I4c1b7d33242226b8153821fdc14db54fff764c17 adds
synchronization around country set for connect request so that
if country set is in progress, connect does not proceed as the
channels on which connect is requested can become invalid after
country change.
Add similar change for connection manager as well to avoid above
issue in connection manager path.

Change-Id: Ie3cd84497494998dd65a7e8fb53f9f3c59269c0a
CRs-Fixed: 2920540
2021-04-30 23:50:59 -07:00
Madan Koyyalamudi
6574b8ea4a Release 5.2.0.231V
Release 5.2.0.231V

Change-Id: I73f1265b459c9e1b941a8bc18ae1a97d16bae23b
CRs-Fixed: 774533
2021-04-30 18:52:07 -07:00
Pragaspathi Thilagaraj
3ddbc71c99 qcacld-3.0: Increment peer count in LFR-2.0 roaming case
In LFR-2.0 roaming case, wma_add_peer() is called which
sends the peer create command to firmware, but in the
caller peer count is not incremented in success case.
This leads to peer deletion failure during disconnection.

Increment peer count in LFR-2.0 roaming case.

Change-Id: I0b17217615e104fe93f622555f04c6a85e279d6d
CRs-Fixed: 2929615
2021-04-30 18:52:07 -07:00
Madan Koyyalamudi
c23b2db4ff Release 5.2.0.231U
Release 5.2.0.231U

Change-Id: I45871bdaf2f5ed638b6a4fc88cd3e9b471300234
CRs-Fixed: 774533
2021-04-30 14:46:54 -07:00
Jia Ding
954968c502 qcacld-3.0: Add 320MHz for next_higher_bw and ch_width_in_mhz
As part of 320MHz bandwidth support for 11BE, add 320MHz BW
for get_next_higher_bw and ch_width_in_mhz.

Change-Id: Id58aaf50378805538b29d02fcb91583091aed6cf
CRs-Fixed: 2934780
2021-04-30 14:46:54 -07:00
Nirav Shah
1932ac5950 qcacld-3.0: Add ini to enable/disable TSF sync feature
Add ini to enable/disable TSF sync feature.

Change-Id: I84139f14ac7d01fb2cc52e84a9a817e644a05c77
CRs-Fixed: 2932588
2021-04-30 14:46:50 -07:00
Alan Chen
6fae770a16 qcacld-3.0: Add a missing policy attribute for set_wifi_config
set_wifi_config vendor command is missing the policy configuration
for the OPTIMIZED_POWER_MANAGEMENT attribute. Thus, add the attribute
to set_wifi_config's policy table.

Change-Id: Ia4d205ceea59a1d557bd646ff064ff340066c12a
CRs-Fixed: 2933377
2021-04-30 14:46:45 -07:00
Madan Koyyalamudi
415342af15 Release 5.2.0.231T
Release 5.2.0.231T

Change-Id: Ia108222263457cc91d45eed90d1ede9758e688ac
CRs-Fixed: 774533
2021-04-30 04:21:25 -07:00
Liangwei Dong
9b047dac2c qcacld-3.0: Check MKKN for JP for preferred location
DFS region MKKN was added to JP, add MKKN checking to
enable the SAP preferred location INI setting.

Change-Id: Ied1e961bd4067946dda131c923e8590f8fe79ae5
CRs-Fixed: 2927114
2021-04-30 04:21:25 -07:00
Madan Koyyalamudi
227a3a4284 Release 5.2.0.231S
Release 5.2.0.231S

Change-Id: I905fca63ad786f221e39a518354c3523be15aaf6
CRs-Fixed: 774533
2021-04-29 17:40:25 -07:00
abhinav kumar
a20ff6027f qcacld-3.0: Allow STA+STA to connect in MCC mode
In case of STA + STA or STA + P2P CLIENT concurrency
in MCC, no need to update the beacon interval while
processing connection on the second interface.

Currently, the driver only bypass beacon interval
validation for P2P CLIENT connection in case of
STA + P2P CLIENT concurrency in MCC.

Fix is to bypass beacon interval validation for the
second sta connection so that connection can happen
in MCC for STA + STA.

Change-Id: I4c3f8b1ed0b22f809a291eb88dfd95255cebe5e2
CRs-Fixed: 2934503
2021-04-29 17:40:25 -07:00
Madan Koyyalamudi
cd385a3a9a Release 5.2.0.231R
Release 5.2.0.231R

Change-Id: I8e4c48d05252df0fc0fdf15e41ebc2c5aa43c469
CRs-Fixed: 774533
2021-04-29 11:36:25 -07:00
Utkarsh Bhatnagar
8ce3d59fb0 qcacld-3.0: Move LFR2 FT logic to vdev mlme
Move LFR2 FT logic to vdev mlme.

Change-Id: I77435ec78a6eeacf47b26aec214d08ad056ebabe
CRs-Fixed: 2935076
2021-04-29 11:36:25 -07:00
Madan Koyyalamudi
0bb529dd44 Release 5.2.0.231Q
Release 5.2.0.231Q

Change-Id: I04cd4f996409f05a336105c85b37d00415a6387e
CRs-Fixed: 774533
2021-04-29 04:37:34 -07:00
Jianmin Zhu
fca87a8b09 qcacld-3.0: Fix No AMSDU/MPDU aggregation issue
Host need set tx_aggr_size_disable bit when host tx aggregation is
unsupported.

Change-Id: I0c86e74f6447f401d24660e1291abf969b1abbe6
CRs-Fixed: 2931245
2021-04-29 04:37:34 -07:00
Karthik Kantamneni
75f53bc5a3 qcacld-3.0: Add rx refill ring history to pre-alloc memory
Add entries to pre-allocate memory region for
recording datapath rx refill ring history.

Change-Id: Icbb6d59b834ea7b8957406e68be72bf3072389bf
CRs-Fixed: 2930011
2021-04-29 04:37:30 -07:00
Madan Koyyalamudi
8e6baebee4 Release 5.2.0.231P
Release 5.2.0.231P

Change-Id: I1aaae3039dbe8f43b6a615bec0bad1f815972afd
CRs-Fixed: 774533
2021-04-29 01:45:15 -07:00
Abhishek Ambure
5920ab273f qcacld-3.0: Allow MCC if STA ch is non-preferred and sap ACS 1-11
If STA is present on non-preferred channel i.e. 12, 13, 14 and SAP
ACS channel list is 1-11 then MCC is preferable as SAP don't want
to come up on non-preferable channel.

Change-Id: I82bd707c26258e0bf0b7cc14657185d11f56f757
CRs-Fixed: 2922824
2021-04-29 01:45:15 -07:00
Lincoln Tran
f3ce32ef59 qcacld-3.0: Only send VHT TX_BF if FW supports it
Only send the VHT TX beamforming capability if firmware has set the
support bit. This helps ensure backward compatibility for older
products.

Change-Id: Ia5830c9f378e3f0ddc83c8019d5168a270ad6f69
CRs-fixed: 2933687
2021-04-29 01:45:10 -07:00
Madan Koyyalamudi
be2645057f Release 5.2.0.231O
Release 5.2.0.231O

Change-Id: Iab792172ac869f32dd6a27124ab0f15cc68643ee
CRs-Fixed: 774533
2021-04-28 14:24:38 -07:00
Yeshwanth Sriram Guntuka
1518b18746 qcacld-3.0: Enable IPA set/reset tx doorbell paddr feature for MSL
Enable set/reset tx doorbell paddr feature for Moselle.

Change-Id: I5e3fbf7a2afcadb455732e6ad53f36a1e3760c89
CRs-Fixed: 2933285
2021-04-28 14:24:38 -07:00
Bapiraju Alla
694de3ff29 qcacld-3.0: Add eht_cap and eht_op IEs in re-assoc response frame
Include eht_cap and eht_op information elements in re-assoc response
frame.

Change-Id: I57e27309f6048bf67cf92694ab8c21814a6edd45
CRs-Fixed: 2934008
2021-04-28 14:24:33 -07:00
Madan Koyyalamudi
8119e5b563 Release 5.2.0.231N
Release 5.2.0.231N

Change-Id: I4196623d9fa6be466574e7c98ba1731fdbbf9af7
CRs-Fixed: 774533
2021-04-28 12:05:03 -07:00
Utkarsh Bhatnagar
02c7d39bb3 qcacld-3.0: Fix KW issue in connection manager
Fix KW issue in connection manager.
-- In lim_cm_create_session() do not use pe_session after null check.
-- In lim_send_peer_create_resp() and wlan_hdd_cm_connect() add
   vdev null check.

Change-Id: I8e78e7209d330b5551293af6ff5914dc696f6093
CRs-Fixed: 2933839
2021-04-28 12:05:02 -07:00
Srinivas Dasari
601f733cc5 qcacld-3.0: Enable SAE authentication for P2P
Enable SAE authentication for P2P. This allows to process and
forward the SAE auth frames to userspace in P2P_CLI and
P2P_GO modes.

Change-Id: I210f6b3db4d4d0a39f1dcb7f136ec9ac7e4c34c4
CRs-Fixed: 2933379
2021-04-28 12:04:58 -07:00
Nisha Menon
934509d20c qcacld-3.0: Stop BW monitoring before disabling IPA pipes
Stop the BW monitoring and stats collection for IPA before
disabling the pipes. Add this to the the case where WLAN
is in SSR and IPA pipes are being disabled when last client
is disconnecting.

Change-Id: I29e8ec6d73287cf601f829e74ba03aa611564d3a
CRs-Fixed: 2922079
2021-04-28 12:04:53 -07:00
Madan Koyyalamudi
2f3779eaf8 Release 5.2.0.231M
Release 5.2.0.231M

Change-Id: I948f7fe4f0ff40849a795f623ce6439d842623bf
CRs-Fixed: 774533
2021-04-27 16:13:00 -07:00
Utkarsh Bhatnagar
ea990e3972 qcacld-3.0: Handle TDLS peer count logic for SSR scenario
Always decrement tdls_soc_obj->set_state_info.set_state_cnt
in case TDLS is disconnected due to STA disconnection
triggered as part of SSR.

If it is not, then for SSR, after the system restarts,
this count is used and can be interpreted as second
tdls connection.
Currently, multiple tdls links are not supported, so
TDLS set state CMD (WMI_TDLS_SET_STATE_CMDID) won't be
sent to fw, although peer create and peer assoc will
go to firmware which results in crash.

Change-Id: Ib764cd04a04fab237840cdffafa9752fbe202418
CRs-Fixed: 2931199
2021-04-27 16:13:00 -07:00
Madan Koyyalamudi
e2421d58f2 Release 5.2.0.231L
Release 5.2.0.231L

Change-Id: I049c3021a4da8408147bab04384a912c02f3b3b5
CRs-Fixed: 774533
2021-04-27 09:14:05 -07:00
Chaoli Zhou
1b8cab61e9 qcacld-3.0: Support setting IpaUcTxBufCount to non power of 2
Since it has memory limitation on sdx platform,
also it need different TX buffer configuration for
different case, which require the IPA tx buffer
numbers to be configurable but not only be power
of 2. So did such change for Genoa to meet different
IPA TX buffer config.

Change-Id: I4482e8f37957d3bfcd82645cf0dec0257ad80e80
CRs-Fixed: 2865851
2021-04-27 09:14:04 -07:00
Madan Koyyalamudi
d774c5f6c7 Release 5.2.0.231K
Release 5.2.0.231K

Change-Id: I3704db3c9a43e4b31b67a46af6c5d5b9454e7cb1
CRs-Fixed: 774533
2021-04-27 06:19:16 -07:00
Aditya Kodukula
0195232c6a qcacld-3.0: Fix memory leak in wlan_hdd_get_peer_stats
In the current implementation of the function wlan_hdd_get_peer_stats,
if the status returned by the call cdp_host_get_peer_stats is not
successful, then it returns from the function without freeing the
memory allocated to peer_stats. This causes a memory leak. To avoid
this issue, free the memory properly before returning from the function.

Change-Id: Ia002be4cf6c0b93eba2dc65d96d63e6c0eafad90
CRs-Fixed: 2932487
2021-04-27 06:19:16 -07:00
Aditya Kodukula
cd01521734 qcacld-3.0: Properly free ll_stats memory during file release
Since the ll_stats buffer is allocated during debugfs file open
it needs to be freed in file release but, DSC vdev op-protection is
not needed for releasing the buffer. Adding DSC protection will lead
to resource leak because DSC will reject file release op call
if it is in the middle of vdev/psoc/driver transition.

Hence, properly free the ll_stats memory during file release.

Change-Id: Id4c5ee99283a16232b0756341c4422f6f4397667
CRs-Fixed: 2931104
2021-04-27 06:19:11 -07:00
Tiger Yu
9845857014 qcacld-3.0: Use the global lock instead of the ipa init_deinit_lock
Use the global lock instead of the init_deinit_lock in the ipa_obj to
avoid access the invalid memory with ipa_obj->init_deinit_lock since
the ipa_obj will be freed after driver shutdown.

Change-Id: I98a844456873f60213fae19c237bb08b76b4846c
CRs-Fixed: 2887487
2021-04-27 06:19:06 -07:00
Madan Koyyalamudi
e05be690b7 Release 5.2.0.231J
Release 5.2.0.231J

Change-Id: I95e4213f92c16123e29b130beb6cc94b697fbc47
CRs-Fixed: 774533
2021-04-26 22:54:13 -07:00
Liangwei Dong
765b466f12 qcacld-3.0: Fix DFS CAC start event missing
At present check SAP on DFS is based on primary channel,
it doesn't work for 160M case. Use "sap_operating_on_dfs"
to do the check before deliver CAC Start event.

Change-Id: I3896dc2738da16b9bff0d54826191d0edcc251a4
CRs-Fixed: 2929729
2021-04-26 22:54:13 -07:00
Madan Koyyalamudi
84c0ae58ae Release 5.2.0.231I
Release 5.2.0.231I

Change-Id: Idcb266ded074f84ec1c67e5901a99f15fb6dddd0
CRs-Fixed: 774533
2021-04-26 12:23:27 -07:00
Lincoln Tran
126b7047c7 qcacld-3.0: Decide AP power type in init AP
Currently, the AP power type is only decided when the start AP
notification comes. Since ACS occurs before start AP, the power mode is
always the default of LPI. This could cause a SAP start issue if ACS
selects a frequency that is not valid for the updated power mode. Move
the call to select the power mode before either logic is invoked.

Change-Id: I6265dc242a8fae9174dc7efcf7154bdb2cf82a47
CRs-fixed: 2928987
2021-04-26 12:23:27 -07:00
Madan Koyyalamudi
953f5453e8 Release 5.2.0.231H
Release 5.2.0.231H

Change-Id: I39345e86bff5bcef3420f94523db94c3cef8ce5f
CRs-Fixed: 774533
2021-04-26 10:01:37 -07:00
Arun Kumar Khandavalli
33bef282bb qcacld-3.0: Add DBS_OR_SBS support in hw_mode_list
The enhancement is to add DBS_OR_SBS hardware mode
support.

Change-Id: Id5a2f0babcf0a1a2f6982ff671af8f660ec56a0f
CRs-Fixed: 2931621
2021-04-26 10:01:37 -07:00
abhinav kumar
9ca87d9490 qcacld-3.0: Address corner scenarios for dual sta roaming
Address below corner scenarios for dual sta roaming:

1. Initialize primary interface vdev id
with WLAN_UMAC_VDEV_ID_MAX.

2. Enable roaming while processing set primary interface
vendor command irrespective of dual sta roam policy.

3. Disable mcc_adaptive_scheduler before sending
WMI_RESMGR_ADAPTIVE_OCS_ENABLE_DISABLE_CMDID to FW and
enable it if host receives dual sta policy as unbiased.

Change-Id: I8e5254c6f9053bd5fe7f925af4b577e76c9b9a2e
CRs-Fixed: 2928870
2021-04-26 10:01:30 -07:00
abhinav kumar
18dc7adec9 qcacld-3.0: Dont allow roaming on non primary STA iface
Presently the roaming design is to support roaming on
both the STA in DBS mode (with different bands).

With commit I60f6bdb7df4d9eece4fd14abe1fab2d5644d47f1,
Driver allow STA2 connection to any available AP(s).

So in case if STA2 connectes in MCC mode then host
should not allow roaming on non primary STA iface.

Change-Id: I84c77644c6023322ac77e307b06be70ec0f58ed5
CRs-Fixed: 2928804
2021-04-26 10:01:24 -07:00
abhinav kumar
7e315ca4af qcacld-3.0: Set time quota for 2 MCC vdevs/adapters
If STA + STA connected in MCC, FW should distribute
the duty cycle between primary and secondary connection
in 70:30 ratio.

Quota for the 2nd role is calculated as 100 - quota of
first mode.

Change-Id: I36ab9a9717da1e1f0ff0e0e11a18681c97ed6c58
CRs-Fixed: 2927460
2021-04-26 10:01:16 -07:00