Графік комітів

29143 Коміти

Автор SHA1 Повідомлення Дата
Vinod Kumar Pirla
85db1a4847 qcacld-3.0: Introduce new enum to hold link specific events
To keep track of events on each links, some of the flags
which are in adapter level will be moved to per link.

Move SME_SESSION_OPENED flag to the new link info enum.
Existing callers will be moved to deflink pointer.

Change-Id: I13d901a48b4a92c5a28d9edd21ca25e93a869706
CRs-Fixed: 3452196
2023-06-02 01:28:05 -07:00
Vinod Kumar Pirla
906c11ce52 qcacld-3.0: Move MSCS related fields to per link struct
The action frames can per sent on per link, hence move
to link info in adapter.
Existing callers moved to deflink pointer.

Change-Id: Ia8d8284017cd8d5564ae9ea4f1f8d67299e9cc70
CRs-Fixed: 3452185
2023-06-02 01:28:00 -07:00
Rahul Choudhary
e558bc2d73 Release 5.2.1.69F
Release 5.2.1.69F

Change-Id: Ia1da756b6b876c2bfcf1e20a12beb4d549ebf052
CRs-Fixed: 774533
2023-06-01 23:19:18 -07:00
Vinod Kumar Pirla
fe564c7440 qcacld-3.0: Move channel switch progress variable to ap context
The variable is used in SAP/P2P-GO modes, so move this variable
to ap_ctx.
Existing callers are moved to deflink pointer.

Change-Id: I9acc20d3fb397c241adaf85daecff099cc236897
CRs-Fixed: 3452166
2023-06-01 23:19:17 -07:00
Vinod Kumar Pirla
529eb875d6 qcacld-3.0: Move acs_complete_event to per link info
The variable is used for notifying ACS completed event for
SAP/P2P-GO modes, so move this variable to link info.
Existing callers moved to deflink pointer.

Change-Id: I93463536469d67bc8dc3bcd27879cccab0dba025
CRs-Fixed: 3452137
2023-06-01 23:19:12 -07:00
Rahul Choudhary
90dd3aa4ce Release 5.2.1.69E
Release 5.2.1.69E

Change-Id: I86851bc3858135c0a5930ba6e41d74355ddbfd0e
CRs-Fixed: 774533
2023-06-01 21:12:20 -07:00
Pragaspathi Thilagaraj
116e201f3e qcacld-3.0: Fix null pointer dereference in tdls_set_ct_mode
Fix null pointer dereference of tlds_soc_obj if
tdls_get_vdev_objects() returns failure.

Change-Id: Ibd6e38b834d7182b240a9bfaf176dbf47b32b1b7
CRs-Fixed: 3491244
2023-06-01 21:12:20 -07:00
Paul Zhang
b1fb8f6257 qcacld-3.0: Add dot11f support to handle EPCS action frames
Add dot11f support to handle EPCS action frames, such as
request, response, and teardown action frames.

CRs-Fixed: 3511067
Change-Id: I1896d7fcf89a8dd9b60a89f2902567bc60667972
2023-06-01 21:12:15 -07:00
Rahul Choudhary
c148b9d2c7 Release 5.2.1.69D
Release 5.2.1.69D

Change-Id: I71375b018b2c230630c8cd5f7b2fe74ab4190565
CRs-Fixed: 774533
2023-06-01 09:39:05 -07:00
Deeksha Gupta
1c29ae50af qcacld-3.0: Update assoc_link_id in case of single link MLO connection
Currently, in cm_vdev_join_req, driver does not update the assoc_link_id
when connection is SLO.

Fix is, driver should update the assoc_link_id in case of SLO.

Change-Id: I50e4834b77e87df34327f6825778fc460641afa9
CRs-Fixed: 3509965
2023-06-01 09:39:04 -07:00
Surya Prakash Sivaraj
da7b96abf5 qcacld-3.0: Handle RSO SM for ML concurrency cases
In ML-STA + STA concurrency currently, when legacy STA is being
brought up the RSO of existing ML-STA is stopped and not re-enabled
later. Therefore, ML-STA cannot roam after concurrent STA bringup.

Modify the RSO enable logic for ML-STA as follows:
1. All the links should be up.
2. The vdev should be an assoc vdev
3. The if_mgr_enable_roaming should happen on an interface other
than ML-STA links.

The condition-3 prevents enabling RSO for the assoc vdevs when the
link vdev connect complete event is processed.

Change-Id: If86a81b99d18eaa99a25e419c85197d9d0d826ac
CRs-Fixed: 3493333
2023-06-01 09:38:59 -07:00
Zhiwei Yang
b5cb91eed4 qcacld-3.0: Add Kbuild configuration
Add QCA_PADDR_CHECK_ON_3RD_PARTY_PLATFORM configuration
in Kbuild.

Change-Id: I1a0c2e5666ba1d608f56767c15591e8f4a367363
CRs-Fixed: 3459203
2023-06-01 09:38:54 -07:00
Sheenam Monga
57885ae406 qcacld-3.0: Advertise AP_ALLOWED_FREQ_LIST flag
initially, if hotspot starts in world mode, it can come up in
2.4 GHz only. Later, the correct regulatory domain gets configured
in the host driver.

Even if this new reg domain supports higher bands and better channels,
the SAP will not be able to move since the ACS list configured
initially is for world mode(only 2.4 GHz channels).

To fix this issue AP_ALLOWED_FREQ_LIST will be sent by upper layer
based on band selected by user and host can select higher band on
country change if present in allowed freq list. AP_ALLOWED_FREQ_LIST
will be sent only if host advertises AP_ALLOWED_FREQ_LIST flag.
so, advertise AP_ALLOWED_FREQ_LIST flag to get frequency list via
set wifi command.

Change-Id: I3431b73f23d55113f95ff5fdf92de9865878d182
CRs-Fixed: 3455281
2023-06-01 09:38:50 -07:00
Rahul Choudhary
a8e7c44cbd Release 5.2.1.69C
Release 5.2.1.69C

Change-Id: I9481cc5a847d6d030eb5092ce1143dc41c58d9a5
CRs-Fixed: 774533
2023-06-01 07:30:32 -07:00
Vinod Kumar Pirla
0f7b4484f7 qcacld-3.0: Move hdd_stats to per link struct
To save stats for each link separately, move the
hdd_stats member from adapter to per link data
structure.
Existing user moved to deflink pointer.

Change-Id: I35c6e4a0e95ccf77d28a8768444d702a56f23383
CRs-Fixed: 3452115
2023-06-01 07:30:31 -07:00
Vinod Kumar Pirla
cdd3d51fdb qcacld-3.0: Move estimated_linkspeed to per link struct
To obtain linkspeed on per link basis, move
estimated_linkspeed member from adapter to link info.
Existing callers moved to deflink.

Change-Id: Ifeba9890c164176b54ebe669001d1f04064bf511
CRs-Fixed: 3452100
2023-06-01 07:30:26 -07:00
Rahul Choudhary
c318d7e957 Release 5.2.1.69B
Release 5.2.1.69B

Change-Id: I4cfb3f4819f1fc47fc9482da26733307e7dfbd76
CRs-Fixed: 774533
2023-06-01 05:13:26 -07:00
Vinod Kumar Pirla
8b19ce0145 qcacld-3.0: Modify wlan_hdd_get_adapter_from_objmgr() API
Earlier the legacy osif pointer will be adapter which will
now be same for all the VDEVs in single netdev multi vdev model.

To get the per link data for each VDEV, assign link info
pointer in the legacy osif pointer and rename as
wlan_hdd_get_link_info_from_objmgr().

Callers can get adapter from link info pointer.

Change-Id: I9843d8c33ac1d9fef833a94f15ec3c64742bbd29
CRs-Fixed: 3452024
2023-06-01 05:13:15 -07:00
Rahul Choudhary
dcac6757ae Release 5.2.1.69A
Release 5.2.1.69A

Change-Id: I519b74c869b5eda59a3c7ff8083a7606570e1d6b
CRs-Fixed: 774533
2023-06-01 02:58:14 -07:00
Surya Prakash Sivaraj
2f72dc0d9a qcacld-3.0: Prevent STA+SAP MCC due to channel switch
Channel switch from wpa_cli DRIVER command doesn't do
strict concurrency check. Therefore, the DUT can end
up in STA+SAP MCC mode.

Prevent channel switch to invalid channels or invalid
hardware modes by doing strict concurrency checks.

Change-Id: I37e31cdac5441b72619071e3eacefffdf3ae2fba
CRs-Fixed: 3490489
2023-06-01 02:58:14 -07:00
Rahul Choudhary
636020f2e1 Release 5.2.1.69
Release 5.2.1.69

Change-Id: I327ea925bb1d08d7901a7fbe5f9f5340db7c6f88
CRs-Fixed: 774533
2023-05-31 23:38:19 -07:00
Vijay Raj
4e8b52f1d7 qcacld-3.0: Add Multipass support for SAP
Add multi password support for SAP using vlan.

Change-Id: I1dabc12e12d5c7a8c483ecffdf2e3e12bc1e2b02
CRs-Fixed: 3479816
2023-05-31 23:38:19 -07:00
Jianmin Zhu
227d1e75f3 qcacld-3.0: Add 20/40M check for vht when handle beacon
Add function wlan_mlme_convert_he_op_bw_to_phy_ch_width, check 80+80 or
160 with ccfs0 and ccfs1.
Add 20M/40M check for vht bw with prim chan id and ccfs0.

Change-Id: I01a407358d7c310f92c8a69004ebb002b615438a
CRs-Fixed: 3511291
2023-05-31 23:38:14 -07:00
Rahul Choudhary
bf474955e2 Release 5.2.1.68Z
Release 5.2.1.68Z

Change-Id: Ia69ff74703586f2484602c360433d4e15c573fba
CRs-Fixed: 774533
2023-05-31 21:20:36 -07:00
Vijay Raj
6619cea263 qcacld-3.0: Add support for vlan id in SoftAP
Add support for vlan id in SoftAP for Multipass
support.

Change-Id: I4484855c1234221291ab8003303876ed63c7ce9c
CRs-Fixed: 3477054
2023-05-31 21:20:35 -07:00
Jeff Johnson
7a69b38b81 qcacld-3.0: Support the Bazel DDK
Android builds are transitioning to using Bazel for builds, and there
is a Driver Development Kit (DDK) which out-of-tree drivers must use
in this new scheme. Introduce the infrastructure to describe the wlan
qcacld-3.0 driver module using the DDK.

Change-Id: Ice293fe10f37a0d083187edd49f352e3a4dca18a
CRs-Fixed: 3494233
2023-05-31 21:20:30 -07:00
Mohammed Ahmed
0dabb4c0e2 qcacld-3.0: create a sorted kiwi_v2 defconfig for bazel
Currently the configs in kiwi_v2_defconfig are not sorted
alphabetically. Fix this by creating a separate defconfig
which is sorted.

Change-Id: Ic0731c450a6e2a3ee9d71e08780381e72afda1c9
CRs-Fixed: 3495343
2023-05-31 21:20:26 -07:00
Rahul Choudhary
07ea97544e Release 5.2.1.68Y
Release 5.2.1.68Y

Change-Id: I1c25cbf691f73b854f9d047612ca846bbff823c4
CRs-Fixed: 774533
2023-05-31 19:08:09 -07:00
Jianmin Zhu
de01e2b171 qcacld-3.0: Set feature flag for puncture
Set feature flag for puncture.

Change-Id: I9f2c3ed6f027299c831dc23f7205c5d23f4451a1
CRs-Fixed: 3511145
2023-05-31 19:08:08 -07:00
Rahul Choudhary
ccb83cba3b Release 5.2.1.68X
Release 5.2.1.68X

Change-Id: I2ccada6392972f98753c29e7588c39e95938d5e0
CRs-Fixed: 774533
2023-05-30 23:55:51 -07:00
Jinwei Chen
66cf5c999c qcacmn: use correct wmm type in hdd_get_queue_index()
skb->priority is updated in hdd_update_pkt_priority_with_inspection(),
so it might not be same as original wmm type value, use original wmm
type value for hdd_get_queue_index().

Change-Id: I2088ba7b7359d35d33603e0728a0a98347f0da05
CRs-Fixed: 3512772
2023-05-30 23:55:51 -07:00
Will Huang
f7c7264840 qcacld-3.0: Adding 4 SAP PCL table to support SBS mode
Previously 4 SAP PCL table only check 3 SAP in DBS mode,
it is not applicable if SBS mode available, for example if SAP1/SAP2
on channel 5805 and SAP3 on channel 5220 in SBS mode, if SAP4 start
on channel 2.4 GHz, it will be rejected.

Move policy_mgr_get_index_for_3_given_freq_dbs() and
policy_mgr_get_index_for_3_given_freq_sbs() out of macro
WLAN_FEATURE_11BE_MLO, so it can be reused by 4 SAP case.
Use above APIs to get common four connection PCL table index
and remove exist four SAP connection PCL index.

Change-Id: I7a8a3e6736feaae139e2c81050f00b2078df371e
CRs-Fixed: 3500354
2023-05-30 23:55:45 -07:00
Rahul Choudhary
6677a452af Release 5.2.1.68W
Release 5.2.1.68W

Change-Id: I0de1057e9b2d6209275719762eb7af32c585a660
CRs-Fixed: 774533
2023-05-30 19:14:14 -07:00
Jeff Johnson
f5eed36de7 qcacld-3.0: Add symbolic link api => ../fw-api
The Bazel DDK builds in a sandbox. As part of the sandbox it does not
allow a file reference from above the module root directory. To work
around this issue, create a symbolic link in the qcacld-3.0 directory.

Change-Id: I28e0ff45843c48974b946555c6603f0fc69127e8
CRs-Fixed: 3496753
2023-05-30 19:14:14 -07:00
Ashish Kumar Dhanotiya
2598f91cea qcacld-3.0: Add logging infra for LL_SAP component
Crrently there is no logging infra for LL_SAP component.
With this change add logging infra for LL_SAP component.

Change-Id: I66c43493523856efaf23c4f4e79c1e96d0536fba
CRs-Fixed: 3499749
2023-05-30 19:14:09 -07:00
Gururaj Pandurangi
06e870d45d qcacld-3.0: Fix sanity checks and MLO macro definitions
Fix sanity checks of unsigned integer values in HDD APIs
and move MLO macros to the HDD MLO file from SME.

Change-Id: I3a8ff8a379be1fcbfd357e145ebc7aa53fde3818
CRs-Fixed: 3423121
2023-05-30 19:14:04 -07:00
Surya Prakash Sivaraj
13d89f3c88 qcacld-3.0: Enhance the RSNXE inter-op logic
Some third-party APs are not able to handle more than 1 octet
in the RSNXE, even though RSNXE support is present.

Therefore, to prevent this interop issue, send only 1 octet of
RSNXE if the AP broadcasts only 1 octet.

RSNXE handling logic summary:
1. Don't modify userspace RSNXE when caps other than
   SAE_H2E, SAE_PK, SECURE_LTF, SECURE_RTT,
   PROT_RANGE_NEGOTIOATION are set.
2. AP doesn't send RSNXE
   For WPA2 - Strip the RSNXE completely.
   For WPA3 - Retain only SAE capabilities such as H2E and PK.
3. AP supports RSNXE with length 1
   For WPA2 & WPA3 - Retain only the first octet in RSNXE.
4. AP supports RSNXE with multiple octet
   For WPA2 & WPA3 - Use the userspace assoc ie RSNXE as it is.

Change-Id: I56d1d5711b067fe5e0ff19117f6a600219cb86a0
CRs-Fixed: 3490369
2023-05-30 19:13:53 -07:00
Rahul Choudhary
81f9baa302 Release 5.2.1.68V
Release 5.2.1.68V

Change-Id: I441335e5e6f703b65dcc7e381608e64b3e482d5f
CRs-Fixed: 774533
2023-05-30 16:56:10 -07:00
Bing Sun
9e659f01b9 qcacld-3.0: Set link id correctly for roaming
When handle FW roam sync event, reset link id of every vdev in the MLO,
then set correct link id for the vdev according to roam offload sync
indication event. Otherwise link id may be invalid in vdev.

Change-Id: I91b36d154ab3115815211698b6c5237a3bfa1f5f
CRs-Fixed: 3512507
2023-05-30 16:56:10 -07:00
Krupali Dhanvijay
a9d67b3752 qcacld-3.0: Prefer power constraint over DTPC when both IE present
DTPC and power constraint IE is mutually exclusive, but there are
some faulty AP which are advertising both IE at the same time.

To address this if both the IE's are present,
preference is given to the local power constraint IE.

Change-Id: I7810cbf3a570ba19d83934fe3946b9aa38967990
CRs-Fixed: 3383531
2023-05-30 16:56:05 -07:00
Krupali Dhanvijay
d1188df733 qcacld-3.0: Fix low TPC power for vendor DTPC IE
Currently low TPC power is configured to firmware if power constraint IE
is not present and only vendor DTPC IE is present.
TPC power calculation is depends on regulatory power, ap power constraint
and TPE IE.

To fix this add new check is_power_constraint_abs in reg_tpc_obj.
Whenever local power constraint is from DTPC IE, is_power_constraint_abs
is set to true. And TPC power is calculated with regulatory power,
DTPC IE power and TPE IE power.

Change-Id: I37b14d144242fa30f02268f8a76b1b016bf69848
CRs-Fixed: 3383531
2023-05-30 16:56:00 -07:00
Rahul Choudhary
bdf0d8c286 Release 5.2.1.68U
Release 5.2.1.68U

Change-Id: I3e487621dd38a2a882f335dc0aaac05f4fdf8e60
CRs-Fixed: 774533
2023-05-30 10:21:34 -07:00
Ashish Kumar Dhanotiya
b1fac44abe qcacld-3.0: Create new component for low latency sap
This change creates a new component for low latency SAP
and also does the init and de-init of this new component.

Change-Id: I4a8192feb6edb30b1898ef30675cbc01235a8e42
CRs-Fixed: 3482510
2023-05-30 10:21:33 -07:00
Rahul Choudhary
3d70e1c75d Release 5.2.1.68T
Release 5.2.1.68T

Change-Id: Ic99a440bec1342d7e4aa67c1b02568ae5af3be21
CRs-Fixed: 774533
2023-05-30 08:18:59 -07:00
Yeshwanth Sriram Guntuka
ad66c99ef1 qcacld-3.0: Add multi pages prealloc support for HIF layer
The IOVA for the buffers that are attached to the direct
link receive copy engine need to be contiguous for optimal
memory mapping on ADSP.

Fix is to add multi pages prealloc support for HIF layer
and add a pool entry to multi pages prealloc for direct
link receive copy engine.

Change-Id: Ieb253bd3c1b6550e4c1c63cd587993891ac817f2
CRs-Fixed: 3497689
2023-05-30 08:18:59 -07:00
Rahul Choudhary
dc308d506f Release 5.2.1.68S
Release 5.2.1.68S

Change-Id: Ib5931cdf45450b9d6d00aad0da0021c8e9dc6de0
CRs-Fixed: 774533
2023-05-30 06:05:35 -07:00
Arun Kumar Khandavalli
cc42fce760 qcacld-3.0: Log AP link_id to the connect information log
Log the AP link_id as part of the connect information log which helps
in debugging.

Change-Id: I5244e6c1d2cec905005515078839c0feda721a29
CRs-Fixed: 3508511
2023-05-30 06:05:35 -07:00
Rahul Choudhary
347b98245c Release 5.2.1.68R
Release 5.2.1.68R

Change-Id: I776f091fcb3cf6f2f1414e96d1821d20b87055d0
CRs-Fixed: 774533
2023-05-30 02:57:16 -07:00
Surya Prakash Sivaraj
723506a226 qcacld-3.0: Enable netdev queues before sending ROAM_SYNC_COMPLETE
Upon the completion of roam sync indication event, the
roam sync complete cmd is first sent to the firmware.

This is followed by the netdev queues enable. This
approach adds latency in the first downstream tx frame,
and the FT roaming KPI is not met due to this latency.

To fix this, if roam sync handling is successful, enable
the queues and then send roam sync complete to the firmware.

It's observed that the current change improves roaming
latency by 6 msec.

Change-Id: Ib05ca01892b6d8b62badcafb64bb8c16270ee9f8
CRs-Fixed: 3483751
2023-05-30 02:57:15 -07:00
Jianmin Zhu
b17cf48a7d qcacld-3.0: Fix disable puncture failed issue
When disable puncture, no bandwidth indication ie exists in channel switch
wrapper, only wide bandwidth ie exists, need reset puncture to 0 when
handle csa event.

Change-Id: I6d311b52c984f354fbc359c6f5b5122b2a612b91
CRs-Fixed: 3512000
2023-05-30 02:57:11 -07:00