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