Wireshark mailing list archives
Re: ws80211_utils.c:543: error: 'NL80211_CMD_SET_CHANNEL' undeclared (first use in this function)
From: Pontus Fuchs <pontus.fuchs () gmail com>
Date: Mon, 13 Aug 2012 16:14:31 +0200
On 2012-07-12 11:12, Guy Harris wrote:
On Jul 12, 2012, at 1:41 AM, Anders Broman wrote:Should we have a configure option to not use libnl?We should have the configure script check for all the relevant NL80211_CMD_ enum members (or for a #define that appeared along with the most recently arrived one), and should either omit the toolbar if we don't have it or, if possible, fall back on some thing such as NL80211_CMD_SET_WIPHY or on the old Wireless Extensions operations to set the channel.
Sorry for the late reply... Checking for SET_CHANNEL and falling back to SET_WIPHY sounds like a good solution to me. With that in place we should support kernels down to 2.6.32 which is a common kernel for enterprise distros.
I'll upload a patch to bugzilla for review soon. Cheers, Pontus ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Re: ws80211_utils.c:543: error: 'NL80211_CMD_SET_CHANNEL' undeclared (first use in this function) Pontus Fuchs (Aug 13)