qcacmn: Parse service ready ext event for WIFI_POS DMA rings cap

Parse service ready extension event to get DMA ring capability requested by
firmware to enable CIR/CFR capture. This cap is then saved in WIFI_POS psoc
private object.

Change-Id: I6f6958250af06ac69b627d2f06e120955d625c62
CRs-Fixed: 2040688
这个提交包含在:
Naveen Rawat
2017-04-29 16:24:40 -07:00
提交者 snandini
父节点 d2cd9eab9b
当前提交 44cf05f6c8
修改 5 个文件,包含 165 行新增3 行删除

查看文件

@@ -347,4 +347,26 @@ static inline QDF_STATUS wifi_pos_psoc_disable(struct wlan_objmgr_psoc *psoc)
}
#endif
#if defined(WLAN_FEATURE_CIF_CFR) && defined(WIFI_POS_CONVERGED)
/**
* wifi_pos_init_cir_cfr_rings: API to set DMA ring cap in wifi pos psoc private
* object
* @psoc: pointer to psoc object
* @hal_soc: hal soc pointer
* @num_mac: number of macs
* @buf: buffer containing dma ring cap
*
* Return: status of operation.
*/
QDF_STATUS wifi_pos_init_cir_cfr_rings(struct wlan_objmgr_psoc *psoc,
void *hal_soc, uint8_t num_mac, void *buf);
#else
static inline QDF_STATUS wifi_pos_init_cir_cfr_rings(
struct wlan_objmgr_psoc *psoc,
void *hal_soc, uint8_t num_mac, void *buf)
{
return QDF_STATUS_SUCCESS;
}
#endif
#endif