libeap.git
15 years agoCreate PNG icon before running qmake to avoid resource warning hostap_0_6_7
Jouni Malinen [Tue, 6 Jan 2009 18:22:52 +0000 (20:22 +0200)]
Create PNG icon before running qmake to avoid resource warning

15 years agoPreparations for 0.6.7 release
Jouni Malinen [Tue, 6 Jan 2009 18:11:15 +0000 (20:11 +0200)]
Preparations for 0.6.7 release

15 years agowpa_cli: Embed command usage into the wpa_cli_commands array
Eygene Ryabinkin [Mon, 5 Jan 2009 19:32:48 +0000 (21:32 +0200)]
wpa_cli: Embed command usage into the wpa_cli_commands array

It is better to have command description around the command definitions:
the chances for omitting usage, forgotting to change/delete them, etc.
are smaller than for the separate usage statement. [Bug 290]

Signed-off-by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
15 years agowpa_cli: Improve sensitive command detection for readline history
Eygene Ryabinkin [Mon, 5 Jan 2009 19:05:05 +0000 (21:05 +0200)]
wpa_cli: Improve sensitive command detection for readline history

I had added flags to the every command description: just now the only
meaningful flag tells that this command has sensitive arguments and it
shouldn't be written to the disk.  I rewrote the logics for the search
for the sensitive commands: special procedure is now loops over all
commands and tries to see if command has sensitive data. [Bug 289]

Signed-off-by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
15 years agowpa_cli: fix readline history cleaning
Eygene Ryabinkin [Mon, 5 Jan 2009 18:48:45 +0000 (20:48 +0200)]
wpa_cli: fix readline history cleaning

First of all, the history had not been written to the disk, since almost
all commands were cleaned up due to the error in the history cleaning:
the return value of the last os_strncasecmp() call was not compared to
zero, but was rather used as is.  So the condition was almost always
true and most commands were removed from the history.

The second problem was that the evaluation of the potentially sensitive
commands was started at the entry number 1, instead of very first entry.

15 years agoFix wpa_supplicant build for uClinux
Ihar Hrachyshka [Mon, 5 Jan 2009 18:32:04 +0000 (20:32 +0200)]
Fix wpa_supplicant build for uClinux

The code contains a bogus #ifdef for uClinux building. [Bug 286]

15 years agoFixed a typo in usage help
Jouni Malinen [Sun, 4 Jan 2009 20:13:34 +0000 (22:13 +0200)]
Fixed a typo in usage help

15 years agoeapol_test: Add a universal way of adding extra RADIUS attributes
Tomasz Wolniewicz [Sun, 4 Jan 2009 20:10:56 +0000 (22:10 +0200)]
eapol_test: Add a universal way of adding extra RADIUS attributes

This change replaces -I and -i options (Chargeable-User-Identity) with a
new -N option that can add any RADIUS attribute into the Access-Request
messages without having to modify eapol_test for each new attribute.

15 years agoSilenced number of Doxygen warnings
Jouni Malinen [Sun, 4 Jan 2009 13:07:54 +0000 (15:07 +0200)]
Silenced number of Doxygen warnings

15 years agoRemove wpa_gui from doxygen documentations
Jouni Malinen [Sun, 4 Jan 2009 12:58:47 +0000 (14:58 +0200)]
Remove wpa_gui from doxygen documentations

The *.ui.h were causing number of warnings and they do not need to be
included in documentation.

15 years agoFixed IMAGE_PATH for doxygen run in root directory
Jouni Malinen [Sun, 4 Jan 2009 12:44:33 +0000 (14:44 +0200)]
Fixed IMAGE_PATH for doxygen run in root directory

15 years agoRemove temporary Qt build directories from Doxygen run
Jouni Malinen [Sun, 4 Jan 2009 12:28:20 +0000 (14:28 +0200)]
Remove temporary Qt build directories from Doxygen run

15 years agoRemove unwanted wpa_supplicant -> struct wpa_supplicant links
Jouni Malinen [Sun, 4 Jan 2009 12:25:58 +0000 (14:25 +0200)]
Remove unwanted wpa_supplicant -> struct wpa_supplicant links

Replace " wpa_supplicant" with " %wpa_supplicant" except for
"struct wpa_supplicant". This makes it easier to write Doxygen comments
since there is no need to add the ugly '%' prefix to each instance of
wpa_supplicant text showing up.

15 years agoResolve a Doxygen warning
Jouni Malinen [Sun, 4 Jan 2009 12:06:13 +0000 (14:06 +0200)]
Resolve a Doxygen warning

15 years agoFixed Doxygen function links
Jouni Malinen [Sun, 4 Jan 2009 11:54:07 +0000 (13:54 +0200)]
Fixed Doxygen function links

No need to use explicit @link command, but must include () after
function name (and in couple of cases, use the current function name).

15 years agoCompleted Doxygen documentation for functions declared in wps/wps.h
Jouni Malinen [Sun, 4 Jan 2009 11:43:05 +0000 (13:43 +0200)]
Completed Doxygen documentation for functions declared in wps/wps.h

15 years agoUse NULL, not 0, when comparing a pointer
Jouni Malinen [Sat, 3 Jan 2009 19:01:20 +0000 (21:01 +0200)]
Use NULL, not 0, when comparing a pointer

15 years agoAdded endianness annotation for sparse
Jouni Malinen [Sat, 3 Jan 2009 19:00:38 +0000 (21:00 +0200)]
Added endianness annotation for sparse

15 years agoFixed sparse warnings about integer vs. pointer use
Jouni Malinen [Sat, 3 Jan 2009 18:46:32 +0000 (20:46 +0200)]
Fixed sparse warnings about integer vs. pointer use

The configuration parsing functions seemed to have worked fine before,
but these were real bugs even if they did not show up in practice.
hostapd_ip_diff() was broken for IPv6 addresses (overwrote address and
always returned 1.

15 years agoRemoved sparse destinations since "CC=cgcc make" works fine
Jouni Malinen [Sat, 3 Jan 2009 18:39:52 +0000 (20:39 +0200)]
Removed sparse destinations since "CC=cgcc make" works fine

15 years agoMark functions static if not used elsewhere and use proper prototypes
Jouni Malinen [Sat, 3 Jan 2009 18:38:42 +0000 (20:38 +0200)]
Mark functions static if not used elsewhere and use proper prototypes

15 years agoInclude the header file to validate function prototype.
Jouni Malinen [Sat, 3 Jan 2009 18:21:12 +0000 (20:21 +0200)]
Include the header file to validate function prototype.

15 years agoMoved WPS Registrar initialization from EAP peer to wps_supplicant.c
Jouni Malinen [Sat, 3 Jan 2009 18:18:35 +0000 (20:18 +0200)]
Moved WPS Registrar initialization from EAP peer to wps_supplicant.c

This matches the style used in hostapd, i.e., Registrar is initialized
only once and callbacks are now processed in wps_supplicant.c.

15 years agoRemoved registrar pointer from wps_config and wps_data
Jouni Malinen [Sat, 3 Jan 2009 18:09:35 +0000 (20:09 +0200)]
Removed registrar pointer from wps_config and wps_data

wps_context::registrar can be used as the only location for this
pointer.

15 years agoRemoved duplicated authenticator yes/no from wps_config and wps_data
Jouni Malinen [Sat, 3 Jan 2009 17:57:22 +0000 (19:57 +0200)]
Removed duplicated authenticator yes/no from wps_config and wps_data

wps_context::ap is available for this purpose and there is no need to
change between AP and not AP between protocol runs.

15 years agoRemoved unused WPS_PENDING processing result
Jouni Malinen [Sat, 3 Jan 2009 17:52:20 +0000 (19:52 +0200)]
Removed unused WPS_PENDING processing result

15 years agoAdded Doxygen documentation for WPS code
Jouni Malinen [Sat, 3 Jan 2009 17:50:49 +0000 (19:50 +0200)]
Added Doxygen documentation for WPS code

15 years agoCreate all doxygen docs from root directory to get proper path names
Jouni Malinen [Sat, 3 Jan 2009 07:59:12 +0000 (09:59 +0200)]
Create all doxygen docs from root directory to get proper path names

This updated all doxygen runs to use the same style that was used for
wpa_supplicant full documents. The full vs. fast configurations are now
otherwise identical apart from fast not generating dot files or
latex/pdf version of the documentation.

15 years agoFixed number of doxygen warnings
Jouni Malinen [Fri, 2 Jan 2009 20:28:04 +0000 (22:28 +0200)]
Fixed number of doxygen warnings

15 years agoAdded more src subdirectories into doxygen docs
Jouni Malinen [Fri, 2 Jan 2009 20:27:17 +0000 (22:27 +0200)]
Added more src subdirectories into doxygen docs

15 years agoUpdated doxygen configuration files to work with new doxygen
Jouni Malinen [Fri, 2 Jan 2009 19:57:51 +0000 (21:57 +0200)]
Updated doxygen configuration files to work with new doxygen

The doxygen run is not exactly warning free yet, but this gets a step
closer to being able to produce something useful again.

15 years agoMove addr_un definitions to avoid using out-of-scope buffer
Jouni Malinen [Fri, 2 Jan 2009 19:53:21 +0000 (21:53 +0200)]
Move addr_un definitions to avoid using out-of-scope buffer

15 years agoInitialize wpa_ie_len to 0 if WPA IE is not set on all paths
Jouni Malinen [Fri, 2 Jan 2009 19:50:22 +0000 (21:50 +0200)]
Initialize wpa_ie_len to 0 if WPA IE is not set on all paths

The new WPS code was not setting this in error case.

15 years agoInclude ieee802_11_defs.h explicitly instead of assuming it gets included
Jouni Malinen [Fri, 2 Jan 2009 19:14:21 +0000 (21:14 +0200)]
Include ieee802_11_defs.h explicitly instead of assuming it gets included

Some build configurations failed to compile because this file did not
get included.

15 years agoReplaced string comparison operator '==' with '=' to work with dash
Jouni Malinen [Fri, 2 Jan 2009 19:06:36 +0000 (21:06 +0200)]
Replaced string comparison operator '==' with '=' to work with dash

15 years agoWPS: Generate UUID based on MAC address, if not set
Jouni Malinen [Thu, 1 Jan 2009 20:56:52 +0000 (22:56 +0200)]
WPS: Generate UUID based on MAC address, if not set

Generate a SHA1 hash -based UUID from the local MAC address if the UUID
was not configured. This makes it easier to prepare for WPS since there
is no need to generate an UUID.

15 years agoWPS: Cleanup UUID and MAC address configuration
Jouni Malinen [Thu, 1 Jan 2009 20:56:02 +0000 (22:56 +0200)]
WPS: Cleanup UUID and MAC address configuration

No need to configure these separately for each Enrollee in wps_config
since wps_context is now used both for Registrar and Enrollee.

15 years agoInclude pending MFP defines in nl80211_copy.h
Jouni Malinen [Wed, 31 Dec 2008 16:10:14 +0000 (18:10 +0200)]
Include pending MFP defines in nl80211_copy.h

This can be used to get rid of the extra cpp define since we have our
local copy of wireless.h and nl80211.h.

15 years agoSync nl80211.h copy with the current kernel version
Jouni Malinen [Wed, 31 Dec 2008 16:00:07 +0000 (18:00 +0200)]
Sync nl80211.h copy with the current kernel version

15 years agoRenamed nl80211 HT channel parameters to match with kernel
Jouni Malinen [Wed, 31 Dec 2008 15:59:13 +0000 (17:59 +0200)]
Renamed nl80211 HT channel parameters to match with kernel

15 years agoMFP: Require MFP is it is enabled and AP scan shows support for it
Jouni Malinen [Wed, 31 Dec 2008 15:53:31 +0000 (17:53 +0200)]
MFP: Require MFP is it is enabled and AP scan shows support for it

When using ap_scan=1, we know before the association request that MFP
will be supported, so we can as well require it. This helps mac80211 in
configuring whether to enable MFP.

15 years agoMFP: Fix SA Query Action Category
Jouni Malinen [Wed, 31 Dec 2008 15:52:05 +0000 (17:52 +0200)]
MFP: Fix SA Query Action Category

IEEE 802.11w/D7.0 incorrectly changed the Action Category from 8 to 7
when renaming Ping to SA Query. Category 7 is reserved for HT (IEEE
802.11n) and IEEE 802.11w will need to continue to use the category 8
that was allocated for it.

15 years agoFixed SA Query Request length
Jouni Malinen [Wed, 31 Dec 2008 15:50:14 +0000 (17:50 +0200)]
Fixed SA Query Request length

Do not send extra 24 octets of random data in the end.

15 years agoClear BIP keys, too, when removing broadcast keys with MFP enabled
Jouni Malinen [Wed, 31 Dec 2008 15:49:43 +0000 (17:49 +0200)]
Clear BIP keys, too, when removing broadcast keys with MFP enabled

15 years agoMFP: Remove mac80211 workaround of IGTK in monitor netdev
Jouni Malinen [Wed, 31 Dec 2008 15:48:13 +0000 (17:48 +0200)]
MFP: Remove mac80211 workaround of IGTK in monitor netdev

mac80211 can now figure out which key to use for injected frames (in
most cases), so we can remove the workaround for configuring IGTK on the
monitor interface that is used for injecting frames.

15 years agoAdded ctrl_interface command for sending a SA Query request
Jouni Malinen [Tue, 30 Dec 2008 16:04:29 +0000 (18:04 +0200)]
Added ctrl_interface command for sending a SA Query request

This can be useful for testing IEEE 802.11w functionality, so provide
means for manual request to send a SA Query request.

15 years agoFix TLS message processing if Flags field is not present
Jouni Malinen [Tue, 30 Dec 2008 10:28:02 +0000 (12:28 +0200)]
Fix TLS message processing if Flags field is not present

Previous version assumed that the Flags field is always present and
ended up reading one octet past the end of the buffer should the Flags
field be missing. The message length would also be set incorrectly
(size_t)-1 or (size_t)-5, but it looks like reassembly code ended up
failing in malloc before actually using this huge length to read data.

RFC 2716 uses a somewhat unclear description on what exactly is included
in the TLS Ack message ("no data" can refer to either Data field in 4.1
or TLS Data field in 4.2), so in theory, it would be possible for some
implementations to not include Flags field. However,
EAP-{PEAP,TTLS,FAST} need the Flags field in Ack messages, too, for
indicating the used version.

The EAP peer code will now accept the no-Flags case as an Ack message if
EAP workarounds are enabled (which is the default behavior). If
workarounds are disabled, the message without Flags field will be
rejected.

[Bug 292]

15 years agoDisconnect the STA if EAP timeout is reached
Jouni Malinen [Mon, 29 Dec 2008 17:16:48 +0000 (19:16 +0200)]
Disconnect the STA if EAP timeout is reached

There is not really much else the Authenticator can do if it does not
receive valid EAP response from the Supplicant/EAP peer. EAP-Failure
would need to be sent before trying to start again with
EAP-Request/Identity, but that is not allowed before the EAP peer
actually replies. Anyway, forcing a new association is likely to clean
up peer state, too, so it can help fixing some issues that could have
caused the peer not to be able to reply in the first place.

15 years agoWPS: Set recommended retransmission times with EAP method specific hint
Jouni Malinen [Mon, 29 Dec 2008 16:50:37 +0000 (18:50 +0200)]
WPS: Set recommended retransmission times with EAP method specific hint

15 years agoFixed retransmission of EAP requests if no response is received
Jouni Malinen [Mon, 29 Dec 2008 16:10:34 +0000 (18:10 +0200)]
Fixed retransmission of EAP requests if no response is received

It looks like this never survived the move from IEEE 802.1X-2001 to
IEEE 802.1X-2004 and EAP state machine (RFC 4137). The retransmission
scheduling and control is now in EAP authenticator and the
calculateTimeout() producedure is used to determine timeout for
retransmission (either dynamic backoff or value from EAP method hint).

The recommended calculations based on SRTT and RTTVAR (RFC 2988) are not
yet implemented since there is no round-trip time measurement available
yet.

This should make EAP authentication much more robust in environments
where initial packets are lost for any reason. If the EAP method does
not provide a hint on timeout, default schedule of 3, 6, 12, 20, 20, 20,
... seconds will be used.

15 years agoAdd RADIUS server support for identity selection hint (RFC 4284)
Jouni Malinen [Fri, 26 Dec 2008 18:22:12 +0000 (20:22 +0200)]
Add RADIUS server support for identity selection hint (RFC 4284)

Previously, only the delivery option 1 from RFC 4284
(EAP-Request/Identity from the AP) was supported. Now option 3
(subsequent EAP-Request/Identity from RADIUS server) can also be used
when hostapd is used as a RADIUS server. The eap_user file will need to
have a Phase 1 user entry pointing to Identity method in order for this
to happen (e.g., "* Identity" in the end of the file). The identity hint
is configured in the same was as for AP/Authenticator case (eap_message
in hostapd.conf).

15 years agoNEED_BASE64 for WPS
Andriy Tkachuk [Fri, 26 Dec 2008 14:40:27 +0000 (16:40 +0200)]
NEED_BASE64 for WPS

It looks like we need base64 routines when compiling WPS in hostapd
(used in src/wps/wps_registrar.c:910).

15 years agoAdded a TODO item for sending protected Disassoc after failed SA Query
Jouni Malinen [Fri, 26 Dec 2008 13:56:30 +0000 (15:56 +0200)]
Added a TODO item for sending protected Disassoc after failed SA Query

15 years agohostap.epitest.fi server is not at ISC anymore.
Jouni Malinen [Fri, 26 Dec 2008 13:39:09 +0000 (15:39 +0200)]
hostap.epitest.fi server is not at ISC anymore.

15 years agoAdded a note about IEEE 802.11w/D7.0 update
Jouni Malinen [Fri, 26 Dec 2008 10:59:07 +0000 (12:59 +0200)]
Added a note about IEEE 802.11w/D7.0 update

15 years agoDo not use SA Query procedure if reassociation is part of FT
Jouni Malinen [Fri, 26 Dec 2008 10:55:35 +0000 (12:55 +0200)]
Do not use SA Query procedure if reassociation is part of FT

15 years agoAdd Key Length field into IGTK sub-element (FTIE) per 802.11w/D7.0
Jouni Malinen [Fri, 26 Dec 2008 10:49:15 +0000 (12:49 +0200)]
Add Key Length field into IGTK sub-element (FTIE) per 802.11w/D7.0

15 years agoUpdated SA Query procedure to use timeouts per 802.11w/D7.0
Jouni Malinen [Fri, 26 Dec 2008 10:30:34 +0000 (12:30 +0200)]
Updated SA Query procedure to use timeouts per 802.11w/D7.0

The previous max_attempts * timeout is now replaced with two timeouts
(one for each retry, the other one for maximum wait).

15 years agoRenamed Ping procedure into SA Query procedure per 802.11w/D7.0
Jouni Malinen [Fri, 26 Dec 2008 09:46:21 +0000 (11:46 +0200)]
Renamed Ping procedure into SA Query procedure per 802.11w/D7.0

This commit changes just the name and Action category per D7.0. The
retransmit/timeout processing in the AP is not yet updated with the
changes in D7.0.

15 years agoFixed the MFP Status/Reason Code values per 802.11w/D7.0
Jouni Malinen [Fri, 26 Dec 2008 09:25:05 +0000 (11:25 +0200)]
Fixed the MFP Status/Reason Code values per 802.11w/D7.0

15 years agoWPS: As a workaround, pad zero-length device attributes
Jouni Malinen [Thu, 25 Dec 2008 19:19:46 +0000 (21:19 +0200)]
WPS: As a workaround, pad zero-length device attributes

Some deployed WPS implementations fail to parse zero-length attributes.
As a workaround, send a null character if the device attribute string is
empty. This allows default values (empty strings) to be used without
interop issues.

15 years agoWPS: Do not use Selected Registrar Config Methods from scan results
Andriy Tkachuk [Thu, 25 Dec 2008 18:33:00 +0000 (20:33 +0200)]
WPS: Do not use Selected Registrar Config Methods from scan results

Before this change, it looked like an AP that was using wsccmd did not
get activated since wsccmd left the Selected Registrar Config Methods
attribute to be zero. Since Device Password ID can be used to
distinguish PBC from any other method, use only it to figure out whether
PBC or PIN method is active.

15 years agoLonger auth_timeout for WPS key_mgmt
Andriy Tkachuk [Thu, 25 Dec 2008 18:26:07 +0000 (20:26 +0200)]
Longer auth_timeout for WPS key_mgmt

It seems that for WPS registration we should use the same authentication
timeout as for ieee8021x, no? (See patch attached.) On slow platforms
public keys computation may take around 4-5 seconds (we actually stuck
on this issue).

15 years agoAdded a ChangeLog entry about the new Windows installer
Jouni Malinen [Thu, 25 Dec 2008 15:37:04 +0000 (17:37 +0200)]
Added a ChangeLog entry about the new Windows installer

15 years agowpa_gui-qt4: Do not about new network adapters unless service is running
Jouni Malinen [Thu, 25 Dec 2008 15:32:51 +0000 (17:32 +0200)]
wpa_gui-qt4: Do not about new network adapters unless service is running

Skip the user prompt for adding a new network interface if wpa_gui is
not yet connected to wpasvc.

15 years agoFixed control interface enabling for dynamically added interface
Jouni Malinen [Thu, 25 Dec 2008 15:13:19 +0000 (17:13 +0200)]
Fixed control interface enabling for dynamically added interface

Set ctrl_interface to non-empty value in INTERFACE_ADD to avoid
ctrl_iface.c assuming the control interface is not to be enabled. This
fixes the dynamically added interface to use control interface.

15 years agoAdd Windows registry entries during installation
Jouni Malinen [Thu, 25 Dec 2008 14:59:37 +0000 (16:59 +0200)]
Add Windows registry entries during installation

The NSIS installer will now add Windows registry entries for
wpa_supplicant during installation and removes them during
uninstallation. This allows wpa_gui to start wpasvc and add new
interfaces without requiring the user to do any manual registry
editing.

15 years agowpa_gui-qt4: Added support for adding new network interfaces
Jouni Malinen [Thu, 25 Dec 2008 14:38:09 +0000 (16:38 +0200)]
wpa_gui-qt4: Added support for adding new network interfaces

"Add interface" command in File menu can now be used to add a new
network interface to running wpa_supplicant (using INTERFACE_ADD control
interface command). In addition, the network interface is added into
Windows registry (with skip_on_error) for future use. This functionality
is currently enabled only for Windows builds. The user is also prompted
about the possibility of adding an interface if no interfaces are
enabled. This makes it easier to get started without having to touch
registry manually.

15 years agoAdded get_interfaces() handler to list all NDIS adapters
Jouni Malinen [Wed, 24 Dec 2008 19:31:14 +0000 (21:31 +0200)]
Added get_interfaces() handler to list all NDIS adapters

15 years agowpasvc: Add skip_on_error registry value to skip interfaces on error
Jouni Malinen [Wed, 24 Dec 2008 18:39:32 +0000 (20:39 +0200)]
wpasvc: Add skip_on_error registry value to skip interfaces on error

This can be used to include binding information for multiple interfaces
in Windows registry and only use the ones that match with an available
network interface.

15 years agoAdded a mechanism for quering driver wrappers for available interfaces
Jouni Malinen [Wed, 24 Dec 2008 18:25:19 +0000 (20:25 +0200)]
Added a mechanism for quering driver wrappers for available interfaces

The new INTERFACE_LIST global control interface command can be used to
request a list of all available network interfaces that could be used
with the enabled driver wrappers. This could be used to enable
interfaces automatically by external programs (e.g., wpa_gui).

15 years agoMark local functions static.
Jouni Malinen [Mon, 22 Dec 2008 20:27:25 +0000 (22:27 +0200)]
Mark local functions static.

15 years agoAdded support for global driver data (shared by multiple interfaces)
Jouni Malinen [Mon, 22 Dec 2008 20:24:31 +0000 (22:24 +0200)]
Added support for global driver data (shared by multiple interfaces)

Driver wrappers can now register global_init() and global_deinit()
driver_ops handlers to get a global data structure that can be shared
for all interfaces. This allows driver wrappers to initialize some
functionality (e.g., interface monitoring) before any interfaces have
been initialized.

15 years agoChanged the example device_type value to be Computer/PC
Jouni Malinen [Mon, 22 Dec 2008 17:43:44 +0000 (19:43 +0200)]
Changed the example device_type value to be Computer/PC

15 years agoReject association if HT STA tries to use TKIP as pairwise cipher
Jouni Malinen [Mon, 22 Dec 2008 12:05:53 +0000 (14:05 +0200)]
Reject association if HT STA tries to use TKIP as pairwise cipher

15 years agoAllow HT to be enabled for a STA even without WMM
Jouni Malinen [Mon, 22 Dec 2008 11:05:33 +0000 (13:05 +0200)]
Allow HT to be enabled for a STA even without WMM

The STA won't be able to use block ACK/aggregation, but at least it
should be allowed to use MCS rates and HT40.

15 years agoAdd Start menu shortcuts to wpa_gui and uninstall
Jouni Malinen [Sun, 21 Dec 2008 17:50:39 +0000 (19:50 +0200)]
Add Start menu shortcuts to wpa_gui and uninstall

In addition, make uninstall use confirm dialog to avoid accidental
uninstalls.

15 years agoUse wildcard UUID when setting AP PIN for Registrar in wpa_supplicant
Jouni Malinen [Sun, 21 Dec 2008 15:37:40 +0000 (17:37 +0200)]
Use wildcard UUID when setting AP PIN for Registrar in wpa_supplicant

15 years agoFixed PBC overlap detection to handle case of missing UUID-E
Jouni Malinen [Sun, 21 Dec 2008 15:28:01 +0000 (17:28 +0200)]
Fixed PBC overlap detection to handle case of missing UUID-E

UUID-E is not required to be present in Beacon frame, so we need to
accept scan results that do not have UUID-E as a valid PBC situation as
long as not more than one AP is in active PBC mode.

15 years agoFixed NDIS AuthMode configuration for WPS connection
Jouni Malinen [Sun, 21 Dec 2008 15:27:32 +0000 (17:27 +0200)]
Fixed NDIS AuthMode configuration for WPS connection

15 years agowpa_gui-qt4: Added wpasvc start/stop functionality for Windows
Jouni Malinen [Sun, 21 Dec 2008 12:28:45 +0000 (14:28 +0200)]
wpa_gui-qt4: Added wpasvc start/stop functionality for Windows

wpa_gui will now ask user whether the wpasvc service should be started
if it is not running. In addition, File menu has items for starting and
stopping the service.

15 years agoSilence a compiler warning
Jouni Malinen [Sun, 21 Dec 2008 10:26:32 +0000 (12:26 +0200)]
Silence a compiler warning

15 years agoAdded more notes about WPS GUI scan operations and wpa_gui
Jouni Malinen [Sat, 20 Dec 2008 21:03:32 +0000 (23:03 +0200)]
Added more notes about WPS GUI scan operations and wpa_gui

15 years agoWPS: Added support for wildcard SSID matching in ap_scan=2 mode
Jouni Malinen [Sat, 20 Dec 2008 20:55:02 +0000 (22:55 +0200)]
WPS: Added support for wildcard SSID matching in ap_scan=2 mode

Change association behavior to match with ap_scan=1 when WPS is used in
ap_scan=2 mode with wildcard SSID matching. In addition, allow hardcoded
BSSID to be used to select AP even if selected registrar attribute is
not present.

15 years agoFixed a typo in a comment
Jouni Malinen [Sat, 20 Dec 2008 19:51:34 +0000 (21:51 +0200)]
Fixed a typo in a comment

15 years agoInclude WPS support in the Windows binary
Jouni Malinen [Sat, 20 Dec 2008 19:40:26 +0000 (21:40 +0200)]
Include WPS support in the Windows binary

15 years agoRegister wpasvc service on install and unregister on uninstall
Jouni Malinen [Sat, 20 Dec 2008 18:49:58 +0000 (20:49 +0200)]
Register wpasvc service on install and unregister on uninstall

15 years agoUse parallel compilation to speed up release build
Jouni Malinen [Sat, 20 Dec 2008 18:42:39 +0000 (20:42 +0200)]
Use parallel compilation to speed up release build

15 years agoAdded Windows NSIS installer for wpa_supplicant
Jouni Malinen [Sat, 20 Dec 2008 18:40:23 +0000 (20:40 +0200)]
Added Windows NSIS installer for wpa_supplicant

15 years agoCreate PNG version of the wpa_gui tray icon file for cross compilation
Jouni Malinen [Sat, 20 Dec 2008 15:55:52 +0000 (17:55 +0200)]
Create PNG version of the wpa_gui tray icon file for cross compilation

15 years agoChanged win_gui cross compilation to use cleaner Qt setup
Jouni Malinen [Sat, 20 Dec 2008 15:50:13 +0000 (17:50 +0200)]
Changed win_gui cross compilation to use cleaner Qt setup

A separate cross compiler mkspecs file (win32-x-g++) is now used to
configure all build options so the setup-mingw-cross-compiling hack is
not needed anymore. Furthermore, the MinGW setup is now on path, so no
need to specify extra PATH changes for it.

15 years agoAdded a note about mac80211-based drivers and nl80211
Jouni Malinen [Sat, 20 Dec 2008 11:02:29 +0000 (13:02 +0200)]
Added a note about mac80211-based drivers and nl80211

15 years agoIANA allocated EAP method type 51 to EAP-GPSK
Jouni Malinen [Sat, 20 Dec 2008 10:39:24 +0000 (12:39 +0200)]
IANA allocated EAP method type 51 to EAP-GPSK

15 years agoWPS: Added event callback for successfully completed registration
Jouni Malinen [Fri, 19 Dec 2008 20:34:18 +0000 (22:34 +0200)]
WPS: Added event callback for successfully completed registration

15 years agoWPS: Added callback for failure-after-M2/M2D
Jouni Malinen [Fri, 19 Dec 2008 20:19:41 +0000 (22:19 +0200)]
WPS: Added callback for failure-after-M2/M2D

This callback is now used to stop wpa_supplicant from trying to continue
using parameters (most likely, device password) that do not work in a
loop. In addition, wpa_gui can now notify user of failed registration.

15 years agoWPS: Added event callback and M2D notification
Jouni Malinen [Thu, 18 Dec 2008 19:58:42 +0000 (21:58 +0200)]
WPS: Added event callback and M2D notification

The event callback will be used for various event messages and the M2D
notification is the first such message. It is used to notify wpa_gui
about Registrar not yet knowing the device password (PIN).

15 years agoFixed global conf write to skip default values for uuid and os_version
Jouni Malinen [Thu, 18 Dec 2008 19:29:59 +0000 (21:29 +0200)]
Fixed global conf write to skip default values for uuid and os_version

15 years agoFix CONFIG_WPS=y, CONFIG_TLS=internal build
Andriy Tkachuk [Thu, 18 Dec 2008 18:10:18 +0000 (20:10 +0200)]
Fix CONFIG_WPS=y, CONFIG_TLS=internal build

crypto_mod_exp() is needed for both EAP-FAST and WPS.

15 years agoFixed PSK editing in wpa_gui (copy-paste bug in field names)
Jouni Malinen [Thu, 18 Dec 2008 18:03:24 +0000 (20:03 +0200)]
Fixed PSK editing in wpa_gui (copy-paste bug in field names)

15 years agoCleaned up EAPOL-Key timeout processing
Jouni Malinen [Thu, 18 Dec 2008 15:15:36 +0000 (17:15 +0200)]
Cleaned up EAPOL-Key timeout processing

dot11RSNAConfigGroupUpdateTimeOut and
dot11RSNAConfigPairwiseUpdateTimeOut MIB variables were only used in
draft versions of IEEE 802.11i, so rename these in order not to use
confusing name here.

Replaced EAPOL-Key timeout to use following timeouts (in
milliseconds): 100,1000,1000,1000 (this was 1000,1000,1000,0). There
is no point in sending out the final EAPOL-Key frame which would be
immediately followed by disconnection. After the change to allow
response to any pending EAPOL-Key frame, it is fine to send the first
retransmission quickly to avoid long wait in cases where Supplicant
did not receive the first frame for any reason. The new sequence will
still provide 3.1 seconds of time to get any response frame, so this
does not reduce the previous time.