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

Commit eb09dfff authored by Ravit Katzav's avatar Ravit Katzav
Browse files

msm: ipa: add support for QoS Enable IOCTL



Add the RMNET_IOCTL_SET_QOS_ENABLE support to the WWAN driver.
RMNET_IOCTL_SET_QOS_ENABLE returns an error indication to inform that
QoS header addition is not supported.
RMNET_IOCTL_SET_QOS_DISABLE returns success to support Netmgr old code.

Change-Id: I861c2944131a88982a06db20666ae79b4737d81d
Signed-off-by: default avatarRavit Katzav <rkatzav@codeaurora.org>
parent 30d605fd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -586,6 +586,10 @@ static int wwan_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
	case RMNET_IOCTL_GET_LLP:           /* Get link protocol state */
		ifr->ifr_ifru.ifru_data = (void *) RMNET_MODE_LLP_IP;
		break;
	case RMNET_IOCTL_SET_QOS_ENABLE:    /* Set QoS header enabled  */
		pr_debug("[%s] wwan_ioctl(): QOS header addition is not supported\n",
			dev->name);
		return -EPERM;
	case RMNET_IOCTL_SET_QOS_DISABLE:   /* Set QoS header disabled */
		break;
	case RMNET_IOCTL_FLOW_ENABLE: