I'm using the following code for sending OID to the WiFi driver:
_wlanapi = ctypes.CDLL('wlanapi.dll')
res = _wlanapi.WlanIhvControl(handle, ctypes.byref(guid), 1, request_len,
request_p, request_len, request_p,
it is working fine for some OID (0xFF40020F) that I'm sending, but for others (0xFF100450) it doesn't and it returns 21
in Microsoft documentation 21, is not one of the function return values
according to Microsoft documentation 21 means:
21 (0x15) The device is not ready.
does anyone knows what does it mean if WlanIhvControl returns 21?