Commit graph

1,769 commits

Author SHA1 Message Date
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
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