path: root/wpa_supplicant/driver_i.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused driver_ops client MLME functionsJouni Malinen2011-10-231-47/+0
| | | | | | | | These driver_ops functions set_channel, set_ssid, set_bssid, mlme_add_sta, and mlme_remove_sta were used with the user space MLME implementation in wpa_supplicant. That was only for testing purposes and was removed, but these driver_ops were forgotten. Remove them now to remove confusing driver_ops definitions.
* Remove set_intra_bss() driver_opsJouni Malinen2011-10-171-8/+0
| | | | | This has been replaced by the isolate parameter available through set_ap() calls.
* Add scheduled scan driver operationsLuciano Coelho2011-10-151-0/+17
| | | | | | | | | | | In new Linux kernel versions (>=3.0), nl80211 adds scheduled scan capability. In order to use this feature to its full extent, we need to support it in the wpa_supplicant core, so that it can also be used by other drivers. This commit adds initial scheduled scan support operations and events. Signed-off-by: Luciano Coelho <coelho@ti.com>
* Replace set_beacon() driver op with set_ap()Jouni Malinen2011-08-101-9/+5
| | | | | | | | This change is a first step in better supporting different driver architectures for AP mode operations with nl80211. This commit in itself does not add new functionality, but it makes it easier to add new AP mode parameters to address needs of drivers that have more of the MLME/SME in firmware or kernel.
* nl80211: Support GTK rekey offloadJohannes Berg2011-07-121-0/+9
| | | | | | | | Add support to wpa_supplicant for device-based GTK rekeying. In order to support that, pass the KEK, KCK, and replay counter to the driver, and handle rekey events that update the latter. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* nl80211: Send EAPOL frames as QoS data frames for QoS aware clientsFelix Fietkau2011-04-021-2/+2
| | | | | | | | | | | 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.
* driver: Function to directly poll signal qualityPaul Stewart2011-03-311-0/+8
| | | | | | | | | This provides a means for the supplicant to directly request signal quality metrics from the driver. This is useful, for example for background scan algorithms that might ask desire this information out-of-band with CQM events. Signed-off-by: Paul Stewart <pstew@google.com>
* nl80211: Extend bridge add/del operations for secondary BSSesJouni Malinen2011-03-151-2/+2
| | | | | Previously, only the main interface was added to a bridge. Extend this to apply to all configured BSSes.
* TDLS: Add initial support for TDLS (IEEE Std 802.11z-2010)Ganesh Prasadh2011-03-061-0/+20
* P2P: Add initial support for driver-based P2P managementJouni Malinen2010-12-301-0/+129
| | | | | | This adds partial callbacks and events to allow P2P management to be implemented in a driver/firmware. This is not yet complete and is very much subject to change in the future.
* P2P: Add option for offloading off-channel TX to the driverJohannes Berg2010-12-291-2/+9
| | | | | | | | | With the new kernel functionality coming to Linux to allow off-channel TX, we can take advantage of that in the P2P code that currently uses remain-on-channel. If a driver advertises support for it, it will be asked to handle off-channel TX by itself. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* WPS 2.0: Provide (Re)Association Response WPS IE to driverJouni Malinen2010-09-221-2/+3
| | | | | | | | | | 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().
* P2P: Add option for disabling intra BSS distributionSudhakar Swaminathan2010-09-101-0/+8
| | | | | | p2p_intra_bss configuration parameter can now be used to disable/enable intra BSS distribution (bridging of frames between the clients in a group).
* Add test command for disabling/enabling A-MPDU aggregationJouni Malinen2010-09-091-0/+7
| | | | | ctrl_iface command "SET ampdu <0/1>" can now be used to disable/enable A-MPDU aggregation.
* P2P: Disable periodic NoA when non-P2P STA is connectedJouni Malinen2010-09-091-8/+0
| | | | | | For now, this applies to the test command that can be used to set periodic NoA (p2p_set noa). The value are stored and periodic NoA is enabled whenever there are no non-P2P STAs connected to the GO.
* P2P: Implement power save configurationJouni Malinen2010-09-091-0/+10
| | | | | | wpa_cli p2p_set ps <0/1/2> wpa_cli p2p_set oppps <0/1> wpa_cli p2p_set ctwindow <0..> msec
* P2P: Add driver operations for P2P useJouni Malinen2010-09-091-0/+31
* Started to make set_ap_wps_ie() capable of adding multiple IEsJouni Malinen2010-04-111-0/+10
| | | | | | This mechanism can be used to add various IEs to Beacon and Probe Response frames and it should be made clear that it is not reserved only for WPS IE.
* Simplify driver_ops for virtual interface add/removeJouni Malinen2010-04-111-9/+15
| | | | | | | | | | There is no absolute requirement for separating address allocation into separate functions, so simplify the driver wrapper interface to use just if_add and if_remove instead of adding the new alloc_interface_addr() and release_interface_addr() functions. if_add() can now indicate if the driver forced a different interface name or address on the virtual interface.
* Add driver command and event for signal strength monitoringJouni Malinen2010-03-281-0/+9
* Remove unnecessary ifname parameter to sta_set_flags() driver opJouni Malinen2010-03-071-2/+1
* Remove unnecessary ifname parameter from sta_add() driver opJouni Malinen2010-03-071-2/+1
* Remove forgotten ifname parameter from set_beacon() callJouni Malinen2010-03-071-2/+1
* hostapd: add ifname to the sta_set_flags callbackFelix Fietkau2010-03-061-1/+2
| | | | | This fixes multi-BSS STA operations (e.g., setting AUTHORIZED flag) with nl80211-based drivers.
* Add suspend/resume notificationsJouni Malinen2010-02-271-0/+12
| | | | | | wpa_supplicant can now be notified of suspend/resume events, e.g., from pm-action scripts. This allows wpa_supplicant to clear information that may become invalid during a suspend operation.
* Add alloc_interface_addr() drv op option for specifying ifnameJouni Malinen2010-02-161-2/+2
| | | | | | Some drivers may need to use a specific ifname for the virtual interface, so allow them to do this with a new parameter passed to the alloc_interface_addr() handler.
* Add deinit_ap driver op to help wpa_supplicant AP mode useJouni Malinen2010-01-161-0/+7
* Add BSSID to TX/RX Action frame driver opsJouni Malinen2010-01-161-1/+12
| | | | This meets better the needs for various Public Action frame use cases.
* Add driver API functionality for off-channel Action framesJouni Malinen2010-01-031-0/+30
| | | | | | | | | This adds new commands and events for allowing off-channel Action frame exchanges to be requested. This functionality is not yet used and is only fully supported by driver_test.c at this point. driver_nl80211.c has support for the remain-on-channel commands, but the Action frame TX/RX part is still pending review for the kernel code and as such, is not yet included here.
* Add driver ops for allocating interface addressesJouni Malinen2010-01-031-0/+16
| | | | | | This adds placeholder code for allowing the virtual interfaces to be pre-allocated a MAC address before the interface type is known with drivers that do not handle interface type changes.
* Add a driver op for enabling Probe Request reporting in station modeJouni Malinen2010-01-031-0/+9
* Get rid of unnecessary typedefs for enums.Jouni Malinen2009-12-261-3/+4
* Fix init2() driver_ops to get the correct global driver contextJouni Malinen2009-11-281-1/+2
| | | | | Need to provide the private driver context, not the wpa_supplicant global context, in init2() call.
* Remove obsoleted get_scan_results() driver_opsJouni Malinen2009-11-231-11/+0
| | | | | This has now been replaced with get_scan_results2() in every in-tree driver.
* Remove deprecated scan and set_probe_req_ie driver_opsJouni Malinen2009-11-231-13/+0
| | | | | These have been replaced with scan2 driver_ops that provides all parameters in a single call.
* Remove deprecated driver_ops handlersJouni Malinen2009-11-231-36/+0
| | | | | | This gets rid of previously deprecated driver_ops handlers set_wpa, set_drop_unencrypted, set_auth_alg, set_mode. The same functionality can be achieved by using the init/deinit/associate handlers.
* Merge set_key and hapd_set_key driver_ops into a single functionJouni Malinen2009-11-231-3/+3
* Merge set_beacon driver_ops into a single oneJouni Malinen2009-11-231-11/+4
| | | | | | Clean up driver interface by merging hostapd and wpa_supplicant specific set_beacon driver_ops into a single one. In addition, merge set_beacon_int into to the same operation.
* Add new wpa_supplicant driver op for setting 802.1X port statusJouni Malinen2009-04-221-0/+10
| | | | | This can be used with drivers that implement PAE to control whether normal data frames (non-EAPOL) are allowed.
* wpa_supplicant AP: Add sta_set_flagsJouni Malinen2009-04-201-0/+11
* wpa_supplicant AP: Add EAPOL frame TX and RXJouni Malinen2009-04-201-0/+12
| | | | This allows WPA-Personal 4-way handshake to be completed successfully.
* wpa_supplicant AP: add sta_add() and sta_remove()Jouni Malinen2009-04-171-0/+17
* Share same hw_feature definitions between hostapd and wpa_supplicantJouni Malinen2009-04-031-2/+2
* Add Beacon configuration for wpa_supplicant AP modeJouni Malinen2009-04-021-0/+20
* Add preliminary hostapd data structure initialization for AP modeJouni Malinen2009-03-261-0/+381
wpa_supplicant can now initialize hostapd data structures when mode=2 is used to set up an AP. The hostapd configuration is not yet set based on wpa_supplicant network configuration block. In addition, the glue code for hostapd driver_ops needs number of functions that will be needed for AP functionality.