Remove hdd_objmgr_get/put_vdev api and use new
hdd_objmgr_get/put_vdev_by_user api to take reference of vdev with
component dbg id.
Change-Id: Ic0174a02e7d8d74506b03e04a4ae0aa7f28dad5e
CRs-Fixed: 2846706
Currently host driver does not free the memory for radio stats
if there is a timeout which may lead to unexpected behavior.
For example if there are multiple radio stats events from fw
and if it receives only one event and does not receives next
events in that case host allocates the memory for the channels
received in the first event and does not free this memory in wma
as it expects remaining events, since remaining events will not
come host gets timeout in hdd and memory in wma is not freed.
when host issues next command for the ll_stats it receives the
response for this command and as memory is already allocated for
channel stats for the previous event it combines this new response
with the old response which results in unexpected response to the
userspace.
To address above issue, add mem free logic to free the memory for
channel stats at wma.
Change-Id: I6735f8c282c4205c11548aabe3c8e269e81e4e54
CRs-Fixed: 2813478
Make CONFIG_MAX_LOGS_PER_SEC configurable because some platforms would
like to print more information in dmesg in some situations, like FW is
crashed in some CE projects.
Change-Id: Ib12854a7254afe5ace07c616a21400e446a80d4d
CRs-Fixed: 2838214
HW assist is a FW feature and it is enabled by default. But there is
no provision to disable/enable this feature based on requirement.
To address this, add INI param to enable/disable HW assist feature
in FW.
Change-Id: Icdc4a842be4d5c6991a785ee270f61ba87fcfe79
CRs-Fixed: 2841346
Configure TWT SAP PDEV count using CONFIG_WLAN_TWT_SAP_PDEV_COUNT
and SAP STA count CONFIG_WLAN_TWT_SAP_STA_COUNT for QCA6490
Change-Id: I74ef054d9cb64ccf66d7e1e788a8cc75aec70cb9
CRs-Fixed: 2843660
Currently, active NDP sessions are tracked on the platforms
where NAN concurrency handling is supported by host through policy
mgr. Roaming is disabled when an active NDP session is present and
re-enabled when the last NDP session is teardown. But this tracking
is not supported on legacy platforms(which don't advertise either
WMI_SERVICE_NDI_DBS_SUPPORT or WMI_SERVICE_NAN_DISABLE_SUPPORT) as
policy mgr based tracking is not available.
So, disable roaming when the first NDP connection happens and
re-enable when the last peer is departed from HDD APIs in such
legacy platforms.
Change-Id: I6309af12eab9222dc34a79566f7830b7763826de
CRs-Fixed: 2846541
Add entries to pre-allocate memory region for
recording datapath rx ring history.
Change-Id: Iffac199c48a9638c94d8568bbc7567bf214ffcc2
CRs-Fixed: 2847548
Event WLAN_IF_MGR_EV_AP_START_BSS delivery will trigger roam disable/
enable. That will involve lots of wmi command to set roaming parameters
to firmware. When the AP is "started" state, the
wlan_hdd_cfg80211_start_bss will be called to update AP (GO) IE and
wlansap_start_bss will be skipped. In this case, we don't
need to deliver WLAN_IF_MGR_EV_AP_START_BSS event.
Change-Id: I801fd7a5eaf7b97b2c74930c9e4088db83c86a09
CRs-Fixed: 2847224
Print is logged on rx packet deliver failure with
no relevant info since the skb is already freed.
Fix is to not log info on packet deliver to stack
failure.
Change-Id: I8f91a14030c76907d60e95ccbd19b600938ace90
CRs-Fixed: 2849093
Reduce stack frame size of lim_verify_fils_params_assoc_rsp()
by allocating dynamic memory to fils structures.
Change-Id: Ib24570d87468560f50ee1bcaad360e4729f404aa
CRs-Fixed: 2847120
Update the validation for SA Query Request/Response to fix the
issue that these frames are dropped unexpectedly when OCI IE
is not present.
Change-Id: I57acd699fd5c7eba23551133e3439fe23c1949a4
CRs-Fixed: 2846717
Replace hdd_objmgr_get/put_vdev by API
hdd_objmgr_get/put_vdev_by_user to specify
functionality dbg id WLAN_OSIF_CM_ID.
Change-Id: Ibaf32260826dfcccd3f6202210bf1aa185101082
CRs-Fixed: 2847448
When runtime power management is enabled, until the system is fully
resumed, we do not post any message to CE, instead they will be queued
in HTC. Once the device is fully resumed, all HTT messages in the queues
will be downloaded to CE at once. In some corner cases, it is found that
too many FSE caches flush messages getting queued during the runtime
resume; once the device is fully resumed, all these would be downloaded
to the FW/HW at once causing unintended crashes.
Do not post FSE cache flush messages when the device is resuming from
runtime suspend to avoid this problem.
Change-Id: Iaa7a25e6f84ef4ac9c3cdf6a5c052538b142ea3f
CRs-Fixed: 2839431
Currently for FISA aggregated RX frame, one skb will contain 2~16
RX msdu, if only count 1 RX msdu into stats, BW vote is not right
that even if RX T-put > 1 Gbps, wlan only vote 4(high), this can not
satisfy the vote requirement for peak T-put > 2 Gbps which should be
5(very high) which then degrade the T-put.
Fix RX packets stats correctly for aggregated RX frame.
Change-Id: Idd0cee1b68555dedad49025c03a13a929ec2af1c
CRs-Fixed: 2838667
Currently driver does not update he and ht rate flags correctly
in wma as rate flags should include all the subsets of the
lower rate sets, which is not the case today and driver only
updates the higher rate flag. Because of which it leads to
invalid computation of txrate at the kernel.
To address this issue, update he and ht rate flags correctly in
wma.
change-Id: I6ec68af1f75650990384efbd61536042329665b2
CRs-Fixed: 2837245
In moselle, once wow enabled there is a possibility that wow wake
interrupt can be fired from FW during runtime suspend in progress
in host, this will introduce a race between runtime suspend and
resume, so adding a synchronization between runtime suspend and
wow triggered runtime resume.
Change-Id: I19a4d70f47d5c202d0ba291c3edc8a260690f434
CRs-Fixed: 2845670
Enable periodic time sync between host and fw by setting
gRemoveTimeStampSyncCmd to 0.
Change-Id: I52168ad6d065262c433c801716eec0d7782bf6e8
CRs-Fixed: 2845017
Currently for converting timestamp to string qdf_snprintf
function is used which may not print timestamp correctly.
Use qdf_snprint instead of qdf_snprintf to print correct
timestamp provided by fw.
Change-Id: I803f678dc38afc03131e589a820d129dc38380ce
CRs-Fixed: 2835199
TPUT_DEBUG_MODE_ENABLE and TPUT_DEBUG_MODE_DISABLE are two new driver
commands. So when this commands will get issue, host needs to send
setUnitTestcmd with different arguments for different target to
enable/disable the module logging.
Change-Id: I5deb18f08f59ce936696e00b6537b0acf7c846a1
CRs-Fixed: 2842740