Date: Wed, 9 May 2007 16:41:37 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 119574 for review Message-ID: <200705091641.l49Gfb4n004340@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=119574 Change 119574 by sam@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705091641.l49Gfb4n004340>