aboutsummaryrefslogtreecommitdiffstats
path: root/caputils/ws80211_utils.h
diff options
context:
space:
mode:
authorMikael Kanstrup <mikael.kanstrup@gmail.com>2014-10-11 22:59:14 +0200
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2014-10-18 14:26:00 +0000
commit27e4ac85e82b4a672c9f362b26ce8acae4ee7c9d (patch)
treeeb1d67a3b02fdab0b35d31e7126cf3e82166eabc /caputils/ws80211_utils.h
parent85e7c15605ad48b9bd9d6612966a9f5be206ce5b (diff)
Add support for split wiphy dump to Wireless Toolbar
To populate the Wireless Toolbar menu the NL80211_CMD_GET_WIPHY command is used. Some network interfaces must use split wiphy dump feature for this command to function properly. One such example is the D-Link DWA-160 USB adapter that does not show up when used without. Make use of split wiphy dump feature whenever kernel supports it to populate the list of monitor interfaces for the Wireless Toolbar. Bug: 10564 Change-Id: Idc28e92f91a2488fa48eeb282a0ef1e2bd40a5f0 Reviewed-on: https://code.wireshark.org/review/4611 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'caputils/ws80211_utils.h')
-rw-r--r--caputils/ws80211_utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/caputils/ws80211_utils.h b/caputils/ws80211_utils.h
index 2a6e04f629..7fcdc4477b 100644
--- a/caputils/ws80211_utils.h
+++ b/caputils/ws80211_utils.h
@@ -41,6 +41,7 @@ struct ws80211_interface
gboolean can_set_freq;
GArray *frequencies;
int channel_types; /* Union for all bands */
+ int cap_monitor;
};
struct ws80211_iface_info {