aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/wpa
Commit message (Collapse)AuthorAgeFilesLines
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-062-0/+3
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* Fix reference to ioctl(2).Sergey Kandaurov2013-11-211-1/+1
| | | | Notes: svn path=/head/; revision=258438
* Merge hostapd / wpa_supplicant 2.0.Rui Paulo2013-07-0410-1818/+99
| | | | | | | Reviewed by: adrian (driver_bsd + usr.sbin/wpa) Notes: svn path=/head/; revision=252726
* Teach wpa_supplicant to properly compute wireless signal strength.Eitan Adler2013-05-111-0/+5
| | | | | | | | | PR: bin/170631 Submitted by: Daan Vreeken <Daan@vitsch.nl> Reviewed by: adrian Notes: svn path=/head/; revision=250528
* Document all of the options that wpa_supplicant accepts.Isabell Long2012-11-071-21/+50
| | | | | | | | | | PR: docs/171755 Reviewed by: gavin Approved by: gabor (mentor) MFC after: 5 days Notes: svn path=/head/; revision=242696
* Xref mwl(4) and rum(4) in hostapd(8).Glen Barber2012-07-181-1/+3
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=238606
* Fixes to man8 groff mandoc style, usage mistakes, or typos.Warren Block2012-05-241-1/+1
| | | | | | | | | | PR: 168016 Submitted by: Nobuyuki Koganemaru Approved by: gjb MFC after: 3 days Notes: svn path=/head/; revision=235873
* Reword hostapd.conf(5) sentence.Glen Barber2012-05-161-2/+2
| | | | | | | | | Suggested by: hrs MFC after: 3 days X-MFC-With: r235337 (a bit delayed...) Notes: svn path=/head/; revision=235499
* Remove end of line whitespace.Joel Dahl2012-05-121-1/+1
| | | | Notes: svn path=/head/; revision=235355
* General mdoc(7) and typo fixes.Glen Barber2012-05-122-3/+3
| | | | | | | | | PR: 167804 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days Notes: svn path=/head/; revision=235337
* Fix WITHOUT_EXAMPLES build:Bernhard Schmidt2012-04-292-2/+4
| | | | | | | | | | | | While removing unnecessary entries from .PATH.c I missed that for the examples WPA_SUPPLICANT_DISTDIR/HOSTAPD_DISTDIR is explicitly added to .PATH. Tested by: lev MFC after: 2 weeks Notes: svn path=/head/; revision=234786
* Move crypto stuff into a common Makefile. While here fix theBernhard Schmidt2012-04-283-93/+148
| | | | | | | | | | | WITHOUT_OPENSSL build by using the wpa's internal crypto support if openssl is not available, this allows us to unconditionally enable EAP support. MFC after: 2 weeks Notes: svn path=/head/; revision=234759
* not only the file names have changed from eap_xxx.c to eap_server_xxx.c,Bernhard Schmidt2012-04-281-5/+5
| | | | | | | | | the defines too MFC after: 2 weeks Notes: svn path=/head/; revision=234758
* enable EAP_GTC and EAP_OTP to match upstream's default configurationBernhard Schmidt2012-04-281-9/+5
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=234757
* Follow up r234711 and do same for the supplicant, one file/option perBernhard Schmidt2012-04-282-48/+92
| | | | | | | | | line. While here merge the options which are always enabled. MFC after: 2 weeks Notes: svn path=/head/; revision=234756
* Add a note to hostapd.conf about an unhelpful error message in the hope thatDavid Chisnall2012-04-271-1/+2
| | | | | | | | | it won't confuse anyone else in the future. MFC after: 1 week Notes: svn path=/head/; revision=234732
* fix EAP server support after the 0.7.3 import:Bernhard Schmidt2012-04-262-54/+107
| | | | | | | | | | | | | | | | | | - eap_xxx.c files have been renamed to eap_server_xxx.c - additional crypto files are required for some options - EAP_MD5 and EAP_GTC is now enabled by default to match vendor config - move each file on its own line to hopefully make further diffs easier to read EAP_SERVER is now enabled by default. Fiddling with HOSTAPD_CFLAGS in src.conf is no longer required to get a basic WPA-EAP/radius setup running. Tested by: Johann Hugo <jhugo at meraka.csir.co.za> MFC after: 2 weeks Notes: svn path=/head/; revision=234711
* Mention run(4)Kevin Lo2012-02-091-0/+1
| | | | Notes: svn path=/head/; revision=231257
* Add missing line continuation \. It did not cause any issue becauseEd Maste2012-01-181-1/+1
| | | | | | | | | | | the same path is already being included in ../Makefile.inc. PR: 164192 Submitted by: Devin Teske <dteske vicor com> MFC after: 2 weeks Notes: svn path=/head/; revision=230293
* Spelling fixes for usr.sbin/Ulrich Spörlein2011-12-301-3/+3
| | | | Notes: svn path=/head/; revision=228990
* Remove duplicated header filesKevin Lo2011-06-242-3/+0
| | | | Notes: svn path=/head/; revision=223492
* * Add the readline(3) API to libedit. The libedit versions ofDavid E. O'Brien2011-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 Notes: svn path=/head/; revision=220370
* Add notes about ASCII/Hex WEP keysWarner Losh2011-02-201-0/+13
| | | | Notes: svn path=/head/; revision=218892
* Fix build on bigendian archs.Bernhard Schmidt2010-12-191-0/+1
| | | | Notes: svn path=/head/; revision=216556
* Unbreak hostapd. This code has been explicitly removed in upstream versions.Bernhard Schmidt2010-12-181-33/+4
| | | | Notes: svn path=/head/; revision=216541
* Fix some whitespace nits.Bernhard Schmidt2010-12-181-22/+22
| | | | Notes: svn path=/head/; revision=216540
* Change order in wpa_driver_bsd_ops to match upstream code. Add descriptionBernhard Schmidt2010-12-181-6/+7
| | | | | | | while here. Notes: svn path=/head/; revision=216539
* Add a comment explaining the undefs, while here remove one which is notBernhard Schmidt2010-12-181-1/+4
| | | | | | | required. Notes: svn path=/head/; revision=216538
* Rename bsd_set_iface_flags to bsd_ctrl_iface and change arguments to matchBernhard Schmidt2010-12-181-15/+27
| | | | | | | upstream. For the same reason rewrite bsd_get_seqnum. Notes: svn path=/head/; revision=216537
* Import bsd_configure_wpa() to sync with upstream code.Bernhard Schmidt2010-12-181-1/+12
| | | | Notes: svn path=/head/; revision=216536
* Prefer os_memset, os_strlcpy and os_free. While here adjust the returnBernhard Schmidt2010-12-181-13/+13
| | | | | | | | value checks for 2 ioctl calls and rewrite error handling in bsd_init to better integrate with upstream code. Notes: svn path=/head/; revision=216535
* Remove some unused variables and unnecessary casts.Bernhard Schmidt2010-12-181-23/+12
| | | | Notes: svn path=/head/; revision=216533
* Remove debug messages which are no longer present in upstream code. WhileBernhard Schmidt2010-12-181-10/+4
| | | | | | | here remove some explicit line breaks. Notes: svn path=/head/; revision=216532
* Rename iface to ifname to match the upstream code.Bernhard Schmidt2010-12-181-8/+9
| | | | Notes: svn path=/head/; revision=216531
* Rename ioctl_sock to just sock to match the upstream code. While hereBernhard Schmidt2010-12-181-15/+12
| | | | | | | remove the no longer used wext_sock and bsd_driver_ops variables. Notes: svn path=/head/; revision=216530
* Move some functions around to match the upstream order.Bernhard Schmidt2010-12-181-208/+206
| | | | Notes: svn path=/head/; revision=216529
* Add bsd_send_mlme_param to aggregate IEEE80211_IOC_MLME ioctls:Bernhard Schmidt2010-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 Notes: svn path=/head/; revision=216528
* Change bsd_del_key() to match upstream code:Bernhard Schmidt2010-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 Notes: svn path=/head/; revision=216527
* Aggregate SIOCS80211 and SIOCG80211 ioctl request code. While here, bringBernhard Schmidt2010-12-181-43/+40
| | | | | | | the wpa_printf()/perror() messages in sync with upstream code. Notes: svn path=/head/; revision=216526
* Adapt for wpa_supplicant / hostapd 0.7.3.Rui Paulo2010-11-035-392/+306
| | | | Notes: svn path=/head/; revision=214735
* mdoc: remove unused/empty macrosUlrich Spörlein2010-08-021-1/+1
| | | | Notes: svn path=/head/; revision=210763
* - Introduce IEEE80211_KEY_NOREPLAY, a per-key flag to ignore replayBernhard Schmidt2010-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) Notes: svn path=/head/; revision=209636
* Update for hostapd & wpa_supplicant 0.6.10.Rui Paulo2010-06-144-484/+2
| | | | Notes: svn path=/head/; revision=209159
* mdoc: move remaining sections into consistent orderUlrich Spörlein2010-05-131-5/+5
| | | | | | | | | | This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections. Found by: mdocml lint run Reviewed by: ru Notes: svn path=/head/; revision=208028
* Add WPA-None support:Bernhard Schmidt2010-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 Notes: svn path=/head/; revision=206457
* Enable _DIRENT_HAVE_D_TYPE so wpa_cli scans directories properlySam Leffler2009-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 Notes: svn path=/head/; revision=196472
* fix Jouni's email addressSam Leffler2009-07-127-7/+7
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=195644
* o Fix usage() prototype [1] and correct its call.Maxim Konovalov2009-06-231-2/+2
| | | | | | | Submitted by: ed [1] Notes: svn path=/head/; revision=194686
* o style(9) usage() definition: it doesn't need an argument.Maxim Konovalov2009-06-231-3/+2
| | | | Notes: svn path=/head/; revision=194681
* o Remove unneeded argument in fprintf(3) call in usage().Maxim Konovalov2009-06-231-1/+1
| | | | | | | Submitted by: Pawel Worach Notes: svn path=/head/; revision=194680