Wireless event

Jean Tourrilhes jt at bougret.hpl.hp.com
Wed May 22 07:06:54 EST 2002


On Tue, May 21, 2002 at 03:40:43PM -0400, Moustafa A. Youssef wrote:
>     I think I'm done with the patch. I'll start some testing.  I already tested
> some of the funcationality (scanning, private ioctl, ...) but I want to know
> the typical behavior of the iwevent program. Currently it hangs waiting for
> events (the same thing happens with version 9b).
>     Jean, can you tell me how to test the events?
> Thanks,
>     Moustafa

	Simple :
	0) If you get scanning working, I assume your kernel and tools
are up to date (Wireless Extension v14), so it should work
out-of-the-box (finger crossed).

	1) unplug and re-plug the card.
	You should see iwevent displaying the following :
-----------------------------------------------
20:55:48.948084    eth0     Mode:Ad-Hoc
20:55:49.009833    eth0     Channel:5
20:55:49.059639    eth0     Encryption key:off
20:55:49.104963    eth0     ESSID:"MY_NETWORK"
20:55:49.684132    eth0     New Access Point/Cell address:02:02:2D:0E:06:56
-----------------------------------------------
	The first 4 events are generated by the Wireless sublayer, so
should always work. The last event is generated by the driver itself
in HERMES_INQ_LINKSTATUS => SIOCGIWAP.
	Also, when you go out of range of an Access Point, you should
see a event with the new AP address (roaming) or 00:00 (out of range).

	2) Do a scan. At the end of the scan you should see iwevent
displaying :
-----------------------------------------------
21:01:33.724983    eth0     Scan request completed
-----------------------------------------------
	This event is generated by HERMES_INQ_SCAN => SIOCGIWSCAN.

	3) Start pinging another computer on the Wireless LAN, and
then eject the card of this other computer (not the local card). You
should see iwevent displaying :
-----------------------------------------------
21:01:53.666532    eth0     Tx packet dropped:00:02:2D:0E:06:56
21:01:54.643466    eth0     Tx packet dropped:00:02:2D:0E:06:56
21:01:55.660335    eth0     Tx packet dropped:00:02:2D:0E:06:56
21:01:56.631635    eth0     Tx packet dropped:00:02:2D:0E:06:56
-----------------------------------------------
	This event is generated by __orinoco_ev_txexc() => IWEVTXDROP.

	4) If you want to add other Wireless Events to the driver,
tell me about it.

	Have fun...

	Jean




More information about the wireless mailing list