summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_node.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* move ieee80211_ibss_merge() from ieee80211_input.c to ieee80211_node.cdamien2008-04-211-1/+103
|
* move ieee80211_auth_open() to ieee80211_proto.cdamien2008-04-211-1/+32
| | | | | move ieee80211_setup_rates() to ieee80211_node.c move some prototypes from ieee80211_proto.h to ieee80211_crypto.h
* Kernel implementation of the 4-way handshake and group-keydamien2008-04-161-9/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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@
* MALLOC/FREE -> malloc/freechl2007-10-291-4/+4
| | | | ok krw@
* use new malloc M_ZERO flag + replace MALLOC with mallocdamien2007-09-071-15/+8
|
* remove remaining bits for pre-RSNA shared authmode support.damien2007-07-061-6/+1
| | | | | it has been #if 0'd since 3.9 and we have never supported this mode (no ifconfig option etc...).
* initialize an unitialized variable.damien2007-07-061-2/+2
|
* maintain the traffic-indication (TIM) virtual bitmap by definingdamien2007-07-031-3/+15
| | | | | a default ieee80211_set_tim() function that drivers can override by setting ic_set_tim.
* initial bits for proper TIM support.damien2007-07-021-1/+14
|
* constifydamien2007-06-161-20/+25
|
* don't mix u_int{8,16,32}_t and uint{8,16,32}_tdamien2007-06-161-2/+2
| | | | use u_int{8,16,32}_t everywhere.
* de-staticdamien2007-06-161-28/+23
| | | | ok jsg@
* expand the IEEE80211_NODE_{LOCK,UNLOCK}* macros into their respectivedamien2007-06-071-30/+30
| | | | | | | definitions. remove comments about "lock order reversals" that are specific to freebsd. ok reyk@ jsg@ mglocker@
* The license permits us to redistribute this code under the BSD or the GPLv2.damien2007-06-061-5/+1
| | | | | | Choose the BSD license so that future enhancements will be BSD-only. ok jsg@ reyk@ deraadt@
* ``it's'' -> ``its'' when the grammar gods require this change.miod2007-04-101-2/+2
|
* s/roundup/howmany/ where it makes sense.damien2006-11-151-2/+2
|
* fix a possible NULL deref.damien2006-11-131-3/+3
|
* unbreak the code if compiled with IEEE80211_DEBUG by using the rightreyk2006-06-191-2/+2
| | | | | | node attribute. ok damien@, figured out by claudio@
* Improve 802.11b/g interoperability and move toward better compliancedamien2006-06-181-6/+145
| | | | | | | | | | | | | | | | | with IEEE Std 802.11g-2003 standard: - add ERP Information Element in probe responses and beacons - keep track of the number of associated non-ERP STAs and non-short slot time capable STAs in the BSS - enable use of RTS/CTS or CTS-to-self protection when required by the BSS - add a ic_updateslot() callback to notify drivers of slot time changes - cleanup computation of mgmt frames sizes in ieee80211_output.c - nuke unnecessary <sys/cdefs.h> includes - remove an unused macro (LOGICALLY_EQUAL) while i'm here From {free,net}bsd, with additional fixes. ok brad@, reyk@
* Fix a comment in ieee80211_next_scan().damien2006-02-191-2/+2
|
* if the wireless hostap interface belongs to a bridge, learn the node'sreyk2005-10-091-1/+26
| | | | | | | address dynamically on this interface after successful association. this could speed wireless roaming to openbsd accesspoints. ok jason@, jsg@ can't see anything obectionable
* minor knfreyk2005-10-071-2/+3
|
* replace the node hash table with a red-black tree. this fixes somereyk2005-09-131-84/+46
| | | | | | | bugs in the node table (like duplicate nodes in hostap mode), we get rid of possible hash collisions, and it simplifies the code. tested by many, ok damien@, jsg@
* mostly knfreyk2005-09-081-19/+20
| | | | ok jsg@
* Remove the last of the FreeBSD compatiblity goop.jsg2005-09-081-7/+7
| | | | ok reyk@
* Remove FreeBSD if_printf compat function from net80211.jsg2005-09-081-4/+4
| | | | ok reyk@
* reset the scan state for each new modereyk2005-09-081-14/+14
| | | | ok jsg@
* Remove FreeBSD/NetBSD ifdef mess. We are not likely to bejsg2005-09-071-32/+1
| | | | | doing a wholesale merge with them in future. very enthusiastic ok from reyk@
* add ifconfig -M option to replace wicontrol -L and -l for ap scanningreyk2005-05-251-6/+32
| | | | | | | and node listing. wicontrol is not supported by net80211 drivers anymore. further improvements will be done. ok dlg@, jsg@
* scan the next mode if nothing has been found. this is necessary if thereyk2005-04-211-1/+16
| | | | | | | device supports different incompatible modes in the same channel range, like like 11b and "pure" 11G mode. ok dlg@ pvalchev@
* derived from NetBSD:reyk2005-02-171-171/+301
| | | | | | | | | | | | | | | | | | --- Make the node table into an LRU cache: least-recently used nodes are at the end of the node queue. Change the reference-counting discipline: ni->ni_refcnt indicates how many times net80211 has granted ni to the driver. Every node in the table with ni_refcnt=0 is eligible to be garbage-collected. The mere presence of a node in the table does not any longer indicate its auth/assoc state; nodes have a ni_state variable, now. While I am here, patch ieee80211_find_node_for_beacon to do a "best match" by bssid/ssid/channel, not a "perfect match." This keeps net80211 from caching duplicate nodes in the table. --- ok deraadt@ dlg@, looks good jsg@
* Don't call memset() if MALLOC returns NULL; also fix the rcs ID.millert2004-11-021-2/+3
| | | | From Patrick Latifi; OK reyk@
* Import current NetBSD/FreeBSD 802.11 framework.millert2004-06-221-0/+877
Based in part on a diff from Matthew Gream.