qcacmn: Add hal_rx_tlv_get_tcp_chksum API
Implement hal_rx_tlv_get_tcp_chksum API to retrieve tcp_udp_checksum value based on the chipset. Change-Id: Ifab970f10af06f8c0cdbd14d57cb66b49bae1648 CRs-Fixed: 2522133
This commit is contained in:

کامیت شده توسط
nshrivas

والد
1059fae62c
کامیت
5c5d409000
@@ -952,6 +952,18 @@ hal_rx_msdu_get_flow_params_9000(uint8_t *buf,
|
||||
*flow_index = HAL_RX_MSDU_END_FLOW_IDX_GET(msdu_end);
|
||||
}
|
||||
|
||||
/**
|
||||
* hal_rx_tlv_get_tcp_chksum_9000() - API to get tcp checksum
|
||||
* @buf: rx_tlv_hdr
|
||||
*
|
||||
* Return: tcp checksum
|
||||
*/
|
||||
static uint16_t
|
||||
hal_rx_tlv_get_tcp_chksum_9000(uint8_t *buf)
|
||||
{
|
||||
return HAL_RX_TLV_GET_TCP_CHKSUM(buf);
|
||||
}
|
||||
|
||||
struct hal_hw_txrx_ops qcn9000_hal_hw_txrx_ops = {
|
||||
|
||||
/* init and setup */
|
||||
@@ -1037,6 +1049,7 @@ struct hal_hw_txrx_ops qcn9000_hal_hw_txrx_ops = {
|
||||
hal_rx_msdu_fse_metadata_get_9000,
|
||||
hal_rx_msdu_cce_metadata_get_9000,
|
||||
hal_rx_msdu_get_flow_params_9000,
|
||||
hal_rx_tlv_get_tcp_chksum_9000,
|
||||
};
|
||||
|
||||
struct hal_hw_srng_config hw_srng_table_9000[] = {
|
||||
|
مرجع در شماره جدید
Block a user