For easier debugging, dump the 5 GHz and 2.4 GHz HE
CAPS extracted from the target.
Change-Id: Iafea2cb9186ad4d52ae2808e4f4b7a98cf8d4b77
CRs-Fixed: 3471653
Some AP doesn't honor CCK rate for auth/assoc.
this ini is added to detect specified AP and
send auth/assoc/reassoc(non-offload) with 6 Mbps
rate on 2.4 GHz, then AP will ack to STA.
Change-Id: I8a164471198842368add40ca726420569dd82430
CRs-Fixed: 3412381
Variable meta_data does not initialize properly in
function lim_handle_frame_genby_mbssid().
Change-Id: Ia842a1e12d9340a6f35bb06eb7e3cbaa8c273c50
CRs-Fixed: 3463362
The vdev ref count does not release properly for
WLAN_OSIF_TDLS_ID, it causes driver crash when
rmmod wifi module.
To address this issue, release the vdev ref count
properly for TDLS module.
Change-Id: I9c206f212ff5ba5a362c91d32519bc7903cbec3d
CRs-Fixed: 3470275
Currently smps params are stored to pe session and read from it.
Fix is to directly read from mlme cfg and remove pe session params.
Change-Id: I0edd568e505ef80e8e9ef1b8f1938fd01812cb28
CRs-Fixed: 3449560
Add the following fixes in case of peer-level tid-to-link
mapping negotiation.
1) Copy peer-level mapping to wlan_prev_t2lm_negotiated_info
from wlan_t2lm_onging_negotiation_info after negotiation
is completed as the former structure is used for mapping
reference.
2) Currently, the Host sends peer-level negotiated mapping
to FW, followed by an action frame response to the AP.
Reverse this order to align with the design flow.
Change-Id: I0e0db95c539cfd9aee27b481683e3e807a1f712e
CRs-Fixed: 3423125
When MLO STA is supported in MDM, driver needs to
use the new PCL table for 4th connection.
Move the existing PCL table under macro MDM_PLATFORM
to support this.
Change-Id: I494e7a8d6ecc0a550027ff7f64de5deb11b987a9
CRs-Fixed: 3467738
Change mask for OUI as the 2nd byte will change dynamically
for each powerup/powerdown.
Change-Id: Ia742f96956e470fd0c02ae4ee8813f0f84e96556
CRs-Fixed: 3460525
Allow a maximum of one ML SAP instance at a time and restrict any
other ML SAP start. The existing code allows secondary ML SAP to
come up if no other concurrent connections are present.
Add the condition to check only SAP mode in the policy manager list
so that other opmodes are not considered.
Allow new ML SAP instance only if no other ML SAP instance exists.
Change-Id: I3ea08b2c8de92f84e288e078a19cac0da261e69e
CRs-Fixed: 3460774
In set featureset info function, there is a possibility that host driver
may use uninitialized variables which may lead to unexpected behavior.
To address this issue, initialize the uninitialized variables.
Change-Id: Iaf2fdcf511ceca609c154d2a6e3f412d4f40d0bb
CRs-Fixed: 3434878
When switch wlan0 from STA to SAP mode, single link flag isn't set,
hdd_adapter_is_sl_ml_adapter returned false,
hdd_get_assoc_link_adapter didn’t return SAP adapter,
wrong MAC was copied to vdev in hdd_populate_vdev_create_params.
SAP started with wrong mac addr, which was different from real SAP
adapter mac.
To fix it, for SAP, copy MAC from adapter directly to vdev in
hdd_populate_vdev_create_params.
Change-Id: I5567cb83e4cc7d9f79979c3eea42760dab6c8926
CRs-Fixed: 3458921
Currently host driver sets value of out psoc to NULL once it
assigns value of out_psoc to a local variable. Now if there is
any issue after this assignment, this global out_psoc is not
available for debugging purpose.
To debug some complex issues, set out_psoc to NULL at the end
of the psoc destroy function.
CRs-Fixed: 3469397
Change-Id: I479b0c4aedd77f374d8dff085cfade00a8e5cc5b
Current code does not have 6 GHz scan channels for emulation mode.
Fix this by adding 3 channels in the 6 GHz frequency range.
Change-Id: I68eb8068b1972c0ceb4cd744727462a25c52875e
CRs-Fixed: 3461763
eMLSR + NAN concurrency is not supported currently, so handle it
as mentioned below
1. eMLSR+NAN: If NAN is coming up when eMLSR is active, disable
one ML link so that eMLSR gets disabled.
2. NAN+eMLSR: If eMLSR is coming up when NAN is already enabled,
disable one link so that eMLSR doesn't get enabled.
Also, cleanup the APIs to carry a generic flag to indicate that
a concurrent connection is coming up instead of mode specific flag
as there is no dependency on modes to handle concurrency.
Change-Id: I625f8b18f9d7e991922d22af53f3e8743a3727bd
CRs-Fixed: 3443900
Firmware sends beacon/probe response of the roam candidate to host
through roam_frame_event when it chooses a candidate which needs
SAE authentication to be performed. This is needed as the host
checks if corresponding scan entry is present in the scan db
before starting SAE authentication trigger.
But in MLO roaming case, firmware might send ML probe response
and the scan entry corresponds to re-assoc link might be present
in the per STA profile of the ML probe response.
So, extract all per-STA profiles and add them to scan db.
Also, use this API to extract and add the link specific
ML probe responses for the ML probe response received
in roam sync indication if extraction via roam info fails due
to some reason(currently it may fail if fw roams to a link but
got ML probe rsp from other link as link_info is not
present roam info).
Change-Id: I6c67927732a54568dfe618bdecaca8f37515e203
CRs-Fixed: 3454834
Pass device info to platform driver for wcn6450 which
allows platform driver to load wlan host driver when
platform driver device id and host driver device id
matches.
Change-Id: Ied1ede2f89e20ea8d6b03a4df79f3e99c7f227e6
CRs-Fixed: 3464932
Currently, in WMI_WOW_ADD_WAKE_PATTERN_CMDID driver sends only SAP mac
address and pattern_id. So, FW does not have bridge mac address.
To fix it, driver will send bridge mac address and pattern_id along
with SAP mac address and pattern_id.
Change-Id: I3fae9f0383a1ba8c64edfa6cf8518ab9a5604a14
CRs-Fixed: 3456318
Cleanup TDLS concurrencies feature flag and move it to
end of Kbuild file where cc_flags are defined.
Change-Id: I26ffe1f339fc286be5d2f235c7b9fe7efa530e42
CRs-Fixed: 3468341
When P2P CLI is connected first and then STA is connected,
disable TDLS on existing interface and enable TDLS on the STA
vdev.
When existing STA + TDLS exists, disable off channel when P2P
connection is started and re-enable off channel for TDLS once
connection is complete. Don't teardown TDLS peers once the
P2P client connection is successful.
Change-Id: I91d152a3a052706289c06cebc932c84a69fdbc00
CRs-Fixed: 3455639
Currently the Debug Log DebugFS functionality in the qca-wifi-host-cmn
project is protected with #ifdef WLAN_OPEN_SOURCE.
The WLAN_OPEN_SOURCE macro was introduced for a legacy reason that is
no longer applicable. In order to remove the WLAN_OPEN_SOURCE macro,
introduce a new feature-specific WLAN_DBGLOG_DEBUGFS feature flag.
Once the Debug Log DebugFS functionality moves to the new flag, the
WLAN_OPEN_SOURCE macro can be removed.
Change-Id: I159af54ab91d009e5bf50d67492cbc62a05bad47
CRs-Fixed: 3463793
Currently Kbuild uses both cppflags-y and ccflags-y, The kernel Kbuild
documentation recommends using ccflags-y, so consistently use that
everywhere.
Change-Id: Ic5f86bad5d4260f39f98b5ce1b56ba6a69606aa9
CRs-Fixed: 3463792
As part of commit(Id680d0f6193740b24e78115ac7dc7be26e28acff)
during roam driver notify the TDLS STA about disconnection.
During this driver sends the TDLS disable command to Firmware
without deleting the TDLS peers. As a result of this in FW the
TDLS delete instance is called and TDLS handle is marked as NULL.
And later in driver the TDLS peers are getting deleted and now
the teardown update command is sent to Firmware. But in FW as
the TDLS handle is already NULL, it has asserted and crashed.
Fix is to delete the TDLS peers in driver and update the teardown
to Firmware and then send the TDLS disable command to Firmware.
Change-Id: Ic425cc065a29bbc444531f523eaccb14014ae47a
CRs-Fixed: 3455117
In wlan_hdd_cfg80211_get_txpower function, to avoid
frequent WMI calls to firmware to get connection tx power,
host always returns the periodically cached tx power
acquired as part of UNIFIED_LL_GET_STA stats.
The current issue is, in case of SAP mode with no
stations associated, the tx_power is not cached into the
adapter, and host always returns default value.
To fix this issue, based on timestamp when tx_power is cached
into the adapter, host will either return cached value or
value obtained from WMI command.
Change-Id: I9dfbf9ea4d8b0d9430e6ab49cdc9f26c83079676
CRs-Fixed: 3456632