X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/fa902124b5875ef27fe31747e22774bbf90eeaa0..24168b91595c0c5a9420c348c4c16e727e1aaa81:/package/madwifi/patches/424-timing.patch diff --git a/package/madwifi/patches/424-timing.patch b/package/madwifi/patches/424-timing.patch index 93b699694..a8b82fa10 100644 --- a/package/madwifi/patches/424-timing.patch +++ b/package/madwifi/patches/424-timing.patch @@ -100,7 +100,7 @@ if (bfaddr != 0) { /* -@@ -9430,7 +9468,8 @@ ath_set_coverageclass(struct ieee80211co +@@ -9433,7 +9471,8 @@ ath_set_coverageclass(struct ieee80211co { struct ath_softc *sc = ic->ic_dev->priv; @@ -110,7 +110,7 @@ return; } -@@ -10953,6 +10992,7 @@ enum { +@@ -10956,6 +10995,7 @@ enum { ATH_OFDM_WEAK_DET = 29, ATH_CHANBW = 30, ATH_OUTDOOR = 31, @@ -118,7 +118,7 @@ }; /* -@@ -11165,21 +11205,31 @@ ATH_SYSCTL_DECL(ath_sysctl_halparam, ctl +@@ -11168,21 +11208,31 @@ ATH_SYSCTL_DECL(ath_sysctl_halparam, ctl sc->sc_slottimeconf = val; else sc->sc_slottimeconf = 0; @@ -153,7 +153,7 @@ break; case ATH_SOFTLED: if (val != sc->sc_softled) { -@@ -11335,6 +11385,9 @@ ATH_SYSCTL_DECL(ath_sysctl_halparam, ctl +@@ -11338,6 +11388,9 @@ ATH_SYSCTL_DECL(ath_sysctl_halparam, ctl case ATH_CHANBW: val = sc->sc_chanbw ?: 20; break; @@ -163,7 +163,7 @@ case ATH_SLOTTIME: val = ath_hal_getslottime(ah); break; -@@ -11456,6 +11509,12 @@ static const ctl_table ath_sysctl_templa +@@ -11459,6 +11512,12 @@ static const ctl_table ath_sysctl_templa .extra2 = (void *)ATH_CTSTIMEOUT, }, { .ctl_name = CTL_AUTO, @@ -541,7 +541,7 @@ ath_rate_node_init(struct ath_softc *sc, struct ath_node *an) --- a/net80211/ieee80211_wireless.c +++ b/net80211/ieee80211_wireless.c -@@ -2736,6 +2736,7 @@ ieee80211_ioctl_setparam(struct net_devi +@@ -2745,6 +2745,7 @@ ieee80211_ioctl_setparam(struct net_devi case IEEE80211_PARAM_COVERAGE_CLASS: if (value <= IEEE80211_COVERAGE_CLASS_MAX) { ic->ic_coverageclass = value; @@ -568,7 +568,7 @@ -ALLPROGS= athstats 80211stats athkey athchans athctrl \ +ALLPROGS= athstats 80211stats athkey athchans \ - athdebug 80211debug wlanconfig ath_info + $(if $(DEBUG),athdebug 80211debug) wlanconfig ath_info OBJS= $(patsubst %,%.o,$(ALLPROGS)) --- a/tools/athctrl.c