Is it possible to trigger a connection to open AP through sample application ?

Hi,

I used a WDK sample filter driver. I added prints in filterstatus() method and FilterOidRequest() method. I observed flow of the OID’s and status indications by adding prints while establishing connection through Windows UI (wlansvc). I created a application which sends the same OID’s as earlier and tested. but I couldn’t connect to AP properly. I got a link-local Ip address. I installed filter driver below the native wifi. Could you suggest me how can I establish a connection?

Thanks,