fix bridge utils for brcm-2.4 from http://dev.luci.freifunk-halle.net/001-brcm2.4...
[openwrt/openwrt.git] / package / madwifi / Config.in
1 # MadWifi configuration
2
3 config MADWIFI_DEBUG
4 bool "Enable compilation of debugging features"
5 depends on EXPERIMENTAL && PACKAGE_kmod-madwifi
6 default n
7
8 choice
9 prompt "Madwifi version"
10 depends on PACKAGE_kmod-madwifi
11 default MADWIFI_STABLE
12 help
13 This option allows you to select the version of MadiWifi to be built.
14
15 config MADWIFI_STABLE
16 bool "Use the OpenWrt stable version of madwifi"
17
18 config MADWIFI_TESTING
19 depends BROKEN
20 bool "Use the OpenWrt testing version of madwifi"
21
22 config MADWIFI_UPSTREAM
23 depends !LINUX_2_6_26
24 bool "Use the upstream release version 0.9.4"
25
26 endchoice
27
28 choice
29 prompt "Rate control algorithm selection"
30 depends on PACKAGE_kmod-madwifi
31 default MADWIFI_RCA_MINSTREL
32 help
33 This option controls how MadWifi chooses its bitrate.
34
35 config MADWIFI_RCA_MINSTREL
36 bool "Use the Minstrel rate control algorithm"
37 help
38 This code is takes a wandering minstrel approach. Wander around the
39 different rates, singing wherever you can. And then, look at the
40 performance, and make a choice. Note that the wandering minstrel will
41 always wander in directions where he/she feels he/she will get paid
42 the best for his/her work.
43
44 config MADWIFI_RCA_ONOE
45 bool "Use the Onoe rate control algorithm"
46 help
47 Onoe is a credit based RCA where the value of the credit is determined
48 by the frequency of successful, erroneous and retransmissions
49 accumulated during a fixed invocation period of 1000 ms. If less than
50 10% of the packets need to be retransmitted at a particular rate, Onoe
51 keeps increasing its credit point till the threshold value of 10 is
52 reached. At this point, the current transmission rate is increased to
53 the next available higher rate and the process repeated with credit
54 score of zero. Similar logic holds for deducting the credit score and
55 moving to a lower bit-rate for failed packet
56 transmission/retransmission attempts. However, once a bit-rate has
57 been marked as failure in the previous attempt, Onoe will not attempt
58 to select that bit-rate until 10 seconds have elapsed since the last
59 attempt. Due to the manner in which it operates, Onoe is conservative
60 in rate selection and is less sensitive to individual packet failure.
61
62 config MADWIFI_RCA_AMRR
63 bool "Use the AMRR rate control algorithm"
64 help
65 AMRR uses Binary Exponential Backoff (BEB) technique to adapt the
66 length (threshold) of the sampling period used to change the values of
67 bit-rate and transmission count parameters. It uses probe packets and
68 depending on their transmission status adaptively changes the threshold
69 value. The adaptation mechanism ensures fewer failed
70 transmission/retransmission and higher throughput by not switching to a
71 higher rate as specified by the backoff mechanism. In addition to this,
72 the AMRR employs heuristics to capture the short-term variations of the
73 channel by judiciously setting the rate and transmission count
74 parameters.
75
76 config MADWIFI_RCA_SAMPLERATE
77 bool "Use the SampleRate rate control algorithm"
78 help
79 SampleRate decides on the transmission bit-rate based on the past
80 history of performance; it keeps a record of the number of successive
81 failures, the number of successful transmits and the total transmission
82 time along with the destination for that bit-rate. Stale samples are
83 removed based on a EWMA windowing mechanism. If in the sampling
84 process, no successful acknowledgment is received or the number of
85 packets sent is multiple of 10 on a specific link, it transmits the
86 packet with the highest rate which has not failed 4 successive times.
87 Other than that it transmits packets at the rate which has the lowest
88 average transmission time.
89
90 endchoice