madwifi: add patch to allow ignoring probe requests (useful for ad-hoc mesh)
[openwrt.git] / package / madwifi / patches / 382-relax_bintval.patch
1 --- a/net80211/ieee80211_var.h
2 +++ b/net80211/ieee80211_var.h
3 @@ -61,8 +61,8 @@
4 #define IEEE80211_DTIM_MIN 1 /* min DTIM period */
5 #define IEEE80211_DTIM_DEFAULT 1 /* default DTIM period */
6
7 -#define IEEE80211_BINTVAL_MAX 1000 /* max beacon interval (TUs) */
8 -#define IEEE80211_BINTVAL_MIN 25 /* min beacon interval (TUs) */
9 +#define IEEE80211_BINTVAL_MAX 5000 /* max beacon interval (TUs) */
10 +#define IEEE80211_BINTVAL_MIN 10 /* min beacon interval (TUs) */
11 #define IEEE80211_BINTVAL_DEFAULT 100 /* default beacon interval (TUs) */
12 #define IEEE80211_BINTVAL_VALID(_bi) \
13 ((IEEE80211_BINTVAL_MIN <= (_bi)) && \
This page took 0.037511 seconds and 5 git commands to generate.