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