princecharm
ISP
Hi there,
this is an 802.11 application
I am trying to write a site survey tool. I can query any prism card.And get the vaues ie. signal strength or NOISE. But i can not make the card to associate to a network or i can not change its channel although i can put it into ADhoc mode.
here is my statements;
nret = DeviceIoControl(hDevice, IOCTL_NDIS_QUERY_GLOBAL_STATS, OID_802_11_INFRASTRUCTURE_MODE, 4, 0&, 4, lpret, 0&)
nret = DeviceIoControl(hDevice, IOCTL_NDIS_QUERY_GLOBAL_STATS, OID_SET_CURRENT_CHANNEL, 4, 1&, 4, lpret, 0&)
they are correct OIDs(from Prism). Infrastructure works fine. but channel doesnt work.
Is there anybody can help??
this is an 802.11 application
I am trying to write a site survey tool. I can query any prism card.And get the vaues ie. signal strength or NOISE. But i can not make the card to associate to a network or i can not change its channel although i can put it into ADhoc mode.
here is my statements;
nret = DeviceIoControl(hDevice, IOCTL_NDIS_QUERY_GLOBAL_STATS, OID_802_11_INFRASTRUCTURE_MODE, 4, 0&, 4, lpret, 0&)
nret = DeviceIoControl(hDevice, IOCTL_NDIS_QUERY_GLOBAL_STATS, OID_SET_CURRENT_CHANNEL, 4, 1&, 4, lpret, 0&)
they are correct OIDs(from Prism). Infrastructure works fine. but channel doesnt work.
Is there anybody can help??