X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=net80211%2Fieee80211_var.h;h=0c5af90ec751f54583ddb30c195dd5bfe4dbaf38;hb=6f471d5f175cbcefb519a09f874331c332ee0e45;hp=03404b77042b09e750949e8a87860259c60c17ea;hpb=c717e369fdcdd8871bf4142631509bc5a2cb4644;p=madwifi%2F.git diff --git a/net80211/ieee80211_var.h b/net80211/ieee80211_var.h index 03404b7..0c5af90 100644 --- a/net80211/ieee80211_var.h +++ b/net80211/ieee80211_var.h @@ -35,9 +35,6 @@ #ifndef _NET80211_IEEE80211_VAR_H_ #define _NET80211_IEEE80211_VAR_H_ -#define IEEE80211_DEBUG -#define IEEE80211_DEBUG_REFCNT /* Node reference count debugging */ - /* Definitions for IEEE 802.11 drivers. */ #include @@ -100,10 +97,6 @@ Note: Atheros chips use 7 bits when power is specified in half dBm units, with a ((NULL == _v) ? \ "MadWifi" : \ DEV_NAME(_v->iv_dev)) -#define VAP_DEV_NAME(_v) \ - ((NULL == _v) ? \ - "MadWifi" : \ - DEV_NAME(_v->iv_dev)) #define VAP_IC_DEV_NAME(_v) \ ((NULL == _v || NULL == _v->iv_ic) ? \ "MadWifi" : \ @@ -370,6 +363,8 @@ struct ieee80211com { u_int8_t ic_chanchange_tbtt; u_int8_t ic_chanchange_chan; + /* Global debug flags applicable to all VAPs */ + int ic_debug; /* Virtual AP create/delete */ struct ieee80211vap *(*ic_vap_create)(struct ieee80211com *, const char *, int, int, struct net_device *); @@ -408,6 +403,14 @@ struct ieee80211com { /* U-APSD support */ void (*ic_uapsd_flush)(struct ieee80211_node *); + /* continuous transmission support */ + void (*ic_set_txcont)(struct ieee80211com *, int); + int (*ic_get_txcont)(struct ieee80211com *); + void (*ic_set_txcont_power)(struct ieee80211com *, u_int); + int (*ic_get_txcont_power)(struct ieee80211com *); + void (*ic_set_txcont_rate)(struct ieee80211com *, u_int); + u_int (*ic_get_txcont_rate)(struct ieee80211com *); + /* Set coverage class */ void (*ic_set_coverageclass)(struct ieee80211com *);