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
@@ -1124,6 +1124,26 @@ hal_rx_msdu_end_da_is_mcbc_get(hal_soc_handle_t hal_soc_hdl, uint8_t *buf)
|
||||
return hal_soc->ops->hal_rx_msdu_end_da_is_mcbc_get(buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* hal_rx_msdu_end_is_tkip_mic_err: API to check if pkt has 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_msdu_end_is_tkip_mic_err(hal_soc_handle_t hal_soc_hdl,
|
||||
uint8_t *buf)
|
||||
{
|
||||
struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl;
|
||||
|
||||
if (hal_soc->ops->hal_rx_msdu_end_is_tkip_mic_err)
|
||||
return hal_soc->ops->hal_rx_msdu_end_is_tkip_mic_err(buf);
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* hal_rx_msdu_end_first_msdu_get: API to get first msdu status
|
||||
* from rx_msdu_end TLV
|
||||
|
Reference in New Issue
Block a user