qcacmn: Add hal_rx_msdu_flow_idx_timeout API
Implement hal_rx_msdu_flow_idx_timeout API per chipset as the macro to retrieve the flow_idx_timeout value is chipset dependent. Change-Id: I03030e3763b3c4a9099699a2d24b8110961610cf CRs-Fixed: 2522133
这个提交包含在:

提交者
nshrivas

父节点
b9a8536661
当前提交
b5ec9d28ee
@@ -876,6 +876,21 @@ static bool hal_rx_msdu_flow_idx_invalid_8074v1(uint8_t *buf)
|
||||
return HAL_RX_MSDU_END_FLOW_IDX_INVALID_GET(msdu_end);
|
||||
}
|
||||
|
||||
/**
|
||||
* hal_rx_msdu_flow_idx_timeout_8074v1: API to get flow index timeout
|
||||
* from rx_msdu_end TLV
|
||||
* @buf: pointer to the start of RX PKT TLV headers
|
||||
*
|
||||
* Return: flow index timeout value from MSDU END TLV
|
||||
*/
|
||||
static bool hal_rx_msdu_flow_idx_timeout_8074v1(uint8_t *buf)
|
||||
{
|
||||
struct rx_pkt_tlvs *pkt_tlvs = (struct rx_pkt_tlvs *)buf;
|
||||
struct rx_msdu_end *msdu_end = &pkt_tlvs->msdu_end_tlv.rx_msdu_end;
|
||||
|
||||
return HAL_RX_MSDU_END_FLOW_IDX_TIMEOUT_GET(msdu_end);
|
||||
}
|
||||
|
||||
struct hal_hw_txrx_ops qca8074_hal_hw_txrx_ops = {
|
||||
|
||||
/* init and setup */
|
||||
@@ -956,6 +971,7 @@ struct hal_hw_txrx_ops qca8074_hal_hw_txrx_ops = {
|
||||
hal_reo_config_8074v1,
|
||||
hal_rx_msdu_flow_idx_get_8074v1,
|
||||
hal_rx_msdu_flow_idx_invalid_8074v1,
|
||||
hal_rx_msdu_flow_idx_timeout_8074v1,
|
||||
};
|
||||
|
||||
struct hal_hw_srng_config hw_srng_table_8074[] = {
|
||||
|
在新工单中引用
屏蔽一个用户