MB Miniport Driver INF Requirements
MB miniport drivers must have the following entries in their INF file:
*IfType = 243; IF_TYPE_WWANPP
*MediaType = 9; <mark type="enumval">NdisMediumWirelessWan</mark>
*PhysicalMediaType = 8; NdisPhysicalMediumWirelessWan
EnableDhcp = 0; Disable DHCP
;Entries to be put in add-registry-section for NdisMediumWirelessWan
HKR, Ndi\Interfaces, UpperRange, 0, "flpp4, flpp6"
HKR, Ndi\Interfaces, LowerRange, 0, "ppip"
All the entries mentioned in the preceding code example, except UpperRange and LowerRange, should be under the same INF section as that of keywords such as AddReg and CopyFiles. UpperRange and LowerRange should be put in the add-registry-section of the INF file.
*IfType
Dual-mode devices can specify either of the IfType values from the following table:
Description |
Name |
IfType |
GSM-based MB devices |
IF_TYPE_WWANPP |
243 |
CDMA-based MB devices |
IF_TYPE_WWANPP2 |
244 |
*MediaType
MB miniport drivers must specify one of the MediaType values from the following table based on the type of packet framing the miniport driver is capable of interpreting in its send and receive data path.
Description |
Name |
MediaType |
MB miniport drivers that interpret 802.3 packets must report this media type. This framework is only for migration of old miniport drivers and is not recommended for production-quality miniport drivers. |
NdisMedium802_3 |
0 |
MB miniport drivers that are able to handle raw IP traffic must set this media type. This is the recommended media type to be used in production-quality miniport drivers. |
NdisMediumWirelessWan |
9 |
EnableDhcp
MB miniport drivers must specify one of the EnableDhcp values from the following table based on whether they implement DHCP server emulation.
Value |
Description |
0 |
Disable DHCP for this interface. The miniport driver does not implement DHCP server spoofing. This is the recommended value to be used in production-quality drivers. |
1 |
Enable DHCP for this interface. The miniport driver implements DHCP server spoofing. That is, the miniport driver will need to spoof a DHCP server and ARP resolutions. |
UpperRange
This keyword is set with one or more combinations of the following strings as applicable when media type is NdisMediumWirelessWan. NdisMedium802_3 miniport drivers should use the existing values in UpperRange.
Value |
Description |
"flpp4" |
Miniport drivers specify "flpp4" if the MB device supports IPv4. |
"flpp6" |
Miniport drivers specify "flpp6" if the MB device supports IPv6. This value is needed only for devices that support IPv6. |
LowerRange
This keyword must have, at the minimum, the following value when media type is NdisMediumWirelessWan. NdisMedium802_3 miniport drivers should use the existing values in LowerRange.
Value |
Description |
"ppip" |
MB device type on the lower edge. |