https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6973
--- Comment #51 from Guy Harris <guy@xxxxxxxxxxxx> 2012-07-12 02:11:14 PDT ---
(In reply to comment #50)
> For what it's worth collegues get
>
> ws80211_utils.c:250: error: 'NL80211_CMD_SET_CHANNEL' undeclared (first use in
...
> uname -a
> Linux sekic2440 2.6.32.29-0.3-default #1 SMP 2011-02-25 13:36:59 +0100 x86_64
> x86_64 x86_64 GNU/Linux
NL80211_CMD_SET_CHANNEL is *NOT* in include/linux/nl80211.h in the 2.6.32.4
kernel. It's there in the 3.0.4 kernel; there's a comment section
* @NL80211_CMD_SET_WIPHY: set wiphy parameters, needs %NL80211_ATTR_WIPHY or
* %NL80211_ATTR_IFINDEX; can be used to set %NL80211_ATTR_WIPHY_NAME,
* %NL80211_ATTR_WIPHY_TXQ_PARAMS, %NL80211_ATTR_WIPHY_FREQ,
* %NL80211_ATTR_WIPHY_CHANNEL_TYPE, %NL80211_ATTR_WIPHY_RETRY_SHORT,
* %NL80211_ATTR_WIPHY_RETRY_LONG, %NL80211_ATTR_WIPHY_FRAG_THRESHOLD,
* and/or %NL80211_ATTR_WIPHY_RTS_THRESHOLD.
* However, for setting the channel, see %NL80211_CMD_SET_CHANNEL
* instead, the support here is for backward compatibility only.
before the definition of enum nl80211_commands.
Perhaps we either need a configure script option that looks for
NL80211_CMD_SET_CHANNEL (it's not a #define, so we can't just check for it), or
check for a #define that arrived along with it, and either need to leave the
wireless toolbar out if it's missing or fall back on NL80211_CMD_SET_WIPHY if
we can use that.
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.