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
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
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
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
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
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
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
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
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
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
Log the AP link_id as part of the connect information log which helps
in debugging.
Change-Id: I5244e6c1d2cec905005515078839c0feda721a29
CRs-Fixed: 3508511
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
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
Initialize the link vdev with the default invalid vdev_id,
or else driver is returning wrong adapter for the query
resulting in invalid uninitialized access.
Change-Id: I4d2659d8ff1bfe42f14608e632bcc92ffb5d6963
CRs-Fixed: 3512102
In case of SAP, update the cfg80211_new_sta with the support for the
ML STA client with below info:
1) MLO link ID of the AP
2) Station's MLD address
3) (Re)Association Response IEs sent to the station
Change-Id: I5647d5bcfac43255bc0ae1d9f3b7a1b563ef5250
CRs-Fixed: 3485476
After ML STA link state changes, the connection table will
be updated. So defer the force SCC a few second to use
updated table to do force SCC.
Change-Id: I453b1a8d2707bb635f7c1d8d5b397811bf3b4f7b
CRs-Fixed: 3502411
If fcc constraint is set host disables all 6 GHz channels
except for the STA, P2P client connect 6 GHz channels,
but host shouldn't scan any 6 GHz channels.
Add changes to filter out 6 GHz channels from scan list.
Change-Id: Iffd64eb3a915158c77c781e6cb8813bc5204d840
CRs-Fixed: 3481012
To set fixed 11be rate, 11be_rate sysfs entry is the only
option. sdxpinn target supports Wifi-7 and hence 11be_rate
sysfs entry is needed.
Change is to enable WLAN_SYSFS feature on sdxpinn target and
at the same time disable CONFIG_WLAN_SYSFS_RANGE_EXT, which
is not needed.
Change-Id: Id468ee15b3ddc82794ab12487f21e06a0b61b209
CRs-Fixed: 3510104
Currently if AP+AP SCC on 5 GHz, next AP prefer on 2.4 GHz,
If SBS mode support, next AP can prefer also on SBS channels
and other MCC/SCC channels.
Change-Id: I3e44fd381527cae24aeff14f9158621f14a278b3
CRs-Fixed: 3499268
Currently roam pcl is updated after roam, connection and CSA.
Pdev current channel list is updated for many other scenarios,
but roam pcl is not modified accordingly.
To address this issue, update roam pcl every time after computing
pdev current channel list.
Change-Id: Ie86d5592255419de8f4040a3206d275ef926cf03
CRs-Fixed: 3481026
Currently host disables 6 GHz band when set_fcc_channel cmd
is received hence existing STA/P2P client 6 GHz connections
get disabled.
Add changes to keep existing STA/P2P client 6 GHz connections
intact and also keep SAP up on 6 GHz if STA+SAP SCC on 6 GHz
channel was present before receiving this command. Disable all
other 6 GHz operations.
Change-Id: I95c094e1b344d430a288b6f613842efe6e576e25
CRs-Fixed: 3495006
Currently the CDP handles like soc/hif/hal_soc are not
available in any of the the DP component contexts.
Modules like FISA etc need these handles.
Store the CDP handles like soc/hif_handle/hal_soc in
the DP component context.
Change-Id: Iaee4d0e15cbaa7d871dc9e246d177ad310b4c6ba
CRs-Fixed: 3505720
Currently host doesn't check if 6 GHz band bitmask is set
when receives SAP start on a 6 GHz channel. This can cause
SAP start on a 6 GHz channel when set_fcc_channel is set.
To avoid this issue, reject SAP start on a 6 GHz channel
if 6 GHz band bitmask is not set.
Change-Id: I0dd2b1fac7c4293498f7747665302bd72b7aaa23
CRs-Fixed: 3481002
When SAP is on 5 GHz or 6 GHz channel other than the user
configured frequency due to concurrency and concurrent STA has
disconnected, then SAP doesn't move back to the user configured
frequency when MCC to SCC Switch mode is 4
(QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNEL). SAP has to move
to the user configured frequency irrespective of the current
operating band.
Move the SAP to user configured frequency when SAP is standalone
after STA disconnection.
Change-Id: I3fb78cbd949c0e2ec7c393208569956dbcdd067a
CRs-Fixed: 3509288
Chan width 1 in vht operation means >=80M, while chan width 1 in eht op or
he op means 40M, need be handled in different way.
Change-Id: Ib65dca6245c33f07df351b6ac7eed86f91b372c7
CRs-Fixed: 3506080
Move below two fields from hdd_stats struct to hdd_adapter
1) is_ll_stats_req_pending
Stats will be requested on adapter and in case of MLO
the bitmap of VDEV is send to FW to request all associated
VDEV's stats.
2) sta_stats_cached_timestamp
As stats for each VDEV in adapter will be queried in one
request to FW, the timestamp of last stats update is per
adapter.
Change-Id: I7291e7700a4e6de47196869731b4fdf353a17e78
CRs-Fixed: 3451925
To get the associated state of each underlying vdev in
adapter, this API needs to be called with link info
argument to get the corresponding vdev.
Modify the function prototype to take link info as
argument instead of adapter.
Change-Id: If7d0d3930581df644905ffccaa355a2e32de46e0
CRs-Fixed: 3451564
Add ECSA Target TSF attribute in QCN IE. This attribute
will be included in regular ECSA public action frame and
will be use to send target_tsf and twt_switch_mode to
earbud during LL_LT_SAP CSA.
Change-Id: Ic86bf1b4e8e8516a5774371815d7566f00fee12a
CRs-Fixed: 3490521
Build failure is seen with CONFIG_SYSFS=y and
CONFIG_FEATURE_BECN_STATS=n.
Fix is to add stub declarations for
hdd_sysfs_create_bcn_reception_interface and
hdd_sysfs_destroy_bcn_reception_interface.
Change-Id: I1b1522305ea40d524e9a354211a2e38d4b4cb9d5
CRs-Fixed: 3508273