[HostAP] Re: Changing iwconfig parameters in C file

Jouni Malinen jkmaline at cc.hut.fi
Sat Oct 12 04:45:15 EDT 2002


On Sun, Oct 06, 2002 at 04:55:01PM -0400, Seng Oon Toh wrote:

> Anyone know how I can change iwconfig parameters from my own C program? Is
> there an API defined?

Sure.. the one iwconfig is using, i.e., wireless extensions ioctls.
Please check wireless tools source code. It includes iwlib that could
probably be used. Anyway, the ioctl use is quite simple and there are
also some examples in hostapd code on how to use these ioctls() without
any additional library.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the HostAP mailing list