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