OID_WWAN_PACKET_SERVICE is used to instruct miniport drivers to perform packet service attach/detach actions on the current registered provider’s network for both GSM-based and CDMA-based MB devices. In addition to the packet service attach/detach status, this OID is used to determine data class availability and the currently used data class information.
Miniport drivers must process set and query requests asynchronously, initially returning NDIS_STATUS_INDICATION_REQUIRED to the original request, and later sending an NDIS_STATUS_WWAN_PACKET_SERVICE status notification containing an NDIS_WWAN_PACKET_SERVICE_STATE structure to provide information about the current packet service state regardless of completing set or query requests.
Callers requesting to set the current packet service state provide an NDIS_WWAN_SET_PACKET_SERVICE structure to the miniport driver with the appropriate information.
See WWAN Packet Service Attach Operations for more information about using this OID.
Miniport drivers can access the provider network when processing query or set operations, but should not access the Subscriber Identity Module (SIM card).
CDMA-based devices should use this as an opportunity to release the network resource allocation if possible.
Some SIM cards enable the MB device to register only on the packet domain and not the circuit-switched domain. Once a data call ends, the VAN UI sends an OID_WWAN_PACKET_SERVICE set request to detach packet service. This causes the MB device to detach from the packet domain. The MB device unregisters from the network and goes into a power save mode. Consequently, the device disappears from the VAN UI as a result of being unregistered, and can only be recovered by rebooting. In this scenario, miniport drivers should spoof the packet attach/detach operations by returning positive data without setting the MB device into such a mode.
For technologies that do not support packet-attach, miniport drivers should spoof an attach state to let the MB Service know that it can proceed with context activation. Miniport drivers should also spoof the set OID_WWAN_PACKET_SERVICE requests in the miniport driver. Miniport drivers should send NDIS_STATUS_WWAN_PACKET_SERVICE notifications for query operations and for unsolicited events. Miniport drivers should fail PDP activation if the device packet service state is not set to WwanPacketServiceStateAttached.
The MB Service shall not proceed with context activation until the packet service state has reached WwanPacketServiceStateAttached.
|Available in Windows 7 and later versions of Windows.|