|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2014-2017,2019-2020 The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2014-2017,2019-2021 The Linux Foundation. All rights reserved.
|
|
|
*
|
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -155,26 +155,28 @@ 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)
|
|
|
{
|
|
|
- QDF_NBUF_CB_RX_PACKET_REO_DEST_IND(buf) = value;
|
|
|
+ QDF_NBUF_CB_RX_PACKET_REO_DEST_IND_OR_SW_EXCPT(buf) = value;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * qdf_nbuf_get_rx_reo_dest_ind() - get reo destination indication
|
|
|
+ * qdf_nbuf_get_rx_reo_dest_ind_or_sw_excpt() - get reo destination indication
|
|
|
+ or sw exception flag
|
|
|
* @buf: Network buffer
|
|
|
*
|
|
|
- * Return reo destination indication value (0 ~ 31)
|
|
|
+ * Return reo destination indication value (0 ~ 31) or sw exception (0 ~ 1)
|
|
|
*/
|
|
|
-static inline uint8_t qdf_nbuf_get_rx_reo_dest_ind(qdf_nbuf_t buf)
|
|
|
+static inline uint8_t qdf_nbuf_get_rx_reo_dest_ind_or_sw_excpt(qdf_nbuf_t buf)
|
|
|
{
|
|
|
- return QDF_NBUF_CB_RX_PACKET_REO_DEST_IND(buf);
|
|
|
+ return QDF_NBUF_CB_RX_PACKET_REO_DEST_IND_OR_SW_EXCPT(buf);
|
|
|
}
|
|
|
#endif /* _QDF_NBUF_M_H */
|