qcacmn: get sw_exception from reo dest ring descriptor

sw_exception bit will be marked in reo dest ring descriptor for
FW re-injected frame, get this bit and save it in skb->cb,
this bit value can be used for FISA further check.
there is no reo_dest_indication field in reo dest ring on beryllium,
so share same cb member for sw_exception and reo_dest_indication.

Change-Id: I2321121be7dda68ed19faca177d868c7e8ba1dbf
CRs-Fixed: 3056156
This commit is contained in:
Jinwei Chen
2021-10-13 03:45:28 -07:00
committed by Madan Koyyalamudi
vanhempi d0624dedd6
commit b521830197
7 muutettua tiedostoa jossa 42 lisäystä ja 23 poistoa

Näytä tiedosto

@@ -168,14 +168,15 @@ static inline uint8_t qdf_nbuf_is_rx_ipa_smmu_map(qdf_nbuf_t buf)
}
/**
* qdf_nbuf_set_rx_reo_dest_ind() - set reo destination indication
* qdf_nbuf_set_rx_reo_dest_ind_or_sw_excpt() - set reo destination indication
or sw exception flag
* @buf: Network buffer
* @value: reo destination indication value to set
* @value: value to set
*
* Return: none
*/
static inline void qdf_nbuf_set_rx_reo_dest_ind(qdf_nbuf_t buf,
uint8_t value)
static inline void qdf_nbuf_set_rx_reo_dest_ind_or_sw_excpt(qdf_nbuf_t buf,
uint8_t value)
{
}