check if runtime pm enabled in wlan_hdd_runtime_resume
and wlan_hdd_runtime_suspend.
Change-Id: I107f953d19ea6078d8bb8a59d51dcac6736ff914
CRs-Fixed: 2920169
Update comments for temp change done to enable connection mgr, as
CONFIG_CM_ENABLE will be removed once Connection manager
LFR2 changes are done.
Change-Id: I22bc1f3f9fe5a69206ac496e99a60beb87dc1e36
CRs-Fixed: 2921657
As part of WiFi ini clean-up FR, the ini gReorderOffloadSupported,
is identified as an obsolete parameter. Hence it is deprecated and
all instances of the config CFG_DP_REORDER_OFFLOAD_SUPPORT is
replaced by default value of ini.
Change-Id: I738406fb740f414fb6ad70603dfc95b9bf137ac4
CRs-Fixed: 2916527
Extract the 11BE flags advertised by FW in WMI_SERVICE_READY_EXT2_EVENTID
and update the regulatory pdev wireless modes. The wireless mode is
currently represented as 'uint32_t' and all the 32 bits are exhausted.
To accommodate the new 11BE flags, change the data type of wireless_modes
from 'uint32_t' to 'uint64_t'.
Change-Id: I9c137fe4c3d6f28cf0b4e0dcb0ea5aae01b1749e
CRs-Fixed: 2906216
HSP doesn't support TX_AGGREGATION_SIZE ini, need disable it to avoid
confusing.
Change-Id: I9e49ad5218f913f116cf4472f768f572740f14df
CRs-Fixed: 2918796
Currently if STA is connected to HT only AP and if BW change
due to OBSS scan the htSupportedChannelWidthSet is not updated
and thus TDLS peer which use htSupportedChannelWidthSet to get
BW may not consider the vdev BW for HT and thus peer's BW can
go beyond VDEV's BW.
Fix this by updating htSupportedChannelWidthSet on vdev restart
on HT BW change
Change-Id: I7253fd240206ec27eac3e2b1de8debf8705a8234
CRs-Fixed: 2920539
In the current implementation of the function
__wlan_hdd_cfg80211_set_wifi_test_config, if the status returned by
get_cfg API is not Success, it returns from the function without
freeing the allocated memory. This causes a potential memory leak.
To avoid this, free the allocated memory properly.
Change-Id: I5f9ac5f2edc49ebad662f18dbe09893f8bee6459
CRs-Fixed: 2918850
Refactor the code to replace htt tx data header with packet capture
header. So that we can add extra parameters in packet capture
header to send required data to packet capture callback function.
Change-Id: I863c63b925d1cd8ba5a8a7f0bc08ee3cd2acb96b
CRs-Fixed: 2916795
As part of I418be56d452389a9f7b8d48e28f793567e81767a due to copy
paste error in cm_roam_scan_offload_fill_lfr3_config the pmk was
copied to rso_11i_info instead of rso_11r_info.
Fix this by copying pmk to rso_11r_info.
Change-Id: If4d1ea23ab4b4c43db3fac78fbfd43ad74a7e1b4
CRs-Fixed: 2920206
Currently the rate, ofdm and cck flags are filled to support only
legacy rates.To support other rates too, fill ofdm and cck flags
based on phymode and fill rate in terms of 500 Kbps in tx status.
Change-Id: I972919ebd2cbd19a1b55af0324e481fada7f12cd
CRs-Fixed: 2917079
1. If the TWT setup parameter re-negotiation results in failure,
then host driver shall trigger TWT teardown for the
existing TWT session.
2. Upon receiving the TWT teardown confirmation from the firmware,
host driver shall cleanup TWT session, send teardown notification
to the user space and ready for next TWT setup command.
Change-Id: I553ae7de8d900a3dc12d563b781f9fefa36f8a0b
CRs-Fixed: 2916548
The feature HIF_DETECTION_LATENCY_ENABLE is not applicable for all targets.
To avoid issues, enable this feature based on target.
Change-Id: Ia7bab02710ee2bbb9f487571ec98992ac338961f
CRs-Fixed: 2915968
Currently FW dbg log levels are configured for every vdev creation.
But this is pdev level configuration and doesn't required to configure
for every vdev. Because of this WMI commands are getting flooded.
To avoid this, configure FW debug log levels only for first vdev
creation.
Change-Id: Ie395c1a7b0756a08ad7948997531c6920d83ae0b
CRs-fixed: 2913901
In STA+SAP mode, disable pipes is not done as part of either
last client disconnection or SAP down. In the scenario where
APPS suspend does not get triggered, IPA pipes are not disabled
and on runtime suspend, PCIe link is suspended which would result
in a NOC error if IPA HW accesses wlan registers.
Fix is to avoid runtime suspend if there are any pending IPA
tx completions.
Change-Id: I190da658d233cb5d6c85846312ddc7a251f9f9d5
CRs-Fixed: 2918334
The userspace doesn't expect TWT teardown or notify events after
roaming. So to clear the driver internal TWT context, for old
peer, call the mlme_init_twt_context() on roam synch complete.
Change-Id: If1e4fe2d79561885052caf8d5231d1c943f10c96
CRs-Fixed: 2912872
Change I588a56f4c96d137d3283b2dc57274de069ecb4ab changed
wlan_cm_abort_rso() return status from BUSY to FAILURE when roaming
in progress, it caused disconnect command not wait for roaming
complete/abort, and lead to abnormal data access.
Change-Id: I16004b006283c05ed94fb3ca4bc0e9376485aca7
CRs-Fixed: 2910443
Enable DUMP_REO_QUEUE_INFO_IN_DDR to send cache flush cmd
to REO using cmd: iwpriv wlan0 txrx_stats 34 0
Cache flush cmd will invalidate the h/w cache and ensure
that h/w writes to DDR.
In the cmd callback, the reo status tlvs are processed
and the vaddr of the reo queue desc is used to read the
queue information from DDR and dump it in the host driver logs.
Change-Id: I4521b777d13c490ac687f9ff673182262bc52f62
CRs-Fixed: 2899824
By default, the driver fills the roam scan scheme as none for
all the triggers in WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID
but if the roam scan scheme bitmap is set for particular
trigger, then for the corresponding trigger the roam scan scheme
should be sent as ROAM_TRIGGER_SCAN_MODE_PARTIAL.
Send ROAM_TRIGGER_SCAN_MODE_PARTIAL if roam scan scheme bitmap is
provided.
Change-Id: I82f16f7c0e24be472c95278eb3085f7d2623b63a
CRs-Fixed: 2914142
Use WLAN_REG_IS_SAME_BAND_FREQS API to check if 2 channel
frequencies are on same band instead of the deprecated
WLAN_REG_IS_SAME_BAND_CHANNELS API as part of regulatory
cleanup effort.
Change-Id: I05c7a97d5217cdd725734ece457e859d5e1588c2
CRs-Fixed: 2898307
The delay before vdev stop is a global config,
no need to set for each interface separately.
Change-Id: I5760cf083a6749bb82cc88635a947f1d18308dfe
CRs-Fixed: 2904748
The operating class triplet was removed from country IE. Add the logic
to populate it back in.
Change-Id: Ia9a1489e04d832b650dbe203534f38980e7e1506
CRs-fixed: 2913363
Send igmp offload command to fw with disable flag
once host comes to resume state from suspended state.
Change-Id: Iec2c6830028bf13dd90ac0a842774a4a7138286c
CRs-Fixed: 2911248
offload igmp feature to fw in case of suspended state
to avoid high power consumption.
Change-Id: I05fbf23dc2836f8f5dc6e2f45b35bf2d30c39790
CRs-Fixed: 2907644
Currently, the AP power mode is only updated during HE OP IE population.
This causes the country IE to use the incorrect TX powers since HE OP is
populated afterwards. Add a call to update the power mode whenever the
country changes.
Change-Id: I46641d12f1aed045dbe1becf4b96ff65c5746c5b
CRs-fixed: 2910774
Currently runtime resume is marked as success after kicking
HTC queues, due to this non PM marked WMI commands are not
sent out properly.
Fix this by marking runtime resume as success before kicking
HTC queues, since resume is set as success as part of HTC kick
queues WMI commands will be sent out properly.
Change-Id: I5e3f98cbc5888bdf83f760b055c9b706c18737ef
CRs-Fixed: 2899609