qcacmn: changes to support lithium nss offload

Changes include
1. nss_cfg parameter to dp_soc.
2. nss_enabled field for pdev.
3. cdp api to enabled nss offload config.
4. skip rx ring configuration when nss enabled.
5. skip timter /interrupt configuration if
   nss is enabled.
6. peer map/unmap event hander.

Change-Id: Ic4a919b6b7e846e18cb15ebcb94f8736a751ecb5
这个提交包含在:
Bharat Kumar M
2017-05-08 17:41:42 +05:30
提交者 snandini
父节点 9e22d3d99e
当前提交 9a5d537249
修改 7 个文件,包含 136 行新增10 行删除

查看文件

@@ -51,6 +51,21 @@ cdp_soc_attach_target(ol_txrx_soc_handle soc)
return 0;
}
static inline int
cdp_soc_get_nss_cfg(ol_txrx_soc_handle soc)
{
if (soc->ops->cmn_drv_ops->txrx_soc_get_nss_cfg)
return soc->ops->cmn_drv_ops->txrx_soc_get_nss_cfg(soc);
return 0;
}
static inline void
cdp_soc_set_nss_cfg(ol_txrx_soc_handle soc, uint32_t config)
{
if (soc->ops->cmn_drv_ops->txrx_soc_set_nss_cfg)
soc->ops->cmn_drv_ops->txrx_soc_set_nss_cfg(soc, config);
}
static inline struct cdp_vdev *
cdp_vdev_attach(ol_txrx_soc_handle soc, struct cdp_pdev *pdev,
uint8_t *vdev_mac_addr, uint8_t vdev_id, enum wlan_op_mode op_mode)