diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-10-07 01:41:03 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-10-07 01:41:03 +0000 |
commit | 4d05f6c24b690cc07a7f7ba65f11a01264309a11 (patch) | |
tree | a17b2ba8c472e296a1e067a2b84f9f2668fe1272 /package | |
parent | 54b6061f94886d4fb93296643765cd2b8ae8d7ed (diff) | |
download | upstream-4d05f6c24b690cc07a7f7ba65f11a01264309a11.tar.gz upstream-4d05f6c24b690cc07a7f7ba65f11a01264309a11.tar.bz2 upstream-4d05f6c24b690cc07a7f7ba65f11a01264309a11.zip |
allow larger beacon interval values - useful for big mesh networks (patch by sven-ola)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12886 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/madwifi/patches/382-relax_bintval.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/madwifi/patches/382-relax_bintval.patch b/package/madwifi/patches/382-relax_bintval.patch new file mode 100644 index 0000000000..0901949d91 --- /dev/null +++ b/package/madwifi/patches/382-relax_bintval.patch @@ -0,0 +1,13 @@ +--- a/net80211/ieee80211_var.h ++++ b/net80211/ieee80211_var.h +@@ -61,8 +61,8 @@ + #define IEEE80211_DTIM_MIN 1 /* min DTIM period */ + #define IEEE80211_DTIM_DEFAULT 1 /* default DTIM period */ + +-#define IEEE80211_BINTVAL_MAX 1000 /* max beacon interval (TUs) */ +-#define IEEE80211_BINTVAL_MIN 25 /* min beacon interval (TUs) */ ++#define IEEE80211_BINTVAL_MAX 5000 /* max beacon interval (TUs) */ ++#define IEEE80211_BINTVAL_MIN 10 /* min beacon interval (TUs) */ + #define IEEE80211_BINTVAL_DEFAULT 100 /* default beacon interval (TUs) */ + #define IEEE80211_BINTVAL_VALID(_bi) \ + ((IEEE80211_BINTVAL_MIN <= (_bi)) && \ |