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