qcacmn: Add a configure interface to get max_peers from OL_IF to DP

Currently max_peer value is hardcoded with DP wlan_cfg. This change adds
a generic interface to obtain a configuration parameter from OL_IF and
store in DP

Change-Id: Id437ab3bcd02fb1cbcbe8b56d55d19780af87066
CRs-Fixed: 2004658
This commit is contained in:
Pamidipati, Vijay
2017-06-09 04:46:32 +05:30
committed by snandini
parent 5379474f69
commit 6b0d2a800c
6 changed files with 36 additions and 2 deletions

View File

@@ -89,6 +89,15 @@
WME_AC_VO)
#define CDP_MAX_RX_RINGS 4
/*
* DP configuration parameters
*/
enum cdp_cfg_param_type {
CDP_CFG_MAX_PEER_ID,
CDP_CFG_NUM_PARAMS
};
/*
* htt_dbg_stats_type -
* bit positions for each stats type within a stats type bitmask