tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Porting umb(4) from OpenBSD



Le 30/04/2018 à 15:26, Pierre Pronchery a écrit :
			Hi tech-net@,

I am currently trying to port umb(4) from OpenBSD:

The umb driver provides support for USB MBIM devices.
MBIM devices establish connections via cellular networks such as
GPRS, UMTS, and LTE. They appear as a regular point-to-point network
interface, transporting raw IP frames.

This is apparently required to access Internet with USB modems since
4G/LTE (at least on my own Sierra Wireless EM7345).

It does not build yet (therefore also not tested) but I am getting
there. If anyone feels like reviewing it already, it could save me some
trouble and help getting it to work faster.

This is probably also missing changes to ifconfig(8), if only to set the
PIN code; this is the user interface that OpenBSD developers have chosen
for this. Alternative suggestions are welcome! (sysctl...)

I don't see where sc_tx_buf is initialized, and also the m_copydata looks
highly suspicious to me.

having said that I didn't think really hard so I may be wrong


Home | Main Index | Thread Index | Old Index