Add checks in caller APIs to handle negative return value from
crypto get param and crypto get peer param APIs.
Change-Id: Ibb138971f347c7ccdacbc93aa38521d5d9536759
CRs-Fixed: 2775328
The csr_enable_twt() returns true when the fw is 802.11ax
capable. This lead to failure of UAPSD even though the twt
requested mode is disabled throgh ini.
Fix the logic in the csr_enable_twt() to enable UAPSD when
the twt requester mode is disabled.
Change-Id: I5338b95b66312337d6b8befe700f31f3e214b7b1
CRs-Fixed: 2765999
Add the API to validate the BSS before roaming to it. This API will check
if other vdevs are already connected to the BSS, if concurrency is allowed,
and if channel is allowed for the current HW mode.
Keep the new changes under the interface_mgr feature flag.
Change-Id: I280e95b0a30c08fe4037295330628b79d22acf5f
CRs-fixed: 2774543
Host sets WMI_REQUEST_PMF_BCN_PROTECT_STAT bit in stats_id param of
WMI_REQUEST_STATS_CMDID command. Firmware supporting pmf beacon
protection stats responds host with stats in wmi_update_stats_id
event. Host extracts PMF beacon protection stats from wmi_update_stats_id
event. Host adds PMF beacon protection stats in the response of vendor
command QCA_NL80211_VENDOR_SUBCMD_GET_STA_INFO for STA mode.
Change-Id: Ib3cb06e03dbccdb9fa1782d414ed734bd97aa309
CRs-Fixed: 2705236
Currently, the APIs related to setting the preferred channel list is
in the SME module. Move these APIs to the policy manager so they can
be accessed from non-legacy modules.
Change-Id: Icc487dd2a0014e59db9c2df729b875f58e3e975e
CRs-fixed: 2766863
Add debug logs on the sending WMI_ROAM_SCAN_RSSI_THRESHOLD
/WMI_ROAM_FILTER_CMDID/WMI_ROAM_BTM_CONFIG_CMDID
/WMI_11K_OFFLOAD_REPORT_CMDID commands path.
If mawc roaming is not supported by firmware, don't send
WMI_ROAM_CONFIGURE_MAWC_CMDID command.
Add rssi reject AP list to the roam params process in function
csr_cm_roam_scan_filter().
Change-Id: I89e6dcac801e552877f7e918d1179dfa3466857a
CRs-Fixed: 2775101
Add pld_pcie_smmu_unmap API to support SMMU unmap of
addresses mapped in smmu_iova_ipa bank.
Change-Id: Idcb76a4f9d6573fb3f2c1fe22f6fbbe1728fa079
CRs-Fixed: 2768112
wlan_hdd_validate_context() function already takes care of logging
the caller function name in case of any error. Hence there is no need to
add the error log again.
Getting rid of these unnecessary logs reduces driver memory footprint.
Change-Id: Ia1f4a1a413249e10c40d7644e9ffb314e991b237
CRs-Fixed: 2769591
Set the latency of gold cores to default on clearing the
cpu_mask for gold cores. This ensures that power drain on
gold cores is minimal after gold core affinity is removed
after traffic reduces.
Change-Id: I4f17e9b9e36c57ac22a12e3abbc0155eef238a04
CRs-Fixed: 2764803
Add the support to dump software latency
manager statistics as a part of periodic
stats.
Change-Id: I22169979ecf3f78840086284432b94c5756edcf1
CRs-Fixed: 2769018
Currently for every packet transmission, the head
pointer register is updated. Each write corresponds
to one PCIe write.
Add the logic to coalesce the head pointer
register writes to reduce the PCIe writes. This
also helps in PCIe bus staying in low power states
for some more time and thereby reducing power
usage.
Change-Id: I10fe0499222fbcf94305c681008d12449cda5359
CRs-Fixed: 2769013
The 11g and 11a connections are latency critical and
hence tx coalescing cannot be applied on traffic
running for these connections.
Detect the latency critical connections and save the
number of latency critical connections in DP vdev.
This information can be used by the Software latency
manager to skip tx register write coalescing when there
is a packet transmission for low latency connections.
Change-Id: I2ebf40e670cc3139b2bc41a690c79ebb31c7b9c7
CRs-Fixed: 2769026
For users delete station request, host checks DFS CAC progress flag in HDD.
If DFS CAC progress is set, host doesn't send disassoc/deauth request to
LIM. Due to this peer instance in FW remains undeleted and host returns
success. On SAP vdev delete this peer instance in FW remains undeleted and
FW crashes. In LIM host already handles deauth/disassoc request if DFS CAC
is in progress. Hence remove DFS CAC in progress check from HDD.
Change-Id: I27953eac86fc4258ff764fb0ac8e6b95cb7ae99b
CRs-Fixed: 2773050
NDPs can exist on an NDI only when the NAN discovery is active.
Currently, firmware sends NDP_END indication for all NDPs when NAN
is disabled. Host driver removes the NDI entry from the policy mgr
based on these NDP_END indications. But firmware might miss to send
the NDP_END indication in some cases though the NDPs are deleted
in firmware. This leads to stale NDI entries in the policy mgr and
it prevents STA connections as NDI+STA without NAN discovery is not
a valid concurrency.
Host driver can remove all NDPs before sending NAN disable request
to firmware to avoid this. This is a blocking call in driver and
wait for the NDP_HOST_UPDATE event from firmware. Cleanup the policy
mgr entries in timeout case as well to avoid further failures due
to unsupported concurrency.
Change-Id: I8df905b7ae4cfe5dfb5affe5b6a3fd478851a453
CRs-Fixed: 2774329
Add statistics if the packets of the flow are coming on
a different REO than the one configured. This would help
in debugging the race conditions where the packets of the
same flow arrive on different REO rings.
Change-Id: Ifc52dd595b7e308d8a0c233768015af45f485b15
CRs-Fixed: 2770886
Auto BMPS timer is not running for STA, connected
using wpa_cli in open mode. This will lead STA not
entering in power save mode.
Running auto bmps timer for station connected via
CLI in Open mode after association completion.
Change-Id: I38ac5f89c3b9bddf6f25800be5979698f6a59de7
CRs-Fixed: 2765315
Add logic to pre-allocate DP consistent memory and reuse later.
Only SRNG memory is preallocated. This is useful to prevent memory
allocation failures due to fragmentation over cycles of WLAN ON/OFF.
Change-Id: I1f814f9f18d482eb5f55e0b157606d1792e665f8
CRs-Fixed: 2740424
Currently for Open mode, the install key command is not allowed
but usually set key with 0 length is sent in open mode and in
set key response path the OBSS scan is configured to firmware.
So send dummy response for install key command to go for open
mode connection.
Change-Id: Ia3665ca018114bbf354b8c3138a7c4d81f7f9707
CRs-Fixed: 2769414
Memory allocated in ipa_config_mem_alloc during
wlan startup, but it is not freed in error handler
path. Add ipa config free in error handler path.
Change-Id: Icc86a9c65220f86897481107e8d81cfd87058fa2
CRs-Fixed: 2770385
Change ucfg_tdls_notify_connect_failure() API as a
wrapper to a new API wlan_tdls_notify_connect_failure()
which in turn calls the core API.
Change-Id: I998669f9c829cb91e21b359ba794f396214854e2
CRs-Fixed: 2767682