Deleted Added
full compact
32c32
< * $FreeBSD: head/sys/net80211/ieee80211_var.h 167242 2007-03-05 18:52:35Z sam $
---
> * $FreeBSD: head/sys/net80211/ieee80211_var.h 167441 2007-03-11 07:15:38Z sam $
421a422,448
>
> /*
> * Emit a debug message about discarding a frame or information
> * element. One format is for extracting the mac address from
> * the frame header; the other is for when a header is not
> * available or otherwise appropriate.
> */
> #define IEEE80211_DISCARD(_ic, _m, _wh, _type, _fmt, ...) do { \
> if ((_ic)->ic_debug & (_m)) \
> ieee80211_discard_frame(_ic, _wh, _type, _fmt, __VA_ARGS__);\
> } while (0)
> #define IEEE80211_DISCARD_IE(_ic, _m, _wh, _type, _fmt, ...) do { \
> if ((_ic)->ic_debug & (_m)) \
> ieee80211_discard_ie(_ic, _wh, _type, _fmt, __VA_ARGS__);\
> } while (0)
> #define IEEE80211_DISCARD_MAC(_ic, _m, _mac, _type, _fmt, ...) do { \
> if ((_ic)->ic_debug & (_m)) \
> ieee80211_discard_mac(_ic, _mac, _type, _fmt, __VA_ARGS__);\
> } while (0)
>
> void ieee80211_discard_frame(struct ieee80211com *,
> const struct ieee80211_frame *, const char *type, const char *fmt, ...);
> void ieee80211_discard_ie(struct ieee80211com *,
> const struct ieee80211_frame *, const char *type, const char *fmt, ...);
> void ieee80211_discard_mac(struct ieee80211com *,
> const u_int8_t mac[IEEE80211_ADDR_LEN], const char *type,
> const char *fmt, ...);
427a455,458
>
> #define IEEE80211_DISCARD(_ic, _m, _wh, _type, _fmt, ...)
> #define IEEE80211_DISCARD_IE(_ic, _m, _wh, _type, _fmt, ...)
> #define IEEE80211_DISCARD_MAC(_ic, _m, _mac, _type, _fmt, ...)