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
这个提交包含在:
@@ -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)
|
||||
|
在新工单中引用
屏蔽一个用户