aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/wpa
Commit message (Collapse)AuthorAgeFilesLines
* Hide a diagnostic message under if (verbose) to avoid cluttering theBill Paul2005-10-211-5/+8
| | | | | | | system log when not in verbose logging mode. Notes: svn path=/head/; revision=151541
* Fix small grammar nit.Bill Paul2005-10-201-1/+1
| | | | Notes: svn path=/head/; revision=151522
* Implement the PacketGetVersion() routine, which is used inBill Paul2005-10-203-0/+8
| | | | | | | the 0.4.x versions of wpa_supplicant. Notes: svn path=/head/; revision=151517
* Drain all pending events from the driver when we get anBill Paul2005-10-121-18/+32
| | | | | | | | RTM_IFINFO message, in case some were posted before ndis_events was run. This keeps us in sync with wpa_supplicant. Notes: svn path=/head/; revision=151246
* Make forwarding of connect/disconnect events optional. wpa_supplicantBill Paul2005-10-102-3/+22
| | | | | | | | seems to already be able to tell when it's associated and the extra events just confuse it. Only forward media-specific events by default. Notes: svn path=/head/; revision=151223
* Enable -D ndis support in wpa_supplicant and add the ndis_events utility.Bill Paul2005-10-108-2/+944
| | | | | | | | This allows wpa_supplicant to work with WPA and WPA2 compliant NDIS drivers. Notes: svn path=/head/; revision=151214
* o correct alignment of 802.11 addresses passed to ether_ntoa to fixSam Leffler2005-08-301-5/+11
| | | | | | | | | | | segfaults on amd64 o while here correct printf formats for size_t args Identified by: Pascal Hofstee MFC after: 3 days Notes: svn path=/head/; revision=149628
* save+restore wpa, privacy, and roaming settingsSam Leffler2005-08-131-9/+57
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=149010
* Fix all the spelling mistakes I could find in the man pages for wordsGiorgos Keramidas2005-07-311-1/+1
| | | | | | | | | | | that have at least 3 characters. MFC after: 1 week Thanks to: Music band ``Chingon'' for keeping me company while searching for these. Notes: svn path=/head/; revision=148580
* Correct problems with handling interfaces that go away (e.g. whenSam Leffler2005-07-291-10/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | a card is ejected). wpa_supplicant requires that internal events for interfaces coming+going include a name but after an interface is removed you cannot use if_indextoname to map the interface index in the RTM_IFINFO (or RTM_IFANNOUNCE) msg to an interface name. Instead record the interface index in the driver-private data area and use that to filter msgs from the routing socket. This insures that when we have a message to process we know the interface name. The end result is that we can now dispatch an "interface removed" event that is understood when notified than an interface went away (where previously the event dispatched was ignored because the interface name was unrecognized). This change also insures we only process events for our interface. The only downside is that we can no longer wait for an interface to arrive as we need to map the interface name to an index at startup. This is not important as wpa_supplicant should be launched by devd and not include a separate mechanism for doing interface discovery. MFC after: 3 days Notes: svn path=/head/; revision=148503
* clear eloop registration when deinit'd the l2 packet supportSam Leffler2005-07-291-2/+11
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=148502
* Spelling and grammar fixes.Christian Brueffer2005-07-132-12/+12
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=147945
* handle RTM_IFINFO events so we terminate when an interface isSam Leffler2005-07-081-1/+14
| | | | | | | | | | marked down Reviewed by: brooks, avatar Approved by: re (scottl) Notes: svn path=/head/; revision=147835
* explicitly set IEEE80211_KEY_GROUP instead of depending on kernel kludgeSam Leffler2005-07-051-1/+1
| | | | | | | | Reviewed by: avatar Approved by: re (scottl) Notes: svn path=/head/; revision=147777
* Update key handling:Sam Leffler2005-07-051-12/+27
| | | | | | | | | | | | | | | | | | o use proper api for setting/deleting keys instead of depending on key indices o check mac address to decide whether a key is unicast or group/global o check set_tx on key set to decide whether a group/global key should also be marked as default o explicitly set IEEE80211_KEY_GROUP flag for group keys instead of depending on kernel auto-add kludge With the above changes static wep key handling works. Reviewed by: avatar Approved by: re (scottl) Notes: svn path=/head/; revision=147776
* Tidy up the markup (fixing some nearby content bugs).Ruslan Ermilov2005-06-276-279/+414
| | | | | | | | Timeout from: sam Approved by: re (blanket manpages) Notes: svn path=/head/; revision=147621
* move hostapd_cli to section 8Sam Leffler2005-06-172-4/+6
| | | | | | | Approved by: re (blanket wpa) Notes: svn path=/head/; revision=147454
* o move hostapd to section 8Sam Leffler2005-06-173-2/+54
| | | | | | | | | o add placeholder for hostapd.conf Approved by: re (blanket wpa) Notes: svn path=/head/; revision=147453
* o move wpa_supplicant to section 8Sam Leffler2005-06-173-17/+310
| | | | | | | | | o fillin wpa_supplicant.conf.5 Approved by: re (blanket wpa) Notes: svn path=/head/; revision=147452
* move wpa_cli to section 8 + minor wordsmithingSam Leffler2005-06-172-21/+29
| | | | | | | Approved by: re (blanket wpa) Notes: svn path=/head/; revision=147451
* o improve error msg for ioctl failuresSam Leffler2005-06-091-1/+6
| | | | | | | o zero mlme struct before use Notes: svn path=/head/; revision=147202
* add EAP-TTLS to the EAPOL group; may want a separate knob laterSam Leffler2005-06-071-0/+3
| | | | Notes: svn path=/head/; revision=147120
* Catch up with changes in wpa_supplicant:Sam Leffler2005-06-071-37/+87
| | | | | | | | | | | | | o reorg driver to consolidate state setup in the associate method o add set_auth_alg method o cleanup interface state on deinit o change associate to use revised MLME ioctl api so we can support ap_scan=2 methodology o cleanup associate to support WEP and no cipher cases o s/__FUNCTION__/__func__/ Notes: svn path=/head/; revision=147119
* freebsd pieces of hostapd supportSam Leffler2005-06-066-1/+1128
| | | | Notes: svn path=/head/; revision=147039
* freebsd pieces of wpa supplicant supportSam Leffler2005-06-059-0/+1401
Reviewed by: brooks Notes: svn path=/head/; revision=147020