Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] ws80211_utils.c:543: error: 'NL80211_CMD_SET_CHANNEL' undecl

From: Pontus Fuchs <pontus.fuchs@xxxxxxxxx>
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