Use QDF_MAC_ADDR_FMT macro to print the mac_address instead of
using lim_print_mac_addr() API
Change-Id: If7261874639bf14e2f6b1c05ab8134b6a62c22e4
CRs-Fixed: 3401115
Currently, Host process DCS event data for 5 GHz frequency
only and discards event data for 6 GHz frequency.
Add support to handle DCS event data in case SAP is turned on
on 6 GHz frequency.
Change-Id: I7ad351fcf3c6909602d7ffd53bc79991cf2f0f7a
CRs-Fixed: 3402658
if probe response does not have ml ie element,
compare join request partner link info with scan db.
If join request info does not match scan db partner info
clear the partner link info in join request.
Change-Id: I0c63c543744c926502af5238f38d41460857ea98
CRs-Fixed: 3376313
Currently many host hang reason codes are not mapped to corresponding
userspace codes as a result these hang reason code will be invalid
for userspace and also QDF_REASON_UNSPECIFIED is used in some places
in host.
To add mappings for host hang codes to corresponding to userspace
hang codes and also add new hang codes.
Change-Id: Id617c2bbfd72b0e83b50f522fd1313fbc9eea2cc
CRs-Fixed: 3381230
Extensive amount of PMO logs are seen in case of crash, which
decreses the debugging effciency.
To address this issue, optimize PMO logs.
Change-Id: I7c3b76d72deaf53782befc6d931866d907b5d168
CRs-Fixed: 3402290
Channel switch is required whenever unwanted
heavy traffic is observed on SAP channel,
which can be handled by dynamic channel switch
feature. So, enable DCS feature for KIWI target.
Change-Id: Ic433b830f4e1355ae52e796769faec3560819d81
CRs-Fixed: 3402354
For bw higher than 20 MHz ACS request, such as 160 MHz,
weight calculation will combine the neighbor channel's
weight which maybe Non PSC channel, the previous setting of
combined weight to channel of lowest weight of neighbor channel.
That maybe Non PSC channel, that causes the final ACS result
is Non PSC channel, which is unexpected for standalone SAP.
Fix by set combined weight to PSC channel, so that PSC
channel will have a valid weight in final sorting with 5 GHz
or 2 GHz list.
Change-Id: Ic37d005af524f5ff2c8cb2c86647f02ced7c32d7
CRs-Fixed: 3394384
Componentized code should be adhering to the coding standard.
However struct roam_offload_synch_ind has a large number of
camelcase members.
To fix this replace camel case members with snake_case.
Change-Id: If866379d8f01cc0e932ea391d586575de4af9163
CRs-Fixed: 3383579
Kernel calls get_channel callback registered in cfg80211_ops to
fetch the channel information.
For a two or more links MLO connection, the state of assoc VDEV
will be set to associated before get_channel API is called, but
for partner link VDEV might still be in unassociated state and
get_channel request on parter link will lead to sending invalid
channel information to kernel and result in kernel warning.
If partner VDEV is not in associated state, return error to avoid
kernel warning.
Change-Id: I7ac3f6e08301419a9dc916e59f611537ccf88d45
CRs-Fixed: 3392518
Even primary interface is configured, if dual STA policy is
STA_POLICY_UNBIASED, MCC is disallowed for both roaming and connect.
Change-Id: I6e26fdcdc930eb116771abfe310811c6534be09f
CRs-Fixed: 3396425
Enable Genoa FEATURE_STATION_INFO to handle get station info over
vendor cmd QCA_NL80211_VENDOR_SUBCMD_GET_STATION.
Change-Id: I8d2a87f10057c3eaa407b60faed95d56788ede7e
CRs-Fixed: 3395891
For mgmt frames of subtype action and category not public,
kernel will use MLD address in SA, TA and BSSID fields.
So these fields in the mgmt frame received from kernel
needs to be translated to link addresses and similarly,
in frames received over the air, the link addresses in
these fields are to be changed to MLD address before
sending to kernel.
Change-Id: Ie63c09ece7550dfdc69c82ef8b7111251deee33e
CRs-Fixed: 3392314
Add new parameters to specify link inactive vdev list to
support new MLO_LINK_FORCE_MODE_ACTIVE_INACTIVE mode.
Change-Id: Ia51d2c77680b207bb5fb1bb5fbd91f2fd0ad5fd9
CRs-Fixed: 3352809
For MLO connections, pmksa is cached for the mldaddr. In legacy
design, bssid(link mac) is used to retrieve the PMKSA during
reassociation.
Update the logic to use AP mldaddr to retrieve the PMKSA for
MLO connections.
Change-Id: I3553e1cc029f69033967e16dd36cb9d06e9873fa
CRs-Fixed: 3399156
In case of legacy to multi-link MLO roaming, if roam sync event
handling fails, then the pe_session is deleted for the link
VDEV and the cleanup happens only for the assoc vdev. Since,
the link vdev doesn't have proper session/vdev params, the
cleanup fails in link VDEV. This leaves the link vdev in UP
state, even after disconnection. Therefore, subsequent attempts
to connect to an MLO-AP would fail since the partner link is
never cleaned up and is in invalid state(UP).
To fix this, propagate the HO-failure error through state machine
and move the VDEV SM from UP->DOWN directly.
Change-Id: I6480a1821ab4c8cf9af6cd96af0f7889307c3b18
CRs-Fixed: 3362995
Once the radar is found, identify the affected sub 20 MHz channels in the
current channel. From the position(s) of the sub 20 MHz subchannels, find
the nearest valid puncturing pattern.
If a valid puncturing pattern is found, find the corresponding reduced
bandwidth new channel for the legacy ( <= 11AX) devices and send CSA. At
the end of CSA, do a vdev restart so that the 11BE devices see a new
puncturing pattern.
And If not found, then fallback to the default behavior of changing channel
using Random channel selection.
Change-Id: I41e6206f310722bc3dacc9ce8d024f679ff1af3e
CRs-Fixed: 3386022
Don't enable FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE on SDXPINN
platform, which is similar mobile router platform as SDXPRAIRIE
and SDXLEMUR.
Change-Id: Id6c90be0c7467d85c23cac55fb0e7091e6c4814d
CRs-Fixed: 3393286
Add ini groam_info_stats_num used to control wlan driver
cache roam statistics information number.
Change-Id: I203257af37dcac76c6822ddfcc2e9dc723078a25
CRs-Fixed: 3393712
Previous code was already align with spec.
This reverts Change-Id Id16123baf7a18ce10c3c5776b6ef33864a0d9a82.
Change-Id: I83102059e94f71d61ec2eb564f0c9e2d6b253872
CRs-Fixed: 3361303
In SAP+NDI DBS case, SAP channel is changed for channel avoid event,
policy_mgr_update_indoor_concurrency is called, and country_change_work is
scheduled, but blocked for channel switch is already in progress,
both SAP and NDI adapter hold ref NET_DEV_HOLD_COUNTRY_CHANGE_UPDATE_SAP.
At same time, NDI interface is destroyed, assert when found ref leaked.
To fix it, for 2nd CSA req (found CSA in progress already), don't
block, just log and return.
When channel change finished, policy_mgr_check_sap_go_force_scc is called
to check whether new channel change required.
Change-Id: I0bb3b35265f77d949b3c2916ee1ba95a8239c61c
CRs-Fixed: 3396079
There are function parameters missing in kernel doc for TWT.
Add the parameters to kernel doc and fix mispellings.
Change-Id: Ice88e22fed8fb01760b4ed7981cb6b042f3751d6
CRs-Fixed: 3349940
Current code will force SAP restart on other channel when SAP/STA scc
on indoor channel and STA get disconnected. If indoor channel support
is enabled, SAP shall be able to start on indoor channel alone. So add
indoor channel support check before making SAP restart decision.
Change-Id: I3666f11cda75984636bdda9160bb8232d64615d6
CRs-Fixed: 3379903
Add APIs to set/clear link removal flag on vdev object.
If link is removed, drop the disassoc or deauth frame for
the vdev.
If disconnect start is indicated, stop the reconfig timer.
Clear the link removal flag on disconnect complete.
Change-Id: I729621aec36b82de6e88970675b020a2c5721e68
CRs-Fixed: 3352779