X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c537863342182954341e4a21bb9b56888e334213..5913e5b125adcf07d7450634860e9d37dc26e8c1:/package/madwifi/patches/341-minrate.patch?ds=inline diff --git a/package/madwifi/patches/341-minrate.patch b/package/madwifi/patches/341-minrate.patch index 6f448afa6..cc04ae074 100644 --- a/package/madwifi/patches/341-minrate.patch +++ b/package/madwifi/patches/341-minrate.patch @@ -1,6 +1,6 @@ --- a/ath/if_ath.c +++ b/ath/if_ath.c -@@ -1308,6 +1308,7 @@ ath_vap_create(struct ieee80211com *ic, +@@ -1308,6 +1308,7 @@ ath_vap_create(struct ieee80211com *ic, vap->iv_key_update_begin = ath_key_update_begin; vap->iv_key_update_end = ath_key_update_end; vap->iv_maxrateindex = 0; @@ -62,7 +62,7 @@ IEEE80211_PARAM_BEACON_MISS_THRESH = 73, /* Beacon miss threshold (in beacons) */ IEEE80211_PARAM_BEACON_MISS_THRESH_MS = 74, /* Beacon miss threshold (in ms) */ IEEE80211_PARAM_MAXRATE = 75, /* Maximum rate (by table index) */ -+ IEEE80211_PARAM_MINRATE = 76, /* Maximum rate (by table index) */ ++ IEEE80211_PARAM_MINRATE = 76, /* Minimum rate (by table index) */ }; #define SIOCG80211STATS (SIOCDEVPRIVATE+2) @@ -71,8 +71,8 @@ @@ -282,6 +282,7 @@ struct ieee80211vap { struct ieee80211_app_ie app_ie[IEEE80211_APPIE_NUM_OF_FRAME]; /* app-specified IEs by frame type */ u_int32_t app_filter; /* filters which management frames are forwarded to app */ - int iv_maxrateindex; -+ int iv_minrateindex; + u_int iv_maxrateindex; ++ u_int iv_minrateindex; }; /* Debug functions need the defintion of struct ieee80211vap because iv_debug