Home | History | Annotate | Download | only in ic
History log of /src/sys/dev/ic/anvar.h
RevisionDateAuthorComments
 1.22  05-Oct-2019  mrg remove __packed attribute from struct ieee80211_radiotap_header
and all the structures that include it.

this should not change anything while avoiding packed vs alignment
warnings from GCC 8, and potentially pessimised code generation
due to the packed marker (there are no misaligned members, just
that the per-device parts may end unaligned.)

all consumers of these members are done from the properly aligned
packet members directly, or, as a union with a 64 byte member,
also properly aligned. codegen didn't appear to change, except
for the definition of sizeof(struct driver_[rt]x_radiotap_header)
in debug info, which is not directly used anywhere.
 1.21  02-Feb-2017  nonaka branches: 1.21.14;
wlan interfaces make interrupt routine running on softint context.

see http://mail-index.netbsd.org/tech-kern/2016/12/06/msg021281.html

tested device:
* ath at pci: AR5212, AR5424
* athn at pci: AR9287
* ipw at pci: 2100BG
* iwi at pci: 2915ABG
* iwm at pci: 3165, 7260, 8260
* iwn at pci: 4945, 6235
* ral at pci: RT2560
* rtwn at pci: RTL8192CE
 1.20  17-Jan-2010  pooka branches: 1.20.22; 1.20.40; 1.20.44; 1.20.48;
Forward declare struct bpf_if and use that as the type for bpf_if
instead of "void *". Buys us oo times the type-safety for 0 times
the price.
(no functional change)
 1.19  12-Nov-2009  dyoung Simplify activation hook. Replace each use of sc_invalid by either
calling config_deactivate(9) or device_is_active(9).
 1.18  12-May-2009  cegger struct device * -> device_t, no functional changes intended.
 1.17  03-Jul-2008  drochner branches: 1.17.10;
split device/softc (tested with an@pcmcia)
 1.16  25-Dec-2007  perry branches: 1.16.6; 1.16.10; 1.16.12; 1.16.14;
Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h
 1.15  09-Dec-2007  jmcneill branches: 1.15.2;
Merge jmcneill-pm branch.
 1.14  04-Mar-2007  christos branches: 1.14.14; 1.14.16; 1.14.22; 1.14.24; 1.14.26;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.13  19-Feb-2006  dyoung branches: 1.13.20;
Add radiotap support to an(4). From Eric Auge.
 1.12  11-Dec-2005  christos branches: 1.12.2; 1.12.4; 1.12.6;
merge ktrace-lwp.
 1.11  22-Jun-2005  dyoung branches: 1.11.2;
Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9)
from FreeBSD. Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch],
sys/net80211/ieee80211_netbsd.[ch]). Update drivers (an, atu, atw,
awi, ipw, iwi, rtw, wi) for the new net80211(9) API.
 1.10  27-Feb-2005  perry nuke trailing whitespace
 1.9  15-Jan-2005  dyoung branches: 1.9.2; 1.9.4;
Fix two bugs: frames were bogusly discarded with the complaint
"oversize frame." Also, some an(4) instances (esp. w/ firmware
version 5+) would not reliably interoperate with some Cisco APs.

Add a sysctl for enabling/disabling debugging.

The problem with Aironet AP interoperability was that the rx frame
'gap' will sometimes be loaded with the 802.2 SNAP header, and
sometimes omitted, when connected to a Cisco AP; an(4) was *always*
discarding the gap. The problem with "oversize frames" was an
off-by-2 error in the frame-length arithmetic.

While we're here, pad some RIDs to the length that new firmware
really expects.

Thanks to Jim Miller for his valuable bug reports and testing, and
to Dheeraj Reddy for RID-length patches. Some clues from various
Linux drivers for Cisco/Aironet cards led to the gap fix.
 1.8  28-Jan-2004  onoe branches: 1.8.2; 1.8.6; 1.8.8;
Adopt to new 802.11 framework.
Add support of version 5.30.17 firmware of PCMCIA 350 series.
MPI350 mini-PCI is NOT YET supported.
MONITOR mode is still not yet working.
 1.7  29-Jun-2001  onoe branches: 1.7.22;
Experimental support for LEAP, which is cisco's implementation of IEEE802.11
EAP in aironet firmware. Currently it seems that only cisco's RADIUS server
implements EAP for IEEE802.11, and the function is not tested at all.
 1.6  21-Jun-2001  onoe Add support for persistent key.
Fix promiscuous mode, taken from FreeBSD.
Fix to re-enable the card after suspend/resume.
Reflect current operational rate to if_media interface.
Avoid duplicate copy in transmit.
Move most of debug printfs into IFF_DEBUG.
Disable ANCACHE - designed for IPv4 only and no one use it.
Add IFF_ALLMULTI flags, as we don't have multicast filter.
Convert bzero/bcopy to memset/memcpy.
... sorry for jumbo commit.
 1.5  20-Dec-2000  onoe branches: 1.5.2;
move definition of AN_INTRS from anreg.h to anvar.h
strip off AN_EV_CMD from AN_INTRS because it causes severe performance
problem.
 1.4  19-Dec-2000  onoe cleanup attach procedure, use tsleep() instead of long delay (and ignore
timeouts).
stop driver after suspend.
XXX: should use command interrupt but no document...
XXX: status update sometimes failed perhaps due to collision.
(RID 0xff50 or 0xff68 access failed)
 1.3  14-Dec-2000  onoe Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...
 1.2  12-Dec-2000  onoe branches: 1.2.2; 1.2.4;
cleanup headers: remove duplicate definition, split reg.h/var.h.
 1.1  11-Dec-2000  onoe Port 'an' driver for Aironet PC4500/PC4800 IEEE802.11 card from FreeBSD.
This is very adhoc work for IETF meeting.
- Since it seems that 'an' and 'wi' have similar hardware, low level
functions should be shared.
- There are PCI/ISA cards of Aironet but not supported yet.
- The wiconfig interface is changed so that wiconfig cannot be used.
- 'ancontrol' of FreeBSD is not ported.
- Only infrastructure mode is tested.
- WEP is not supported.

Though I only have an Aironet card, Cisco card should be expected to work.
 1.2.4.3  05-Jan-2001  bouyer Sync with HEAD
 1.2.4.2  13-Dec-2000  bouyer Sync with HEAD (for UBC fixes).
 1.2.4.1  12-Dec-2000  bouyer file anvar.h was added on branch thorpej_scsipi on 2000-12-13 15:50:01 +0000
 1.2.2.2  12-Dec-2000  he Pull up revision 1.1 (new, requested by he):
Add a driver for an(4), Aironet and Cisco wireless pcmcia cards.
 1.2.2.1  12-Dec-2000  he file anvar.h was added on branch netbsd-1-5 on 2000-12-12 21:26:08 +0000
 1.5.2.1  24-Aug-2001  nathanw Catch up with -current.
 1.7.22.6  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.7.22.5  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.7.22.4  17-Jan-2005  skrll Sync with HEAD.
 1.7.22.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.22.2  18-Sep-2004  skrll Sync with HEAD.
 1.7.22.1  03-Aug-2004  skrll Sync with HEAD
 1.8.8.1  01-Dec-2005  riz Pull up following revision(s) (requested by jnemeth in ticket #10159):
sys/dev/ic/an.c: revision 1.33 via patch
sys/dev/ic/anvar.h: revision 1.9 via patch
Fix two bugs: frames were bogusly discarded with the complaint
"oversize frame." Also, some an(4) instances (esp. w/ firmware
version 5+) would not reliably interoperate with some Cisco APs.
Add a sysctl for enabling/disabling debugging.
The problem with Aironet AP interoperability was that the rx frame
'gap' will sometimes be loaded with the 802.2 SNAP header, and
sometimes omitted, when connected to a Cisco AP; an(4) was *always*
discarding the gap. The problem with "oversize frames" was an
off-by-2 error in the frame-length arithmetic.
While we're here, pad some RIDs to the length that new firmware
really expects.
Thanks to Jim Miller for his valuable bug reports and testing, and
to Dheeraj Reddy for RID-length patches. Some clues from various
Linux drivers for Cisco/Aironet cards led to the gap fix.
 1.8.6.1  01-Dec-2005  riz Pull up following revision(s) (requested by jnemeth in ticket #10159):
sys/dev/ic/an.c: revision 1.33 via patch
sys/dev/ic/anvar.h: revision 1.9 via patch
Fix two bugs: frames were bogusly discarded with the complaint
"oversize frame." Also, some an(4) instances (esp. w/ firmware
version 5+) would not reliably interoperate with some Cisco APs.
Add a sysctl for enabling/disabling debugging.
The problem with Aironet AP interoperability was that the rx frame
'gap' will sometimes be loaded with the 802.2 SNAP header, and
sometimes omitted, when connected to a Cisco AP; an(4) was *always*
discarding the gap. The problem with "oversize frames" was an
off-by-2 error in the frame-length arithmetic.
While we're here, pad some RIDs to the length that new firmware
really expects.
Thanks to Jim Miller for his valuable bug reports and testing, and
to Dheeraj Reddy for RID-length patches. Some clues from various
Linux drivers for Cisco/Aironet cards led to the gap fix.
 1.8.2.1  01-Dec-2005  riz Pull up following revision(s) (requested by jnemeth in ticket #10159):
sys/dev/ic/an.c: revision 1.33 via patch
sys/dev/ic/anvar.h: revision 1.9 via patch
Fix two bugs: frames were bogusly discarded with the complaint
"oversize frame." Also, some an(4) instances (esp. w/ firmware
version 5+) would not reliably interoperate with some Cisco APs.
Add a sysctl for enabling/disabling debugging.
The problem with Aironet AP interoperability was that the rx frame
'gap' will sometimes be loaded with the 802.2 SNAP header, and
sometimes omitted, when connected to a Cisco AP; an(4) was *always*
discarding the gap. The problem with "oversize frames" was an
off-by-2 error in the frame-length arithmetic.
While we're here, pad some RIDs to the length that new firmware
really expects.
Thanks to Jim Miller for his valuable bug reports and testing, and
to Dheeraj Reddy for RID-length patches. Some clues from various
Linux drivers for Cisco/Aironet cards led to the gap fix.
 1.9.4.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.9.2.1  29-Apr-2005  kent sync with -current
 1.11.2.3  21-Jan-2008  yamt sync with head
 1.11.2.2  03-Sep-2007  yamt sync with head.
 1.11.2.1  21-Jun-2006  yamt sync with head.
 1.12.6.1  22-Apr-2006  simonb Sync with head.
 1.12.4.1  09-Sep-2006  rpaulo sync with head
 1.12.2.1  01-Mar-2006  yamt sync with head.
 1.13.20.1  12-Mar-2007  rmind Sync with HEAD.
 1.14.26.1  11-Dec-2007  yamt sync with head.
 1.14.24.1  26-Dec-2007  ad Sync with head.
 1.14.22.1  18-Feb-2008  mjf Sync with HEAD.
 1.14.16.1  09-Jan-2008  matt sync with HEAD
 1.14.14.1  04-Sep-2007  joerg Convert an(4) to new style power management.
 1.15.2.1  02-Jan-2008  bouyer Sync with HEAD
 1.16.14.1  18-Jul-2008  simonb Sync with head.
 1.16.12.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.16.10.3  11-Mar-2010  yamt sync with head
 1.16.10.2  16-May-2009  yamt sync with head
 1.16.10.1  04-May-2009  yamt sync with head.
 1.16.6.1  28-Sep-2008  mjf Sync with HEAD.
 1.17.10.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.20.48.1  21-Apr-2017  bouyer Sync with HEAD
 1.20.44.1  20-Mar-2017  pgoyette Sync with HEAD
 1.20.40.1  05-Feb-2017  skrll Sync with HEAD
 1.20.22.1  03-Dec-2017  jdolecek update from HEAD
 1.21.14.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed