summaryrefslogtreecommitdiff
path: root/sbin/wicontrol
AgeCommit message (Collapse)Author
2004-11-24replace old net/if_ieee80211.h header with the net80211 ones, userland part.Federico G. Schwindt
millert@ mcbride@ jsg@
2004-10-25broke parsing, oops, noted by jsgTheo de Raadt
2004-10-24unify device selectionTheo de Raadt
2004-08-25add -E to usage(); from weissmanndudeMichael Shalayeff
2004-08-06build on hppaMichael Shalayeff
2004-07-20Make ENXIO from SIOCGWAVELAN a fatal error so we don't get garbageTodd C. Miller
when wicontrol is run on a non-existant interface.
2004-07-15Keep trying if we get EINPROGRESS from SIOCGWAVELAN, up to 10 times.Todd C. Miller
2004-07-15Make wi_getval() return int and check the rval when printing the AP list.Todd C. Miller
Avoids bogus data leading to a core dump on cards that don't support it.
2004-06-22Remove the CNF_ from WI_RID_CNF_ENH_SECURITY and WI_RID_CNF_DBM_ADJUSTTodd C. Miller
to match changes in wi(4). Also, don't exit wicontrol if SIOCGWAVELAN fails; just keep going and get the values we can. OK deraadt@
2004-05-29Changes from Andrey Matveev:Todd C. Miller
o only include socket.h once o use errx() not err() where appropriate o close the socket we opened o bzero struct ifreq before use
2004-04-09typos; ok jmc@.Xavier Santolaria
2004-03-18Starting with Prism firmware version 1.6.3, HostAP supports anTodd C. Miller
enhanced security mode whereby the SSID can be hidden from snoopers. Ok deraadt@
2004-01-29cats will have theseTheo de Raadt
2004-01-28Repair build links for pegosos, and also build for amd64Theo de Raadt
2003-07-29spacesTheo de Raadt
2003-07-02missing protosTheo de Raadt
2003-06-23Enable wicontrol build on sparc.Miod Vallat
2003-06-07print minor version as 02d; from Adam Montague via pr 3284; matches what ↵Michael Shalayeff
freebsd does as well
2003-06-03- section reorderJason McIntyre
- some mdoc fixes
2003-02-17typos;Jason McIntyre
2003-01-11typoChristian Weisgerber
2002-12-19no youTheo de Raadt
2002-12-12ansiTheo de Raadt
2002-11-09second round to SEE ALSO fixes.Federico G. Schwindt
2002-11-09SEE ALSO reordering and corrections.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-11Add a letoh16() since card ids in WI_CARD_IDS are not guaranteedTodd C. Miller
to be little endian.
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-07-25prettyTheo de Raadt
2002-06-20wi_ssid_len is in little-endian as well, so convert it. fixes ssidFederico G. Schwindt
printing on sparc64; millert@ ok.
2002-06-20enable wicontrol on sparc64 as well; deraadt ok.Federico G. Schwindt
2002-06-19Since we can no longer count on isprint() to tell us whether or notTodd C. Miller
a character is 7-bit ASCII, check the high bit by hand when deciding whether to print a WEP key as ASCII or hex.
2002-06-09rm trailing whitespaceTodd T. Fries
2002-06-09spelling; moritz@jodeit.orgTheo de Raadt
2002-06-06Tyop. IBBS->IBSSKjell Wooding
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-05-30power management and microwave over robustness are booleansTodd C. Miller
2002-05-30spacesTheo de Raadt
2002-04-30print usage rightTheo de Raadt
2002-04-26Fix typo--2347 should be 2047; from FreeBSD (moses)Todd C. Miller
2002-04-26Mention that just because you can store a 104 bit WEP key on the cardTodd C. Miller
doesn't mean the card can actually do 104 bit WEP.
2002-04-21Speak English please.Todd C. Miller
2002-04-11o Document the difference between "open system" and "shared key" authTodd C. Miller
o IBSS is now port type 4 o Add an explanation of the various port types
2002-04-11Accept "ibss" for port type 4Todd C. Miller
2002-04-06o Add -D option to set antenna diversity on Symbol cardsTodd C. Miller
o Mention other symbol-specific things o Convert tables to real mdoc colummn lists.
2002-04-06Use new WI_NIC_* names for lucent cards instead of hard-coded hex values.Todd C. Miller
2002-04-02minor cleanupsTheo de Raadt
2002-04-02Fix -A flag values in summaryTodd C. Miller
2002-04-02Prism2 firmware should be reported as version a.b.c not a.b variant c.Todd C. Miller
Only Lucent uses the 'variant' form. Also, prism2 firmware 0.8.2 does WEP w/o requiring promisc mode (from NetBSD). OK mickey@
2002-04-01Also accept "adhoc" (or "ad-hoc"), "bss", and "hostap" instead ofTodd C. Miller
numbers for -p option.