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

Skip to content
Commit bca61172 authored by Manu Gautam's avatar Manu Gautam
Browse files

usb: gadget: u_ether: Add IOCTLs to allow MODE and HEADROOM changes



u_ether by default uses ETHERNET mode for packets. But some transports
e.g. RMNET could be using u_ether for IP packets. Hence, allow
QMI control bridge to change mode to IP from ETH. In IP mode, u_ether
wouldn't expose any mac address related operations and would set
protocol correctly as IPv4 or IPv6 instead of ETHERNET.
Headroom ioctl is required by clients to ask u_ether reserve headroom
for RX packets destined to clients which need to append some header
of their own without performing skb copy.

Change-Id: I868f2439524fb072786cfe765e92845a8154dfad
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent a3dab3b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment