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