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

Commit eaa6caa4 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "net: rmnet_data: modify 8-byte QoS Header"

parents ef0e6950 315b37ee
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -138,9 +138,8 @@ struct QMI_QOS_HDR_S {

/* QMI QoS 8-byte header. */
struct qmi_qos_hdr8_s {
	uint8_t   version_flags;
	uint8_t   reserved[3];
	uint32_t  flow_id;
	struct QMI_QOS_HDR_S   hdr;
	uint8_t                reserved[2];
} __attribute((__packed__));

#endif /* _UAPI_MSM_RMNET_H_ */
+3 −2
Original line number Diff line number Diff line
@@ -93,9 +93,10 @@ static void rmnet_vnd_add_qos_header(struct sk_buff *skb,
		qmi8h = (struct qmi_qos_hdr8_s *)
			skb_push(skb, sizeof(struct qmi_qos_hdr8_s));
		/* Flags are 0 always */
		qmi8h->version_flags =  0;
		qmi8h->hdr.version = 0;
		qmi8h->hdr.flags = 0;
		memset(qmi8h->reserved, 0, sizeof(qmi8h->reserved));
		qmi8h->flow_id = skb->mark;
		qmi8h->hdr.flow_id = skb->mark;
	} else {
		LOGD("%s(): Bad QoS version configured\n", __func__);
	}