Gráfico de commits

22806 Commits

Autor SHA1 Mensagem Data
Madan Koyyalamudi
f5680d45c8 Release 5.2.0.232L
Release 5.2.0.232L

Change-Id: I351fd44249d805d9f4bbf2eb4e61fba4108227b6
CRs-Fixed: 774533
2021-05-06 06:23:38 -07:00
Ananya Gupta
64cfae78e5 qcacld-3.0: Enable IPA when loaded as module
Currently, module 'm' is converted to 'y' in QGKI when
compiling. In Waipio, GKI2 is present in which 'm'
is not being converted and hence IPA_OFFLOAD is not enabled.
To fix this, checking if CONFIG_IPA3 is either set to y or m
and then enabling CONFIG_IPA_OFFLOAD.
From Kernel 5.10, few IPA functions are depreciated for which
putting the depreciated functions under kernel check condition.

Change-Id: Iba3735692267130b76a8eaaaeeb53c263f8f0ddf
CRs-Fixed: 2921600
2021-05-06 06:23:38 -07:00
Surabhi Vishnoi
577903520f qcacld-3.0: Fix nss value in rx data packets in packet capture mode
Currently, the value of the nss is filled wrong in radiotap
header of rx data packets received in packet capture mode.
Fix the nss value in rx status in packet capture mode.

Change-Id: I15ceb16869aa15a2191f25feb3ef56625435fe4c
CRs-Fixed: 2932135
2021-05-06 06:23:22 -07:00
Jia Ding
3644001a81 qcacld-3.0: Add 320MHz support in WMA layer
As part of 320MHz bandwidth support for 11BE, add 320MHz bandwidth
in WMA layer, where in particular set bw_320 to 1 in wma_send_peer_assoc
and populate ch_width to 320MHz in wma_update_channel_list.

Change-Id: I61793add8d86b0557bd4eed78233860e6ade1c18
CRs-Fixed: 2935851
2021-05-06 06:23:17 -07:00
Madan Koyyalamudi
d846a3f774 Release 5.2.0.232K
Release 5.2.0.232K

Change-Id: If4fe0302cb9dfe7fec4ee9d1ad0913509e173214
CRs-Fixed: 774533
2021-05-06 03:31:00 -07:00
lihual
5a8e94dad0 qcacld-3.0: Restart roam for LFR2 when there is no candidate
When the AP channel is changed, fw reports a suitable AP.
But it's skipped by host as it has same bssid as the one
currently associated. The same process repeats continually,
which result in fail to reconnect with the AP. To avoid this,
send BMISS indication to upper layer and restart roam.

Change-Id: Idfcb69f81ce72a4ab7ef0c105f3af40cb92c53d5
CRs-Fixed: 2913663
2021-05-06 03:31:00 -07:00
lihual
00d622448a qcacld-3.0: Fail to disable mcs12/13 via ini in SAP mode
In sap mode, he_mcs_12_13_map will leverage peer station's
capability in function lim_add_he_cap(), which result in
failure in disabling mcs12/13 via ini he_mcs_12_13_support
when peer sta take qcn IE in assoc req frame. To address this,
we should take intersection of fw cap for mcs12/13, which
has already done in function lim_intersect_sta_he_caps.
So don't overwrite he_mcs_12_13_map in lim_add_he_cap().

Change-Id: Ia8c1febbc0a6487140b3d2e9b1b5dfed46226098
CRs-Fixed: 2919083
2021-05-06 03:30:56 -07:00
Jia Ding
ac3d677573 qcacld-3.0: Add 320MHz support in policy_mgr
As part of 320MHz bandwidth support for 11BE, add 320MHz
bandwidth conversion used internally in policy manager.

Change-Id: I25cf3e171249ae6c45988d3d9cdd5225a2000178
CRs-Fixed: 2934783
2021-05-06 03:30:51 -07:00
Madan Koyyalamudi
ac19f4b44a Release 5.2.0.232J
Release 5.2.0.232J

Change-Id: I6add464ee7e1004372751ae137bd1288ea0eb80d
CRs-Fixed: 774533
2021-05-05 21:44:22 -07:00
Gururaj Pandurangi
32ae467386 qcacld-3.0: Fix Link tx power updation for RRM
Update Link tx power with TPC power calculated in lim_calculate_tpc
everytime a radio measurement request is received.

Change-Id: Ie564fd13b071f0265c2a5c80088d5550e07395b3
CRs-Fixed: 2938684
2021-05-05 21:44:22 -07:00
Madan Koyyalamudi
37b7d1aa1b Release 5.2.0.232I
Release 5.2.0.232I

Change-Id: Id2e6602c84cd586a056a036c9d4c928867c8aaf7
CRs-Fixed: 774533
2021-05-05 17:56:20 -07:00
sheenam monga
ccda282efb qcacld-3.0: Validate channel list count before updting acs channel range
Currently, do_acs may invoke wlan_hdd_set_acs_ch_range with
channel list count is 0. In case of SAP+SAP turned on non-dbs
hardware, Intersection of supported frequencies may become
zero and channel list count will become zero. while handling
0 channel list count in wlan_hdd_handle_zero_acs_list, if sta
count is 0 then channel list will not be updated to 1 which may
cause OOB issue while updating acs channel range.

Fix is to validate channel list count before populating acs
channel list.

Change-Id: Iffbe139748e76cd692e774e5f9db2c1c3d086332
CRs-Fixed: 2922790
2021-05-05 17:56:20 -07:00
Madan Koyyalamudi
7535b68f37 Release 5.2.0.232H
Release 5.2.0.232H

Change-Id: I962fa94ebcb48239894a72e54d430fb92f74a5c0
CRs-Fixed: 774533
2021-05-05 14:54:36 -07:00
Utkarsh Bhatnagar
4ec9a4c144 qcacld-3.0: Update TDLS peer he capability based on selfDot11mode
Update peer HE capability in TDLS hash node only when 11ax
is supported in seflDot11mode capability.

Change-Id: Ia6776224ee91a6da2f0ba299b0fe5d46e241c093
CRs-Fixed: 2935305
2021-05-05 14:54:35 -07:00
Madan Koyyalamudi
86cac744f1 Release 5.2.0.232G
Release 5.2.0.232G

Change-Id: I7b3b54c7d0c1865949ba3681b8af7e3f91231f45
CRs-Fixed: 774533
2021-05-05 00:54:04 -07:00
Karthik Kantamneni
d8e7921824 qcacld-3.0: Add TX HW desc history in pre alloc memory
Add TX HW descriptor history in pre alloc memory

Change-Id: I0a2756d7955bed04680d8d735c750012354b6ff7
CRs-Fixed: 2937355
2021-05-05 00:54:04 -07:00
Madan Koyyalamudi
2e69207dc3 Release 5.2.0.232F
Release 5.2.0.232F

Change-Id: Idee9372b4e399a78f9007525e44954b06b32162f
CRs-Fixed: 774533
2021-05-04 15:04:11 -07:00
Utkarsh Bhatnagar
0a488c8261 qcacld-3.0: Move STA params of profile under connecton mgr macro
Move legacy unused STA params of csr_roam_profile under connecton mgr
macro.

Change-Id: I247b07af89203d4e0e16d7449d178b28e2138fdf
CRs-Fixed: 2938277
2021-05-04 15:04:10 -07:00
Madan Koyyalamudi
24008c37c1 Release 5.2.0.232E
Release 5.2.0.232E

Change-Id: I61d7878e76eef251497713f62bbf979d70169c1e
CRs-Fixed: 774533
2021-05-04 13:03:41 -07:00
Lincoln Tran
481d333d5a qcacld-3.0: Add path to skip TPE IE in TX power calc
When calculating the TX power, add a path to not consider the TPE IE
values in case of 2G/5G bands. If device is operating in 6G band,
include the TPE IE regardless of INI configuration.

Change-Id: If829318319e9b799c75a59ce3beed39bae5bffa2
CRs-fixed: 2936487
2021-05-04 13:03:40 -07:00
Lincoln Tran
3dc6bd54f5 qcacld-3.0: Add INI to not consider TPE IE
Sometimes, the AP sends low values in the TPE IE resulting in low TX
power. This causes DUT to have throughput/connection issues. Add an INI
to skip over TPE IE only in 2g/5g case. TPE IE will always be considered
in 6G band.

Change-Id: Ia0750195bb0aabf304743e1ad89c8f6d0c9ef1a3
CRs-fixed: 2936492
2021-05-04 13:03:36 -07:00
Madan Koyyalamudi
41f350b6a2 Release 5.2.0.232D
Release 5.2.0.232D

Change-Id: Ie42d4190dadd5ecc7eb7ea6c0aabe2a1e5b2ff9c
CRs-Fixed: 774533
2021-05-04 09:00:04 -07:00
sheenam monga
ab2e61bb1c qcacld-3.0: Add log to check igmp offload support
Currently, there is no log to differentiate whether
igmp offload is not supported by fw or ini is disabled.

Add log to check the ini support of igmp offload and
fw capability to handle igmp request.

Change-Id: I22f6f9f1d11da5e03aa8d3c7869b81fc1acc51d7
CRs-Fixed: 2936131
2021-05-04 09:00:04 -07:00
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