From: Jouni Malinen (jkmaline_at_cc.hut.fi)
Date: 2002-06-26 21:43:14 UTC
On Thu, Jun 20, 2002 at 07:20:53PM -0700, Jean Tourrilhes wrote:
> I've just uploaded a new version of Wireless Tools (25-pre4)
> on my web page containing extensive changes to iwpriv. I would like to
> hear about bug reports. As HostAP has an extensive test of priv
> commands, this make you the perfect testing crew ;-)
iwpriv 25-pre5 is currently the latest versions. I just added support for new iwpriv sub-ioctls to Host AP driver, so there is some more testing material available. CVS version includes an alternative method for prism2_param wrapper--sub-ioctls that can be directly used with iwpriv (version 25 or higher).
Support for sub-ioctls is not compiled in unless you have WIRELESS_EXT >= 15 (which will be available in new Linux kernel releases at some point) or you define PRISM2_USE_WE_SUB_IOCTLS when compiling Host AP driver (e.g., 'make pccard EXTRA_CFLAGS="-DPRISM2_USE_WE_SUB_IOCTLS"'). This is due to partial backward incompatibility with older iwpriv versions.
In addition to testing new private ioctls, AP scanning support and host-based roaming decision in Managed mode (i.e., _not_ in Host AP mode) would benefit from some testing. These require Linux wireless extensions version 14 or higher (e.g., from latest Linux 2.5.x release) and wireless tools version 24 or higher.
iwconfig wlan0 mode Managed
iwlist wlan0 scan
# requests AP scanning (from all channels) and reports found APs
## Host-based roaming decision (i.e., driver codes makes decision about ## which AP to use)
# if using new sub-ioctls:
iwpriv wlan0 host_roaming 1
# or with wrapper:
prism2_param wlan0 host_roaming 1
# or "raw access":
iwpriv wlan0 prism2_param 21 1
# check, e.g., 'dmesg' output for some debug info # latest scan results are also available from # /proc/net/prism2/wlan0/scan_results
Another new wireless extensions related feature is support for wireless events. 'iwevent' (from wireless tools) can be used to monitor station operations. Also this requires WIRELESS_EXT >= 14. Wireless events are currently mostly for station modes, e.g., report associations to new APs, but there's also event for un-ACKed TX frames and future versions might also include more events from AP management (like new STA auth/assoc, etc.).
-- Jouni Malinen PGP id EFC895FA