summaryrefslogtreecommitdiffstats
path: root/usr.sbin/wpa
Commit message (Collapse)AuthorAgeFilesLines
* * Add the readline(3) API to libedit. The libedit versions ofobrien2011-04-051-3/+3
| | | | | | | | | | | | | | | | {readline,history}.h are in /usr/include/edit so as to not conflict with the GNU libreadline versions. To use the libedit readline(3) one should add "-I/usr/include/edit" to their Makefile (spelled "-I${DESTDIR}/${INCLUDEDIR}/edit" within the FreeBSD source tree). * Enable its use in the BSD licensed utilities that support readline(3). * To make it easier to sync libedit development with NetBSD, histedit.h is moved into libedit's directory as history shows shown we keep merging it into that location. Obtained from: NetBSD Sponsored by: Juniper Networks
* Add notes about ASCII/Hex WEP keysimp2011-02-201-0/+13
|
* Fix build on bigendian archs.bschmidt2010-12-191-0/+1
|
* Unbreak hostapd. This code has been explicitly removed in upstream versions.bschmidt2010-12-181-33/+4
|
* Fix some whitespace nits.bschmidt2010-12-181-22/+22
|
* Change order in wpa_driver_bsd_ops to match upstream code. Add descriptionbschmidt2010-12-181-6/+7
| | | | while here.
* Add a comment explaining the undefs, while here remove one which is notbschmidt2010-12-181-1/+4
| | | | required.
* Rename bsd_set_iface_flags to bsd_ctrl_iface and change arguments to matchbschmidt2010-12-181-15/+27
| | | | upstream. For the same reason rewrite bsd_get_seqnum.
* Import bsd_configure_wpa() to sync with upstream code.bschmidt2010-12-181-1/+12
|
* Prefer os_memset, os_strlcpy and os_free. While here adjust the returnbschmidt2010-12-181-13/+13
| | | | | value checks for 2 ioctl calls and rewrite error handling in bsd_init to better integrate with upstream code.
* Remove some unused variables and unnecessary casts.bschmidt2010-12-181-23/+12
|
* Remove debug messages which are no longer present in upstream code. Whilebschmidt2010-12-181-10/+4
| | | | here remove some explicit line breaks.
* Rename iface to ifname to match the upstream code.bschmidt2010-12-181-8/+9
|
* Rename ioctl_sock to just sock to match the upstream code. While herebschmidt2010-12-181-15/+12
| | | | remove the no longer used wext_sock and bsd_driver_ops variables.
* Move some functions around to match the upstream order.bschmidt2010-12-181-208/+206
|
* Add bsd_send_mlme_param to aggregate IEEE80211_IOC_MLME ioctls:bschmidt2010-12-181-40/+25
| | | | | | - merge bsd_set_sta_authorized and bsd_sta_set_flags - change bsd_set_sta_authorized, bsd_sta_deauth and bsd_sta_disassoc to use bsd_send_mlme_param
* Change bsd_del_key() to match upstream code:bschmidt2010-12-181-11/+9
| | | | | | | - change order of if/else - move wpa_printf() into the condition - change unsigned char* to u8* - prefer os_memset/os_memcpy
* Aggregate SIOCS80211 and SIOCG80211 ioctl request code. While here, bringbschmidt2010-12-181-43/+40
| | | | the wpa_printf()/perror() messages in sync with upstream code.
* Adapt for wpa_supplicant / hostapd 0.7.3.rpaulo2010-11-035-392/+306
|
* mdoc: remove unused/empty macrosuqs2010-08-021-1/+1
|
* - Introduce IEEE80211_KEY_NOREPLAY, a per-key flag to ignore replaybschmidt2010-07-011-0/+34
| | | | | | | | violations. - Use SIOCGIFMEDIA to determine VAP's opmode, cache it and set IEEE80211_KEY_NOREPLAY for AHDEMO and IBSS. Approved by: rpaulo (mentor)
* Update for hostapd & wpa_supplicant 0.6.10.rpaulo2010-06-144-484/+2
|
* mdoc: move remaining sections into consistent orderuqs2010-05-131-5/+5
| | | | | | | This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections. Found by: mdocml lint run Reviewed by: ru
* Add WPA-None support:bschmidt2010-04-102-3/+34
| | | | | | | | | | | | | | | | | | * WPA-None requires ap_scan=2: The major difference between ap_scan=1 (default) and 2 is, that no IEEE80211_IOC_SCAN* ioctls/functions are called, though, there is a dependency on those. For example the call to wpa_driver_bsd_scan() sets the interface UP, this never happens, therefore the interface must be marked up in wpa_driver_bsd_associate(). IEEE80211_IOC_SSID also is not called, which means that the SSID has not been set prior to the IEEE80211_MLME_ASSOC call. * WPA-None has no support for sequence number updates, it doesn't make sense to check for replay violations.. * I had some crashes right after the switch to RUN state, issue is that sc->sc_lastrs was not yet defined. Approved by: rpaulo (mentor) MFC after: 3 weeks
* Enable _DIRENT_HAVE_D_TYPE so wpa_cli scans directories properlysam2009-08-231-0/+2
| | | | | | | | for it's unix domain socket. Before this change wpa_cli would take the first file in the directory that was not "." or "..". Submitted by: Brandon Gooch <jamesbrandongooch@gmail.com> MFC after: 3 days
* fix Jouni's email addresssam2009-07-127-7/+7
| | | | Approved by: re (blanket)
* o Fix usage() prototype [1] and correct its call.maxim2009-06-231-2/+2
| | | | Submitted by: ed [1]
* o style(9) usage() definition: it doesn't need an argument.maxim2009-06-231-3/+2
|
* o Remove unneeded argument in fprintf(3) call in usage().maxim2009-06-231-1/+1
| | | | Submitted by: Pawel Worach
* Do not force the mtu to 2290; this was done to insure large EAPOL framessam2009-06-051-12/+0
| | | | | | | | | could be handled w/o fragmentation but clobbers user-specified values such as those required when the interface is bridged. Submitted by: jim@netgate.com Reviewed by: Jouni Malinen MFC after: 3 days
* no need to for gnu89 any moresam2009-03-151-2/+0
|
* Fix build breakage due to the interplay between r189801 and r189824.das2009-03-141-0/+2
| | | | | | | In particular, vendor sources that aren't ready for gnu99 should still be compiled with gnu89. (Before r189824, these would have generated warnings if you tried to compile them in gnu99 mode, but the warnings went unheeded due to -Wno-error.)
* uupdate for 0.6.8sam2009-03-021-2/+3
|
* update for 0.6.8sam2009-03-021-4/+2
|
* update for 0.6.8sam2009-03-021-2/+3
|
* update to 0.6.8sam2009-03-028-96/+107
| | | | Reviewed by: thompsa
* use ansi prototypessam2009-03-011-11/+4
| | | | Submitted by: Pawel Worach <pawel.worach@gmail.com>
* 'Strict EAP conformance' makes more sense here than 'String EAPimp2008-11-211-1/+1
| | | | conformance.'
* - install the example wpa_supplicant.conf file to the share/examples/etcdanger2008-07-012-1/+6
| | | | | | | | | | directory [1] - add the FILES section to the wpa_supplicant.conf.5 file, so that people will be able to detect the example configuration file easier. [2] PR: docs/121821 [2] Approved by: brooks [1] MFC after: 3 days
* o update for vapssam2008-04-203-21/+314
| | | | | | o add private wired driver that fixes various bugs in the vendor version Submitted by: thompsa (ndis fixups)
* o update for vapssam2008-04-202-112/+160
| | | | | | | o add+enable radius acl support Supported by: Hobnob Submitted by: Chris Zimmermann (acl support)
* enable syslog support and add -s option to the man pagesam2008-03-242-2/+7
| | | | MFC after: 3 weeks
* Add some missing Xrefs to drivers.brueffer2008-02-211-1/+5
| | | | MFC after: 3 days
* enable wired driver supportsam2007-12-201-0/+2
| | | | | Submitted by: "Paul B. Mahol" <onemda@gmail.com> MFC after: 1 week
* install hostapd.conf and related files for folks that don't have sourcesam2007-11-101-0/+5
| | | | MFC after: 1 week
* fix building w/ WITHOUT_WPA_SUPPLICANT_EAPOLsam2007-11-101-8/+19
| | | | MFC after: 1 week
* install sample wpa_supplicant.conf; not everyone has source to referencesam2007-11-101-1/+5
|
* Change wpa_supplicant to down the interface at the start of the init routine.thompsa2007-11-051-3/+12
| | | | | | | | | | | | | | | | | | wpa_supplicant expects that it has exclusive access to the net80211 state so when its starts poking in the WEP/WPA settings and the card is already scanning it can cause net80211 to try and associate incorrectly with a protected AP. This is an inconvenience for firmware based cards such as iwi where it can be sent an auth instruction with incomplete security info and cause a firmware error. Remove the 'ifconfig up' from network.subr since wpa_supplicant will immediately down the interface again. Reported by: Guy Helmer (and others) Reviewed by: sam, brooks, avatar MFC after: 3 days
* Document the '-P pidfile' command line argument.simon2007-10-261-1/+5
| | | | | | PR: docs/116658 Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk> MFC after: 3 days
* Update for libpcap 0.9.8mlaier2007-10-161-6/+7
|
OpenPOWER on IntegriCloud