hostapd: Make hostapd_set_freq_params() public

Signed-hostap: Janusz Dziedzic <janusz.dziedzic@tieto.com>
This commit is contained in:
Janusz Dziedzic 2013-11-25 20:16:14 +01:00 committed by Jouni Malinen
parent b72f949b07
commit 6c6c58d157
2 changed files with 11 additions and 5 deletions

View file

@ -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 hostapd_set_freq_params(struct hostapd_freq_params *data, int mode,
int freq, int channel, int ht_enabled, int freq, int channel, int ht_enabled,
int vht_enabled, int sec_channel_offset, int vht_enabled, int sec_channel_offset,
int vht_oper_chwidth, int center_segment0, int vht_oper_chwidth, int center_segment0,
int center_segment1, u32 vht_caps) int center_segment1, u32 vht_caps)
{ {
int tmp; int tmp;

View file

@ -14,6 +14,7 @@ struct wpa_bss_params;
struct wpa_driver_scan_params; struct wpa_driver_scan_params;
struct ieee80211_ht_capabilities; struct ieee80211_ht_capabilities;
struct ieee80211_vht_capabilities; struct ieee80211_vht_capabilities;
struct hostapd_freq_params;
u32 hostapd_sta_flags_to_drv(u32 flags); u32 hostapd_sta_flags_to_drv(u32 flags);
int hostapd_build_ap_extra_ies(struct hostapd_data *hapd, 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 channel, int ht_enabled, int vht_enabled,
int sec_channel_offset, int vht_oper_chwidth, int sec_channel_offset, int vht_oper_chwidth,
int center_segment0, int center_segment1); 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" #include "drivers/driver.h"