madwifi: add patch for building all modules (except for the HAL) into a single module...
[openwrt.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 config MADWIFI_SINGLE_MODULE
34         bool "Combine driver and net80211 into a single module"
35         depends on PACKAGE_kmod-madwifi
36         default y
37         help
38           This option combines all driver and stack related code (except for HAL)
39           into a single module, thus saving space and removing unnecessary kernel
40           exports
41
42 choice
43         prompt "Rate control algorithm selection"
44         depends on PACKAGE_kmod-madwifi
45         default MADWIFI_RCA_MINSTREL
46         help
47           This option controls how MadWifi chooses its bitrate.
48
49 config MADWIFI_RCA_MINSTREL
50         bool "Use the Minstrel rate control algorithm"
51         help
52           This code is takes a wandering minstrel approach. Wander around the
53           different rates, singing wherever you can. And then, look at the
54           performance, and make a choice. Note that the wandering minstrel will
55           always wander in directions where he/she feels he/she will get paid
56           the best for his/her work.
57
58 config MADWIFI_RCA_SAMPLERATE
59         bool "Use the SampleRate rate control algorithm"
60         help
61           SampleRate decides on the transmission bit-rate based on the past
62           history of performance; it keeps a record of the number of successive
63           failures, the number of successful transmits and the total transmission
64           time along with the destination for that bit-rate. Stale samples are
65           removed based on a EWMA windowing mechanism. If in the sampling
66           process, no successful acknowledgment is received or the number of
67           packets sent is multiple of 10 on a specific link, it transmits the
68           packet with the highest rate which has not failed 4 successive times.
69           Other than that it transmits packets at the rate which has the lowest
70           average transmission time.
71
72 endchoice