Commit graph

1,763 commits

Author SHA1 Message Date
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
qcabuildsw
d133fdc2f1 Release 5.1.1.7D
Release 5.1.1.7D

Change-Id: I7fff1626bfa0b322a7b92e303020b039aeeac185
CRs-Fixed: 688141
2017-01-02 08:33:19 -08:00
Kiran Venkatappa
edeb20382f qcacmn: Add cal data version check status enums in host
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
2017-01-02 14:58:58 +05:30
qcabuildsw
ab718808aa Release 5.1.1.7C
Release 5.1.1.7C

Change-Id: I0406518c7be798cc14a5f43396c92cd624bbd709
CRs-Fixed: 688141
2016-12-30 16:32:42 -08:00
Soumya Bhat
be6cc1703d qcacmn: Refine wlan_objmgr_cmn.h
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
2016-12-30 16:32:42 -08:00
qcabuildsw
9368909e70 Release 5.1.1.7B
Release 5.1.1.7B

Change-Id: I4cc6b759cf359a863041c3073fa390b828fc3f26
CRs-Fixed: 688141
2016-12-30 15:56:29 -08:00
Soumya Bhat
dd73487ad6 qcacmn: Rename variable for readability
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
2016-12-30 01:09:28 -08:00
qcabuildsw
a3955d2aaa Release 5.1.1.7A
Release 5.1.1.7A

Change-Id: I18c231aeb219e95c081d2d13386c3c0e97f1b7bb
CRs-Fixed: 688141
2016-12-29 11:09:35 -08:00
Himanshu Agarwal
290e3408b8 qcacmn: Decrease the peer ref count after use
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
2016-12-29 11:09:34 -08:00
Himanshu Agarwal
c68d5a1acf qcacmn: Fix compilation errors in mgmt txrx component
Fix compilation errors in mgmt txrx component in
wlan_mgmt_txrx_mgmt_frame_tx function.

Change-Id: Ie09fba5924778a7e774b896bef7849d1ac77b21f
CRs-Fixed: 1103247
2016-12-29 11:09:32 -08:00
qcabuildsw
66f6a83b95 Release 5.1.1.7
Release 5.1.1.7

Change-Id: I8db268d5863df039320c0c08b242d0f871e164eb
CRs-Fixed: 688141
2016-12-29 06:45:23 -08:00
Himanshu Agarwal
f064db935d qcacmn: Change value of MOB_DRV_LEGACY_DP macro
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
2016-12-29 06:45:22 -08:00
qcabuildsw
f9748023ca Release 5.1.1.6Z
Release 5.1.1.6Z

Change-Id: I2fa86e0f165cce9570f99b23b5c245066f365440
CRs-Fixed: 688141
2016-12-29 01:48:30 -08:00
Tallapragada Kalyan
1ef5480ea4 qcacmn: Added support to handle NULL Q descriptors
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
2016-12-29 01:48:29 -08:00
qcabuildsw
57567606a1 Release 5.1.1.6Y
Release 5.1.1.6Y

Change-Id: Ib74e547201ba867974795639eafaa54ac482e634
CRs-Fixed: 688141
2016-12-28 03:19:37 -08:00
Nandha Kishore Easwaran
a1e3bcfaf0 qcacmn: Handle multiple keyix cases for WEP
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
2016-12-28 03:19:36 -08:00
qcabuildsw
4c94ce779f Release 5.1.1.6X
Release 5.1.1.6X

Change-Id: I260e9dc1f86b9adf180cc4ab44a6da3c85dfb33d
CRs-Fixed: 688141
2016-12-27 23:33:28 -08:00
Nishank Aggarwal
9a5fc62db2 qcacmn: CL 1683879 - update fw common interface files
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
2016-12-27 23:33:28 -08:00
Sandeep Puligilla
33689f5f4a qcacmn: CL 1685950 - update fw common interface files
WMI defs for DFS offload

Change-Id: Ief6ea8771ec130a94f19c7296930534364bdd2fb
CRs-Fixed: 865207
2016-12-27 23:33:26 -08:00
qcabuildsw
532ae000d9 Release 5.1.1.6W
Release 5.1.1.6W

Change-Id: I64d13f10d5a8c67002bf42bbb1a7e05f28a8523e
CRs-Fixed: 688141
2016-12-27 16:37:35 -08:00
Rajeev Kumar
cd39549564 qcacmn: Rename control path scheduler from sch to scheduler
Legacy protocol engine already has a module name 'sch' rename
control path scheduler from sch to scheduler to avoid naming
conflict with protocol sch.

Change-Id: I94ce9aa5037aa75319aaad2287116462444c03f4
CRs-Fixed: 1105115
2016-12-27 16:37:34 -08:00
qcabuildsw
c098c33337 Release 5.1.1.6V
Release 5.1.1.6V

Change-Id: Ic51bed6cc930395090bef27d3169438c56841b25
CRs-Fixed: 688141
2016-12-27 11:11:27 -08:00
Himanshu Agarwal
f8641b9a4e qcacmn: Changes for mgmt txrx component to interact with southbound
Define mgmt txrx tx and rx ops in lmac if layer and register rx ops
with mgmt txrx layer statically inside wlan_lmac_if_register_rx_handlers.

Change-Id: I4f59f69ed0e8b702b8d3c93e4b732891d50c1555
CRs-Fixed: 1103247
2016-12-27 11:11:25 -08:00
Himanshu Agarwal
f0d971512c qcacmn: Add support for TX path for mgmt_txrx
Add support for Tx path and TX completion path
for mgmt_txrx for the converged umac.

Change-Id: I964ee78ae4f6ff1fc5f26a6f7d16ae6b4e50bbee
CRS Fixed: 1103247
2016-12-27 11:11:24 -08:00
Himanshu Agarwal
b7388515b9 qcacmn: Rx frame handling in umac converged mgmt txrx component
Do handling of mgmt rx frames as:
1) Query peer from object manager.
2) Parse the frame to get frame type and call the
   corresponding rx cb registered by the components.

Change-Id: I2816e4b337508784515faa7a3d0fe7f9923ae962
CRs-Fixed: 1103247
2016-12-27 11:11:22 -08:00
Himanshu Agarwal
74782880c8 qcacmn: Init/deinit of mgmt txrx converged component
Initialization/deinitialization of mgmt txrx context,
mgmt desc pool, declaration of APIs for sending and
receiving mgmt. frames.

Change-Id: Icc1f181761721387bcd1f134c937204bfd3b645f
CRs-Fixed: 1103247
2016-12-27 11:11:21 -08:00
qcabuildsw
5d1df0fa51 Release 5.1.1.6U
Release 5.1.1.6U

Change-Id: I31e762e7273a3c870c76bd91fe8637a918425a72
CRs-Fixed: 688141
2016-12-27 03:39:39 -08:00
Kiran Venkatappa
9d22322f94 qcacmn: Fix compilation for 64-bit platform in non-tlv.c
Remove SUPPORT_64BIT_CHANGES compiler flag to make code common for both
64-bit and 32-bit platform.

Change-Id: I47e43c39e7f58cd04cbc3fb21d348af6b094e006
CRs-Fixed: 1105174
2016-12-27 03:39:38 -08:00
qcabuildsw
d3e1859b16 Release 5.1.1.6T
Release 5.1.1.6T

Change-Id: I7e6b46895d814f5dca3c7cce01a250a797b2dff8
CRs-Fixed: 688141
2016-12-25 22:16:48 -08:00
Kiran Venkatappa
a17e5e546f qcacmn: Fix for crash during unload of driver modules
Cleanup usage of irq_request_done flag. This flag is
set after registering irq. Irq register is skipped for emulation.
Setting this flag here causes detach path to release
irq even though it was not registered. Add new bitmap
ce_register_irq_done to track CE irqs.

Change-Id: I84cb4463b8ad51f22cb17c55dab36a398ccbaef0
CRs-Fixed: 1097695
2016-12-25 22:16:47 -08:00
qcabuildsw
c3fcae8d09 Release 5.1.1.6S
Release 5.1.1.6S

Change-Id: Id7059bbf18df92ac76c13b88a42a6efaf31ab65f
CRs-Fixed: 688141
2016-12-24 15:25:33 -08:00
Houston Hoffman
88c896f365 qcacmn: Support separate ce service map for qca6290
qca6290 family chips need a separate ce service map.
packet log service moved to CE5 to replace ipa ce
service.

Change-Id: I150d493df9e7fc910d5dbe44d99693345574a921
CRs-Fixed: 1103155
2016-12-24 15:25:32 -08:00
Houston Hoffman
d63cd7430c qcacmn: Disable fastpath for srng rings
Reject fastpath enable for srng based chips.

Change-Id: If1f3be9cb92a7620b27e040aa6da4b18ed4d19f7
CRs-Fixed: 1104685
2016-12-24 15:25:31 -08:00
qcabuildsw
2dbfd29a90 Release 5.1.1.6R
Release 5.1.1.6R

Change-Id: Ib2e936241d9663d42ae71cffe2f4b6dcd910e4b0
CRs-Fixed: 688141
2016-12-24 10:13:23 -08:00
Karunakar Dasineni
ed1de12085 qcacmn: Lithium data path WMI changes
WMI changes for rx reorder queue setup. Also enable addba/delba handlers.

Change-Id: I360673d7493264d2591ffe3ba2bb5c3afba47f84
2016-12-24 10:13:22 -08:00
qcabuildsw
1fe74c48cf Release 5.1.1.6Q
Release 5.1.1.6Q

Change-Id: I8f97154749e954927d0dc69bcfd74662c90e0ac6
CRs-Fixed: 688141
2016-12-23 06:06:03 -08:00
Vijay Pamidipati
5bcfa31ec4 qcacmn: Add support to process Tx completion status from WBM descriptor
Add HAL API to parse Tx completion statistics from WBM descriptor and
populate HAL Structure and a DP API to print the statistics per packet

CRs-Fixed: 1088985
Change-Id: Ic6e918aabdbd7743d8f640e0451070dc229c6f0d
2016-12-23 06:06:01 -08:00
qcabuildsw
c6bb1bd75a Release 5.1.1.6P
Release 5.1.1.6P

Change-Id: I763a52827395548d6433936b4fa3d196d9d0cc24
CRs-Fixed: 688141
2016-12-22 23:55:19 -08:00
Rajeev Kumar
e96de7231d qcacmn: Remove osdep.h include file from scheduler
Scheduler has no dependency on osdep as it uses OS QDF abstraction
APIs. Remove os_dep.h file include from scheduler.

Change-Id: I933c772fc34046abf4961f22e62202a9ce21e6e5
CRs-Fixed: 1104163
2016-12-22 23:55:18 -08:00
qcabuildsw
edd17b2e06 Release 5.1.1.6O
Release 5.1.1.6O

Change-Id: I3789e71546603c3ab24ab51521f7572226134dae
CRs-Fixed: 688141
2016-12-22 23:18:03 -08:00
Houston Hoffman
5caa32f957 qcacmn: Use disable_irq_nosync for ce srng msi mode
Implement interrupt mitigation for copy engines.
Implementation is not good if the CE msi vectors are shared,
since disable_irq_nosync will block all users of the given msi
vector.

When processing multiple CE interrupts while the tasklet is scheduled,
the the interrupts will increments the active_tasklet_cnt without
schduleing the tasklet (since it is allready scheduled).  This leads
to an imballance between the number of irq's processed and the number
of tasklets run.  This imballance leaks active_tasklet_cnt, and prevents
suspend from succeding.

interrupt mitigation fixes this problem by preventing the interrupt
from being processed untill its tasklet is finishing runing.

Change-Id: Idb3168d543481843b92327d302e7536e994e341e
CRs-Fixed: 1104481
2016-12-22 23:18:02 -08:00
qcabuildsw
e0a6dff818 Release 5.1.1.6N
Release 5.1.1.6N

Change-Id: I8d0d019168759eab8ed7a45b2d746885b6dc6225
CRs-Fixed: 688141
2016-12-22 21:51:44 -08:00
Om Prakash Tripathi
3b3cd39741 qcacmn: North bound interface frame work
Add North bound interface frame work for convergence.

Change-Id: I550f37077b2878ed2ad3ebcc4aa3f2e4158d041e
CRs-Fixed: 1098688
2016-12-22 21:51:43 -08:00