Setting retry limit using ioctl
Seng Oon Toh
gte746m
Fri Oct 18 09:58:24 PDT 2002
Hi,
I modified hostapd.c to try to set the retry limit to 0 using these liens
struct iwreq iwr;
iwr.u.retry.flags = IW_RETRY_LIMIT;
iwr.u.retry.value = 0;
iwr.u.retry.disabled = 0;
if (ioct(hapd.sock, SIOCGISWRETRY, &iwr) < 0) {
perror("ioctl SIOCGISWRETRY");
return -1;
}
When I run it I get a
ioctl SIOCGISWRETRY: No such device
What is the proper way to do this?
Thanks
Seng Oon Toh
Georgia Institute of Technology, Atlanta Georgia, 30332
Email: gte746m at prism.gatech.edu
More information about the Hostap
mailing list