# MadWifi configuration

config MADWIFI_DEBUG
	bool "Enable compilation of debugging features"
	depends on DEVEL && PACKAGE_kmod-madwifi
	default n

config MADWIFI_COMPRESSION
	bool "Enable Atheros Super A/G Compression"
	depends on PACKAGE_kmod-madwifi
	depends !TARGET_ar71xx
	default n
	help
	  Enables Atheros Super A/G Hardware Compression Engine.

config MADWIFI_SINGLE_MODULE
	bool "Combine driver and net80211 into a single module"
	depends on PACKAGE_kmod-madwifi
	default y
	help
	  This option combines all driver and stack related code (except for HAL)
	  into a single module, thus saving space and removing unnecessary kernel
	  exports

choice
	prompt "Rate control algorithm selection"
	depends on PACKAGE_kmod-madwifi
	default MADWIFI_RCA_MINSTREL
	help
	  This option controls how MadWifi chooses its bitrate.

config MADWIFI_RCA_MINSTREL
	bool "Use the Minstrel rate control algorithm"
	help
	  This code is takes a wandering minstrel approach. Wander around the
	  different rates, singing wherever you can. And then, look at the
	  performance, and make a choice. Note that the wandering minstrel will
	  always wander in directions where he/she feels he/she will get paid
	  the best for his/her work.

config MADWIFI_RCA_SAMPLERATE
	bool "Use the SampleRate rate control algorithm"
	help
	  SampleRate decides on the transmission bit-rate based on the past
	  history of performance; it keeps a record of the number of successive
	  failures, the number of successful transmits and the total transmission
	  time along with the destination for that bit-rate. Stale samples are
	  removed based on a EWMA windowing mechanism. If in the sampling
	  process, no successful acknowledgment is received or the number of
	  packets sent is multiple of 10 on a specific link, it transmits the
	  packet with the highest rate which has not failed 4 successive times.
	  Other than that it transmits packets at the rate which has the lowest
	  average transmission time.

endchoice