qcacmn: Add hal_rx_msdu_end_da_is_valid_get API
Implement hal_rx_msdu_end_dat API based on the chipset as the macro to retrieve da_is_valid value is chipset dependent. Change-Id: I79f06eaa2576e7516c21f963b2c149aac7f62c64 CRs-Fixed: 2522133
Этот коммит содержится в:

коммит произвёл
nshrivas

родитель
cb255b4834
Коммит
79055387d9
@@ -272,6 +272,24 @@ static uint8_t hal_rx_msdu_end_first_msdu_get_6390(uint8_t *buf)
|
||||
return first_msdu;
|
||||
}
|
||||
|
||||
/**
|
||||
* hal_rx_msdu_end_da_is_valid_get_6390: API to check if da is valid
|
||||
* from rx_msdu_end TLV
|
||||
*
|
||||
* @ buf: pointer to the start of RX PKT TLV headers
|
||||
* Return: da_is_valid
|
||||
*/
|
||||
static uint8_t hal_rx_msdu_end_da_is_valid_get_6390(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 da_is_valid;
|
||||
|
||||
da_is_valid = HAL_RX_MSDU_END_DA_IS_VALID_GET(msdu_end);
|
||||
|
||||
return da_is_valid;
|
||||
}
|
||||
|
||||
struct hal_hw_txrx_ops qca6390_hal_hw_txrx_ops = {
|
||||
/* init and setup */
|
||||
hal_srng_dst_hw_init_generic,
|
||||
@@ -322,6 +340,7 @@ struct hal_hw_txrx_ops qca6390_hal_hw_txrx_ops = {
|
||||
hal_rx_encryption_info_valid_6390,
|
||||
hal_rx_print_pn_6390,
|
||||
hal_rx_msdu_end_first_msdu_get_6390,
|
||||
hal_rx_msdu_end_da_is_valid_get_6390,
|
||||
};
|
||||
|
||||
struct hal_hw_srng_config hw_srng_table_6390[] = {
|
||||
|
Ссылка в новой задаче
Block a user