Age | Commit message (Collapse) | Author |
|
From/tested by pedro@am-gen.org
|
|
handshake protocols (both supplicant and authenticator state
machines) as defined in the IEEE 802.11i standard.
Software implementation of the TKIP (Temporal Key Integrity
Protocol) and CCMP (CTR with CBC-MAC Protocol) protocols.
This diff doesn't implement any of the 802.1X authentication
protocols and thus only PSK authentication (using pre-shared
keys) is currently supported.
In concrete terms, this adds support for WPA-PSK and WPA2-PSK
protocols, both in station and hostap modes.
The following drivers are marked as WPA-capable and should
work: bwi(4), malo(4), ral(4), iwn(4), wpi(4), ural(4),
rum(4), upgt(4), and zyd(4)
The following options have been added to ifconfig(8):
wpa, wpapsk, wpaprotos, wpaakms, wpaciphers, wpagroupcipher
wpa-psk(8) can be used to generate keys from passphrases.
tested by many@
ok deraadt@
|
|
|
|
hints from zd1211rw.
|
|
From the Linux ZyDAS driver.
ok dlg@
|
|
- fix an incorrect setting of `retry times' in case of zd1211b
- increase max rx size so there's room for multi-frame transactions
(slightly modified version)
from the Linux zd1211rw driver:
- patch registers CR47 and CR157 on devices that require it
- fix power calibration setting on ZD1211B
|
|
ok damien@
|
|
so that it shows up before the :. as a result, all the usb devices do not
need to have name printing code anymore. all this now works and prints
nicely because usbd_probe_and_attach() is serialized. ok kettenis
|
|
remove <malloc.h> from files where malloc is not used.
|
|
|
|
USB_DECLARE_DRIVER macros.
No binary change.
ok dlg.
|
|
No binary change.
ok mk.
|
|
(This might look easy, but it was a big diff. Thanks to dlg and especially jsg
for looking over it; we found at least four mistakes in the initial diff.)
ok jsg.
|
|
and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev.
No binary changes.
ok jsg.
|
|
thus produced no code at all.
No binary change.
ok jsg.
|
|
ok deraadt@ krw@ mbalmer@
|
|
|
|
|
|
|
|
static mbuf results in a mbuf tag memory leak. Same change as in rum(4).
OK mglocker@
|
|
o add workaround for TX rate==0 bug here too.
|
|
|
|
afterwards, but ...
Spotted by claudio@, ok deraadt@ jsg@
|
|
|
|
we were iterating from 0 to N(zyd_def_phy), but N(zyd_def_phy) is not
equal to N(zyd_def_phyB). we were probably writting garbage to the PHY.
|
|
maximum retry count must be set for each EDCA access category.
|
|
|
|
Seems to work fine with Linksys and 3Com adapters.
|
|
|
|
sequences for radios not yet done.
"commit what you have" damien@
|
|
the standard rates, use some defined by net80211 itself. kernel shrinks a bit
ok jsg mglocker
|
|
untested because of lack of hardware. if you have a ZD1211 adapter
with one of these radios, please drop us a mail.
code written by Florian Stoehr <ich AT florian-stoehr DOT de>
|
|
- use the newly introduced ieee80211_get_rts() and
ieee80211_get_cts_to_self() functions.
- use CTS-to-self instead of RTS/CTS to protect OFDM frames in
a mixed 11b/g BSS.
- make sure multicast frames are sent using CCK modulation.
remove support for 5GHz radios in ral(4) RT2560 and ural(4).
i'm not aware of any such adapters on the market and 11a code
is known to be broken.
some cleanup while i'm here.
|
|
code written by Florian Stoehr. not tested due to lack of hardware.
if you happen to have an adapter with this radio please report success/
failure.
|
|
Rx/Tx xfer lists.
|
|
|
|
implement fast channel switching for monitor mode.
|
|
|
|
|
|
|
|
should work with ZD1211 (not ZD1211B!) adapters with either a
RFMD or AL2230 radio chip.
does not support IBSS or HostAP modes yet.
committed over a Billion 3011G (ZD1211/AL2230).
"commit it!" deraadt@
|
|
|
|
use IFQ_POLL()/IFQ_DEQUEUE() logic instead as described in altq(4).
|
|
a few surplus dmesg messages while here.
|
|
|
|
|
|
ditch them and at least attempt to use the function
that sets up the control field properly.
|
|
|
|
net80211 may still try to send management frames even if the
IFF_RUNNING flag is not set...; ok jsg@.
|
|
do not try to free it again.
Modified version of a diff from Graham Gower.
|