Have you see how many time, it takes to ndiswrapper to deliver the scan result ? It’s about 3,25 sec on my builtin wireless card. This is too much no ? Specialy if you want to write a application to scan for AP level.
The quick and dirty way to fix that (it works fine for me.. perhaps others..) :
- Edit iw_ndis.c
- Search for iw_get_scan function
- change this
//if (time_before(jiffies, handle->scan_timestamp + 3 * HZ)) if time_before(jiffies, handle->scan_timestamp) return -EAGAIN;
This simply drop the 3 sec wait for results.. Now I get search results in 0.25 sec ;) .. Please report if this works for you !