Backport of continous transmit function from madwifi-dfs.
[madwifi/.git] / net80211 / ieee80211_var.h
index 03404b77042b09e750949e8a87860259c60c17ea..0c5af90ec751f54583ddb30c195dd5bfe4dbaf38 100644 (file)
@@ -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 <net80211/ieee80211_linux.h>
 
@@ -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 *);