PERFORCE change 119574 for review
Sam Leffler
sam at FreeBSD.org
Wed May 9 16:41:37 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=119574
Change 119574 by sam at sam_ebb on 2007/05/09 16:41:11
don't need compat shims any more
Affected files ...
.. //depot/projects/wifi/sbin/ifconfig/ifieee80211.c#67 edit
Differences ...
==== //depot/projects/wifi/sbin/ifconfig/ifieee80211.c#67 (text+ko) ====
@@ -94,27 +94,6 @@
#include "ifconfig.h"
-/* XXX temporary compatibility shims */
-#ifndef IEEE80211_CHAN_HT
-#define IEEE80211_CHAN_HT20 0x10000 /* HT 20 channel */
-#define IEEE80211_CHAN_HT40U 0x20000 /* HT 40 channel w/ ext above */
-#define IEEE80211_CHAN_HT40D 0x40000 /* HT 40 channel w/ ext below */
-
-#define IEEE80211_CHAN_HT40 (IEEE80211_CHAN_HT40U | IEEE80211_CHAN_HT40D)
-#define IEEE80211_CHAN_HT (IEEE80211_CHAN_HT20 | IEEE80211_CHAN_HT40)
-
-#define IEEE80211_IS_CHAN_HT(_c) \
- (((_c)->ic_flags & IEEE80211_CHAN_HT) != 0)
-#define IEEE80211_IS_CHAN_HT20(_c) \
- (((_c)->ic_flags & IEEE80211_CHAN_HT20) != 0)
-#define IEEE80211_IS_CHAN_HT40(_c) \
- (((_c)->ic_flags & IEEE80211_CHAN_HT40) != 0)
-#define IEEE80211_IS_CHAN_HT40U(_c) \
- (((_c)->ic_flags & IEEE80211_CHAN_HT40U) != 0)
-#define IEEE80211_IS_CHAN_HT40D(_c) \
- (((_c)->ic_flags & IEEE80211_CHAN_HT40D) != 0)
-#endif
-
static void set80211(int s, int type, int val, int len, void *data);
static const char *get_string(const char *val, const char *sep,
u_int8_t *buf, int *lenp);
More information about the p4-projects
mailing list