| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| |
|
|
|
| |
from MMIE etc...
this code can't be triggered as no drivers claim MFP capability yet.
|
| | |
|
| | |
|
| |
|
|
| |
more IEs.
|
| | |
|
| |
|
|
| |
frames, new IEs etc...)
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
add support for MFP negotiation during association.
|
| |
|
|
|
| |
instead of hard-coding values.
for RSN IE, request space for Group Integrity Cipher Suite.
|
| |
|
|
|
| |
MIC is computed using AES-128-CMAC instead of HMAC-SHA1).
add a SHA-256 based key derivation function (not used yet).
|
| | |
|
| | |
|
| |
|
|
| |
and IEEE80211_C_MFP capability bit (driver supports MFP).
|
| | |
|
| |
|
|
|
| |
of the frame so that it is a multiple of 8 bytes before encryption.
So we must reserve up to 15 bytes in the mbuf for the worst case, not 8.
|
| |
|
|
| |
if MFP was negotiated with the peer (not possible yet).
|
| |
|
|
|
|
| |
indices 0-3 will be used for group data keys while indices 4-5 will
be used for integrity group keys.
add a ic_rsngroupmgmtcipher field too.
|
| |
|
|
| |
using CCMP. use the right replay counter in this case.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Free the mbuf in the ieee80211_eapol_key_input() function.
Do not assume the frame is contiguous, call m_pullup2() if it is not.
We need the frame to be contiguous to process KDEs efficiently in
EAPOL-Key frames (just like we process IEs in management frames).
However, there are drivers like upgt(4) that use m_devget() in the
RX path. m_devget() can return fragmented mbuf chains.
Notice that we should do the same m_pullup2() for management frames.
This will be done later.
Remove the ic_recv_eapol callback.
|
| |
|
|
|
|
| |
IEEE80211_KEY_IGTK.
lot of cleanup while i'm here (indent function prototypes).
change license since this file was completely rewritten.
|
| |
|
|
|
|
|
| |
in Draft IEEE P802.11w.
It provides data integrity and replay protection for broadcast/
multicast robust management frames (not used yet) using AES-128
in CMAC mode.
|
| |
|
|
| |
some cleanup while i'm here.
|
| | |
|
| | |
|
| |
|
|
| |
replay counter.
|
| |
|
|
| |
of MLEM, damien ok
|
| |
|
|
| |
which makes things easier to track.
|
| |
|
|
|
| |
pass the AKMP so we can support other key derivation functions in the
future.
|
| | |
|
| |
|
|
| |
wrong. hard-code 0xf for now. will be fixed post-release.
|
| |
|
|
|
|
|
|
| |
copy m_pkthdr.len and m_flags before and use that after to update
the statistics.
from altq(4) man page and for consistency with what is done in
other parts of the tree.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
WPA is on and RX protection for TA is on.
Keep track of the TX/RX protection for each node when WPA is on.
tested by djm@ (ral+wpa), ckuethe@ (ath-noenc) and krw@ (wpi<->ral+wpa).
hints from bluhm@
has been in snaps for a few days.
pointed out by bluhm@ something like 1 year ago but we did not have
the right infrastructure to fix it properly at that time.
ok deraadt@
|
| |
|
|
| |
keep track of the number of associated STAs in PS mode.
|
| |
|
|
| |
fix IEEE80211_DEBUG builds.
|
| |
|
|
|
|
|
| |
make sure drivers pass a contiguous header, check header length earlier.
fix checking of frames sequence number for frames containing an Address 4
field (required for future work).
fix processing of control frames (only pspoll for now).
|
| |
|
|
|
|
|
| |
automatically prepend __func__ to output.
deobfuscates debug messages a bit.
no binary change unless compiled with IEEE80211_DEBUG.
|
| |
|
|
| |
remove clause 3 of license while I'm here (from FreeBSD).
|
| | |
|
| | |
|
| |
|
|
| |
remove useless #includes.
|
| |
|
|
|
| |
properly handle frames with an address 4 field (required for future work).
remove useless #includes.
|
| |
|
|
|
|
|
|
|
|
|
| |
The bug was added on 04/16 but it started to show up only after 06/12 when
the value of MINCLSIZE was changed to something different from MHLEN + 1.
Thanks to dlg@ and giovanni (qgiovanni at gmail dot com) for putting me
on the right track.
Tested by giovanni.
Should fix system/5881 too.
|
| |
|
|
| |
this must not be included by drivers.
|
| | |
|
| |
|
|
|
|
|
| |
pass a pointer to an ieee80211_rxinfo structure containing those two
fields plus an extra flags field that indicates whether the frame was
decrypted by hardware or not.
required for a future fix.
|