From 6c6c58d157912b93929e2a5a956e8a06573eb229 Mon Sep 17 00:00:00 2001 From: Janusz Dziedzic Date: Mon, 25 Nov 2013 20:16:14 +0100 Subject: [PATCH] hostapd: Make hostapd_set_freq_params() public Signed-hostap: Janusz Dziedzic --- src/ap/ap_drv_ops.c | 10 +++++----- src/ap/ap_drv_ops.h | 6 ++++++ 2 files changed, 11 insertions(+), 5 deletions(-) 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"