qcacmn: Handling MIC failures for QCN9224 target
For QCN9224 target, All the MIC failures are reported as decrypt error from FW. So, added changes to handle MIC failures for QCN9224 target . Change-Id: I32e616e01e3cd6e76ef105d73fd8a87ce2c81cb9 CRs-Fixed: 3192749
This commit is contained in:

committed by
Madan Koyyalamudi

parent
de0d00288a
commit
5b5d4cb57a
@@ -274,6 +274,9 @@ struct rx_pkt_tlvs {
|
||||
#define HAL_RX_TLV_DA_IS_MCBC_GET(_rx_pkt_tlv) \
|
||||
HAL_RX_MSDU_END(_rx_pkt_tlv).da_is_mcbc
|
||||
|
||||
#define HAL_RX_TLV_IS_TKIP_MIC_ERR_GET(_rx_pkt_tlv) \
|
||||
HAL_RX_MSDU_END(_rx_pkt_tlv).tkip_mic_err
|
||||
|
||||
#define HAL_RX_TLV_SA_IS_VALID_GET(_rx_pkt_tlv) \
|
||||
HAL_RX_MSDU_END(_rx_pkt_tlv).sa_is_valid
|
||||
|
||||
@@ -963,6 +966,21 @@ hal_rx_tlv_da_is_mcbc_get_be(uint8_t *buf)
|
||||
return HAL_RX_TLV_DA_IS_MCBC_GET(rx_pkt_tlvs);
|
||||
}
|
||||
|
||||
/**
|
||||
* hal_rx_tlv_is_tkip_mic_err_get_be(): API to get tkip Mic error
|
||||
* from rx_msdu_end TLV
|
||||
*
|
||||
* @ buf: pointer to the start of RX PKT TLV headers
|
||||
* Return: tkip_mic_err
|
||||
*/
|
||||
static inline uint8_t
|
||||
hal_rx_tlv_is_tkip_mic_err_get_be(uint8_t *buf)
|
||||
{
|
||||
struct rx_pkt_tlvs *rx_pkt_tlvs = (struct rx_pkt_tlvs *)buf;
|
||||
|
||||
return HAL_RX_TLV_IS_TKIP_MIC_ERR_GET(rx_pkt_tlvs);
|
||||
}
|
||||
|
||||
/**
|
||||
* hal_rx_tlvd_sa_is_valid_get_be(): API to get the sa_is_valid bit from
|
||||
* rx_msdu_end TLV
|
||||
|
Reference in New Issue
Block a user