qcacmn: Initialize dp peer map memory after WMI service ready

Initialize the peer map and peer hash memory based on the config
received from target in service ready event

Change-Id: I8e1b62cd9586f5b2be7acb863a106d2486be1b35
CRs-Fixed: 2223428
This commit is contained in:
Chaithanya Garrepalli
2018-04-11 17:49:28 +05:30
committed by nshrivas
父節點 d803959826
當前提交 2f5727960b
共有 6 個文件被更改,包括 44 次插入10 次删除

查看文件

@@ -1558,4 +1558,12 @@ void cdp_if_mgmt_drain(ol_txrx_soc_handle soc,
if (soc->ops->cmn_drv_ops->txrx_if_mgmt_drain)
soc->ops->cmn_drv_ops->txrx_if_mgmt_drain(ni, force);
}
static inline void
cdp_peer_map_attach(ol_txrx_soc_handle soc, uint32_t max_peers)
{
if (soc && soc->ops && soc->ops->cmn_drv_ops &&
soc->ops->cmn_drv_ops->txrx_peer_map_attach)
soc->ops->cmn_drv_ops->txrx_peer_map_attach(soc, max_peers);
}
#endif /* _CDP_TXRX_CMN_H_ */