mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 05:02:58 +02:00
madwifi: cosmetic fixes for maxrate/minrate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15961 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b71e3af269
commit
b471be98ae
@ -56,7 +56,7 @@
|
|||||||
struct ieee80211_spy iv_spy; /* IWSPY support */
|
struct ieee80211_spy iv_spy; /* IWSPY support */
|
||||||
struct ieee80211_app_ie app_ie[IEEE80211_APPIE_NUM_OF_FRAME]; /* app-specified IEs by frame type */
|
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 */
|
u_int32_t app_filter; /* filters which management frames are forwarded to app */
|
||||||
+ int iv_maxrateindex;
|
+ u_int iv_maxrateindex;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Debug functions need the defintion of struct ieee80211vap because iv_debug
|
/* Debug functions need the defintion of struct ieee80211vap because iv_debug
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
IEEE80211_PARAM_BEACON_MISS_THRESH = 73, /* Beacon miss threshold (in beacons) */
|
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_BEACON_MISS_THRESH_MS = 74, /* Beacon miss threshold (in ms) */
|
||||||
IEEE80211_PARAM_MAXRATE = 75, /* Maximum rate (by table index) */
|
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)
|
#define SIOCG80211STATS (SIOCDEVPRIVATE+2)
|
||||||
@ -71,8 +71,8 @@
|
|||||||
@@ -282,6 +282,7 @@ struct ieee80211vap {
|
@@ -282,6 +282,7 @@ struct ieee80211vap {
|
||||||
struct ieee80211_app_ie app_ie[IEEE80211_APPIE_NUM_OF_FRAME]; /* app-specified IEs by frame type */
|
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 */
|
u_int32_t app_filter; /* filters which management frames are forwarded to app */
|
||||||
int iv_maxrateindex;
|
u_int iv_maxrateindex;
|
||||||
+ int iv_minrateindex;
|
+ u_int iv_minrateindex;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Debug functions need the defintion of struct ieee80211vap because iv_debug
|
/* Debug functions need the defintion of struct ieee80211vap because iv_debug
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
@@ -643,6 +643,8 @@ enum {
|
@@ -643,6 +643,8 @@ enum {
|
||||||
IEEE80211_PARAM_BEACON_MISS_THRESH_MS = 74, /* Beacon miss threshold (in ms) */
|
IEEE80211_PARAM_BEACON_MISS_THRESH_MS = 74, /* Beacon miss threshold (in ms) */
|
||||||
IEEE80211_PARAM_MAXRATE = 75, /* Maximum rate (by table index) */
|
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) */
|
||||||
+ IEEE80211_PARAM_PROTMODE_RSSI = 77, /* RSSI Threshold for enabling protection mode */
|
+ IEEE80211_PARAM_PROTMODE_RSSI = 77, /* RSSI Threshold for enabling protection mode */
|
||||||
+ IEEE80211_PARAM_PROTMODE_TIMEOUT = 78, /* Timeout for expiring protection mode */
|
+ IEEE80211_PARAM_PROTMODE_TIMEOUT = 78, /* Timeout for expiring protection mode */
|
||||||
};
|
};
|
||||||
|
@ -7,7 +7,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
|
|||||||
--- a/net80211/ieee80211_ioctl.h
|
--- a/net80211/ieee80211_ioctl.h
|
||||||
+++ b/net80211/ieee80211_ioctl.h
|
+++ b/net80211/ieee80211_ioctl.h
|
||||||
@@ -646,6 +646,7 @@ enum {
|
@@ -646,6 +646,7 @@ enum {
|
||||||
IEEE80211_PARAM_MINRATE = 76, /* Maximum rate (by table index) */
|
IEEE80211_PARAM_MINRATE = 76, /* Minimum rate (by table index) */
|
||||||
IEEE80211_PARAM_PROTMODE_RSSI = 77, /* RSSI Threshold for enabling protection mode */
|
IEEE80211_PARAM_PROTMODE_RSSI = 77, /* RSSI Threshold for enabling protection mode */
|
||||||
IEEE80211_PARAM_PROTMODE_TIMEOUT = 78, /* Timeout for expiring protection mode */
|
IEEE80211_PARAM_PROTMODE_TIMEOUT = 78, /* Timeout for expiring protection mode */
|
||||||
+ IEEE80211_PARAM_BGSCAN_THRESH = 79, /* bg scan rssi threshold */
|
+ IEEE80211_PARAM_BGSCAN_THRESH = 79, /* bg scan rssi threshold */
|
||||||
|
Loading…
Reference in New Issue
Block a user