Changeset 2711 for branches/madwifi-ng-txpower/net80211/ieee80211_var.h
- Timestamp:
- 09/17/07 18:34:10 (5 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/madwifi-ng-txpower/net80211/ieee80211_var.h
r2583 r2711 73 73 (_bi) : IEEE80211_BINTVAL_DEFAULT) 74 74 75 #define IEEE80211_BGSCAN_INTVAL_MIN 15 /* min bg scan intvl (secs) */75 #define IEEE80211_BGSCAN_INTVAL_MIN 15 /* min BG scan intvl (s) */ 76 76 #define IEEE80211_BGSCAN_INTVAL_DEFAULT (5*60) /* default bg scan intvl */ 77 77 … … 80 80 81 81 #define IEEE80211_COVERAGE_CLASS_MAX 31 /* max coverage class */ 82 #define IEEE80211_REGCLASSIDS_MAX 10 /* max regclass idlist */82 #define IEEE80211_REGCLASSIDS_MAX 10 /* max regclass ID list */ 83 83 84 84 #define IEEE80211_PS_SLEEP 0x1 /* STA is in power saving mode */ 85 85 #define IEEE80211_PS_MAX_QUEUE 50 /* maximum saved packets */ 86 86 87 #define IEEE80211_XR_BEACON_FACTOR 3 /* factor between xr Beacon interval and normal beacon interval */87 #define IEEE80211_XR_BEACON_FACTOR 3 /* factor between XR beacon interval and normal beacon interval */ 88 88 #define IEEE80211_XR_DEFAULT_RATE_INDEX 0 89 89 #define IEEE80211_XR_FRAG_THRESHOLD 540 … … 99 99 100 100 #define IEEE80211_APPIE_MAX 1024 101 102 #define IEEE80211_PWRCONSTRAINT_VAL(ic) \103 (((ic)->ic_bsschan->ic_maxregpower > (ic)->ic_curchanmaxpwr) ? \104 (ic)->ic_bsschan->ic_maxregpower - (ic)->ic_curchanmaxpwr : 0)105 101 106 102 /* 802.11 control state is split into a common portion that maps … … 214 210 u_int16_t iv_txmin; /* min tx retry count */ 215 211 u_int16_t iv_txmax; /* max tx retry count */ 212 u_int16_t iv_txpower; /* TX power */ 216 213 u_int16_t iv_txlifetime; /* tx lifetime */ 217 214 int iv_inact_timer; /* inactivity timer wait */ … … 287 284 unsigned long ic_bmiss_guard; /* when to cease ignoring bmiss (jiffies) */ 288 285 u_int16_t ic_txpowlimit; /* global tx power limit (in 0.5 dBm) */ 289 u_int16_t ic_newtxpowlimit; /* tx power limit to change to (in 0.5 dBm) */290 286 u_int16_t ic_uapsdmaxtriggers; /* max triggers that could arrive */ 291 287 u_int8_t ic_coverageclass; /* coverage class */ … … 350 346 * know value until change to channel and detect). 351 347 */ 352 u_int8_t ic_curchanmaxpwr;353 348 u_int8_t ic_chanchange_tbtt; 354 349 u_int8_t ic_chanchange_chan; … … 388 383 void (*ic_scan_end)(struct ieee80211com *); 389 384 void (*ic_set_channel)(struct ieee80211com *); 385 386 /* TX power support */ 387 void (*ic_set_txpow)(struct ieee80211com *, 388 int); /* Units of 0.5 dBm */ 390 389 391 390 /* U-APSD support */
