X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/9650bf15636064e9f643843e4fe8a856a099deae..4866e95374761837c2849015081f0874d1795a71:/package/madwifi/patches/417-beacon_txpower.patch diff --git a/package/madwifi/patches/417-beacon_txpower.patch b/package/madwifi/patches/417-beacon_txpower.patch index 80d810a7d..8a59c1211 100644 --- a/package/madwifi/patches/417-beacon_txpower.patch +++ b/package/madwifi/patches/417-beacon_txpower.patch @@ -9,7 +9,7 @@ static int countrycode = -1; static int maxvaps = -1; static int outdoor = -1; -@@ -4931,6 +4931,7 @@ ath_beacon_setup(struct ath_softc *sc, s +@@ -4932,6 +4932,7 @@ ath_beacon_setup(struct ath_softc *sc, s (((_ic)->ic_flags & (IEEE80211_F_SHPREAMBLE | IEEE80211_F_USEBARKER))\ == IEEE80211_F_SHPREAMBLE) struct ieee80211com *ic = bf->bf_node->ni_ic; @@ -17,7 +17,7 @@ struct sk_buff *skb = bf->bf_skb; struct ath_hal *ah = sc->sc_ah; struct ath_desc *ds; -@@ -4998,7 +4999,7 @@ ath_beacon_setup(struct ath_softc *sc, s +@@ -4999,7 +5000,7 @@ ath_beacon_setup(struct ath_softc *sc, s skb->len + IEEE80211_CRC_LEN, /* frame length */ sizeof(struct ieee80211_frame), /* header length */ HAL_PKT_TYPE_BEACON, /* Atheros packet type */ @@ -48,7 +48,7 @@ struct ieee80211_node *iv_bss; /* information for this node */ --- a/net80211/ieee80211_wireless.c +++ b/net80211/ieee80211_wireless.c -@@ -2862,6 +2862,9 @@ ieee80211_ioctl_setparam(struct net_devi +@@ -2871,6 +2871,9 @@ ieee80211_ioctl_setparam(struct net_devi case IEEE80211_PARAM_PROBEREQ: vap->iv_no_probereq = !value; break; @@ -58,7 +58,7 @@ #ifdef ATH_REVERSE_ENGINEERING case IEEE80211_PARAM_DUMPREGS: ieee80211_dump_registers(dev, info, w, extra); -@@ -3227,6 +3230,9 @@ ieee80211_ioctl_getparam(struct net_devi +@@ -3236,6 +3239,9 @@ ieee80211_ioctl_getparam(struct net_devi case IEEE80211_PARAM_PROBEREQ: param[0] = !vap->iv_no_probereq; break; @@ -68,7 +68,7 @@ default: return -EOPNOTSUPP; } -@@ -5801,6 +5807,10 @@ static const struct iw_priv_args ieee802 +@@ -5810,6 +5816,10 @@ static const struct iw_priv_args ieee802 IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "probereq"}, { IEEE80211_PARAM_PROBEREQ, 0, IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, "get_probereq"},