]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
hostapd: Make hostapd_set_freq_params() public
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Mon, 25 Nov 2013 19:16:14 +0000 (20:16 +0100)
committerJouni Malinen <j@w1.fi>
Sun, 8 Dec 2013 04:50:15 +0000 (20:50 -0800)
Signed-hostap: Janusz Dziedzic <janusz.dziedzic@tieto.com>

src/ap/ap_drv_ops.c
src/ap/ap_drv_ops.h

index 0dc0600f20f9cfcea843fb3fe23702bdabaef001..09b5f68b1667b20b8c8a8221e6b64e946589bb5e 100644 (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 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;
 
index 1eab939f88e499a3526c9248a825df099172fc4a..b5f6a020e85311d32d48f0bd55648ed2a77a7a63 100644 (file)
@@ -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"