mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
o clarify that beacon interval settings are in TU's, not ms
o add macros to convert between TU's and ms
This commit is contained in:
parent
acc4f7f50c
commit
2ffc548f43
1 changed files with 6 additions and 3 deletions
|
|
@ -65,13 +65,16 @@
|
|||
#define IEEE80211_DTIM_MIN 1 /* min DTIM period */
|
||||
#define IEEE80211_DTIM_DEFAULT 1 /* default DTIM period */
|
||||
|
||||
#define IEEE80211_BINTVAL_MAX 500 /* max beacon interval (ms) */
|
||||
#define IEEE80211_BINTVAL_MIN 25 /* min beacon interval */
|
||||
#define IEEE80211_BINTVAL_DEFAULT 100 /* default beacon interval */
|
||||
#define IEEE80211_BINTVAL_MAX 500 /* 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_PS_SLEEP 0x1 /* STA is in power saving mode */
|
||||
#define IEEE80211_PS_MAX_QUEUE 50 /* maximum saved packets */
|
||||
|
||||
#define IEEE80211_MS_TO_TU(x) (((x) * 1000) / 1024)
|
||||
#define IEEE80211_TU_TO_MS(x) (((x) * 1024) / 1000)
|
||||
|
||||
struct ieee80211_aclator;
|
||||
struct sysctl_ctx_list;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue