Commit-Graf

1805 Incheckningar

Upphovsman SHA1 Meddelande Datum
qcabuildsw
4821268f7a Release 5.1.1.8
Release 5.1.1.8

Change-Id: If9f3bd3292c20d0813635b5cf06fd73e8d5fd49d
CRs-Fixed: 688141
2017-01-11 22:15:20 -08:00
Yingying Tang
8040436e3a qcacmn: Add new HW version for QCA9379
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
2017-01-11 22:15:19 -08:00
qcabuildsw
8bfa68369c Release 5.1.1.7Z
Release 5.1.1.7Z

Change-Id: I9f32ab93de6502a2bc8c15b6699aff5c1d1fb964
CRs-Fixed: 688141
2017-01-11 03:04:09 -08:00
Selvaraj, Sridhar
fe23c57ef1 qcacmn: Export symbols of dispatcher public API's
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
2017-01-11 03:04:07 -08:00
qcabuildsw
8e5520e89c Release 5.1.1.7Y
Release 5.1.1.7Y

Change-Id: If81e39ad386a6404de7b1f1720c8daa186f30b13
CRs-Fixed: 688141
2017-01-10 18:20:25 -08:00
Rajeev Kumar
73c05a8087 qcacmn: Add changes to detect if scheduler thread is stuck
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
2017-01-10 18:20:24 -08:00
qcabuildsw
4bc9248c74 Release 5.1.1.7X
Release 5.1.1.7X

Change-Id: I106329c42e05d4ebc29f5ab641b573d59548b5ec
CRs-Fixed: 688141
2017-01-10 11:47:44 -08:00
Tallapragada Kalyan
603c594e45 qcacmn: DP RX optimization changes
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
2017-01-10 11:47:43 -08:00
qcabuildsw
2844c30d9a Release 5.1.1.7W
Release 5.1.1.7W

Change-Id: If320672a834167deb92a04f55c199d0014ddc02c
CRs-Fixed: 688141
2017-01-10 03:05:48 -08:00
Himanshu Agarwal
56d8a79a89 qcacmn: Call mgmt txrx init and deinit from dispatcher APIs
Call mgmt txrx init and deinit from dispatcher APIs.

Change-Id: I5a20ae1ce663b3ee271daebe67659193154df5c8
CRs-Fixed: 1103247
2017-01-10 03:05:47 -08:00
Himanshu Agarwal
ca307114d1 qcacmn: Add logic to handle reg/dereg of multiple rx callbacks
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
2017-01-10 03:05:46 -08:00
qcabuildsw
66d177febf Release 5.1.1.7V
Release 5.1.1.7V

Change-Id: I5571dbc182572306c3ec33108ec17700cdb7a16c
CRs-Fixed: 688141
2017-01-09 14:13:15 -08:00
Soumya Bhat
ff3cac3135 qcacmn: Return from lmac_if_open appropriately
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
2017-01-09 14:13:14 -08:00
qcabuildsw
47d0a107ec Release 5.1.1.7U
Release 5.1.1.7U

Change-Id: Ia0f40e656bcbd1276ac0100796d16d0f22e24282
CRs-Fixed: 688141
2017-01-09 09:55:29 -08:00
Jeff Johnson
755f261b0c qcacmn: Fix -Wmissing-prototypes in dp_tx.c
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
2017-01-09 09:55:29 -08:00
Jeff Johnson
590aeb60c8 qcacmn: Properly export wlan_cfg API
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
2017-01-09 09:55:27 -08:00
Jeff Johnson
32140745b1 qcacmn: Make dp_htt_h2t_send_complete() static
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
2017-01-09 09:55:26 -08:00
Jeff Johnson
2cb8fc7e18 qcacmn: Properly export dp_peer API
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
2017-01-09 09:55:25 -08:00
qcabuildsw
5ce2a8cd89 Release 5.1.1.7T
Release 5.1.1.7T

Change-Id: I76d0b7244c4ff6c897f9c74c8e7bf112473c8eca
CRs-Fixed: 688141
2017-01-09 06:15:48 -08:00
Nandha Kishore Easwaran
3f0bfc305e qcacmn: Add scn parameter to ol_txrx_soc_attach
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
2017-01-09 06:15:47 -08:00
qcabuildsw
337bab319c Release 5.1.1.7S
Release 5.1.1.7S

Change-Id: I67bc83f5b1413601428212728367a036b1c5de19
CRs-Fixed: 688141
2017-01-09 02:41:12 -08:00
Sathish Kumar
3148cb077a qcacmn: Fix issue in extraction API for peer and vdev extd stats
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
2017-01-09 02:41:10 -08:00
qcabuildsw
2bad0a07f9 Release 5.1.1.7R
Release 5.1.1.7R

Change-Id: I9b5b0c7a64ee7b8694d5a82bb28dee9ab152b197
CRs-Fixed: 688141
2017-01-09 02:00:04 -08:00
Sathish Kumar
59113a4840 qcacmn: Add generic logging API adhering to converged framework
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
2017-01-09 02:00:03 -08:00
qcabuildsw
01abf4d3d1 Release 5.1.1.7Q
Release 5.1.1.7Q

Change-Id: Ibf904e0e1ef748106dfed1ab272ab65f9be561c8
CRs-Fixed: 688141
2017-01-08 22:34:01 -08:00
yeshwanth sriram guntuka
78ee68fa4a qcacmn: Remove redundant qdf_mem_zero calls
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
2017-01-08 22:34:01 -08:00
qcabuildsw
bf245e830a Release 5.1.1.7P
Release 5.1.1.7P

Change-Id: Icafda9efd090f830ab926a23c79e9309404685ce
CRs-Fixed: 688141
2017-01-06 11:40:21 -08:00
Selvaraj, Sridhar
85ad39b00e qcacmn: Add support to create global obj as part of init
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
2017-01-06 11:40:20 -08:00
qcabuildsw
e71901442e Release 5.1.1.7O
Release 5.1.1.7O

Change-Id: If0b3ebbc53248ba1a3e9ed5e0ff44e1364a1dc6c
CRs-Fixed: 688141
2017-01-06 09:20:32 -08:00
Srinivas Pitla
24ca6c9ed7 qcacmn: Fix the return status in psoc_pdev_detach()
Return QDF_STATUS_SUCCESS if pdev is detached properly

Change-Id: I81c3c92acc4baece650c8b4ea6a506a0579bff3d
CRs-Fixed: 1107371
2017-01-06 09:20:31 -08:00
qcabuildsw
28930525a5 Release 5.1.1.7N
Release 5.1.1.7N

Change-Id: I1e6a9a510b7a6e2887d9045589e509ead7065731
CRs-Fixed: 688141
2017-01-06 08:44:05 -08:00
Srinivas Pitla
1a2ef8c613 qcacmn: Add APIs to get component private object for pdev/vdev/peer
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
2017-01-06 08:44:04 -08:00
qcabuildsw
05e2951139 Release 5.1.1.7M
Release 5.1.1.7M

Change-Id: Ic92f6662f0a0b4a87e9f194abb73992a5befa4a4
CRs-Fixed: 688141
2017-01-05 23:26:14 -08:00
Sarada Prasanna Garnayak
580f1c4ddf qcacmn: fix the runtime pm feature compilation error
Add missing semicolon in variable declaration.

CRs-Fixed: 1107859
Change-Id: If1c4841345eb0e5060dc4db71ce22ff139ec5015
2017-01-05 23:25:27 -08:00
qcabuildsw
1c62ff622c Release 5.1.1.7L
Release 5.1.1.7L

Change-Id: I3510776c7b273d61013f805e1669c03aad2fc3ff
CRs-Fixed: 688141
2017-01-05 09:51:24 -08:00
Jeff Johnson
bf8ed0a7a2 qcacmn: Fix -Wmissing-prototypes in if_pci.c
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
2017-01-05 09:51:21 -08:00
qcabuildsw
9a3fa3b8c3 Release 5.1.1.7K
Release 5.1.1.7K

Change-Id: I00a2ef6d6d2641cb04e11f8617fd32f8af1bb756
CRs-Fixed: 688141
2017-01-05 08:36:13 -08:00
Karunakar Dasineni
c7033bcfa8 qcacmn: CE setup changes to fix copy failures
Increase number of entries in diag CE to 8 as per Lithium SRNG HW design constraints.

Change-Id: I07427e2ccd1da3b08a6f58d3dcca74b85a4fe84e
2017-01-05 08:36:12 -08:00
qcabuildsw
1e93f0bea4 Release 5.1.1.7J
Release 5.1.1.7J

Change-Id: I67aa206c2b05ac1ea181698f8e0786350b9519db
CRs-Fixed: 688141
2017-01-05 04:09:38 -08:00
Sathish Kumar
07918bf4b7 qcacmn: Fix CTL power configuration issued through acfg tool
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
2017-01-05 04:09:37 -08:00
qcabuildsw
e3ec8493d1 Release 5.1.1.7I
Release 5.1.1.7I

Change-Id: I7bbc8cd403b3dd118765154c9de1720f59b0c8b4
CRs-Fixed: 688141
2017-01-04 18:09:32 -08:00
Paul Zhang
c028941135 qcacmn: Drop Action frame in FW config by host
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
2017-01-04 18:09:31 -08:00
qcabuildsw
e2e69894e4 Release 5.1.1.7H
Release 5.1.1.7H

Change-Id: Id92f5e100ede2449aa4680eba1d1baf26923b7b2
CRs-Fixed: 688141
2017-01-04 12:21:06 -08:00
Ankit Gupta
6fb389b4e4 qcacmn: Check peer for null before dereference
Check for peer null check before dereference in
dp_peer_state_update to update its state.

Change-Id: Id3b743d6cbe3d156a48ad111e467579b7478e4bb
CRs-Fixed: 1107176
2017-01-04 12:21:05 -08:00
qcabuildsw
38f05ebf53 Release 5.1.1.7G
Release 5.1.1.7G

Change-Id: I96616a1e1854fcb3bd79dd5ed710e1ab43437403
CRs-Fixed: 688141
2017-01-04 11:19:07 -08:00
Jeff Johnson
0571813a2b qcacmn: Fix -Wmissing-prototypes in ce_service_srng.c
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
2017-01-04 11:19:06 -08:00
qcabuildsw
df771a9e28 Release 5.1.1.7F
Release 5.1.1.7F

Change-Id: Ia6f1503197bfa91e57947a269b158f44a32f75de
CRs-Fixed: 688141
2017-01-04 04:02:47 -08:00
Poddar, Siddarth
f176340b9e qcacmn: Fix to avoid skb buff leak when NBUF alloc fail
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
2017-01-04 04:02:46 -08:00
qcabuildsw
7caa967559 Release 5.1.1.7E
Release 5.1.1.7E

Change-Id: I199f02f790173666cc3e08b1d7980c69611a28d6
CRs-Fixed: 688141
2017-01-03 22:39:41 -08:00
Selvaraj, Sridhar
afd3a5b6f3 qcacmn: Add API to retrieve component private object from psoc
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
2017-01-03 22:39:40 -08:00