From: Janusz Dziedzic Date: Mon, 25 Nov 2013 19:16:14 +0000 (+0100) Subject: hostapd: Make hostapd_set_freq_params() public X-Git-Tag: hostap_2_1~460 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c6c58d157912b93929e2a5a956e8a06573eb229;p=thirdparty%2Fhostap.git hostapd: Make hostapd_set_freq_params() public Signed-hostap: Janusz Dziedzic --- diff --git a/src/ap/ap_drv_ops.c b/src/ap/ap_drv_ops.c index 0dc0600f2..09b5f68b1 100644 --- a/src/ap/ap_drv_ops.c +++ b/src/ap/ap_drv_ops.c @@ -464,11 +464,11 @@ int hostapd_flush(struct hostapd_data *hapd) } -static int hostapd_set_freq_params(struct hostapd_freq_params *data, int mode, - int freq, int channel, int ht_enabled, - int vht_enabled, int sec_channel_offset, - int vht_oper_chwidth, int center_segment0, - int center_segment1, u32 vht_caps) +int hostapd_set_freq_params(struct hostapd_freq_params *data, int mode, + int freq, int channel, int ht_enabled, + int vht_enabled, int sec_channel_offset, + int vht_oper_chwidth, int center_segment0, + int center_segment1, u32 vht_caps) { int tmp; diff --git a/src/ap/ap_drv_ops.h b/src/ap/ap_drv_ops.h index 1eab939f8..b5f6a020e 100644 --- a/src/ap/ap_drv_ops.h +++ b/src/ap/ap_drv_ops.h @@ -14,6 +14,7 @@ struct wpa_bss_params; struct wpa_driver_scan_params; struct ieee80211_ht_capabilities; struct ieee80211_vht_capabilities; +struct hostapd_freq_params; u32 hostapd_sta_flags_to_drv(u32 flags); int hostapd_build_ap_extra_ies(struct hostapd_data *hapd, @@ -105,6 +106,11 @@ int hostapd_start_dfs_cac(struct hostapd_iface *iface, int mode, int freq, int channel, int ht_enabled, int vht_enabled, int sec_channel_offset, int vht_oper_chwidth, int center_segment0, int center_segment1); +int hostapd_set_freq_params(struct hostapd_freq_params *data, int mode, + int freq, int channel, int ht_enabled, + int vht_enabled, int sec_channel_offset, + int vht_oper_chwidth, int center_segment0, + int center_segment1, u32 vht_caps); #include "drivers/driver.h"