Hi there,

I am trying to call the ioctl from user space program (similar to the call used in tools/athstats.c). However, I get an error "Operation not supported". I ws wondering if anyone know how can I use this function call?

struct ifreq ifr;
struct ath_stats total;
ifr.ifr_data = (caddr_t) & total;
ioctl(socket, SIOCGATHSTATS, &ifr);

Candy YIU
student, Computer Science
Portland State University