For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > January 2006 > WiFi disconnect after 3rd party application does a connect









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author WiFi disconnect after 3rd party application does a connect
Howard Cunningham

2006-01-09, 10:40 pm

I am developing an application that connects a WM 5.0 SmartPhone (AKU 14808)
to a WiFi access point. Our particular WiFi driver and application
communicate via proprietary OIDs (don't ask me why). Using our application I
can connect to a specific AP using our proprietary set SSID OID. At this
point our WiFi driver connects to the AP and issues a CONNECT event to NDIS.
The response is a flurry of query OIDs on 3 different threads. One of the
threads issues standard OID queries for AUTHENTICATION_MODE,
INFRASTRUCTURE_MODE, ENCRYPTION_STATUS, BSSID and BSSID_LIST and then follows
with a set BSSID OID with a random BSSID which disconnects the WiFi. I have
instrumented the driver and believe that the standard OID responses are
correct. I see the same result whether WZCSVC is enabled or disabled.

I am able to connect to the same access point (for now no encryption, WEP,
etc) using WZCSVC so I know that it should work.

I am stumped. I can think of multiple possibilities and was wondering if
someone might be able to provide some help.
1. As I stated my application uses a proprietary OID to connect to the SSID.
So maybe since NDIS can't see the standard set SSID OID coming through it
responds to the connect event by dropping the WiFi.
2. There is something wrong with my responses to the query OIDs (but I can't
see it).
3. I need to set something in the registry or somewhere so that NDIS knows
that I am 'connecting' the WiFi so it accepts the connect event. Myabe WZCSVC
is disabled but still listening?

Who is deciding to disconnect the WiFi? What is being used to make that
decision?

Any help would be greatly appreciated. Thanks in advance.

--
Howard Cunnningham
BluefinMobile
RTP, NC
Howard Cunningham

2006-01-12, 7:59 am

Upon further investigation I discovered that if I disable the timers
assocaited with WZC, then the connection is left alone. wzctool -set tmtr -1
tmtp -1 tmtc -1 tmtf -1 is needed
--
Howard Cunnningham
BluefinMobile
RTP, NC


"Howard Cunningham" wrote:

> I am developing an application that connects a WM 5.0 SmartPhone (AKU 14808)
> to a WiFi access point. Our particular WiFi driver and application
> communicate via proprietary OIDs (don't ask me why). Using our application I
> can connect to a specific AP using our proprietary set SSID OID. At this
> point our WiFi driver connects to the AP and issues a CONNECT event to NDIS.
> The response is a flurry of query OIDs on 3 different threads. One of the
> threads issues standard OID queries for AUTHENTICATION_MODE,
> INFRASTRUCTURE_MODE, ENCRYPTION_STATUS, BSSID and BSSID_LIST and then follows
> with a set BSSID OID with a random BSSID which disconnects the WiFi. I have
> instrumented the driver and believe that the standard OID responses are
> correct. I see the same result whether WZCSVC is enabled or disabled.
>
> I am able to connect to the same access point (for now no encryption, WEP,
> etc) using WZCSVC so I know that it should work.
>
> I am stumped. I can think of multiple possibilities and was wondering if
> someone might be able to provide some help.
> 1. As I stated my application uses a proprietary OID to connect to the SSID.
> So maybe since NDIS can't see the standard set SSID OID coming through it
> responds to the connect event by dropping the WiFi.
> 2. There is something wrong with my responses to the query OIDs (but I can't
> see it).
> 3. I need to set something in the registry or somewhere so that NDIS knows
> that I am 'connecting' the WiFi so it accepts the connect event. Myabe WZCSVC
> is disabled but still listening?
>
> Who is deciding to disconnect the WiFi? What is being used to make that
> decision?
>
> Any help would be greatly appreciated. Thanks in advance.
>
> --
> Howard Cunnningham
> BluefinMobile
> RTP, NC

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com