Age | Commit message (Collapse) | Author |
|
sysctl.h was reliant on this particular include, and many drivers included
sysctl.h unnecessarily. remove sysctl.h or add proc.h as needed.
ok deraadt
|
|
Feedback from miod@ and kettenis@.
ok beck@
|
|
found by LLVM/Clang Static Analyzer.
ok claudio@ mglocker@
|
|
|
|
|
|
- implement A-MPDU frames buffering and reordering
- implement A-MSDU decapsulation
- process/send ADDBA Request, ADDBA Response and DELBA action frames
- process Block Ack Request control frames (including MTBAR)
- implement PBAC support (Protected Block Ack)
- add some incomplete HT Capabilities and HT Operation IEs parsing
Add more Management Frame Protection bits based on 802.11w Draft 7.0:
- implement SA Query procedure (both AP and STA)
- cleanup BIP
Fix some bugs:
- fix check for WEP key length that otherwise caused a stack smash in
ieee80211_wep_encrypt (pointed out by Xavier Santolaria on macppc)
- properly stop EAPOL timeout: fixes a panic that occured in HostAP mode
when turning the interface down while a 4-way handshake is in progress
(pointed out by Doughertys)
Did some code cleanup too.
The HT bits are currently not compiled in (IEEE80211_NO_HT is defined)
because they won't be ready until after the next release and I didn't
want to grow the kernel or to inadvertently introduce new bugs.
They are here such that other people can look at the code.
Notice that I had to add an extra parameter to ic_send_mgmt() for
action frames, that is why there are small changes in drivers defining
their own ic_send_mgmt() handler.
Sorry for the not very incremental diff but this has been sitting in
my tree for too long now.
|
|
to the Attic. nothing uses it in the tree and it is very unlikely
that something will use it one day.
the only driver supporting FHSS PHYs in the tree is ray(4) and it
does not use net80211.
|
|
remove IBSS and HostAP support from net80211 and 802.11 drivers.
it can be used to shrink RAMDISK kernels for instance (like what
was done for wi(4)).
it also has the benefit of highlighting what is specific to IBSS
and HostAP modes in the code.
the cost is that we now have two code paths to maintain.
|
|
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.
|
|
used. Instead use MHLEN and MLEN acordingly because MINCLSIZE is bigger than
a single mbuf now.
OK mglocker@
|
|
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@
|
|
ieee80211_input() already does this.
Mentioned by Peter Philipp in PR 5248.
ok claudio@ mglocker@
|
|
which is very bad if it is not necessary as it causes scrary mbuf
fragmentation.
tested and OK mglocker@
|
|
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
immediately adjacent bzero().
|
|
|
|
one that can be used with other ciphers than WEP.
|
|
OK tedu@ and miod@.
|
|
not work. Issue reported by brad@ OK mglocker@
|
|
chain and so a later MFREE() is needed to free the chain again.
Just initialize a minimal mbuf header for bpf_mtap().
See earlier rum(4) commit for the full story.
OK mglocker@ Sounds good jsg@
|
|
when switching into hostap mode.
ok claudio@
|
|
|
|
failed to load.
Spotted by bernd@, aaron@
ok claudio@
|
|
ok claudio@
|
|
ok mglocker@
|
|
|
|
|
|
|
|
ok claudio@
|
|
ok claudio@
|
|
ok claudio@
|
|
dot1x stuff spreaded around which needs to be removed.
ok claudio@
|
|
ok claudio@
|
|
ok claudio@
|
|
ok claudio@
|
|
ok claudio@
|
|
"fix" altq. OK mglocker@
|
|
ok claudio@
|
|
|
|
channel selection code. Joint work with mglocker@, OK mglocker@
|
|
an easier to read pgt_datarx_completion. OK mglocker@
|
|
|
|
and mglocker@ and I both have seen values up to 240. OK mglocker@
|
|
if pgt_attach() fails.
- remove pgt_disable/pgt_reboot from the pgt_attach error path, just
return for now.
ok mglocker@
|
|
but surely needs more testing and some more modifications.
|
|
|
|
ok claudio@
|
|
ok mglocker@
|
|
ok deraadt@
|
|
ok deraadt@
|
|
ok deraadt@
|