microsoft / xdp-for-windows

XDP speeds up networking on Windows
MIT License
364 stars 41 forks source link

WiFi adapters are not supported #178

Open cdammanintopix opened 1 year ago

cdammanintopix commented 1 year ago

Support of WiFi adapters (NdisMediumNative802_11) would be great to have low latency sockets on Windows. I saw this is disabled by design right now (see https://github.com/microsoft/xdp-for-windows/blob/main/src/xdplwf/bind.c#L156):

if (AttachParameters->MiniportMediaType != NdisMedium802_3) {
    Status = NDIS_STATUS_UNSUPPORTED_MEDIA;
    goto Exit;
}
mtfriesen commented 1 year ago

We can allow wireless media, but wireless NICs usually depend on a Windows built-in LWF for functionality. We need to determine whether it's OK for XDP to bind below that, or whether it should bind itself above the wifi LWF. The latter case may require spinning up a different LWF driver to hook into the wifi stack, which is feasible but nontrivial.