Propagate from qcacld-2.0 to qcacmn
Currently there is no QCA9379 1.1 infomation in wlan device id table.
Add QCA9379 version 1.1 in device id table.
CRs-Fixed: 1048598
Change-Id: Ie4b7d3e31db2f2b3cad116bb0e993f9f55a7d322
Export symbols of the following dispatcher public API's.
1) dispatcher_init/deinit
2) dispatcher_psoc_open/close
3) dispatcher_psoc_enable/disable
Change-Id: I90c79a8c455f117b8805c0557eca6167b30286c3
CRs-Fixed: 1109029
Scheduler thread can get stuck because of many reasons like
mutex deadlock, resource starvation etc. Add changes to detect
if scheduler thread is stuck.
Change-Id: Ib9d4e3b240077464b3a51ab6be6af728cb845bfe
CRs-Fixed: 1107636
Added a separate loop to dequeue the rx pkts and relinquish
REO and rx-Refill ring faster. Additionl rx processing is
moved to a different per vdev loop.
CRs-Fixed: 1098453
Change-Id: I43b1fa302cf7e7c77f6114ea491306c0b724e365
Add logic to handle registration and deregistration of rx callbacks
for multiple frames in a single call of corresponding func.
Change-Id: I09479988f0c55f6d358ef503417dcfb46f2a0565
CRs-Fixed: 1103247
Add change in wlan_lmac_if_open() to return success
if device type is valid, else return invalid and handle
failure appropriately in caller.
Change-Id: I77a0620d4d64b18e28ce2cef7b5fb3dc7fb844ba
CRs-Fixed: 1096016
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code in dp_tx.c that is generating warnings. Fix
these warnings by making the following functions static:
dp_tx_desc_release()
dp_tx_prepare_htt_metadata()
dp_tx_prepare_ext_desc()
dp_tx_prepare_desc_single()
dp_tx_prepare_desc()
dp_tx_prepare_raw()
dp_tx_hw_enqueue()
dp_tx_classify_tid()
dp_tx_send_msdu_single()
dp_tx_send_msdu_multiple()
dp_tx_prepare_sg()
dp_tx_reinject_handler()
dp_tx_inspect_handler()
dp_tx_process_htt_completion()
dp_tx_comp_process_desc()
Change-Id: I4d40b836af85ea3c3dbee0c11514e2c1d2e9c8cb
CRs-Fixed: 1108175
Currently some of the public functions in wlan_cfg.c do not have their
prototypes exposed in a header file. This causes compilation warnings
when the driver is compiled with the -Wmissing-prototypes switch. Fix
these issues by adding the prototypes to wlan_cfg.h.
Change-Id: I914b811fdd8d48c9570bd240f0fdc8192b21c2e8
CRs-Fixed: 1108113
Since dp_htt_h2t_send_complete() is only accessed from within
dp_htt.c, and since there is not a public prototype, make it static.
Change-Id: I002ac20d0e5ced8ddc9d5099a987a5ce208b4cfc
CRs-Fixed: 1108111
Currently some of the public functions in dp_peer.c do not have their
prototypes exposed in a header file. In addition clients of these
functions currently have local prototypes. Fix these issues by adding
the prototypes to dp_peer.h.
Change-Id: I461cf69024da56fad57b75a325775ecd68872c8e
CRs-Fixed: 1108085
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