aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/driver_i.h
Commit message (Collapse)AuthorAgeFilesLines
* HT: Remove unneeded struct ht_cap_ie wrapperJouni Malinen2009-11-291-1/+1
| | | | | It is simpler to just use the HT Capabilities IE payload structure as-is.
* Remove deprecated driver_ops handlersJouni Malinen2009-11-231-7/+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-4/+4
|
* Merge set_beacon driver_ops into a single oneJouni Malinen2009-11-231-13/+6
| | | | | | 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.
* Remove unused set_broadcast_ssid() driver opJouni Malinen2009-04-221-8/+0
| | | | | | 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.
* Remove the unused set_ieee80211d driver opJouni Malinen2009-04-221-9/+0
| | | | | | 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.
* Remove unused set_retry() driver opJouni Malinen2009-04-211-9/+0
|
* hostapd: Remove unused passive scan functionalityJouni Malinen2009-04-171-11/+0
| | | | | | | 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.
* Provide own_addr buffer in hapd_init() parametersJouni Malinen2009-04-171-0/+3
| | | | | This reduces number of places in driver wrapper that would need to dereference struct hostapd_data pointer directly.
* Add own_addr as a parameter to sta_deauth() and sta_disassoc()Jouni Malinen2009-04-171-2/+4
| | | | | | 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.
* Clean up HT40 scan and share nl80211 scanning codeJouni Malinen2009-04-161-6/+20
| | | | | | | | | | | | 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.
* Share driver beacon configuration handlersJouni Malinen2009-04-091-2/+2
|
* Merge hostapd driver init functions into oneJouni Malinen2009-04-091-8/+26
| | | | | | | 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.
* Share same set_country driver op for hostapd and wpa_supplicantJouni Malinen2009-04-091-2/+2
|
* Share management frame send driver op for hostapd and wpa_supplicantJouni Malinen2009-04-091-2/+2
| | | | | The same implementation can be shared in most cases, so better share the same driver_ops handler function.
* Remove flags parameter from send_mgmt_frame() driver opJouni Malinen2009-04-091-3/+2
| | | | | | | 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.
* Use common get_hw_feature_data for hostapd and wpa_supplicantJouni Malinen2009-04-091-4/+3
| | | | | | This merges the driver wrapper implementations to use the same implementation both for hostapd and wpa_supplicant operations to avoid code duplication.
* Merge wpa_supplicant and hostapd driver wrapper implementationsJouni Malinen2009-04-091-30/+35
| | | | | | | | 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.
* Remove unused driver_opsJouni Malinen2009-04-031-34/+0
| | | | | get_rts, get_frag, get_retry, and set_key_tx_rx_threshold were not used anywhere, so get rid of them.
* Merge wireless_event_{,de}init() into {,de}init() driver opJouni Malinen2009-04-031-18/+0
|
* Merge set_dtim_period() into set_beacon()Jouni Malinen2009-04-021-12/+3
| | | | | | | 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).
* Make channel number available to set_freq()Jouni Malinen2009-03-301-2/+3
| | | | | | 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.
* Move hostapd driver_ops to use similar set_key with wpa_supplicantJouni Malinen2009-03-251-6/+8
|
* Replace deprecated add_sta() with add_sta2()Jouni Malinen2009-03-251-19/+13
|
* Remove deprecated version of set_freq() and rename the new versionJouni Malinen2009-03-251-11/+7
|
* Remove unused set_assoc_ap() wpa_driver_opsJouni Malinen2009-03-251-8/+0
| | | | | The need for this was removed with the experimental hostapd-as-a-client-STA functionality.
* Include config.h explicitly into files that actually use itJouni Malinen2009-03-251-0/+1
| | | | hostapd.h does not need to include config.h.
* 802.11n: scan for overlapping BSSes before starting 20/40 MHz channelJouni Malinen2009-02-041-0/+8
| | | | | | | | | Try to match PRI/SEC channel with neighboring 20/40 MHz BSSes per IEEE 802.11n/D7.0 11.14.3.2. This is not yet complete implementation, but at least some parts of the 40 MHz coex are improved. 40 MHz operation maybe rejected (i.e., fall back to using 20 MHz) or pri/sec channels may be switched if needed.
* Removed unused set_regulatory_domain driver functionJouni Malinen2009-01-131-9/+0
|
* Split hostapd/driver.h into two filesJouni Malinen2009-01-081-0/+619
driver.h contains the definitions needed in driver wrapper implementations (driver_*.c) and driver_i.h contains the definitions that are used in core hostapd code to interact with the driver wrappers.