diff options
author | Gerhard Roth <gerhard@cvs.openbsd.org> | 2016-11-21 08:19:37 +0000 |
---|---|---|
committer | Gerhard Roth <gerhard@cvs.openbsd.org> | 2016-11-21 08:19:37 +0000 |
commit | 1b3d034976cd7226041228076082d1c75d07c0aa (patch) | |
tree | 480b3859c17218242d79bb61858e5b9f4ecf83bd /sys/dev/usb/mbim.h | |
parent | 2f79d357541137a60aed93e3dbcef59686f47dba (diff) |
Some MBIM devices need a FCC Authentication before they're willing to
turn on the radio. This is done by encapsulating QMI requests inside
a MBIM message.
Based on prio work by sthen@, tested by Bryan Vyhmeister.
ok sthen@
Diffstat (limited to 'sys/dev/usb/mbim.h')
-rw-r--r-- | sys/dev/usb/mbim.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/usb/mbim.h b/sys/dev/usb/mbim.h index ff3128e3027..6ef6ad29d35 100644 --- a/sys/dev/usb/mbim.h +++ b/sys/dev/usb/mbim.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mbim.h,v 1.1 2016/06/15 19:39:34 gerhard Exp $ */ +/* $OpenBSD: mbim.h,v 1.2 2016/11/21 08:19:36 gerhard Exp $ */ /* * Copyright (c) 2016 genua mbH @@ -85,6 +85,11 @@ 0x83, 0xac, 0xca, 0x41, 0x31, 0x8d, 0xf7, 0xa0 \ } +#define MBIM_UUID_QMI_MBIM { \ + 0xd1, 0xa3, 0x0b, 0xc2, 0xf9, 0x7a, 0x6e, 0x43, \ + 0xbf, 0x65, 0xc7, 0xe2, 0x4f, 0xb0, 0xf0, 0xd3 \ + } + #define MBIM_CTRLMSG_MINLEN 64 #define MBIM_CTRLMSG_MAXLEN (4 * 1204) |