freebsd-skq/sbin/ifconfig
ambrisko 508de04e82 Fix bugs in the structure for rx_frame by making gap length one byte and
a packed array so sizeof work.  This broke RFMON mode and passing
up 802.11 packets.

The Linux emulation code was derived from the open source Linux driver to
maintain compatibility.

LEAP support is added, hints from Richard Johnson.  I've verified this
locally with PC350v42510.img firmware.  More bug fixing from Marco to
fix long passwords.

Change DELAYs in flash part of driver to FLASH_DELAY which uses tsleep
so it doesn't look like your system died during a flash update.

Install header files in /usr/include/dev/an

Cleanup some ifmedia bugs add "Home" key mode to ifmedia and ancontrol.
This way you can manage 2 keys a little easier.  Map the home mode into
key 5.  Enhance ifconfig to dump the various configured SSIDs.  I use
a bunch of different ones and roam between them.  Use the syntax similar
to the WEP keys to deal with setting difference SSIDs.

Bump up up the Card capabilities RID since they added 2 bytes to it
in the latest firmware.  Thankfully we changed it from a terminal
failure so the card still worked but the driver whined.

Some cleanup patches from Marco Molteni.

Submitted by:	Richard Johnson <raj@cisco.com>
		Marco Molteni <molter@tin.it>
		and myself
Various checks: David Wolfskill <david@catwhisker.org>
Reviewed by:	Brooks Davis <brooks@freebsd.org>
		Warner Losh <imp@freebsd.org>
Approved by:	Brooks Davis <brooks@freebsd.org>
		Warner Losh <imp@freebsd.org>
Obtained from:	Linux emulation API's from Aironet driver.
2001-12-31 22:01:44 +00:00
..
ifconfig.8 Spelling police: sucessful -> successful. 2001-11-24 23:38:17 +00:00
ifconfig.c MTU and metric are available with NET_RT_IFLIST. 2001-12-03 15:12:45 +00:00
ifconfig.h When using interfaces that support if_media, the supported media list is 2001-05-29 09:13:44 +00:00
ifieee80211.c Fix bugs in the structure for rx_frame by making gap length one byte and 2001-12-31 22:01:44 +00:00
ifmedia.c Back out previous commit. 2001-11-15 16:55:39 +00:00
ifvlan.c o Reduce userland inclusion of kernel headers -- remove unneeded include 2001-09-24 15:00:16 +00:00
Makefile Move the WARNS attribute down so that it also applies to the 2001-12-05 02:29:23 +00:00