aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx
diff options
context:
space:
mode:
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>2009-12-11 08:41:05 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-12-28 16:31:35 -0500
commitec078d943b89c03e55ac9c8b28f39256d4d4045e (patch)
treeb6190d4f2306c23af5af9ff9d1392d3f8ad56b90 /drivers/net/wireless/wl12xx
parente0d8bbf0d23e6b82f13b29f39593d5d13d923b2b (diff)
wl1271: Change rates configured for templates
Previously a "firmware chooses" value was used for the rates of all control message templates set to the firmware. This resulted in a too high rate to be chosen to transmit those messages. Change this by configuring a fixed low rate for the templates. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c
index d7b1bb3e08a8..7a73aaadd04c 100644
--- a/drivers/net/wireless/wl12xx/wl1271_main.c
+++ b/drivers/net/wireless/wl12xx/wl1271_main.c
@@ -78,7 +78,8 @@ static struct conf_drv_settings default_conf = {
78 .tx = { 78 .tx = {
79 .tx_energy_detection = 0, 79 .tx_energy_detection = 0,
80 .rc_conf = { 80 .rc_conf = {
81 .enabled_rates = CONF_TX_RATE_MASK_UNSPECIFIED, 81 .enabled_rates = CONF_HW_BIT_RATE_1MBPS |
82 CONF_HW_BIT_RATE_2MBPS,
82 .short_retry_limit = 10, 83 .short_retry_limit = 10,
83 .long_retry_limit = 10, 84 .long_retry_limit = 10,
84 .aflags = 0 85 .aflags = 0