aboutsummaryrefslogtreecommitdiffstats
path: root/ws80211_utils.h
AgeCommit message (Collapse)AuthorFilesLines
2013-07-22Fix includes to get things compiling.Michael Tüxen1-2/+0
svn path=/trunk/; revision=50785
2012-12-29Add a few consts to fix some compiler (GCC) errors.Bill Meier1-1/+1
svn path=/trunk/; revision=46849
2012-12-26Fix a bunch of warnings.Guy Harris1-1/+1
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of sizeof. Cast away some implicit 64-bit-to-32-bit conversion errors due to use of strtol() and strtoul(). Change some data types to avoid those implicit conversion warnings. When assigning a constant to a float, make sure the constant isn't a double, by appending "f" to the constant. Constify a bunch of variables, parameters, and return values to eliminate warnings due to strings being given const qualifiers. Cast away those warnings in some cases where an API we don't control forces us to do so. Enable a bunch of additional warnings by default. Note why at least some of the other warnings aren't enabled. randpkt.c and text2pcap.c are used to build programs, so they don't need to be in EXTRA_DIST. If the user specifies --enable-warnings-as-errors, add -Werror *even if the user specified --enable-extra-gcc-flags; assume they know what they're doing and are willing to have the compile fail due to the extra GCC warnings being treated as errors. svn path=/trunk/; revision=46748
2012-07-08Keep the NL80211_CHAN_ and WS80211_CHAN_ values distinct; only theGuy Harris1-13/+0
Linux version of the platform-dependent 802.11 stuff should use the NL80211_CHAN_ stuff. Map from the WS80211_CHAN_ values to the corresponding NL80211_CHAN_ values in ws80211_set_freq(), and have the channel_types bitset use bits indexed by WS80211_CHAN_ values rather than NL80211_CHAN_. This won't fix the problem of building this on Linuxes with old nl80211.h headers that lack NL80211_CHAN_, but it narrows the set of code that needs the NL80211_CHAN_ values, perhaps allowing the fix to be a bit cleaner, as well as making it easier to make this work on platforms other than Linux. svn path=/trunk/; revision=43606
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-20Add ws80211_utils.[ch] of bug ↵Anders Broman1-0/+78
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6973 sligtly modified to compile on Windows. See if it breaks any other platform. svn path=/trunk/; revision=43410