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

Commit f5ab6ca3 authored by Prasad Malisetty's avatar Prasad Malisetty
Browse files

msm: mhi_dev: Add MHI device network interface driver



The mhi_dev_net interface driver exposes virtual interface
to communicate IP network data packets between MHI host rmnet
interface and device over PCIe link.

The driver registers with mhi(client) driver when mhi
device is enabled by host. It registers read, write channels
along with notifier callback function to receive notifications
from mhi host on data transactions.

The mhi host rmnet driver uses read, write channels
to receive/send data packets to mhi device. when data
packet is received from the host, channel event notifier
gets triggered, mhi_dev_net client driver reads data
from host memory and send that packet to network stack.

Change-Id: I94894c83b6dd2a8ac850b275fd2a006569957b89
Signed-off-by: default avatarPrasad Malisetty <prasadm@codeaurora.org>
parent b198c183
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