writing wifi OID from windows 10 desktop user mode

  • Thread starter Thread starter jim-luo
  • Start date Start date
J

jim-luo

Guest
Hi Everyone,

i can access native 80211 oid OID_DOT11_CURRENT_CHANNEL through ndisuio.sys or ndisport.sys(windows sample proctol driver).

like this:

bSuccess = (BOOLEAN)DeviceIoControl(
Handle,
IOCTL_NDISPROT_QUERY_OID_VALUE,
(LPVOID)QueryBuffer,
bufferLen,
(LPVOID)QueryBuffer,
bufferLen,
&BytesReturned,
NULL);

When i access OID_DOT11_DISCONNECT_REQUEST (set oid IOCTL_NDISPROT_SET_OID_VALUE), it will fail.

In ndisprot.sys, i see the log, NdisOidRequest return NDIS_STATUS_INVALID_OID.

But i use OID_GEN_SUPPORTED_LIST to get all support oids, OID_DOT11_DISCONNECT_REQUEST in the support list.

how can i call write a applicant to disconnect wifi connection through ndisuio.sys or ndisprot.sys?

please help.

Thanks in advances!

Continue reading...
 
Back
Top