qcacmn: Add hal_rx_msdu_end_last_msdu_get API
Implement hal_rx_msdu_end_last_msdu_get API based on the chipset as the macro to retrieve last_msdu value is chipset dependent. Change-Id: I561c28a49062d7b650e68c5a4ce4da0183be34d6 CRs-Fixed: 2522133
Esse commit está contido em:

commit de
nshrivas

pai
79055387d9
commit
55f2d92e61
@@ -294,6 +294,24 @@ static uint8_t hal_rx_msdu_end_da_is_valid_get_9000(uint8_t *buf)
|
||||
return da_is_valid;
|
||||
}
|
||||
|
||||
/**
|
||||
* hal_rx_msdu_end_last_msdu_get_9000: API to get last msdu status
|
||||
* from rx_msdu_end TLV
|
||||
*
|
||||
* @ buf: pointer to the start of RX PKT TLV headers
|
||||
* Return: last_msdu
|
||||
*/
|
||||
static uint8_t hal_rx_msdu_end_last_msdu_get_9000(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;
|
||||
uint8_t last_msdu;
|
||||
|
||||
last_msdu = HAL_RX_MSDU_END_LAST_MSDU_GET(msdu_end);
|
||||
|
||||
return last_msdu;
|
||||
}
|
||||
|
||||
struct hal_hw_txrx_ops qcn9000_hal_hw_txrx_ops = {
|
||||
|
||||
/* init and setup */
|
||||
@@ -346,6 +364,7 @@ struct hal_hw_txrx_ops qcn9000_hal_hw_txrx_ops = {
|
||||
hal_rx_print_pn_9000,
|
||||
hal_rx_msdu_end_first_msdu_get_9000,
|
||||
hal_rx_msdu_end_da_is_valid_get_9000,
|
||||
hal_rx_msdu_end_last_msdu_get_9000,
|
||||
};
|
||||
|
||||
struct hal_hw_srng_config hw_srng_table_9000[] = {
|
||||
|
Referência em uma nova issue
Block a user