提交图

1990 次代码提交

作者 SHA1 备注 提交日期
Venkata Sharath Chandra Manchala
f2a125a6f8 qcacmn: Handle void pointer declarations for pdev and vdev
Replace void pointer handles for pdev and vdev with
abstract structure handles in cdp.
New file cdp_txrx_handle.h has the abstract
structure declarations.

Change-Id: I333e6ea5e699e7cebbfc6281faf7f07c0aee4e2a
CRs-Fixed: 1109835
2017-02-15 12:26:39 -08:00
Venkata Sharath Chandra Manchala
703be6d6c4 qcacmn: New file to hold abstract structure handlers
Introduce new file cdp_txrx_handle.h to hold the
abstract structure handles for pdev and vdev

Change-Id: Ia8c0a5b1591c630390e7b367e1eceee2bd0517ba
CRs-Fixed: 1109835
2017-02-15 12:26:37 -08:00
qcabuildsw
5319baa1a3 Release 5.1.1.10L
Release 5.1.1.10L

Change-Id: I6b3a5d98c73ec9a7e4be0a89a238c86da4a3777b
CRs-Fixed: 688141
2017-02-15 01:48:47 -08:00
Selvaraj, Sridhar
b7bc7e789b qcacmn: Add ref cnt enumeration for new modules
Add ref count debug enumeration for legacy modules.

Change-Id: Id1d4026d65b16c31bf6c131450d5802a5673e09a
CRs-Fixed: 2001058
2017-02-15 01:48:46 -08:00
Srinivas Pitla
2f8f8b5add qcacmn: Add support for Ref count debug mechanism
This debug framework maintains module/API level counters and increments on
get_ref and decrements on release, on release if the caller count is 0
exception would be thrown.

This would help to identify any caller is releasing the reference more times
or not releaseing the reference

Change-Id: Ib3bc0dd5fb28587033142291a785c20f8775f9a0
CRS-Fixed: 1096009
2017-02-15 01:48:45 -08:00
Srinivas Pitla
10aa60c11f qcacmn: Add reference count support to PSOC/PDEV/VDEV/PEER objects
This change implements ref count mechanism, before accessing/storing object,
its ref count has to be incremented to avoid "use after free" scenarios.

1) Increments ref count of each object on its creation
2) Increments parent object on creation of child object (ex: on peer creation
	vdev object ref count gets incremented)
3) On get_obj() API, caller will be returned object after incrementing ref cnt

Change-Id: Ic01cb3217881d269cc451f0e63358e1e4decaaa7
CRS-Fixed: 1096009
2017-02-15 01:48:43 -08:00
qcabuildsw
7888313468 Release 5.1.1.10K
Release 5.1.1.10K

Change-Id: Id8b670c3a3a100d6a0feb274a94dab725abcd515
CRs-Fixed: 688141
2017-02-15 00:43:14 -08:00
Manoj Ekbote
1f2c0b5242 qcacmn: Use osif_pdev for peer operations
Use correct scn handle for peer operations

Change-Id: I84e8ed945ead612b2ae4adb580ad7f12ffbb8ce5
2017-02-15 00:43:13 -08:00
qcabuildsw
6373d2cd03 Release 5.1.1.10J
Release 5.1.1.10J

Change-Id: I7704f004e4049d0f0a60b67eccd47da67e633b94
CRs-Fixed: 688141
2017-02-14 16:28:08 -08:00
Yu Wang
1e487a58a6 qcacmn: fix bus-open-failure for BUS_TYPE_SDIO
Failed to open sdio bus for HL target, due to
missing of 'break' in 'switch' case.

Add 'break' for QDF_BUS_TYPE_SDIO

Change-Id: I0d43a61c89828f76223c9f95f4de41a76381c7bb
CRs-Fixed: 2004349
2017-02-14 16:28:07 -08:00
qcabuildsw
887bec8bf8 Release 5.1.1.10I
Release 5.1.1.10I

Change-Id: I582bc935ade0b64d567f35e2966e279ec70b558d
CRs-Fixed: 688141
2017-02-14 02:53:59 -08:00
Mukul Sharma
d8fd144d95 qcacmn: Add PMO qdf and component module ID
Add PMO qdf and component module ID's.

Change-Id: Icbd5ea96a4164dce600d5382b3bce0d38babd201
CRs-Fixed: 1115147
2017-02-14 02:53:58 -08:00
qcabuildsw
6fd61f209f Release 5.1.1.10H
Release 5.1.1.10H

Change-Id: I8c269c772b4bcba0b5f8845a0dd652abb07f99d7
CRs-Fixed: 688141
2017-02-14 00:22:22 -08:00
Himanshu Agarwal
2388a52210 qcacmn: Add msdu index for tso stats in msdu info
Add msdu index for tso stats in msdu info.

Change-Id: I37413ab7ccf6bd5171815af0038401925aa7831b
CRs-Fixed: 1114150
2017-02-14 00:22:21 -08:00
qcabuildsw
ec19e47944 Release 5.1.1.10G
Release 5.1.1.10G

Change-Id: Ie9c345686f094be832b25c9b5aed6480c151ab4d
CRs-Fixed: 688141
2017-02-13 23:41:21 -08:00
Manoj Ekbote
7980f3eb60 qcacmn: Typecast address
Tyepcast while getting the head pointer address

Change-Id: Ide94aeeb0589cb4666b7524a6cfa87ef2c568e49
2017-02-13 23:41:20 -08:00
qcabuildsw
ed2f5970d0 Release 5.1.1.10F
Release 5.1.1.10F

Change-Id: I2c0a59626c3537a7df7ad90f461a26074a439d99
CRs-Fixed: 688141
2017-02-13 22:22:31 -08:00
Sathish Kumar
2d2f19a6ca qcacmn: Add device id for multi-node support in Hawkeye M2M
Include Hawkeye emulation PCI device ids in probe list to enable
PCI based emulation platform to support multiple nodes.

Change-Id: I539c099912e5e7fa4865f57a139f5e75c1b06462
CRs-Fixed: 1090092
2017-02-13 22:22:30 -08:00
qcabuildsw
6346fec8a1 Release 5.1.1.10E
Release 5.1.1.10E

Change-Id: I0396a838c98469883146dba5c64b1c356ec398a0
CRs-Fixed: 688141
2017-02-13 21:31:48 -08:00
Sathish Kumar
6d72606ecf qcacmn: Add wmi support for 4-wire coex configuration
This patch adds support of new WMI command WMI_COEX_VERSION_CFG_CMID
for 4-wire coex configuration in non_tlv_ops.

Change-Id: I63da2c7ae99c38d297f7f13a8086611263f7fc5b
Acked-by: Daniel Kim <kimdan@codeaurora.org>
CRs-Fixed: 1081065
2017-02-13 21:31:46 -08:00
qcabuildsw
2244d20424 Release 5.1.1.10D
Release 5.1.1.10D

Change-Id: Iaca7a699556ad06ba945d59a09d9f54181e6c3b8
CRs-Fixed: 688141
2017-02-13 05:41:58 -08:00
Krishna Rao
a42779ab0a qcacmn: Add host definitions for band, chan width
Add host internal definitions for the enumerations
WLAN_BAND_CAPABILITY and wmi_channel_width defined in wmi_unified.h.
This is required in order to allow common host code to access these
definitions agnostic of the actual version of wmi_unified.h used.

Testing:
Compiled and tested association and ping on QCA8074 and QCA9984.

Change-Id: I966211deb29ff3d65817b36ac4c6aefdbd39221c
CRs-Fixed: 2005796
2017-02-13 05:41:57 -08:00
qcabuildsw
d581e6a221 Release 5.1.1.10C
Release 5.1.1.10C

Change-Id: Iabfea321fe893cb786612d833d5e2840bcbbe2b9
CRs-Fixed: 688141
2017-02-10 18:10:36 -08:00
Houston Hoffman
bb3ac37d02 qcacmn: Remove unneeded pktlog prototypes from hif
hif is not responsible for pktlog.  These prototypes
do not need to be defined here

Change-Id: I9dd99b9cb7ec9aa5f0763d8f6cc0e9f95d13c016
CRs-Fixed: 2004398
2017-02-10 18:10:35 -08:00
Houston Hoffman
f60a3488d0 qcacmn: Add config flag to use shadow registers
For platforms that don't use QMI and have firmware
enable shadow registers, host needs to ignore the
shadow register configuration it calculated.

Change-Id: I91a3d9a0c65172afde6a2ddab61651f9f8683aee
CRs-Fixed: 2003581
2017-02-10 18:10:34 -08:00
qcabuildsw
9412db31ee Release 5.1.1.10B
Release 5.1.1.10B

Change-Id: I1c0d0ae0ecfea125667d04debc56972f76e6ec6a
CRs-Fixed: 688141
2017-02-10 12:26:18 -08:00
Naveen Rawat
739f8f01f7 qcacmn: Do not update wmi_channel info if flag_dfs is not set
Do not update wmi_channel info flag for DFS channel vdev start request
if flag_dfs is 0, otherwise (1 << 0) is causing LSB of info flag to be
incorrectly set.

Change-Id: Idfb6290073bb2a6deeeec71a79007ffc4d2fc9cc
CRs-Fixed: 1096338
2017-02-10 12:26:17 -08:00
qcabuildsw
001200dc89 Release 5.1.1.10A
Release 5.1.1.10A

Change-Id: I4fcdcea9f1cc2b70262f9286f902cbf709c62b28
CRs-Fixed: 688141
2017-02-10 01:24:01 -08:00
Dhanashri Atre
2ea8c0fe00 qcacmn: Ensure the mac id sent to firmware starts at 1
Firmware expects the following:
- mac id for the refill ring configuration should be 0 (soc)
- mac id for the rx dma rings should be 1, 2 (mac 0 and mac 1)

Change-Id: I23c652e2e1f8e2fca69647906321e4d867a42609
CRs-Fixed: 2003050
2017-02-10 01:24:00 -08:00
qcabuildsw
801426b7c2 Release 5.1.1.10
Release 5.1.1.10

Change-Id: Ica44a2afdf44b8a7de1d99c954cf1d7899d8ca5a
CRs-Fixed: 688141
2017-02-09 16:33:17 -08:00
Vivek Chettri
326121d5d0 qcacmn: Enable scheduler for qca-wifi-11.0
Enable the scheduler init code for qca-wifi-11.0 since it is now
enabled to handle scheduler functionalitites.

Change-Id: I9362655dbc85fccd6475d790076c3de5c0e6e710
CRs-Fixed: 1117366
2017-02-09 16:33:16 -08:00
qcabuildsw
8e815a61d2 Release 5.1.1.9Z
Release 5.1.1.9Z

Change-Id: I38ebc2c4d43b81c0703dc125a83d560376c392ac
CRs-Fixed: 688141
2017-02-09 15:50:11 -08:00
Liangwei Dong
6c5e33226b qcacmn: Protect the TxQueue in failure
qcacld-2.0 to qcacmn propagation

To acquire lock to protect pEndpoint->TxQueue
in the failure path.

Change-Id: I6844f1329427e7065dc3e4e64bf105087d963dd9
CRs-Fixed: 1077223
2017-02-09 15:50:10 -08:00
Vijay Pamidipati
da0611616d qcacmn: Synchronize VDEV_DELETE and VDEV_DOWN with peer delete response
Hold additional reference to BSS node during node allocation, and free
it in delete response. This ensures BSS Node Freed event is sent to MLME
only after receving peer delete response for BSS node.

Change-Id: I384eac54f437000a1c09eb53751ad8b8e26617ad
CRs-Fixed: 1112381
2017-02-09 15:50:08 -08:00
qcabuildsw
e8156d6586 Release 5.1.1.9Y
Release 5.1.1.9Y

Change-Id: I15ac46e2e2237e970f16ffa00f9061e3398c0398
CRs-Fixed: 688141
2017-02-09 13:46:40 -08:00
Himanshu Agarwal
19d5fabddc qcacmn: Allocate memory tracking node for nbuf clone and copy
When nbuf is cloned or copied, memory tracking node is not being
created as of current implementation. While freeing the nbuf,
qdf_nbuf_free API is being called as many times as the number
of copies or clones of nbuf and as memory tracking node is being
created only once, warning print of double free is coming for all
the clones and copies of nbuf.

Allocate memory tracking node for nbuf clone and nbuf copy APIs as well.

Change-Id: I95fa6e7b2789dd97c0c500d0854210240feaac17
CRs-Fixed: 1114632
2017-02-09 13:46:39 -08:00
qcabuildsw
7d2fe3a224 Release 5.1.1.9X
Release 5.1.1.9X

Change-Id: I491336e0a95583c195e93ac0055f468e6e17b3dc
CRs-Fixed: 688141
2017-02-08 22:25:26 -08:00
Mukul Sharma
4c303439a7 qcacmn: Add support for target interface for components
Add support for target interface for components.

Change-Id: Id9d642a3369aa881a56a54ff99af135c3feb6584
CRs-Fixed: 2002100
2017-02-08 12:59:17 -08:00
qcabuildsw
4e411106c5 Release 5.1.1.9W
Release 5.1.1.9W

Change-Id: I5bf6fb9b5d7ebf2fe019ba78782c556c15da6848
CRs-Fixed: 688141
2017-02-08 05:32:15 -08:00
Krishna Rao
51577b19bf qcacmn: Add WMI Host PHY mode values for 11ax
Add WMI_HOST_WLAN_PHY_MODE enum values for 802.11ax. These values
correspond to the WLAN_PHY_MODE enum values defined in the host-FW
interface.

Note that the new values for WMI_HOST_MODE_UNKNOWN and
WMI_HOST_MODE_MAX will not necessarily correspond to the MODE_UNKNOWN*
and MODE_MAX*/PHY_MODE_MAX* values in FW header files for all
chipsets/architecture families. This is because:
1) The 'unknown' PHY mode should not be used in host-FW interactions.
2) WMI_HOST_MODE_MAX is not currently used for host-FW interactions.
3) MODE_MAX*/PHY_MODE_MAX* values in FW header files can have varying
   values at compile time depending on compile flags such as
   SUPPORT_11AX, which in turn depend on the chipset/architecture
   family.  However the WMI_HOST_WLAN_PHY_MODE enum is exposed to
   chipset/arch independent higher layers within host which utilize WMI
   layer services. Hence WMI_HOST_WLAN_PHY_MODE enum values should not
   vary.

In case the max mode value needs to be used in host-FW interaction in
the future for some reason, this should be translated separately by
the arch dependent (and if ever required, chipset dependent) WMI layer
code into the enum value directly exposed by the relevant FW header
file version for that arch/chipset. Similarly, if the arch/chipset
dependent max mode value needs to be used in-within host code in the
future for some reason, a separate variable should be dynamically
populated by the WMI layer at attach time.

Later, it might also be preferable to convert even other
WMI_HOST_WLAN_PHY_MODE enum values into values directly exposed by FW
header files in the manner noted above.

Testing:
Tested basic AP bring-up on M2M Platform with 11ACVHT80 and 11AHE20

Change-Id: I64c7a1d7491d2213c740568c3e9e2f035c82746e
CRs-Fixed: 1106923
2017-02-08 05:32:14 -08:00
qcabuildsw
c6a472a7d9 Release 5.1.1.9V
Release 5.1.1.9V

Change-Id: I287795efb782ff9948db14bedeedca8af2519d6f
CRs-Fixed: 688141
2017-02-08 04:43:38 -08:00
Mukul Sharma
45223f3b60 qcacmn: Add WMI reference in PSOC and PSoc reference in WMI
Add WMI reference in PSOC and PSoc reference in WMI.

Change-Id: I6841bec1748447c6c98a81417365cf6e8d228b54
CRs-Fixed: 2002025
2017-02-08 04:43:36 -08:00
qcabuildsw
4b05a25dee Release 5.1.1.9U
Release 5.1.1.9U

Change-Id: I9af5714907a3d9e427030efbd70290d4205f1d00
CRs-Fixed: 688141
2017-02-08 04:01:59 -08:00
Nandha Kishore Easwaran
fb0a7e5c26 qcacmn: Change return type of get_vdev_rx_decap_type
Change the return type of get_vdev_rx_decap_type to htt_cmn_pkt_type
which is defined inside the cdp_if layer.

Change-Id: Ie931952e3618f8e52a5b8839648a0516132ede1f
CRs-fixed: 1075597
2017-02-08 04:01:58 -08:00
qcabuildsw
fb508619e8 Release 5.1.1.9T
Release 5.1.1.9T

Change-Id: Ide5abc33f9e0e6c12a491dbd90b197a8b641ff25
CRs-Fixed: 688141
2017-02-08 03:08:08 -08:00
gbian
630ed5a9bc qcacmn: Add ini keys for WRR tx scheduler tuning
qcacld-2.0 to qcacmn propagation

Add below four keys to allow user to tune WRR TX scheduler params.
Each key is mapping to one AC defined in data path module through
OL_TX_SCHED_WRR_ADV_CAT_CFG_SPEC.
	gEnableTxSchedWrrBE
	gEnableTxSchedWrrBK
	gEnableTxSchedWrrVI
	gEnableTxSchedWrrVO

Change-Id: I5c34b604297d83673ea065243cc58c3f2180ff3e
CRs-Fixed: 1020141
2017-02-08 03:08:07 -08:00
qcabuildsw
44c01fde2f Release 5.1.1.9S
Release 5.1.1.9S

Change-Id: I4be4b9c2a6a81c05810558fba08482d51c40aa39
CRs-Fixed: 688141
2017-02-08 02:20:22 -08:00
Abhishek Singh
ff2328f3a0 qcacmn: API to insert node before/after a node in qdf list
Currently there is no support to insert a node in between
the qdf list.

This change adds API to insert a new node before/after node
in qdf list.

Change-Id: I91ad5d57ffb5d15abdd5faa36387198608369b12
CRs-Fixed: 1117206
2017-02-08 02:20:21 -08:00
Abhishek Singh
f71721f8ae qcacmn: In qdf malloc use GFP_ATOMIC if in_atomic is set
Currently GFP_KERNEL flag is used to get memory in qdf malloc
even if in_atomic is set.

So in qdf malloc use GFP_ATOMIC if in_atomic is set.

Change-Id: I1992ab4f6c868fcc18285c5cca9c9997433936bf
CRs-Fixed: 1117206
2017-02-08 02:20:19 -08:00
qcabuildsw
2d243db063 Release 5.1.1.9R
Release 5.1.1.9R

Change-Id: Id5e98a1f175bb64c9e4ea16cfbd6700bacc9bdef
CRs-Fixed: 688141
2017-02-07 15:02:28 -08:00