usb_cdcmbim: add mbim device driver

./build.sh sim:usbdev -j12
sudo gdb nuttx/nuttx -ex "source nuttx/tools/gdb/__init__.py"

below command to create mbim NIC on host
nsh> conn 3

NuttX's MBIM device implementation adds an additional MBIM network
card to the NuttX system, which can debug the data communication with
the host, but this network card is unnecessary and needs to be removed
when the business actually uses this driver, And the cdcncm_receive
method needs to be re-implemented.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
zhanghongyu
2024-08-22 01:56:26 +08:00
committed by Xiang Xiao
parent 271f76590f
commit 5b24917bb9
7 changed files with 848 additions and 152 deletions
-1
View File
@@ -228,7 +228,6 @@ config NET_LOOPBACK_PKTSIZE
menuconfig NET_MBIM
bool "MBIM modem support"
depends on USBHOST_CDCMBIM
default n
menuconfig NET_SLIP