ndis driver doesn't report Ad-Hoc network
vincent.maurin at smartcom.com
Tue Sep 26 10:15:25 EDT 2006
In wpa_driver_ndis_get_scan results (driver_ndis.c), the results[i].caps
is not updated with infrastructure/ad-hoc mode informations.
Is it a mistake, or it is voluntary ?
I have modified this function like this :
results[i].caps |= IEEE80211_CAP_PRIVACY;
/* Check infra mode */
if (bss->InfrastructureMode == Ndis802_11IBSS)
results[i].caps |= IEEE80211_CAP_IBSS;
/*assuming is infrastructure */
results[i].caps |= IEEE80211_CAP_ESS;
results[i].level = (int) bss->Rssi;
it works, but is it the good solution ?
More information about the HostAP