aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ap_drv_ops.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-01-03 14:59:14 (GMT)
committerJouni Malinen <j@w1.fi>2015-01-03 16:24:20 (GMT)
commit4e8f31e2ef599fbe350f4cf39ecc8f2a2e818bd6 (patch)
tree16496ab48bafb6e5c47e9722dd359c45bddb1d54 /src/ap/ap_drv_ops.c
parent421cb6a98bed477799c8631f23f81880325a4127 (diff)
downloadhostap-4e8f31e2ef599fbe350f4cf39ecc8f2a2e818bd6.zip
hostap-4e8f31e2ef599fbe350f4cf39ecc8f2a2e818bd6.tar.gz
hostap-4e8f31e2ef599fbe350f4cf39ecc8f2a2e818bd6.tar.bz2
doc: Extend driver.h documentation
This documents some more parts of the driver wrapper interface. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/ap/ap_drv_ops.c')
-rw-r--r--src/ap/ap_drv_ops.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ap/ap_drv_ops.c b/src/ap/ap_drv_ops.c
index 7486fda..8514cbe 100644
--- a/src/ap/ap_drv_ops.c
+++ b/src/ap/ap_drv_ops.c
@@ -477,7 +477,8 @@ int hostapd_flush(struct hostapd_data *hapd)
}
-int hostapd_set_freq_params(struct hostapd_freq_params *data, int mode,
+int hostapd_set_freq_params(struct hostapd_freq_params *data,
+ enum hostapd_hw_mode mode,
int freq, int channel, int ht_enabled,
int vht_enabled, int sec_channel_offset,
int vht_oper_chwidth, int center_segment0,
@@ -562,8 +563,8 @@ int hostapd_set_freq_params(struct hostapd_freq_params *data, int mode,
}
-int hostapd_set_freq(struct hostapd_data *hapd, int mode, int freq,
- int channel, int ht_enabled, int vht_enabled,
+int hostapd_set_freq(struct hostapd_data *hapd, enum hostapd_hw_mode 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)
{
@@ -748,7 +749,8 @@ int hostapd_drv_send_action(struct hostapd_data *hapd, unsigned int freq,
}
-int hostapd_start_dfs_cac(struct hostapd_iface *iface, int mode, int freq,
+int hostapd_start_dfs_cac(struct hostapd_iface *iface,
+ enum hostapd_hw_mode 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)