From: Jouni Malinen (jkmaline_at_cc.hut.fi)
Date: 2002-10-12 08:45:15 UTC
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