Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3547a929 authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge 309ff81b on remote branch

Change-Id: I3776e553071f9638687a03b5d2bce92f69666ad3
parents b251bc9c 309ff81b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2225,6 +2225,9 @@ uint32_t dp_rx_process(struct dp_intr *int_ctx, hal_ring_handle_t hal_ring_hdl,

		qdf_nbuf_set_tid_val(rx_desc->nbuf,
				     HAL_RX_REO_QUEUE_NUMBER_GET(ring_desc));
		qdf_nbuf_set_rx_reo_dest_ind(
				rx_desc->nbuf,
				HAL_RX_REO_MSDU_REO_DST_IND_GET(ring_desc));

		QDF_NBUF_CB_RX_PKT_LEN(rx_desc->nbuf) = msdu_desc_info.msdu_len;

+4 −0
Original line number Diff line number Diff line
@@ -471,6 +471,10 @@ enum hal_rx_ret_buf_manager {
		RX_MSDU_DESC_INFO_0_DA_IDX_TIMEOUT_OFFSET)) &	\
		RX_MSDU_DESC_INFO_0_DA_IDX_TIMEOUT_MASK)

#define HAL_RX_REO_MSDU_REO_DST_IND_GET(reo_desc)	\
	(HAL_RX_MSDU_REO_DST_IND_GET(&		\
	(((struct reo_destination_ring *)	\
	   reo_desc)->rx_msdu_desc_info_details)))

#define HAL_RX_MSDU_FLAGS_GET(msdu_info_ptr) \
	(HAL_RX_FIRST_MSDU_IN_MPDU_FLAG_GET(msdu_info_ptr) | \
+24 −0
Original line number Diff line number Diff line
@@ -119,4 +119,28 @@ static inline uint8_t qdf_nbuf_is_exc_frame(qdf_nbuf_t buf)
{
	return QDF_NBUF_CB_RX_PACKET_EXC_FRAME(buf);
}

/**
 * qdf_nbuf_set_rx_reo_dest_ind() - set reo destination indication
 * @buf: Network buffer
 * @value: reo destination indication value to set
 *
 * Return: none
 */
static inline void qdf_nbuf_set_rx_reo_dest_ind(qdf_nbuf_t buf,
						uint8_t value)
{
	QDF_NBUF_CB_RX_PACKET_REO_DEST_IND(buf) = value;
}

/**
 * qdf_nbuf_get_rx_reo_dest_ind() - get reo destination indication
 * @buf: Network buffer
 *
 * Return reo destination indication value (0 ~ 31)
 */
static inline uint8_t qdf_nbuf_get_rx_reo_dest_ind(qdf_nbuf_t buf)
{
	return QDF_NBUF_CB_RX_PACKET_REO_DEST_IND(buf);
}
#endif /* _QDF_NBUF_M_H */
+12 −0
Original line number Diff line number Diff line
@@ -120,4 +120,16 @@ static inline uint16_t qdf_nbuf_get_rx_flow_tag(qdf_nbuf_t buf)
static inline void qdf_nbuf_set_exc_frame(qdf_nbuf_t buf, uint8_t value)
{
}

/**
 * qdf_nbuf_set_rx_reo_dest_ind() - set reo destination indication
 * @buf: Network buffer
 * @value: reo destination indication value to set
 *
 * Return: none
 */
static inline void qdf_nbuf_set_rx_reo_dest_ind(qdf_nbuf_t buf,
						uint8_t value)
{
}
#endif /* _QDF_NBUF_W_H */
+3 −1
Original line number Diff line number Diff line
@@ -109,6 +109,7 @@ typedef union {
 * @rx.dev.priv_cb_m.packet_buf_pool:  packet buff bool
 * @rx.dev.priv_cb_m.l3_hdr_pad: L3 header padding offset
 * @rx.dev.priv_cb_m.exc_frm: exception frame
 * @rx.dev.priv_cb_m.reo_dest_ind: reo destination indication
 * @rx.dev.priv_cb_m.tcp_seq_num: TCP sequence number
 * @rx.dev.priv_cb_m.tcp_ack_num: TCP ACK number
 * @rx.dev.priv_cb_m.lro_ctx: LRO context
@@ -228,7 +229,8 @@ struct qdf_nbuf_cb {
						 l3_hdr_pad:8,
						 /* exception frame flag */
						 exc_frm:1,
						 reserved1:15;
						 reo_dest_ind:5,
						 reserved1:10;
					uint32_t tcp_seq_num;
					uint32_t tcp_ack_num;
					union {
Loading