From 9f27e5d7d19027ddf8f29c5a6a321912e7c2f9dd Mon Sep 17 00:00:00 2001 From: Mikael Kanstrup Date: Sun, 7 Feb 2016 00:40:51 +0100 Subject: dumpcap: Add support for 802.11ac monitor modes Add dumpcap support for configuring 80MHz, 80+80MHz, 160MHz monitor modes via nl80211. Change-Id: I2ae8955670c2a9b5051e2223d45ce522459f2c5f Reviewed-on: https://code.wireshark.org/review/13964 Petri-Dish: Alexis La Goutte Petri-Dish: Gerald Combs Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- capchild/capture_sync.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'capchild/capture_sync.c') diff --git a/capchild/capture_sync.c b/capchild/capture_sync.c index 5cb3881da8..310c767f7d 100644 --- a/capchild/capture_sync.c +++ b/capchild/capture_sync.c @@ -1297,6 +1297,7 @@ sync_pipe_run_command(char** argv, gchar **data, gchar **primary_msg, int sync_interface_set_80211_chan(const gchar *iface, const char *freq, const gchar *type, + const gchar *center_freq1, const gchar *center_freq2, gchar **data, gchar **primary_msg, gchar **secondary_msg, void (*update_cb)(void)) { @@ -1317,7 +1318,7 @@ sync_interface_set_80211_chan(const gchar *iface, const char *freq, const gchar argv = sync_pipe_add_arg(argv, &argc, iface); if (type) - opt = g_strdup_printf("%s,%s", freq, type); + opt = g_strdup_printf("%s,%s,%s,%s", freq, type, center_freq1, center_freq2); else opt = g_strdup_printf("%s", freq); -- cgit v1.2.3