When set, the OID_802_11_NETWORK_TYPE_IN_USE OID requests that the miniport driver set the network type that the underlying NIC's physical layer (PHY) will use.
The miniport driver returns NDIS_STATUS_INVALID_DATA if an invalid type is specified in the request.
The data passed in a query or setting of this OID is the NDIS_802_11_NETWORK_TYPE enumeration, which defines the following network types:
Indicates the physical layer for the frequency-hopping spread-spectrum radio.
Indicates the physical layer for the direct-sequence spread-spectrum radio.
Indicates the physical layer for 5-GHz OFDM radios.
Indicates the physical layer for 2.4-GHz OFDM radios.
Indicates that the NIC will operate on all supported and enabled physical layers.
Note The driver's network type must be set to Ndis802_11Automode from within its MiniportInitialize function.
When this OID is queried, the miniport driver must return the network type that is currently in use. For example, if the device is associated with an 802.11g access point that is using OFDM 2.4, the miniport returns Ndis802_11OFDM24. If the network type changes to DSSS, the miniport returns Ndis802_11DS when the OID is queried.
When this OID is set with any value other than Ndis802_11Automode, the device must be configured to operate on only the specified physical layer. For example, if the physical layer is set to Ndis802_11OFDM5 and the device supports this PHY type, the device must perform all subsequent scans and associations only on the OFDM band. The only exception to this rule is when this OID is set to Ndis802_11OFDM24. In this case, the device performs scans and associations on both the 802.11b and 802.11g bands.