Some comments inline below...
The bad news is that I don't see anything that looks incorrect and I'm not
sure if the comments I've given you will have any impact.
You may want to plumb OID_802_11_ASSOCIATION_INFORMATION to your driver
through OidScope to see how it's handling it.
PingPong said:
Hi, Here the list of the OIDs the got after enable theWZC in Control
Panel\Administrative Tools\Services
WmiQueryComplete, Oid: OID_802_3_CURRENT_ADDRESS 0x04040490 0x00000404
WmiQueryComplete, Oid: OID_GEN_MAC_OPTIONS, Data: 0x0000008D (141)
[Please confirm that you are not responding to this query with 0x8D. 0x80 is
a reserved NDIS setting and should not be used by the miniport.]
WmiQueryComplete, Oid: OID_GEN_MAXIMUM_FRAME_SIZE, Data: 0x000005DC (1500)
WmiQueryComplete, Oid: OID_GEN_MEDIA_CONNECT_STATUS, Data: 0x00000001 (1)
WmiQueryComplete, Oid: OID_802_3_CURRENT_ADDRESS, Data: 0x04040490
0x00000404 0x00000000 0x00000000 0x00000000 0x00000000
WmiQueryComplete, Oid: OID_802_3_CURRENT_ADDRESS 0x04040490 0x00000404
WmiQueryComplete, Oid: OID_802_11_AUTHENTICATION_MODE, Data: 0x00000000 (0)
WmiQueryComplete, Oid: OID_802_11_INFRASTRUCTURE_MODE, Data: 0x00000002
(2)
[You're initializing to Ndis802_11AutoUnknown which is not supposed to be
used. You may want to default to Ndis802_11Infrastructure instead.]
WmiQueryComplete, Oid: OID_802_11_WEP_STATUS, Data: 0x00000000 (0)
[You're initializing to Ndis802_11Encryption1Enabled. You may want to
default to Ndis802_11EncryptionDisabled instead.]
WmiQueryComplete, Oid: OID_802_11_SSID, Data: 0x00000007 0x61666564
0x00746C75 0x00000000 0x00000000 0x00000000
WmiQueryComplete, Oid: OID_802_11_BSSID_LIST, Data: 0x0000000B 0x0000009C
0x19660F00 0x00004623 0x00000001 0x00000061
WmiQueryComplete, Oid: OID_802_11_SSID, Data: 0x00000007 0x61666564
0x00746C75 0x00000000 0x00000000 0x00000000
WmiSetComplete, Oid: OID_802_11_INFRASTRUCTURE_MODE, Data: 0x00000001 (1)
WmiSetComplete, Oid: OID_802_11_SSID, Data: 0x00000020 0x131C0314
0x1B1A0305 0x1B011B10 0x05030205 0x050A1D1D
WmiSetComplete, Oid: OID_802_11_AUTHENTICATION_MODE, Data: 0x00000003 (3)
WmiQueryComplete, Oid: OID_802_11_AUTHENTICATION_MODE, Data: 0x00000003 (3)
WmiSetComplete, Oid: OID_802_11_WEP_STATUS, Data: 0x00000006 (6)
WmiQueryComplete, Oid: OID_802_11_WEP_STATUS, Data: 0x00000007 (7)
WmiSetComplete, Oid: OID_802_11_ADD_KEY, Data: 0x00000040 0xC0000001
0x00000020 0xFFFFFFFF 0x1B1AFFFF 0x1B011B10
return NDIS_STATUS_INVALID_DATA
WmiSetComplete, Oid: OID_802_11_BSSID_LIST_SCAN, Data: 0x00000000 (0)
This list is almost identical to what WZC send to DLink card, except some
return values like OID_802_11_BSSID_LIST are different.
However DLink card got extra query OID association_information which we
didn't after set OID add_key .
WmiQueryComplete, Oid: OID_802_11_ASSOCIATION_INFORMATION, Data: 0x00000028
0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
Anything wrong in the list ? DLink has the same list and return values and
passes tests. The only missing OID for us is query association_information,
if WZC send us this OID, then I can debug the next. If they don't, something
must be wrong.
Thanks in advance.
sequence
to driver OIDs
or