Send HT/VHT CAPs IE to firmware per band. This will allow certain
features like LDPC to be configured per band.
Change-Id: I21c83af984f9be3ade46121ef148b52568c3ad0f
CRs-Fixed: 1059454
Propagation from qcacld-2.0 to qcacmn.
Add NULL check for HIF device structure in hif_enable_func before
dereferencing it.
Change-Id: I535d5138c2247b4b9acdf63211f30a57a1d3116f
CRs-Fixed: 1055684
Propagation from qcacld-2.0 to qcacmn.
Add sanity check to avoid NULL pointer dereferencing of tx
completion handler callback in hif_send_buffer_cleanup_on_pipe.
Change-Id: If38b4b7cdd1154d8272e5150c6653f90df8f4b5e
CRs-Fixed: 1057490
Currently ani_global.h is included in qca-cmn,
This change removes ani_global.h and there are
corresponding changes in Driver
Change-Id: I4c1cf70e8eb1f4391a25783a560c02a43c483054
CRs-Fixed: 1012452
As part of MBO(MultiBand Operations), host driver need to supply
the default scan IEs to firmware at wifi init time using existing
VDEV SET IE command. FW uses these Scan IE's in subsequent scans
.i.e. FW initiated Probe Requests.
This Fix updates the vdev_ie_info_param struct with ie_source.
ie_source will be set with zero for VDEV SET IE commands from
host driver
Change-Id: Ie2e87da8aa94b76aef431e25d9974b8fed63eba9
CRs-Fixed: 1039969
qcacld-2.0 to qcacmn propagation
In some cases wmi_buf_alloc is used to allocate memory, while
adf_os_mem_free(vos_mem_free) is used to free the memory.
vos_mem_free checks if memory is present in vosMemList to detect
double free.
Now as wmi_buf_alloc doesnot add the allocated memory to
vosMemList, vos_mem_free assume it to be double free case and cause
kernel panic.
Use proper corresponding API to free memory
Change-Id: I3602887d2bfdb407e5805aedd7a97a57440a4567
CRs-Fixed: 1004079
Check for valid nbytes values before posting descriptors
to copy engines when sending messages to FW in slub builds.
Change-Id: I6996aa5dc607be60c2434f04cd6b3249bc7df415
CRs-Fixed: 1060096
Fast-forwarding wlan-cmn.driver.lnx.2.0-dev to the tip of wlan-cmn.driver.lnx.1.0-dev which has driver version 5.1.0.23K
* origin/wlan-cmn.driver.lnx.1.0-dev:
Release 5.1.0.23K
qcacmn: Add APIs to get lower 32 and upper 32 bits
Release 5.1.0.23J
qcacmn: Fix index recording for FAST_TX_SOFTWARE_INDEX_UPDATE
qcacmn: Double CE2 resources on host and firmware
Release 5.1.0.23I
qcacmn: Modify LFR3 firmware OKC flag
Release 5.1.0.23H
qcacmn: Add fwtest interface
Release 5.1.0.23G
qcacmn: Added a member in qca_napi_info structure
Release 5.1.0.23F
qcacmn: fake apps ensures correct ce_id before resume
Release 5.1.0.23E
qcacmn: Support for wifidown and wifiup without modules removal
Release 5.1.0.23D
* origin/wlan-cmn.driver.lnx.1.0-dev:
qcacmn: Use suspend_noirq callback instead of disabling irqs
Release 5.1.0.23C
qcacmn: Implement QDF API to get queue mapping and total ram size
qcacmn: Fixing incorrect qdf_mem_set API usage in wmi_unified_non_tlv.c
qcacmn: Fix for kernel panic in wifi down path for peregrine
Release 5.1.0.23B
qcacmn: Free WMI HB command buffer in case of errors
Release 5.1.0.23A
qcacmn: Add WMI API for setting bandwidth fairness
Release 5.1.0.23
qcacmn: unmap buffer for CE destination ring en-queue error
Release 5.1.0.22Z
qcacmn: Add WCN3990 to hw names
qcacmn: Add htc_pm_runtime put/get apis
Release 5.1.0.22Y
qcacmn: Fix compilation errors in WMI for Big Endian platform
Release 5.1.0.22X
qcacmn: Fail PM suspend if target has sent initial wake up
* changes:
qcacmn: Use suspend_noirq callback instead of disabling irqs
Release 5.1.0.23C
qcacmn: Implement QDF API to get queue mapping and total ram size
qcacmn: Fixing incorrect qdf_mem_set API usage in wmi_unified_non_tlv.c
qcacmn: Fix for kernel panic in wifi down path for peregrine
Release 5.1.0.23B
qcacmn: Free WMI HB command buffer in case of errors
Release 5.1.0.23A
qcacmn: Add WMI API for setting bandwidth fairness
Release 5.1.0.23
qcacmn: unmap buffer for CE destination ring en-queue error
Release 5.1.0.22Z
The sw_index was being recorded in the FAST_TX_SOFTWARE_INDEX_UPDATE
event leading to confusing descriptor history.
Change-Id: I1f2084296f25faf00c30370f47c4d29fb258c90b
CRs-Fixed: 1060098
Firmware crashed when it ran out of buffers. Increasing
the descriptor ring size for firmware and host on CE2
at firmwares request.
Change-Id: I602bc896dcd76b3184f922a3ac961a4433585374
CRs-Fixed: 1061291
Enable or disable OKC flag in WMI roam scan offload request based on
okc_enabled parameter in roam request from CSR.
Change-Id: I19ad7ea2171532f2417742e205d408bdd52682c0
CRs-Fixed: 1057181
To derive hif_ctx from napi pointer. This changes helps enable napi support
for WIN driver.
Change-Id: Idcb0775195665d60d4b1a9a010afcfab256d839f
Acked-by: Balamurugan Mahalingam <bmahalin@codeaurora.org>
Currently, the interrupt handler does not check for the correct ce_id
before triggering a fake apps resume. This check is added to
hif_fake_apps_resume().
Change-Id: I810c59bb8536356bd87a394c815a294755aa5161
CRs-Fixed: 1061287
Release the iomem requested during the cleanup path.
Successive request to iomem resource fails,
if the ioremapped region is not released
during the last cleanup
Change-Id: Icc88647df8d21f9f230b784faa8e7fdaf5968814
Acked-by: Balamurugan Mahalingam <bmahalin@codeaurora.org>
CRs-Fixed: 1056971
Disabling the interrupts and setting them as wakeup sources does
not work as expected. The pending interrupt gets trapped in sw
and kernel does not check for it before finishing the suspend.
Instead, use the suspend_noirq callback to guarantee that
wakeup messages don't get processed without rejecting the suspend.
Change-Id: I5ec5ce2a7e1b14c3d8477fe7aa0372c9ffd4dc0d
CRs-Fixed: 1060880
This change adds the following QDF APIs -
qdf_nbuf_get_queue_mapping: To get the queue mapping set by linux kernel
qdf_get_totalramsize: To get total ram size in Kb
Change-Id: I86daffebba759c086d15951dfcc72ea626c74bb4
CRs-Fixed: 1055387
The qdf_mem_set API is used incorrectly in a few instances inside
wmi_unified_non_tlv.c
The argument list is - <pointer to address, size, value>
However, some places, it is sent as - <pointer to addr, value, size>
This change fixes such incorrect function calls to qdf_mem_set().
Change-Id: Id50136f630022b1fdeaddbdefcad9f637f917e9e
CRs-Fixed: 1048504