From 27e4ac85e82b4a672c9f362b26ce8acae4ee7c9d Mon Sep 17 00:00:00 2001 From: Mikael Kanstrup Date: Sat, 11 Oct 2014 22:59:14 +0200 Subject: 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 Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte --- caputils/ws80211_utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'caputils/ws80211_utils.h') 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 { -- cgit v1.2.3