Instead of checking target type, check bus type for skipping soc-sleep
durring driver load code. Also enhance comments to explain why
hif_pci_target_sleep_state_adjust is called instead of
hif_target_sleep_state_adjust for the disable soc-sleep
durring driver load feature
Change-Id: I891e1b1782b46b32c1718e2c539215282e090bad
Moving global variables host_ce_config and target_ce_config to
per radio structure.
Change-Id: Iaaee722af16812e06aae068f0fa0092cf5c8f78a
CRs-Fixed: 1042915
Address compilation issues for WIN with new Lithium Firmware headers.
Also removed dependency on htt.h from header files, which may need to
add explicit dependency on htt.h in .c files.
Change-Id: Ia5027963837e645bc3f81a3db98c2ea06789aea8
CRs-Fixed: 1061096
Propagation from qcacld-2.0 to qcacmn.
Add support to get per chain rssi from fw through the
already existing WMI command WMI_REQUEST_STATS_CMDID
and then store it in the station_info structure defined
by cfg80211.
Change-Id: Id50c96dd322b5ca4db34cf2df901730d8b103251
CRs-Fixed: 1005367
Add CPU cluster management functionality. On low throughput,
the system works as normal. On high throughput, the driver gets
control of WLAN datapath interrupts and disperses them on different
CPUs and pegs them to maximize performance. Add init code, topology
table construction and hotplugin notifiers.
Change-Id: I247edb57003797ed6a04f70d15067072e22c2396
CRs-Fixed: 1065477
In current codeflow, we are maintaining the length of the TSO segments
belonging to one jumbo packet inside tso_info, which is common for
all the segments of one jumbo packet. This works if the length of
the segments (frag[1]) is the same. In case it is not, it ends up
assigning incorrect length to all the segments. This is resulting
GMS login failure.
Fix issue by maintaining the total length of the segment in the
qdf_tso_seg_t structure.
Re-factor code for easy readability
Add TSO_DEBUG prints which can be enabled (compile time) to debug
TSO issues
Change-Id: Ifb5a0f1493224c66c3acc394e47a74b2dd84bbc9
CRs-Fixed: 1062556
Decrement qdf_mem_list.count when removing elements to avoid
assert when destroying the list.
Change-Id: I0d0989f3a9009184b898b8b27517e6d12fa3dc97
CRs-Fixed: 1063093
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