microsoft / NCM-Driver-for-Windows

The Windows NCM drivers (host-side and function-side) are the NetAdapterCx based NIC drivers that implements Network Control Model (CDC NCM) specification defined by USB-IF
MIT License
67 stars 25 forks source link

no mac address when usbncm used on Win10 #20

Open optlee opened 10 months ago

optlee commented 10 months ago

I have verify my netcard function with usb ncm on linux & win11. But on win10, net adapter created by my netcard doesn't have mac address. I have matched my card with UsbNcm Host Device driver. In BusHound serial, it can be seen that the host pc driver have asked for the mac address by string descriptor. And the device returned the right string value. I also tried to set a mac address in the device manager. The netcard will work correctly.

Can anyone tell me that why driver create a netadapter with no mac address?

mengxp commented 5 months ago

same issue. sometime works but mac is not complete for example, cdc device return host mac is aa:bb:cc:dd:ee:ff but win10 got 00:00:00:00:00:00 or aa:bb:00:00:00:00