提交線圖

22174 次程式碼提交

作者 SHA1 備註 日期
Amruta Kulkarni
e4df806aa6 qcacld-3.0: Support roam invoke request in connection manager
Add change to support roam invoke request in connection manager

Change-Id: I87bd39263c7c210fa87250aca59ef5f2f89d4c67
CRs-Fixed: 2869211
2021-02-18 03:12:04 -08:00
snandini
c478f447ff Release 5.2.0.223F
Release 5.2.0.223F

Change-Id: If1be3c0a02ef036f9efadc864e2bd694c50a4e9f
CRs-Fixed: 774533
2021-02-18 00:56:04 -08:00
Srinivas Dasari
6b35a26d48 qcacld-3.0: Don't consider beacon length for non-beaconing entities
As part of start_bss response, beacon structures are extracted
from pe_session and stored in bss_description. But non-beaconing
entities like NDI doesn't have a beacon and corresponding
structures in pe_session are not valid. Beacon structures
schBeaconOffsetBegin and schBeaconOffsetEnd contain 0 in such
cases. Calculation of beacon IE length from these would result an
invalid length and leads to invalid IE extraction from
bss_description later(from csr_roam_process_start_bss_success).
Check if pe_session has valid beacon entry to avoid this.

Change-Id: Ic78dfcdbfb83cb29437d46337d13d62df533d780
CRs-Fixed: 2876897
2021-02-18 00:56:04 -08:00
Madan Koyyalamudi
478850c258 Release 5.2.0.223E
Release 5.2.0.223E

Change-Id: Id3b431ddadc03b2ec2de2a5819900d61d5b4264b
CRs-Fixed: 774533
2021-02-17 18:08:59 -08:00
Nisha Menon
9cff9b7c35 qcacld-3.0: GETSTATSSTAINFO does not return the mcbc count
GETSTATSSTAINFO and GETSTAINFO cmds return the correct
mcbc counters in SAP+STA case with IPA disabled since the
host updates these stats during dp_rx processing.

With IPA is enabled the hdd callback invoked from the IPA
driver needs to update the counters if broadcast or
multicast pkts are received in exception path.

Change-Id: I450bf809fab559be8f2fbd172c49fd7e8858ee5c
CRs-Fixed: 2875804
2021-02-17 18:08:59 -08:00
snandini
ca22ffb4c6 Release 5.2.0.223D
Release 5.2.0.223D

Change-Id: Ie4d050fddd9f14f56bed6ee779e5dd4ff1fb33a1
CRs-Fixed: 774533
2021-02-17 14:00:56 -08:00
Lincoln Tran
11071a6438 qcacld-3.0: Modify PCL for indoor channels
Currently the preferred channel list is not updated to have indoor only
channels removed. Add functionality to remove the indoor channels from
the PCL.

Change-Id: I31df737a3688f6c64c2eb5fa5ab0cea1d36869e5
CRs-fixed: 2874092
2021-02-17 14:00:56 -08:00
snandini
5aa2a46723 Release 5.2.0.223C
Release 5.2.0.223C

Change-Id: Ic09773c9279c2b79a23befa92b174c17a687446d
CRs-Fixed: 774533
2021-02-17 11:13:04 -08:00
Deeksha Gupta
a3ca2a725e qcacld-3.0: Block the TWT setup till notify event is received
Currently, TWT setup is allowed after roaming even if
TWT notify from firmware is not received.

Block the TWT setup till notify event is received
from firmware.

Change-Id: Ia6ff8fe9e05f32ddf6dbdd608d9090b612237f26
CRs-Fixed: 2870610
2021-02-17 11:13:04 -08:00
gaurank kathpalia
7a29ff5f90 qcacld-3.0: Fill extra params for connect
Fill extra params such as join timeout etc. in LIM
for connection manager path.

Change-Id: I3c12e49023ce04c6b8d2f6c41d128ed9fc93a441
CRs-Fixed: 2879094
2021-02-17 11:12:59 -08:00
snandini
409eabb924 Release 5.2.0.223B
Release 5.2.0.223B

Change-Id: Iee6263c0df163d16ee61db3ac706d03ca45eaa9a
CRs-Fixed: 774533
2021-02-17 05:40:24 -08:00
Abhinav Kumar
7404c2c964 qcacld-3.0: Possible OOB read when parsing FT IE
FTIE buffer carries multiple FT subelements (like R1KH-ID,
R0KH-ID, GTK, IGTK, etc).

Total FTIE buffer len = Number of FT subelements * (Subelement
ID (1 bytes) + lenght (1 bytes) + data length).

Currently, Host checks only the minimum length for FTIE buffer
while filling each FT subelements. This leads to OOB if the
remaining length of FTIE length buffer less than the length of
an FT subelement.

Before filling each subelement into FTIE buffer, add a check
to validate subelement length against remaining FTIE length

Change-Id: I5d6f4a59eef591d3a2da9f2403738d1fdd1a88b2
CRs-Fixed: 2857084
2021-02-17 05:40:24 -08:00
Gururaj Pandurangi
4929bd17ad qcacld-3.0: Fix issues related to 6ghz vlp feature
Call TPC calculation API from lim_handle_add_bss_rsp i.e.
after receiving vdev start response from FW.
TPC calculation API was called from lim_mlm_add_bss for SAP
and since this was happening before host received vdev start
response, HW limit for power from FW was zero and it
affected TPC calculation.
Also, API to check psd power flag for 6ghz returns true for
5ghz channels, so modify it to call under 6ghz channel check.
In TPE IE, max_tx_power_count values is one less than
num_pwr_levels so add 1 to count before assigning it to
num_pwr_levels for 5GHz TPE, non-PSD case.

Change-Id: I7e2ca0b6cf6c54528ade6263a87459e2c21098b2
CRs-Fixed: 2877654
2021-02-17 05:40:19 -08:00
snandini
eba5bde4ea Release 5.2.0.223A
Release 5.2.0.223A

Change-Id: I99dcc18bc8298c616cdf096b4d3e00579a0654a6
CRs-Fixed: 774533
2021-02-17 02:10:14 -08:00
Lincoln Tran
746140e284 qcacld-3.0: Migrate validate beacon interval API
Move the beacon interval validation logic from the CSR module to the
interface manager module.
Add a path to send events to the SAP event handler from the MLME
module.

Change-Id: Ia86f219b3f209b53e7818a80f95b2c0555550736
CRs-fixed: 2796676
2021-02-17 02:10:13 -08:00
snandini
4dc88ec52f Release 5.2.0.223
Release 5.2.0.223

Change-Id: I77e0dc6c1c9fe7ff004cbc0e93642b33ad7c4415
CRs-Fixed: 774533
2021-02-16 23:51:53 -08:00
Gururaj Pandurangi
e356c9acd8 qcacld-3.0: Add backward compatibility for old TPC event
Host will send TPC power to FW via new WMI cmd
WMI_VDEV_SET_TPC_POWER_CMDID going forward instead of
WMI_VDEV_PARAM_TX_PWRLIMIT to accommodate even 6GHz channels.
But, to support backward compatiiblity for New Host+old FW
the TPC power will be sent to FW via old WMI cmd with the
help of a service bit.

Change-Id: I9324299ca4f92f2adce92983385b66c04368fe55
CRs-Fixed: 2872238
2021-02-16 23:51:52 -08:00
snandini
b1374b00b1 Release 5.2.0.222Z
Release 5.2.0.222Z

Change-Id: I95a0a4286971ef6fe1c09d612b79375a865d21e2
CRs-Fixed: 774533
2021-02-16 19:15:52 -08:00
abhinav kumar
76bae47f3e qcacld-3.0: Cache roam related states for the vdev
Cache roam_fail_reason, roam_invoke_fail_reason and
roam_trigger_reason in mlme value for the vdev.
Host sends these values to userspace via a vendor
command after disconnection.

Change-Id: Ief7d027f69b0449254de3615b39829f346589095
CRs-Fixed: 2877230
2021-02-16 19:15:51 -08:00
snandini
2894708278 Release 5.2.0.222Y
Release 5.2.0.222Y

Change-Id: I9cffadad235f8c7ee711d36447c9e8310648dd23
CRs-Fixed: 774533
2021-02-16 17:02:30 -08:00
Bapiraju Alla
f443a59ef2 qcacld-3.0: Don't assert if INI parsing failed due to system reboot
Currently driver is asserting when INI file parsing is failed.
But it is expected to fail when system state is under reboot or
power off. This is because kernel disables file reading during this
reboot or power off.

To address this, Remove the assert based on the status of cfg_parse
API.

Change-Id: Ief92e1af5cc22d4bfad481953f203719a9c17343
CRs-Fixed: 2877051
2021-02-16 17:02:30 -08:00
snandini
99615dff9a Release 5.2.0.222X
Release 5.2.0.222X

Change-Id: I656554ac995bbc811ca8d45a05ee9e437a2faa2a
CRs-Fixed: 774533
2021-02-16 04:46:13 -08:00
Ashish Kumar Dhanotiya
5c0fc43f5e qcacld-3.0: Fix disable channel list command
Currently driver is using sap notify api of regulatory to
update channel list for disable channels list command
which is not the correct way as sap notify api is designed
to be used by sap releted operations.

To address above issue write a separate api for
disable channel list command.

Change-Id: If65c1f4226ced375b9abf3dcdbf21a70d4014e72
CRs-Fixed: 2872007
2021-02-16 04:46:13 -08:00
snandini
61e9002f42 Release 5.2.0.222W
Release 5.2.0.222W

Change-Id: I6706984f0f230525ee2695a7c0846062c3324ef2
CRs-Fixed: 774533
2021-02-15 09:27:34 -08:00
Abhishek Ambure
c5fd4e3f54 qcacld-3.0: Reintroduce eCSR_ASSOC_STATE_TYPE_INFRA_DISCONNECTING
This state ensures that host will not issue connect from scan for
ssid completion. Thus if this fresh connect also issue scan for
ssid, then host drops connect command assuming disconnect is in
progress. If host gets disconnect request in between the scan for
SSID of previous connect request, host aborts scan and host blocks
next commands till the sme disconnect timeout.

Change-Id: Ia42332dfef73e4b6ea8f348894427e5fe81eac1d
CRs-Fixed: 2865047
2021-02-15 09:27:34 -08:00
snandini
841820df60 Release 5.2.0.222V
Release 5.2.0.222V

Change-Id: Id6b5e084bd44e1ab5cdcf4448d6982750eb10c6b
CRs-Fixed: 774533
2021-02-15 06:21:22 -08:00
Surabhi Vishnoi
a827632b2d qcacld-3.0: Add new defconfig for wearable targets
Add new defconfig file for wear targets.

Change-Id: I52a3df959e75a28efe037d4951f12915556bc98b
CRs-Fixed: 2873236
2021-02-15 06:21:22 -08:00
Bapiraju Alla
7738fd9ef8 qcacld-3.0: Reject pre CAC request when DBS is not supported
Pre CAC feature requires parallel operation in 2.4GHz and 5GHz.
So this feature won't be supported when there is no DBS support.
Reject pre CAC request in this scanario.

Change-Id: Iece04ac0f73aed2dfa1dd9bfd4869d96004534ce
CRs-Fixed: 2870645
2021-02-15 06:21:17 -08:00
Pragaspathi Thilagaraj
9d61fc3d0e qcacld-3.0: Add support for SAE single pmk validity
Currently when SAE single pmk lifetime expires, the userspace
issues disconnect. To avoid this, on reaching a threshold value
of the total pmk lifetime, the firmware will clear the single
PMK and initiate a roam scan to perform full SAE and derive
new pmk.

Add changes to:
1. Send the remaining single pmk timeout value in seconds to
firmware.
this is calculated as the diffence in pmk timeout configured by
userspace and the time passed after set_pmksa was done (which is
system timestamp between the set_pmksa timestamp and timestamp at
which RSO command is filled).
2. Add internal roam trigger for SPMK timeout trigger.
3. Set the roam score delta value as 0 for SPMK timeout roam
trigger.

Change-Id: I62c2ddbbfeb2811a4342d41f2bdaa8d988568bcc
CRs-Fixed: 2869665
2021-02-15 06:21:11 -08:00
snandini
f226f7620d Release 5.2.0.222U
Release 5.2.0.222U

Change-Id: I8837aad25f33d82be4772146a0adc20857a8fc84
CRs-Fixed: 774533
2021-02-15 04:05:12 -08:00
Jyoti Kumari
db4584c90c qcacld-3.0: STA SAP concurrency for non dbs HW mode
SAP stops working when it comes first and then sta connection
happens in non dbs HW mode

Allow SAP on non dbs HW even if the channel is safe or
lte-coex enabled.

Change-Id: I3e80b423ccb30fdb5e53a6d2aff961162b316e1c
CRs-Fixed: 2873957
2021-02-15 04:05:12 -08:00
snandini
ed4e2e5914 Release 5.2.0.222T
Release 5.2.0.222T

Change-Id: I9c1c3b401481a282cd20000e61bee733dde0c996
CRs-Fixed: 774533
2021-02-12 16:51:31 -08:00
Pragaspathi Thilagaraj
f7ee883a96 qcacld-3.0: get wake duration from stored session params
Retrieve the stored TWT wake duration for a session for
to send it as part of get twt statistics response.

Change-Id: If3c23d05331d5dfb43f74f5380e81eaf2799d2e7
CRs-Fixed: 2859812
2021-02-12 16:51:31 -08:00
snandini
a88521baf1 Release 5.2.0.222S
Release 5.2.0.222S

Change-Id: I6e587736f7a87512884a8a4b81c9e38e375194a5
CRs-Fixed: 774533
2021-02-12 14:40:00 -08:00
gaurank kathpalia
5c1b42944d qcacld-3.0: Fix compilation issue in connection manager
Fix compilation issue in connection manager.

Change-Id: Ib46a0b45facf0552723d1ab9400444b7fdb7a08e
CRs-fixed: 2876303
2021-02-12 14:40:00 -08:00
Vevek Venkatesan
d478e8a285 qcacld-3.0: enable HAL_DELAYED_REG_WRITE_V2 and LOCK_LESS_ACCESS
Enable FEATURE_HAL_DELAYED_REG_WRITE_V2 support for Tx rings
register writes and QCA_OL_DP_SRNG_LOCK_LESS_ACCESS support
for Rx rings register writes, for moselle platforms.

Change-Id: I6b2469d22a37a097fa721269d311c0076c3b89a0
CRs-Fixed: 2873528
2021-02-12 05:02:58 -08:00
snandini
10b241f2d3 Release 5.2.0.222R
Release 5.2.0.222R

Change-Id: Ic16ecc0ce72cfd7a4f7f25f732cad77bd8fcb810
CRs-Fixed: 774533
2021-02-12 04:04:45 -08:00
Li Feng
e7cf0887d1 qcacld-3.0: Log page fault info to console
Log page fault info to console for easy observation on third party
platform because the customer usually don't run cnss_diag_lite to
capture cnss logs.

Change-Id: I56a155844837792f08692703d28326fe9543c977
CRs-Fixed: 2870335
2021-02-12 04:04:44 -08:00
snandini
001224c76a Release 5.2.0.222Q
Release 5.2.0.222Q

Change-Id: Ib4c19294780ce2def5967fb036b0de7af2f5e107
CRs-Fixed: 774533
2021-02-11 09:28:48 -08:00
Jyoti Kumari
2cec5921c2 qcacld-3.0: Fix integer underflow in assoc response frame
In func aead_decrypt_assoc_rsp(), it calls
find_ie_data_after_fils_session_ie() to find IE pointer after
FILS session IE from the frame payload.
There is possibility of integer underflow if frame payload length is
less than FIXED_PARAM_OFFSET_ASSOC_RSP which may increase value
of buf_len variable in find_ie_data_after_fils_session_ie() and
cause OOB during parsing process.

Validate frame payload length with FIXED_PARAM_OFFSET_ASSOC_RSP,
if it is less then return failure.

Change-Id: I78fbcfeaa1058fcf2a6fe47cd5c26390b54974af
CRs-Fixed: 2859024
2021-02-11 09:28:48 -08:00
snandini
c91a75779c Release 5.2.0.222P
Release 5.2.0.222P

Change-Id: I2313bf8a16054e31368994779a5319b92adaa295
CRs-Fixed: 774533
2021-02-10 20:27:18 -08:00
Lincoln Tran
a95e5bf201 qcacld-3.0: Process country and TPE IE
Validate and process the country IE from the beacon frame.
Validate and process the TPE IE. Store the tx power values in the
vdev_mlme struct for future processing.

Change-Id: I57acca2257a263225d9bafb0f94e195a99224a60
CRs-fixed: 2841732
2021-02-10 20:27:17 -08:00
Gururaj Pandurangi
4387c79bb5 qcacld-3.0: Add TPC calculation logic to obtain max tx power
Add new lim api to calculate an array of tx power values. Include
hw limit from Fw and TPE values from IE along with existing
params to determine TPC power.
The new struct reg_tpc_obj in vdev_mlme object will contain max
tx power, center frequencies, number of power levels,
PSD power check, EIRP power, AP power type for 6G and TPE
power values and will be sent to FW via new WMI cmd
WMI_VDEV_SET_TPC_POWER_CMDID.

Change-Id: I80a2454c2ef0dbc3b1d69e8b233b1a56567ec1a1
CRs-Fixed: 2841873
2021-02-10 20:27:13 -08:00
Gururaj Pandurangi
2fe00c3d6c qcacld-3.0: Handle AP power type in he_ops IE for 6GHz
Parse reg_info subfield present in he_ops IE from beacon on
6GHz channels to obtain AP's power type for STA.
In case of SAP, get the AP power type from SAP decision
engine and populate it in dot11f API.

Change-Id: Iec317ea35936e7a5c2372d1188fe5940afb0c28d
CRs-Fixed: 2869367
2021-02-10 20:27:09 -08:00
snandini
d91321ef0f Release 5.2.0.222O
Release 5.2.0.222O

Change-Id: I43471684dccae9cf640c985c3b3cfa5df1e026e5
CRs-Fixed: 774533
2021-02-10 18:20:38 -08:00
Aditya Kodukula
f91c461da5 qcacld-3.0: Add flags to the BUILD_TAG
Pass a new flag to the Kbuild and add a compile flag
to enable the BUILD_TAG information.

Change-Id: Ic9bc331b64e7cbf627f5f99758f4d556328cda10
CRs-Fixed: 2865654
2021-02-10 18:20:38 -08:00
snandini
f933fd28ce Release 5.2.0.222N
Release 5.2.0.222N

Change-Id: Idecef994774b7b6874882d472215ed22912a58d1
CRs-Fixed: 774533
2021-02-10 12:31:37 -08:00
Karthik Kantamneni
7983966ef5 qcacld-3.0: Add RX refill thread infra to replenish RX buffers
Add Rx refill thread infrastructure to replenish RX buffer pool

Change-Id: I2553e0e35d251cf72e741321a2389f741f1bb485
CRs-Fixed: 2869355
2021-02-10 12:31:37 -08:00
snandini
3cda3eae7b Release 5.2.0.222M
Release 5.2.0.222M

Change-Id: I355f58245aee44e0bfab114cfbad56c7d4ff7a54
CRs-Fixed: 774533
2021-02-10 10:11:25 -08:00
Abhishek Ambure
780908d5be qcacld-3.0: Move wait for key timer to mlme priv vdev
Move wait for key timer logic to mlme priv vdev. Thus host handles
wait for key per vdev.

Change-Id: Idfc7e7e17ec631a0a364c75b1bac992f1a4d1872
CRs-Fixed: 2870707
2021-02-10 10:11:25 -08:00