qcacmn: Add hal API to get L3 type field

In some cases we need to classify frames accordinging
to l3 type. This change mainly focus on this issue.

Change-Id: I4bc49a808a02b4bc8c65f920690922045d65e739
CRs-Fixed: 3198481
This commit is contained in:
jinbliu
2022-06-23 23:49:45 -07:00
committed by Madan Koyyalamudi
parent bf35825b9f
commit bb29a06aad
6 changed files with 49 additions and 0 deletions

View File

@@ -3006,4 +3006,11 @@ hal_get_first_wow_wakeup_packet(hal_soc_handle_t hal_soc_hdl, uint8_t *buf)
}
#endif
static inline uint32_t
hal_rx_tlv_l3_type_get(hal_soc_handle_t hal_soc_hdl, uint8_t *buf)
{
struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl;
return hal_soc->ops->hal_rx_tlv_l3_type_get(buf);
}
#endif /* _HAL_RX_H */