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:
Prasad Malisetty <prasadm@codeaurora.org>
Loading
Please register or sign in to comment