aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_atheros.c
Commit message (Collapse)AuthorAgeFilesLines
* WEXT: Use linux/wireless.h instead of wireless_copy.hJouni Malinen2011-11-151-1/+1
| | | | | | | | WEXT is not really changing anymore and more or less all Linux distros come with linux/wireless.h that is recent enough to allow the driver wrappers to be build. Signed-hostap: Jouni Malinen <j@w1.fi>
* atheros: Add a placeholder function for set_ap() driver_opsJouni Malinen2011-10-171-0/+29
|
* atheros: Add debug hexdumps for IE configurationJouni Malinen2011-10-171-2/+17
|
* atheros: Allow flattened driver include file directoriesMathieu Olivari2011-09-261-1/+1
| | | | | Remove the full driver path to the driver header file to make it easier to use common include directory for all driver headers.
* atheros: Fix WEXT SIOCGIWESSID use with WE-21 and newerSubrat Dash2011-09-221-0/+2
| | | | | | The "too long" buffer (32+1 octets) prevented AP from starting up with 32 octet SSID with WE-21 and newer. Fix this by reducing the SIOCGIWESSID buffer length.
* P2P: Filter Probe Request frames based on DA and BSSID in Listen stateJouni Malinen2011-07-151-0/+2
| | | | | | Only accept Probe Request frames that have a Wildcard BSSID and a destination address that matches with our P2P Device Address or is the broadcast address per P2P specification 3.1.2.1.1.
* atheros: Fix glibc 'invalid pointer' error when WPA_TRACE is enabledBaruch Siach2011-06-251-1/+1
| | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il>
* atheros: Fix auth_alg configuration for static WEPKen Zhu2011-05-201-0/+18
| | | | | When IEEE 802.1X is not enabled, driver_atheros.c needs to know how to set authentication algorithms for static WEP.
* atheros: Add support for IEEE 802.11w configurationMahesh Palivela2011-04-081-0/+13
|
* nl80211: Send EAPOL frames as QoS data frames for QoS aware clientsFelix Fietkau2011-04-021-1/+1
| | | | | | | | | | | This should fix EAPOL reauthentication and rekeying timeout issues with Intel clients when using WMM (e.g., with IEEE 802.11n). These stations do not seem to be able to handle EAPOL data frames as non-QoS Data frames after the initial setup. This adds STA flags to hapd_send_eapol() driver op to allow driver_nl80211.c to mark the EAPOL frames as QoS Data frame when injecting it through the monitor interface.
* atheros: Fix default TX key index setting for WEPKen Zhu2011-03-111-1/+2
|
* atheros: Add support for setting RSN/WPS IEs in Beacon/Probe RespShan Palanisamy2011-03-061-7/+66
|
* Indicate assoc vs. reassoc in association eventShan Palanisamy2011-03-061-1/+1
| | | | | | This allows driver wrappers to indicate whether the association was done using Association Request/Response or with Reassociation Request/Response frames.
* Use set_key addr to distinguish default and multicast keysJouni Malinen2011-01-091-1/+1
| | | | | | | | Previously, both NULL and ff:ff:ff:ff:ff:ff addr were used in various places to indicate default/broadcast keys. Make this more consistent and useful by defining NULL to mean default key (i.e., used both for unicast and broadcast) and ff:ff:ff:ff:ff:ff to indicate broadcast key (i.e., used only with broadcast).
* atheros: Rename "madwifi_" prefix to "atheros_"Shan Palanisamy2010-12-301-103/+103
|
* atheros: Remove debug for ioctls that are not used anymoreShan Palanisamy2010-10-271-8/+0
| | | | This is needed to fix build with a newer driver version.
* atheros: Prefer WSC IE in (Re)Association Request frameJouni Malinen2010-09-251-0/+14
| | | | | This is needed to work properly with WPS stations that may include both WPA/RSN IE and WSC IE when associating for WPS provisioning.
* WPS 2.0: Provide (Re)Association Response WPS IE to driverJouni Malinen2010-09-221-1/+5
| | | | | | | | | | WPS 2.0 mandates the AP to include WPS IE in (Re)Association Response if the matching (Re)Association Request included WPS IE. Provide the needed WPS IE information to the driver_ops API for drivers that process association frames internally. Note: This modifies the driver_ops API by adding a new argument to set_ap_wps_ie().
* atheros: Use larger buffer for WSC IE changesJouni Malinen2010-09-091-1/+1
| | | | | | This resolves issues in updating Beacon/Probe Response frame IEs in a case where the value may be long enough to get fragmented into multiple IEs.
* atheros: Fix driver deinit function to be runJouni Malinen2010-09-051-1/+1
| | | | hostapd uses hapd_deinit(), not deinit() wpa_driver_ops.
* atheros: Deinit l2_packet sock_xmit on error pathJouni Malinen2010-09-051-0/+2
|
* atheros: Fix WPA/802.1X disabling to clear Privacy flagJouni Malinen2010-05-281-2/+6
| | | | | | Setting IEEE80211_PARAM_AUTHMODE to IEEE80211_AUTH_AUTO ends up enabling Privacy mode in the driver. We need to clear that to allow hostapd to be reconfigured into open mode.
* atheros: Restore ATH_WPS_IE definition and commentJouni Malinen2010-04-171-0/+6
|
* atheros: Add more robust and complete debug info for ioctl failuresJouni Malinen2010-04-171-36/+110
|
* atheros: Update to build with the current driver versionJouni Malinen2010-04-171-18/+4
|
* Remove unnecessary ifname parameter from set_ap_wps_ie() driver opJouni Malinen2010-03-071-2/+1
|
* Remove unnecessary ifname parameter to sta_set_flags() driver opJouni Malinen2010-03-071-1/+1
|
* Remove unnecessary ifname parameter from hapd_get_ssid/hapd_set_ssidJouni Malinen2010-03-071-2/+2
|
* Remove unnecessary ifname parameter from set_generic_elem() driver opJouni Malinen2010-03-071-1/+1
|
* Remove unneeded ifname parameter from set_privacy() driver opJouni Malinen2010-03-071-2/+2
|
* hostapd: add ifname to the sta_set_flags callbackFelix Fietkau2010-03-061-2/+2
| | | | | This fixes multi-BSS STA operations (e.g., setting AUTHORIZED flag) with nl80211-based drivers.
* hostapd: Detect bridge interface automaticallyJouni Malinen2010-01-161-0/+8
| | | | | | | | | | | This makes the bridge parameter unnecessary for cases where the interface is already in a bridge and sysfs is mounted to /sys so that the detection code works. For nl80211, the bridge parameter can be used to request the AP interface to be added to the bridge automatically (brctl may refuse to do this before hostapd has been started to change the interface mode). If needed, the bridge interface is also created.
* Share a single Linux ioctl helper fo setting interface up/downJouni Malinen2010-01-031-36/+6
| | | | | | Number of Linux driver wrappers included this more or less identical function, so lets add a new helper file to be able to share some more code between the driver wrappers.
* Add drv_event_eapol_rx() helperJouni Malinen2010-01-031-6/+2
|
* Use generic driver event notification for AP mode assoc/disassocJouni Malinen2010-01-031-7/+5
|
* Use driver event, EVENT_EAPOL_RX, for EAPOL frame indicationJouni Malinen2010-01-031-3/+6
|
* Replace hostapd_probe_req_rx() with EVENT_RX_PROBE_REQ driver eventJouni Malinen2010-01-031-7/+7
|
* Get rid of unnecessary typedefs for enums.Jouni Malinen2009-12-261-3/+3
|
* Merge driver ops set_wps_beacon_ie and set_wps_probe_resp_ieJouni Malinen2009-12-241-14/+12
| | | | | | | set_ap_wps_ie() is not used to set WPS IE for both Beacon and Probe Response frames with a single call. In addition, struct wpabuf is used instead of separate u8* and length fields. This avoids duplicated allocation of the IEs and simplifies code in general.
* Change Linux driver wrappers to use shared netlink receive codeJouni Malinen2009-12-181-96/+18
|
* Fix netlink payload length calculationJouni Malinen2009-12-181-1/+1
| | | | nlmsghdr length needs to be removed from payload length. [Bug 341]
* Replace hostapd_button_pushed() with generic driver eventJouni Malinen2009-12-131-1/+1
|
* Replace hostapd_michael_mic_failure() with generic driver eventJouni Malinen2009-12-131-1/+6
|
* Map STA flags into values defined in driver.hJouni Malinen2009-12-131-3/+2
| | | | | | This removes need for including hostapd/sta_flags.h into driver wrappers and removes any remaining dependencies between driver flags and internal hostapd flags.
* Add more WPA/IEEE 802.1X parameters into set_ieee8021x() driver opJouni Malinen2009-12-121-30/+25
| | | | | This gets rid of the need to touch internal hostapd data structures directly from the driver wrappers.
* Change set_ieee8021x driver op to use parameters structureJouni Malinen2009-12-121-1/+2
| | | | | This makes it easier to extent the set of parameters passed to this driver wrapper function.
* Add driver wrapper callback for WPS push button pressedJouni Malinen2009-11-291-3/+1
| | | | | This avoids the need to include ../hostapd/wps_hostapd.h into the driver wrappers.
* Remove src/common from default header file pathJouni Malinen2009-11-291-1/+1
| | | | | | | | | | This makes it clearer which files are including header from src/common. Some of these cases should probably be cleaned up in the future not to do that. In addition, src/common/nl80211_copy.h and wireless_copy.h were moved into src/drivers since they are only used by driver wrappers and do not need to live in src/common.
* Merge set_key and hapd_set_key driver_ops into a single functionJouni Malinen2009-11-231-1/+1
|
* Remove unneeded set-MTU operation from driversJouni Malinen2009-11-231-11/+0
| | | | | | This code was copied from driver_hostap.c where it is used with the special wlan#ap interface. It was not supposed to be used to change the MTU for a normal data interface.