Wykres commitów

22783 Commity

Autor SHA1 Wiadomość Data
Madan Koyyalamudi
a2e82d44df Release 5.2.0.232C
Release 5.2.0.232C

Change-Id: I621d9d114688f565c8d827f42bff6f0f33e174af
CRs-Fixed: 774533
2021-05-04 06:53:16 -07:00
Surabhi Vishnoi
93267fe03e qcacld-3.0: Fill the rssi for rx data packets in packet capture mode
All msdus which are received as part of single ppdu will have same
ppdu_start. Firmware fills the ppdu_start tlv of only first mpdu.
So copy the rssi_comb from first mpdu's ppdu_start to all mpdus
which are part of single ppdu in rx desc of data packets.

Change-Id: I43465f072b653cd49f823b54d43f64b2a7afd11f
CRs-Fixed: 2895155
2021-05-04 06:53:16 -07:00
Madan Koyyalamudi
3594a1edfc Release 5.2.0.232B
Release 5.2.0.232B

Change-Id: I6e5e1ab72a9067331ab5e3049ee20d327737d73a
CRs-Fixed: 774533
2021-05-04 00:54:52 -07:00
Gururaj Pandurangi
1e64e7f9c8 qcacld-3.0: Update Link tx power for RRM scenario
Update Link tx power with TPC power calculated in lim for
RRM scenario. In the legacy case (old FW), Link tx power
was calculated using lim_get_max_tx_power where as for
new FW, we get the power value from lim_calculate_tpc.

Change-Id: Id97f0cad00572180e3436142df9cf95e6d270d12
CRs-Fixed: 2937763
2021-05-04 00:54:51 -07:00
Madan Koyyalamudi
6a40ae7f20 Release 5.2.0.232A
Release 5.2.0.232A

Change-Id: Ie518d6ee01e3cc11657c4a344875287d48d30c9f
CRs-Fixed: 774533
2021-05-03 20:11:39 -07:00
Yeshwanth Sriram Guntuka
3bc9624d37 qcacld-3.0: Allocate memory for fisa pkt history separately
Fisa packet history is around 6KB for each sw fisa
flow entry and this is part of the dp_fisa_rx_sw_ft
structure. The total size of the SW FT as a result is
around 830KB and the higher order memory allocation via
kzalloc for this could fail in low/fragmented memory
scenarios.

Fix is to allocate memory for FISA pkt history separately
and attach it to the SW FT entry.

Change-Id: I7296d7269c1b86ec38ea1668e8a0893335bbdb6f
CRs-Fixed: 2934487
2021-05-03 20:11:39 -07:00
Madan Koyyalamudi
ab255c7d70 Release 5.2.0.232
Release 5.2.0.232

Change-Id: If4f561b2006d59a923fdcdd1ea17e1b5797139ca
CRs-Fixed: 774533
2021-05-03 15:03:11 -07:00
abhinav kumar
17a2fc170b qcacld-3.0: Update pmk cache entry for roamed AP
Consider two APs: AP1, AP2

Both APs configured with EAP 802.1x security mode
and OKC is enabled in both APs by default. Initially
DUT successfully associated with AP1, and generated
PMK1 by performing full EAP and added an entry for AP1
in pmk table. At this stage, pmk table has only one
entry for PMK1 (1. AP1-->PMK1).

Now DUT roams to AP2 using PMK1 (as OKC is enabled)
but session timeout happens on AP2 just before 4 way
handshake completion in FW. At this point of time DUT not
in authenticated state. Due to this DUT performs full EAP
with AP2 and generates PMK2. As there is no previous
entry of AP2 (AP2-->PMK1) in pmk table. When host gets
pmk delete command for BSSID of AP2, the BSSID match
fails. Hence host will not delete pmk entry of AP1 as well.

At this point of time, the PMK table has two entry
1. AP1-->PMK1 and 2. AP2 --> PMK2.

Ideally, if OKC is enabled then whenever timeout occurs in
a mobility domain, then the driver should clear all APs
cache entries related to that domain but as the BSSID
doesn't exist yet in the driver cache there is no way of
clearing the cache entries, without disturbing the legacy
roaming. Now security profile for both APs changed to FT-RSN.
DUT first disassociate with AP2 and successfully associated
with AP2 and perform full EAP and generates PMK3. DUT first
deletes PMK entry for AP2 and then adds a new entry for AP2.

At this point of time pmk table has two entry AP2--> PMK3
and AP1-->PMK1. Now DUT roamed to AP1 using
PMK3 but sends stale entry of AP1 (PMK1) to fw via RSO
command. This override PMK for both APs with PMK1
(as FW uses mlme session PMK for both APs in case of FT
roaming) and next time when FW try to roam to AP2 using
PMK1, AP2 rejects PMK1 (As AP2 is expecting PMK3) and
initiates full EAP with AP2, which is wrong.

Fix is to update pmk table entry for roamed AP1 with PMK3 value
comes to host via roam sync indication event.. By this host
override stale entry (if any) with the latest valid pmk for
that AP at a point of time.

Also add new api to get the sae single pmk ini value and
update the bss desc of single_pmk cap after intersecting the ini
value.

Change-Id: I12fecbae69d0d2a11f2a39eee6be960752d831bd
CRs-Fixed: 2889847
2021-05-03 15:03:10 -07:00
Madan Koyyalamudi
af501074fa Release 5.2.0.231Z
Release 5.2.0.231Z

Change-Id: Iee21a5cd7c584cb073692af77217c2d4ebaeca8e
CRs-Fixed: 774533
2021-05-03 12:52:56 -07:00
Lincoln Tran
efcc67259e qcacld-3.0: Set AP power mode back to LPI
When starting SAP, the AP power type is decided based on certain
conditions. After turning off the SAP, the power type is no longer
valid, so reset it back to default.

Change-Id: I472da2e02b58017dab4855fc83cd4e15b24b7b08
CRs-fixed: 2934622
2021-05-03 12:52:56 -07:00
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