Wireshark-bugs: [Wireshark-bugs] [Bug 6973] Add a new toolbar for channel setting on nl80211 wir
Date: Sat, 7 Jul 2012 18:47:54 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6973

--- Comment #43 from Guy Harris <guy@xxxxxxxxxxxx> 2012-07-07 18:47:54 PDT ---
I've gotten rid of the stuff in ws80211_utils.h that defines the WS80211_CHAN_
values in terms of NL80211_CHAN_ values, so that the WS80211_CHAN_ are
independent of the platform on which you're running.  ws80211_set_freq() now
maps from the WS80211_CHAN_ values to the NL80211_CHAN_ when setting the
channel, and the channel_types bitset uses bits indexed by WS80211_CHAN_
values.

This doesn't fix the problem, as ws80211_utils.c *still* won't compile if you
have libnl but don't have the NL80211_CHAN_ values defined by nl80211.h, but it
removes some platform dependencies from the code *other* than in
ws_80211_utils.c.

My inclination would be to keep the toolbar but disable channel-type selection
(if you don't have an 11n adapter, or have an OS that doesn't support
channel-type selection, you should still be able to choose the channel - I
don't know whether any OSes that support 11n let you set the channel but not
the channel type).

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.