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