leo mueller wrote: > is there a possibility to determine in which wlan mode my card/driver > currently works? > like an ioctl()-call or sth... ? You might be able to get it using ioctl(SIOCGIWNAME); this returns a string describing the interface, but some drivers just return the driver name. The parameter is a pointer to a "union iwreq_data" (defined in linux/wireless.h); the name field will be filled by the ioctl. > is it also possible to fetch wlan > statistics (rx/tx) via ioctl()? > if yes, which params are neccessary? You can get packet/byte counts for any interface from /proc/net/dev. -- Glynn Clements <glynn@xxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html