OID_DOT11_OFFLOAD_NETWORK_LIST
Important The Native 802.11 Wireless LAN interface is deprecated in Windows 10 and later. Please use the WLAN Device Driver Interface (WDI) instead. For more information about WDI, see WLAN Universal Windows driver model.
This OID supports Set operation. OID_DOT11_OFFLOAD_NETWORK_LIST Set OID requests the Wi-Fi device to set up hardware to scan for networks in the offload list. Hardware should scan for all SSIDs on hinted channels and only interrupt Windows when it finds one or more networks with BSS's in the offload list. This list contains SSID's that are setup to auto-connect. Devices must configure the offload of all networks on the list or none when it returns failure. The offload-list may contain networks less or equal to the number of uMaxNetworkOffloadListSize in the DOT11_EXTSTA_ATTRIBUTES structure. The NIC should indicate when the network appears but not when the network disappears. If the device is in a low power state (D3), the NIC should wake Windows, to indicate a match within the NLO list.
The NIC scans for offload network list in two phases, first fast-scan phase followed by the slow-scan phase. This is to allow a backoff from aggressive scanning to better improve battery efficiency.
If the request is successful, the full list is offloaded and functional. If not successful, no entries in the list should be offloaded. If a device succeeds this request, it continues to function in this mode until Windows explicitly resets the OID.
When a miniport driver receives an OID_DOT11_OFFLOAD_NETWORK_LIST with non-empty list, it starts to scan for networks. Once that initial scan is complete it follows the fast scan and slow scan schedule. It indicates NDIS_STATUS_DOT11_OFFLOAD_NETWORK_STATUS_CHANGED when a newly discovered network is on the list, but not when one disappears from the list. A "newly" discovered network is a network that comes into range. A given network should only trigger an indication once during the lifetime of the NLO Set operation.
The NIC should not scan if the radio is off even though NLO is configured. The NIC in low power state should wake Windows for offload network list change indications. Miniport drivers should prepare devices to wake up Windows prior to device entering a low power state.
For example:
FastScanPeriod=60 seconds
FastScanIteration=15
SlowScanPeriod=1800 seconds
Unless Windows issues a new offload list, the NIC will scan for offload network list every 60 seconds for 15 times. After 15 times, the NIC switches to SlowScanPeriod when the NIC will scan every 1800 seconds.
In response to a NDIS_STATUS_DOT11_OFFLOAD_NETWORK_STATUS_CHANGED indication, Windows may follow-up with a full scan and query for OID_DOT11_ENUM_BSS_LIST to decide the best network from the visible networks in order to make a connection. For each indication, Windows may make a connection and subsequently clear the list. When Windows decides to make a connection, NWifi first issues a DOT11 reset which makes the miniport driver/NIC clear all offloads. Windows then evaluates and plumbs down a new network offload list once the connection is complete. Other protocol offloads may be plumbed down at this time.
Requirements
Version |
Supported starting with Windows 8. |
Header |
Windot11.h (include Windot11.h) |