Jouni Malinen [Thu, 14 May 2009 18:53:21 +0000 (21:53 +0300)]
nl80211: Add support for NL80211_ATTR_STA_FLAGS2
For now, the old code using NL80211_ATTR_STA_FLAGS is left in for
backwards compatibility with older kernel versions. It may be removed
eventually when most users are expected to be running with new
enough kernel version.
Jouni Malinen [Thu, 14 May 2009 18:51:59 +0000 (21:51 +0300)]
Sync with linux/nl80211.h from wireless-testing.git
Jouni Malinen [Tue, 12 May 2009 08:55:18 +0000 (11:55 +0300)]
nl80211: Add MFP flag configuration for station mode
This fixes IEEE 802.11w use with driver_nl80211.c in station mode.
Jouni Malinen [Mon, 11 May 2009 10:49:57 +0000 (13:49 +0300)]
Fix WMM and MFP STA flag setting with flags_or/flags_and
These were included correctly in total_flags, but not in
flags_or/flags_and.
Jouni Malinen [Fri, 8 May 2009 09:51:28 +0000 (12:51 +0300)]
Drop unprotected Robust Action frames from MFP STAs
These frames are delivered through mac80211 monitor interface, so we
need to filter them out in hostapd.
Jouni Malinen [Thu, 7 May 2009 14:59:53 +0000 (17:59 +0300)]
hwsim_test: Tool for testing data connectivity with mac80211_hwsim
This program can be used to verify that both unicast and broadcast
data frames can be transmitted successfully through mac80211_hwsim
interfaces.
Jouni Malinen [Wed, 6 May 2009 16:04:01 +0000 (19:04 +0300)]
Add more debugging details for SA Query processing
Jouni Malinen [Wed, 6 May 2009 15:57:17 +0000 (18:57 +0300)]
Update SA Query transaction id length based on IEEE 802.11w/D8.0
IEEE 802.11w/D8.0 changed the length of the SA Query transaction
identifier from 16 to 2 octets.
Jouni Malinen [Wed, 6 May 2009 13:07:43 +0000 (16:07 +0300)]
Reject hostapd configuration without channel for nl80211 drivers
We could use auto-channel selection here eventually, but for now,
reject the configuration since it is not going to work correctly
(Beacon and Probe Response frames use incorrect value in DS Params).
Jaime Soriano Pastor [Wed, 6 May 2009 10:23:41 +0000 (13:23 +0300)]
WPS methods exported over DBus
I've exported the methods wpsPbc, wpsReg and wpsPin (patch attached),
so wpa_supplicant should be able to connect with WPS using the dbus
interface. I couldn't test it well because the problem seems to be in
my wireless card, a Broadcom BCM4328. At least it seems to do the same
using both interfaces. With ndiswrapper driver the "wpsie" entry
(thanks Dan!) didn't appear, and with the Broadcom wl driver it
appears but I cannot associate using WPS.
Helmut Schaa [Wed, 6 May 2009 08:54:00 +0000 (11:54 +0300)]
wpa_supplicant: add DBus method for changing debug parameters
Add a new DBus method "setDebugParams" which takes the parameters
debug_level, debug_timestamp and show_keys as input and updates the
internal debug variables accordingly.
To change the debug level, enable/disable timestamps and enable/disable
show_keys the following dbus-send command can be used:
dbus-send --system --dest=fi.epitest.hostap.WPASupplicant --print-reply
/fi/epitest/hostap/WPASupplicant fi.epitest.hostap.WPASupplicant.setDebugParams
int32:0 boolean:false boolean:false
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Jouni Malinen [Wed, 6 May 2009 08:31:45 +0000 (11:31 +0300)]
Add code to re-use an existing ctrl_iface socket file
Port the code from wpa_supplicant to re-use an existing ctrl_iface
socket file if the file does not seem to be in use. This allows
hostapd to recover from unclean shutdown of the control interface.
Jouni Malinen [Wed, 6 May 2009 07:56:18 +0000 (10:56 +0300)]
WPS: Add a workaround for auth/encr type flags mismatches
Some deployed implementations seem to advertise incorrect information
in this attribute. For example, Linksys WRT350N seems to have a
byteorder bug that breaks this negotiation. In order to interoperate
with existing implementations, assume that the Enrollee supports
everything we do.
Jouke Witteveen [Sun, 26 Apr 2009 18:25:48 +0000 (21:25 +0300)]
General revision of RoboSwitch driver
Attached is a patch for the RoboSwitch driver in trunk. It is a
general revision of the source code.
Changes:
- Improved IEEE 802.1X conformance ([1])
- Better conformity to Broadcom specifications
- Fixed compatibility with different chipset revisions
It is worth noting that performance may drop a little using the new
driver. This can be overcome by using "multicast_only=1" as a
parameter. In that case only packets to the PAE group address are
regarded, as the previous revision of the driver did. A more detailed
description of the parameter and it's consequences is available at [2]
(summary: use "multicast_only=1" whenever possible).
[1] http://lists.shmoo.com/pipermail/hostap/2009-February/019398.html
[2] http://forum.openwrt.org/viewtopic.php?id=19873
Jouni Malinen [Thu, 23 Apr 2009 21:08:24 +0000 (00:08 +0300)]
Add handling of SME auth/assoc timeout events
This allows wpa_supplicant to start searching for other APs (or re-try)
if the MLME times out.
Jouni Malinen [Wed, 22 Apr 2009 13:15:24 +0000 (16:15 +0300)]
Remove unused set_broadcast_ssid() driver op
None of the driver wrappers user this. hostapd-controlled broadcast SSID
hiding can only be used with drivers that use hostapd for handling
Beacon and Probe Request/Response frames.
Jouni Malinen [Wed, 22 Apr 2009 13:11:22 +0000 (16:11 +0300)]
Remove the unused set_ieee80211d driver op
None of the driver wrappers use this. Only the drivers that use hostapd
for Beacon and Probe Request/Response handling can now use IEEE 802.11d
properly.
Jouni Malinen [Wed, 22 Apr 2009 13:01:37 +0000 (16:01 +0300)]
Add new wpa_supplicant driver op for setting 802.1X port status
This can be used with drivers that implement PAE to control whether
normal data frames (non-EAPOL) are allowed.
Jouni Malinen [Wed, 22 Apr 2009 12:27:51 +0000 (15:27 +0300)]
Move default_wep_key variable into EAPOL authenticator data
With this change, eapol_sm.c does not need to dereference main hostapd
structures anymore (i.e., hostapd.h is not needed to be included).
Jouni Malinen [Tue, 21 Apr 2009 15:11:07 +0000 (18:11 +0300)]
nl80211: Replace WEXT code for RTS/fragmentation threshold
nl80211 has new attributes for setting RTS and fragmentation threshold
values. Use these instead of the old WEXT ioctls.
Jouni Malinen [Tue, 21 Apr 2009 15:01:43 +0000 (18:01 +0300)]
Remove unused set_retry() driver op
Jouni Malinen [Tue, 21 Apr 2009 14:54:50 +0000 (17:54 +0300)]
nl80211: Sync with linux/nl80211.h from wireless-testing.git
Note: This changes values for existing NL80211_ATTR_MAX_SCAN_IE_LEN
and NL80211_ATTR_KEY_TYPE (for some reason, they ended up getting
swapped in wireless-testing.git) and as such, could break Michael
MIC error reporting (well, at least partially).
Jouni Malinen [Tue, 21 Apr 2009 13:45:16 +0000 (16:45 +0300)]
wpa_supplicant AP: Add preliminary support for WPS Internal Registrar
When in AP mode, wpa_supplicant is now enabling WPS (only Internal
Registrar). wpa_cli wps_pbc and wps_pin commands can be used to initiate
WPS negotiation similarly to how this is done in station mode (though,
the BSSID parameter is ignored).
Jouni Malinen [Mon, 20 Apr 2009 13:33:13 +0000 (16:33 +0300)]
wpa_supplicant AP: Add sta_set_flags
Jouni Malinen [Mon, 20 Apr 2009 13:27:45 +0000 (16:27 +0300)]
wpa_supplicant AP: Add EAPOL frame TX and RX
This allows WPA-Personal 4-way handshake to be completed successfully.
Jouni Malinen [Mon, 20 Apr 2009 13:11:08 +0000 (16:11 +0300)]
wpa_supplicant AP: Update WPA/RSN configuration
Couple of additional operations are needed to make hostapd configuration
valid for WPA.
Jouni Malinen [Mon, 20 Apr 2009 08:37:35 +0000 (11:37 +0300)]
nl80211: Mark state disassociated on local deauth/disassoc
Jouni Malinen [Mon, 20 Apr 2009 08:36:47 +0000 (11:36 +0300)]
Make deauthentication and disassociation consistent
This fixes an issue where the station was not marked disassociated
properly with locally requested deauthentication.
Jouni Malinen [Mon, 20 Apr 2009 08:35:21 +0000 (11:35 +0300)]
Disconnect if 4-way handshake processing fails
There is no point in trying to continue if a 4-way handshake frame is
discarded or if PTK/GTK/IGTK configuration fails. Force the client to
disconnect in such a case to avoid confusing user by claiming the
connection was successfully completed.
Jouni Malinen [Fri, 17 Apr 2009 17:09:20 +0000 (20:09 +0300)]
wpa_supplicant AP: add sta_add() and sta_remove()
Jouni Malinen [Fri, 17 Apr 2009 13:41:53 +0000 (16:41 +0300)]
wpa_supplicant AP: Fix build after hostapd driver_ops changes
Jouni Malinen [Fri, 17 Apr 2009 13:27:38 +0000 (16:27 +0300)]
nl80211: Add/remove monitor interface dynamically based on mode
Jouni Malinen [Fri, 17 Apr 2009 13:06:12 +0000 (16:06 +0300)]
nl80211: Delete Beacon information on deinit in wpa_supplicant AP mode
Jouni Malinen [Fri, 17 Apr 2009 12:58:34 +0000 (15:58 +0300)]
Use C99 designated initializers to cleanup driver_ops setup
These driver wrappers use UNIX domain sockets and as such, won't be
built with Microsoft compiler. Consequently, use of C99-style designated
initializers can be used to make these files easier to maintain. Only
driver_ndis.c needs to support the old C89-style due to Microsoft
compiler not supporting newer C standard.
Jouni Malinen [Fri, 17 Apr 2009 12:47:37 +0000 (15:47 +0300)]
hostapd: Remove unused passive scan functionality
This was not really supported by any of the included driver wrappers. If
this functionality is desired in the future, this (or something similar)
can be added with the changes needed into a driver wrapper to use the
mechanism.
Jouni Malinen [Fri, 17 Apr 2009 12:36:06 +0000 (15:36 +0300)]
nl80211: Use ifndef hostapd to reduce binary size
Number of areas are not used by hostapd, so remove them from the build.
Jouni Malinen [Fri, 17 Apr 2009 10:33:30 +0000 (13:33 +0300)]
nl80211: Fix secondary BSS ifindex
This was broken by a cleanup patch that moved from ifname to ifindex.
Jouni Malinen [Fri, 17 Apr 2009 10:29:29 +0000 (13:29 +0300)]
Move more multi-BSSID processing into drv_callbacks.c
This simplifies driver wrapper operations and removes last direct
struct hostapd_data dereferences from driver_nl80211.c. In addition,
some of the TX callbacks are now fixed for secondary BSSes.
Jouni Malinen [Fri, 17 Apr 2009 08:55:51 +0000 (11:55 +0300)]
Provide own_addr buffer in hapd_init() parameters
This reduces number of places in driver wrapper that would need to
dereference struct hostapd_data pointer directly.
Jouni Malinen [Fri, 17 Apr 2009 08:37:22 +0000 (11:37 +0300)]
Add own_addr as a parameter to sta_deauth() and sta_disassoc()
This fixes deauth/disassoc frames in secondary BSSes when using
multi-BSSID. In addition, it reduces need to dereference
struct hostapd_data inside driver wrappers.
Jouni Malinen [Fri, 17 Apr 2009 08:23:24 +0000 (11:23 +0300)]
nl80211: Fix wpa_supplicant build
Jouni Malinen [Fri, 17 Apr 2009 08:22:16 +0000 (11:22 +0300)]
nl80211: Add helper functions for SIOC{G,S}IFHWADDR
Jouni Malinen [Thu, 16 Apr 2009 16:08:58 +0000 (19:08 +0300)]
Remove dead code related to WDS setup
hostapd does not have any code that would actually call this, so there
is no current need to try to figure out how to set up WDS links with
nl80211.
Jouni Malinen [Thu, 16 Apr 2009 14:16:41 +0000 (17:16 +0300)]
nl80211: Share more of init/deinit code
Jouni Malinen [Thu, 16 Apr 2009 13:36:03 +0000 (16:36 +0300)]
nl80211: Make it possible to build without WEXT support
NO_WEXT can be defined to disable all remaining WEXT uses from
driver_nl80211.c. This breaks some functionality, so the code is still
in use by default. Anyway, the new #ifdef blocks make it easy to search
for areas that need to be converted to nl80211.
Jouni Malinen [Thu, 16 Apr 2009 13:22:40 +0000 (16:22 +0300)]
Clean up HT40 scan and share nl80211 scanning code
Instead of adding a new driver_ops for fetching neighbor BSS data (that
nl80211 driver interface had to scan during initialization), share the
same scan operations that wpa_supplicant is using. This gets rid of
duplicated scan code in driver_nl80211.c (and better yet, removes large
part of old WEXT code).
hostapd interface initialization is now completed in a callback, if
needed, i.e., he_features channel/hw_mode selection can use as much time
as needed. This can also help with radar detection in the future.
Jouni Malinen [Wed, 15 Apr 2009 08:18:09 +0000 (11:18 +0300)]
Fix small HTTP processing issues
Parse "Transfer-Encoding: chunked" properly.
Get more data if read buffer is empty when starting to process the body.
Jouni Malinen [Tue, 14 Apr 2009 12:52:05 +0000 (15:52 +0300)]
nl80211: Use shared code for netlink initialization
Jouni Malinen [Tue, 14 Apr 2009 12:35:03 +0000 (15:35 +0300)]
nl80211: Merge handle_frame() implementations
Jouni Malinen [Tue, 14 Apr 2009 12:15:33 +0000 (15:15 +0300)]
nl82011: Use common code for setting channel
Jouni Malinen [Tue, 14 Apr 2009 12:03:07 +0000 (15:03 +0300)]
nl80211: Remove inclusion of unneeded header files
Jouni Malinen [Tue, 14 Apr 2009 10:12:58 +0000 (13:12 +0300)]
nl80211: Fix management frame sending after driver_ops cleanup
hostapd ended up with unregistered send_mlme() in commit
9f324b61babe2fb2a80544a8739eee065e73cd7b. Fix this by registering the
handler both for wpa_supplicant-AP and hostapd use. [Bug 310]
Jouni Malinen [Sun, 12 Apr 2009 09:10:08 +0000 (12:10 +0300)]
wpa_supplicant AP: Fix hw_mode for 5 GHz channels
Jouni Malinen [Thu, 9 Apr 2009 20:44:39 +0000 (23:44 +0300)]
Share driver beacon configuration handlers
Jouni Malinen [Thu, 9 Apr 2009 20:28:21 +0000 (23:28 +0300)]
Merge hostapd driver init functions into one
Use a parameter structure to pass in information that can be more easily
extended in the future. Include some of the parameters that were
previously read directly from hapd->conf in order to reduce need for
including hostapd/config.h into driver wrappers.
Jouni Malinen [Thu, 9 Apr 2009 17:53:29 +0000 (20:53 +0300)]
Remove unneeded inclusion of hostapd header files
Jouni Malinen [Thu, 9 Apr 2009 17:41:21 +0000 (20:41 +0300)]
nl80211: Share common interface processing code
Jouni Malinen [Thu, 9 Apr 2009 17:20:21 +0000 (20:20 +0300)]
nl80211: Share monitor mode filtering and reading functions
Jouni Malinen [Thu, 9 Apr 2009 17:01:25 +0000 (20:01 +0300)]
Share same set_country driver op for hostapd and wpa_supplicant
Jouni Malinen [Thu, 9 Apr 2009 16:57:20 +0000 (19:57 +0300)]
Share management frame send driver op for hostapd and wpa_supplicant
The same implementation can be shared in most cases, so better share the
same driver_ops handler function.
Jouni Malinen [Thu, 9 Apr 2009 16:42:19 +0000 (19:42 +0300)]
Remove flags parameter from send_mgmt_frame() driver op
This was not documented properly and was not really used nor would it be
suitable to be used in generic way as it was implemented. It is better
to just remove the parameter since there does not seem to be any
reasonable use for it.
Jouni Malinen [Thu, 9 Apr 2009 14:10:22 +0000 (17:10 +0300)]
nl80211: Replace hostapd WEXT events with nl80211 events
This shares the nl80211 event processing with wpa_supplicant and removes
the old WEXT code from driver_nl80211.c.
Jouni Malinen [Thu, 9 Apr 2009 13:50:48 +0000 (16:50 +0300)]
nl80211: Add Michael MIC failure event processing for wpa_supplicant
Jouni Malinen [Thu, 9 Apr 2009 13:39:24 +0000 (16:39 +0300)]
Sync linux/nl80211.h with wireless-testing.git
This adds support for Michael MIC failure events and info on maximum
supported scan IE length.
Jouni Malinen [Thu, 9 Apr 2009 13:31:11 +0000 (16:31 +0300)]
nl80211: Merge hostapd and wpa_supplicant key configuration
No need to duplicate more or less identical code.
Francesco Gringoli [Thu, 9 Apr 2009 11:51:31 +0000 (14:51 +0300)]
nl80211: Fix channel 14 use
nl80211 interface has a trivial bug that prevents it to work correctly
with channel 14. Channel frequency is erroneously 2848 instead of 2484.
To correct it just apply this patch. [Bug 308]
Jouni Malinen [Thu, 9 Apr 2009 11:11:39 +0000 (14:11 +0300)]
Use common get_hw_feature_data for hostapd and wpa_supplicant
This merges the driver wrapper implementations to use the same
implementation both for hostapd and wpa_supplicant operations to avoid
code duplication.
Jouni Malinen [Thu, 9 Apr 2009 10:40:12 +0000 (13:40 +0300)]
Merge wpa_supplicant and hostapd driver wrapper implementations
This commit merges the driver_ops structures and implementations from
hostapd/driver*.[ch] into src/drivers. This is only an initial step and
there is room for number of cleanups to share code between the hostapd
and wpa_supplicant parts of the wrappers to avoid unnecessary source
code duplication.
Jouni Malinen [Mon, 6 Apr 2009 12:02:48 +0000 (15:02 +0300)]
Fix couple of forgotten wpa_hw_modes -> hostapd_hw_modes
Some build configurations resulted in failure due to missed structure
rename.
Jouni Malinen [Sat, 4 Apr 2009 13:58:16 +0000 (16:58 +0300)]
nl80211: Fix static WEP key configuration when using SME
Need to set WEP keys before requesting authentication in order to get
Shared Key authentication working. Previously, the WEP keys were not set
at all when using SME in wpa_supplicant.
Jouni Malinen [Fri, 3 Apr 2009 18:17:23 +0000 (21:17 +0300)]
nl80211: Add bridge interfaces from secondary BSSes to ifidx list
This fixes EAPOL RX for secondary BSSes that are in a bridge that does
not match with the bridge used for the primary BSS.
Jouni Malinen [Fri, 3 Apr 2009 18:04:25 +0000 (21:04 +0300)]
nl80211: Fix EAPOL frame RX for secondary BSSes
Need to figure out which BSS should process the frame based on the
source address (STA/Supplicant MAC address).
Jouni Malinen [Fri, 3 Apr 2009 17:55:19 +0000 (20:55 +0300)]
nl80211: Remove dead code
The EAPOL packet socket is not bound to a specific ifindex, so no need
to setup the address for a bind() call that is not here anyway.
Jouni Malinen [Fri, 3 Apr 2009 17:44:03 +0000 (20:44 +0300)]
nl80211: Remove unuset set_privacy() and set_internal_bridge()
Jouni Malinen [Fri, 3 Apr 2009 17:40:07 +0000 (20:40 +0300)]
Mark STA authorized if IEEE 802.1X and WPA is not used
This fixes multi-BSS configuration with driver_nl80211.c to mark STAs
that use secondary BSSes with open/static WEP without having to make
driver_nl80211.c track 802.1X configuration for each BSS.
Jouni Malinen [Fri, 3 Apr 2009 17:14:39 +0000 (20:14 +0300)]
Fix some multi-BSSID configuration operations
Static WEP keys were configured only for the first BSS. In addition,
STAs were flushed only for the first BSS. These operations should be in
hostapd_setup_bss(), not setup_interface().
Remove extra call to ieee802_11_set_beacon() for the first BSS. This
should only be done from hostapd_setup_bss(), i.e., once for each BSS.
Jouni Malinen [Fri, 3 Apr 2009 16:11:22 +0000 (19:11 +0300)]
wpa_supplicant AP: Add get_hw_feature_data
This is enough to allow open mode association to be completed with
driver_nl80211.c.
Jouni Malinen [Fri, 3 Apr 2009 16:04:20 +0000 (19:04 +0300)]
Share same hw_feature definitions between hostapd and wpa_supplicant
Jouni Malinen [Fri, 3 Apr 2009 13:53:09 +0000 (16:53 +0300)]
Set own MAC address in AP data structures
Jouni Malinen [Fri, 3 Apr 2009 13:45:09 +0000 (16:45 +0300)]
Implement management frame TX for wpa_supplicant AP mode
Jouni Malinen [Fri, 3 Apr 2009 13:35:46 +0000 (16:35 +0300)]
Fix driver_ops function documentation
Jouni Malinen [Fri, 3 Apr 2009 08:59:08 +0000 (11:59 +0300)]
Remove unused driver_ops
get_rts, get_frag, get_retry, and set_key_tx_rx_threshold were not used
anywhere, so get rid of them.
Jouni Malinen [Fri, 3 Apr 2009 08:51:40 +0000 (11:51 +0300)]
Merge wireless_event_{,de}init() into {,de}init() driver op
Jouni Malinen [Thu, 2 Apr 2009 18:59:14 +0000 (21:59 +0300)]
wpa_supplicant AP: Add management frame RX for nl80211
Jouni Malinen [Thu, 2 Apr 2009 16:54:13 +0000 (19:54 +0300)]
Fix RSN parameter setting for multi-BSS case
rsn_pairwise and wpa_group were set properly only for the last BSS, but
they do need to be set for all BSSes.
Jouni Malinen [Thu, 2 Apr 2009 13:09:48 +0000 (16:09 +0300)]
Add Beacon configuration for wpa_supplicant AP mode
Jouni Malinen [Thu, 2 Apr 2009 13:05:21 +0000 (16:05 +0300)]
Merge set_dtim_period() into set_beacon()
No need for a separate driver_ops handler for setting DTIM period since
this is always set at the same time with the Beacon data. Beacon
interval is still set separately since it is consider per-radio
parameter (Beacon data and DTIM period are per-BSS parameters).
Jouni Malinen [Wed, 1 Apr 2009 14:14:07 +0000 (17:14 +0300)]
nl80211: Add IGTK (AES-128-CMAC) configuration
This was somehow forgotten from IEEE 802.11w/MFP patches from
wpa_supplicant -Dnl80211.
Jouni Malinen [Wed, 1 Apr 2009 14:10:36 +0000 (17:10 +0300)]
SME: Add processing for rejected associations
Jouni Malinen [Wed, 1 Apr 2009 09:04:36 +0000 (12:04 +0300)]
Fix SHA-256-based KDF when using CCMP as the pairwise cipher
IEEE 802.11r KDF uses key length in the derivation and as such, the PTK
length must be specified correctly. The previous version was deriving
using 512-bit PTK regardless of the negotiated cipher suite; this works
for TKIP, but not for CCMP. Update the code to use proper PTK length
based on the pairwise cipher.
This fixed PTK derivation for both IEEE 802.11r and IEEE 802.11w (when
using AKMP that specifies SHA-256-based key derivation). The fixed
version does not interoperate with the previous versions. [Bug 307]
Jouni Malinen [Tue, 31 Mar 2009 12:25:10 +0000 (15:25 +0300)]
nl80211: Remove forgotten comment about SIOCSIWMODE
Jouni Malinen [Tue, 31 Mar 2009 11:25:15 +0000 (14:25 +0300)]
nl80211: Remove SIOCGIWRANGE and assume TKIP+CCMP+WPA+WPA2
All currently known drivers that use nl80211/cfg80211 support these, so
no need to use old WEXT ioctl for figuring out capabilities.
Jouni Malinen [Tue, 31 Mar 2009 11:14:16 +0000 (14:14 +0300)]
nl80211: Remove WEXT Michael MIC event processing
mac80211 does not use this type of Michael MIC event, so this is not
really used and proper Michael MIC failure processing will be added
using an nl80211 event once that gets added into wireless-testing.git.
Jouni Malinen [Tue, 31 Mar 2009 11:09:30 +0000 (14:09 +0300)]
nl80211: Remove WEXT_COMPAT
It looks like both new nl80211 operations (scan and auth/assoc) end up
being added in Linux 2.6.30, so we do not need to maintain the backwards
compatibility code in wpa_supplicant.
Jouni Malinen [Mon, 30 Mar 2009 16:00:55 +0000 (19:00 +0300)]
WPS: Fix local configuration update after AP configuration
Update credential to only include a single authentication and
encryption type in case the AP configuration includes more than one
option. Without this, the credential would be rejected if the AP was
configured to allow more than one authentication type.
Jouni Malinen [Mon, 30 Mar 2009 15:48:41 +0000 (18:48 +0300)]
WPS: Fix hostapd runtime WPS configuration after Enrollee run
If the AP is configured with WPS, we need to update the local WPS data
in order to provide correct credentials for Enrollees.
Jouni Malinen [Mon, 30 Mar 2009 14:55:37 +0000 (17:55 +0300)]
Make channel number available to set_freq()
Since we have the channel number, we could as well pass it to the driver
wrapper should there be drivers that use channel number instead of
frequency.
Jouni Malinen [Fri, 27 Mar 2009 15:13:54 +0000 (17:13 +0200)]
Add needed AP driver wrappers (most of which are still to-do)
Jouni Malinen [Fri, 27 Mar 2009 14:45:47 +0000 (16:45 +0200)]
Set hostapd configuration based on wpa_supplicant AP mode config
Jouni Malinen [Fri, 27 Mar 2009 14:10:14 +0000 (16:10 +0200)]
Update driver SSID and 802.1X/WPA parameters on configuration reload
This is needed for WPS AP reconfiguration with driver wrappers that do
not use hostapd MLME.