o move min/max beacon interval and dtim period to public location
o add min/max beacon miss threshold settings o delete IEEE80211_SWBMISS_THRESHOLD, it was never used MFC after: 2 weeks
This commit is contained in:
parent
f9ad2af361
commit
202b0d1101
@ -636,4 +636,28 @@ enum {
|
||||
#define IEEE80211_FRAG_MIN 256
|
||||
#define IEEE80211_FRAG_MAX 2346
|
||||
|
||||
/*
|
||||
* Beacon interval (TU's). Min+max come from WiFi requirements.
|
||||
* As above, we treat default as implementation-dependent so
|
||||
* define it elsewhere.
|
||||
*/
|
||||
#define IEEE80211_BINTVAL_MAX 1000 /* max beacon interval (TU's) */
|
||||
#define IEEE80211_BINTVAL_MIN 25 /* min beacon interval (TU's) */
|
||||
|
||||
/*
|
||||
* DTIM period (beacons). Min+max are not really defined
|
||||
* by the protocol but we want them publicly visible so
|
||||
* define them here.
|
||||
*/
|
||||
#define IEEE80211_DTIM_MAX 15 /* max DTIM period */
|
||||
#define IEEE80211_DTIM_MIN 1 /* min DTIM period */
|
||||
|
||||
/*
|
||||
* Beacon miss threshold (beacons). As for DTIM, we define
|
||||
* them here to be publicly visible. Note the max may be
|
||||
* clamped depending on device capabilities.
|
||||
*/
|
||||
#define IEEE80211_HWBMISS_MIN 1
|
||||
#define IEEE80211_HWBMISS_MAX 255
|
||||
|
||||
#endif /* _NET80211_IEEE80211_H_ */
|
||||
|
@ -61,17 +61,10 @@
|
||||
#define IEEE80211_TXPOWER_MAX 100 /* .5 dbM (XXX units?) */
|
||||
#define IEEE80211_TXPOWER_MIN 0 /* kill radio */
|
||||
|
||||
#define IEEE80211_DTIM_MAX 15 /* max DTIM period */
|
||||
#define IEEE80211_DTIM_MIN 1 /* min DTIM period */
|
||||
#define IEEE80211_DTIM_DEFAULT 1 /* default DTIM period */
|
||||
|
||||
/* NB: min+max come from WiFi requirements */
|
||||
#define IEEE80211_BINTVAL_MAX 1000 /* max beacon interval (TU's) */
|
||||
#define IEEE80211_BINTVAL_MIN 25 /* min beacon interval (TU's) */
|
||||
#define IEEE80211_BINTVAL_DEFAULT 100 /* default beacon interval (TU's) */
|
||||
|
||||
#define IEEE80211_BMISS_MAX 2 /* maximum consecutive bmiss allowed */
|
||||
#define IEEE80211_SWBMISS_THRESHOLD 50 /* s/w bmiss threshold (TU's) */
|
||||
#define IEEE80211_HWBMISS_DEFAULT 7 /* h/w bmiss threshold (beacons) */
|
||||
|
||||
#define IEEE80211_PS_SLEEP 0x1 /* STA is in power saving mode */
|
||||
|
Loading…
Reference in New Issue
Block a user