qcacmn: Support for configuring 2nd MAC

Add support to configure the second LMAC ring
which is needed for DBS.

Change-Id: Idb055621d174c994e267dc6dcca2bc798ae79bfc
CRs-Fixed: 1116939
This commit is contained in:
Dhanashri Atre
2017-01-17 15:05:41 -08:00
committed by qcabuildsw
parent 8b3f377928
commit d4032abf27
7 changed files with 207 additions and 42 deletions

View File

@@ -998,6 +998,10 @@ void *hal_srng_setup(void *hal_soc, int ring_type, int ring_num,
if (ring_id < 0)
return NULL;
QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
"%s: mac_id %d ring_id %d\n",
__func__, mac_id, ring_id);
srng = hal_get_srng(hal_soc, ring_id);
if (srng->initialized) {