qcacmn: WBM msdu continuation for SG in QCN9000

In QCN9000, wbm release ring has msdu continuation bit
support for invld peer MPDUs. Host needs to form SG
buffer for packets with msdu continuation bit set

Change-Id: Ica03c78068d32d2c8dc609b9a50298b91dd48c0a
这个提交包含在:
Mainak Sen
2020-03-06 19:16:27 +05:30
提交者 nshrivas
父节点 28216f27e4
当前提交 aceafadc2e
修改 8 个文件,包含 152 行新增10 行删除

查看文件

@@ -268,6 +268,24 @@ uint8_t hal_rx_mpdu_start_tlv_tag_valid_9000(void *rx_tlv_hdr)
return tlv_tag == WIFIRX_MPDU_START_E ? true : false;
}
/**
* hal_rx_wbm_err_msdu_continuation_get_9000 () - API to check if WBM
* msdu continuation bit is set
*
*@wbm_desc: wbm release ring descriptor
*
* Return: true if msdu continuation bit is set.
*/
uint8_t hal_rx_wbm_err_msdu_continuation_get_9000(void *wbm_desc)
{
uint32_t comp_desc =
*(uint32_t *)(((uint8_t *)wbm_desc) +
WBM_RELEASE_RING_3_MSDU_CONTINUATION_OFFSET);
return (comp_desc & WBM_RELEASE_RING_3_MSDU_CONTINUATION_MASK) >>
WBM_RELEASE_RING_3_MSDU_CONTINUATION_LSB;
}
/**
* hal_rx_proc_phyrx_other_receive_info_tlv_9000(): API to get tlv info
*
@@ -1548,6 +1566,7 @@ struct hal_hw_txrx_ops qcn9000_hal_hw_txrx_ops = {
NULL,
hal_rx_mpdu_start_tlv_tag_valid_9000,
hal_rx_sw_mon_desc_info_get_9000,
hal_rx_wbm_err_msdu_continuation_get_9000,
};
struct hal_hw_srng_config hw_srng_table_9000[] = {