Add an extra parameter scn in ol_txrx_soc_attach which is used
for calling pdev_attach. scn is a handle for each radio interface.
Change-Id: I6c4b1835d3a1c0b19724d62a67961bff4e296284
wmi_stats_event structure is defined in FW header wmi_unified.h with
variable length data as A_UINT8 data[0]. KW tool perceives this
as a single uint8 and throws zero sized array when we try to access buffer
following data.
A uint8 pointer is assigned to data for this purpose in order to fake
the tool and resolve the issue.
Change-Id: I998f80c84554bc5bf4d0b2df1dae85352d72cb21
CRs-Fixed: 1106787
As part of cleaning up direct printk calls in WIN driver, a new
generic wrapper API QDF_PRINT_INFO() is added that is based on
the converged QDF debug framework.
All printks in the WIN driver will be replaced by calls to QDF_PRINT_INFO()
which will in-turn compile converged QDF trace API. Generic shared print
control index and module ID are defined for this purpose.
Change-Id: I818fbce9e46526ccdb4824d988b76c43e43eb3a4
CRs-Fixed: 1106829
qcacmn to qcacmn-2.0 propagation
qdf_mem_zero is called after qdf_mem_malloc to set the memory
value to zero. qdf_mem_malloc uses kzalloc internally to allocate
memory which sets memory to zero.
Removing redundant qdf_mem_zero which are called after
qdf_mem_malloc.
Change-Id: I8e1faf6099f8fbc869c8af42b7511a13e66e6bed
CRs-Fixed: 1079697
Add support to create global obj manager as part of init
sequence and also use QDF return types in all obj manager API's.
Change-Id: I0c58be908f36912764914bf9aba9b006220e8c0d
CRs-Fixed: 1107317
Add APIs to get component private object pointer. The caller has
to acquired its object lock, before calling this function, and
the lock has to be released after returning
Change-Id: I93b1001d936ba35af557b78edf45a11d58ae5308
CRs-Fixed: 1107371
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code in if_pci.c that is generating warnings. Fix
these warnings by making the following functions static:
hif_enable_pci()
hif_register_bmi_callbacks()
hif_ce_interrupt_handler()
Change-Id: Iaf30be455ce537fabc85dc973ceb3f1b820d29d9
CRs-Fixed: 1107494
When CTL array is configured using acfg_tool, the CTL values are not
impacting powers due to incorrect band value passed to the FW. It is
found that the memory copy for band and CTL array are done together
in a single operation.
However, with convergence, both acfg_tool and wifitool will call the same
underlying WMI API to set the CTL table. In order for concurrent working,
we need to copy the band value separately for acfg_tool, before copying
the CTL array. This fixes memory corruption that is currently seen
as evident from the garbage value for CTL band.
CRs-Fixed: 1087168
Change-Id: I42f6bc39eb3930e8c995ff76294b7d77676f2299
Propagation from qcacld-2.0 to qcacmn.
Several Action frame categories are not processed in host and they
are not forwarded to supplicant either, but they are dropped in host.
These unprocessed action frames are forwarded to host by FW and
wake up host unnecessarily which leads to battery drain. With this fix,
host conveys FW the disallowed action frames list at HDD startup
so that the remaining frames can be dropped in FW itself thereafter
when under WoW mode.
Change-Id: I40b49d42df94085784c8f1d8321de0ee61473ae0
CRs-Fixed: 999114
Check for peer null check before dereference in
dp_peer_state_update to update its state.
Change-Id: Id3b743d6cbe3d156a48ad111e467579b7478e4bb
CRs-Fixed: 1107176
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code in ce_service_srng.c that is generating
warnings. Fix these warnings by making the following functions
static:
ce_send_nolock_srng
ce_sendlist_send_srng
ce_recv_buf_enqueue_srng
ce_recv_entries_done_nolock_srng
ce_send_entries_done_nolock_srng
ce_completed_recv_next_nolock_srng
ce_revoke_recv_next_srng
ce_completed_send_next_nolock_srng
ce_cancel_send_next_srng
ce_check_int_watermark_srng
ce_get_desc_size_srng
ce_srng_src_ring_setup
ce_srng_dest_ring_setup
ce_srng_status_ring_setup
ce_ring_setup_srng
Change-Id: Iea59d7b65179ad2a0c6a45af6acf94663b41304c
CRs-Fixed: 1104119
propagation from qcacld-2.0 to qcacmn.
If host fail to allocate receive packet bundle buffer
it will return no memory without freeing receive pkt queue.
Fix is to free the receive pkt queue before returning from message handler.
Also, fill the rx free list during driver load time itself with the
pre allocated memory so that Tx won’t take away this memory.
Change-Id: I4bf2aeb7bc85cc68cfa1314e6dbf5057665ba7ce
CRs-Fixed: 1079623
Add API to retrieve component private object from psoc for respective
umac component id. In addition, the following changes are also done:
1) Add IBSS Peer type.
2) Define UMAC VDEV ID Max.
3) Define Psoc, pdev, vdev create timeout values.
3) Fix compilation issues of object manager.
Change-Id: I418dad89fe641c0b536549222eb391546975e66b
CRs-Fixed: 1097225
Add WMI host defines to check cal data status and use appropriate copy
macros to take care of big-endian conversion.
Change-Id: I4358761e807ac584c638b6e36229dbbbb85bf651
CRs-Fixed: 1105756
Separate macro/enum definitions from wlan_objmgr_cmn.h
which are generic to several modules into a different file.
Change-Id: I884b26fd74c08e0f35512b073a7222fff9b9f88c
CRs-Fixed: 1096009
Rename instance of comp_obj referred in code to comp_priv_obj,
as these instances are private to individual components
Change-Id: I895362261e5b7e06a46c2bd92942a972c75f192b
CRs-Fixed: 1096009
Decrease the ref count for peer when peer is no longer
needed in case of mgmt tx and rx frame handling.
Change-Id: I1e0599271a05add0a2e6f06d3809a1d2e54732e3
CRs-Fixed: 1103247
Original value of MOB_DRV_LEGACY_DP of 0xffff is colliding
with value of QCA8074_DEVICE_ID macro which is for Hawkeye
platform due to which soc context is not getting allocated
for legacy platforms.
Change the value of MOB_DRV_LEGACY_DP to 0xdeed.
Change-Id: I73325fef287d0a3fa0ce145957a70d20b60e12e0
CRs-Fixed: 1106160
The MC BC packets cause a NULL REO queue descriptor exception,
and hence are directed to the ring that is configured to receive
this exception from REO. As of now, this error is directed to
WBM release ring. Add handling to pass these packets to stack
instead of dropping them, when received on the WBM release ring.
Note that, the final fix may be route these to REO exception ring
from which the driver may need to pass them to stack.
CRs-Fixed: 1098153
Change-Id: If544911e7882a9f5e7dbffa5ef705618e9fcbbda
Add a check to see if the key index is more than 4.
Assign default key_id of 0 if an invalid index is provided.
Change-Id: Ic3a4230360f1fa4e05dfd3ba4f558ff0fb074aef
CRs-fixed: 1103920
WMI message to allow Specific Absorbtion Rate / tx power
limits to be set per band, chain, or modulation class.
Change-Id: Iece786a4e731462fd282e3eb3107541338a3af30
CRs-Fixed: 865207