summaryrefslogtreecommitdiff
path: root/sys/dev/ic/if_wi_ieee.h
AgeCommit message (Collapse)Author
2003-08-24defines and struct for the ieee80211 framework; deraadt@ ok.Federico G. Schwindt
2002-10-27Add an option to use software WEP now that we have a software decryptTodd C. Miller
function. Can be useful for cards that only support 40-bit WEP or where the card firmware lacks weak IVs avoidance. Prism/Symbol only. In the future this will be expanded to support proposed WEP replacements. Based on code from Jamison Adcock.
2002-10-22Make wi_keydat in struct wi_key 13 bytes, not 14. This is not aTodd C. Miller
NUL-terminated string and 13 bytes is what you need for a 104-bit WEP key. This fixes an off-by-one comparison in wi_set_nwkey(). mickey@ OK.
2002-10-11Sigh, we can't just put the htole16() in the WI_CARD_IDS macroTodd C. Miller
since gcc doesn't seem to evaluate htole16() of a constant at compile time after all. Noticed by deraadt@
2002-10-10Make wi_get_id() table driven, similar to NetBSD and FreeBSD butTodd C. Miller
make the table itself a #define so we can reuse it in wicontrol. Also add a bunch of chip IDs from NetBSD/FreeBSD. mickey@ OK
2002-10-04Limit the TX key to a valid range; imp@Todd C. Miller
2002-09-10no need for pragma here.Federico G. Schwindt
2002-06-25Add RID to get the DBM adjustment factor; imp@freebsd.orgTodd C. Miller
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-06-02BSD air-tools 0.2 patches from dachb0den labs; h1kari@dachb0den.comTodd C. Miller
The common.h include file has been incorporated into if_wi_ieee.h similar to what is in FreeBSD.
2002-04-20Correct the value for WI_RID_SYMBOL_PREAMBLE and addTodd C. Miller
WI_RID_P2_SHORT_PREAMBLE and WI_RID_P2_EXCLUDE_LONG_PREAMBLE. Unforturnately, the Prism2 preamble RIDs conflict with the Lucent WEP RIDs (and they don't seem to behave as I would expect anyway).
2002-04-06Add support for setting antenna diversity on Symbol cards.Todd C. Miller
Also add some more Symbol-specific RID values I noticed in the Linux orinoco driver.
2002-04-06Add support for Symbol cards and printing of the primary stationTodd C. Miller
firmware version. Adapted from NetBSD and the Linux orinoco driver. The Symbol firmware requires that we do a COR soft reset before initializing the card in wi_reset(). Also, setting WI_RID_ROAMING_MODE caused the Symbol card to go into a strange (non-working) mode with firmware 2.x.x. There are some other Symbol additions/oddities that will need to be addressed in the future.
2002-03-28basic host-ap implementation, more work is needed; from Thomas Skibo ↵Michael Shalayeff
<skibo@pacbell.net>; millert@ ok
2001-06-07Kill #define duplicates between if_wireg.h and if_wi_ieee.hTodd C. Miller
2001-06-07missed from last ci, all is from netbsd of courseMichael Shalayeff
2001-05-15Split wi(4) into bus-dependent and bus-independent bits similar toTodd C. Miller
an(4) -- no real code changes at this point. Rename if_wavelan_ieee.h to if_wi_ieee.h while I'm at it and create an if_wivar.h similar to NetBSD. PCI adaptors exist that are not true PCMCIA controllers so wi(4) @ PCI is possible (though the code is not working yet ;-).