diff options
author | Eliad Peller <eliad@wizery.com> | 2011-08-14 06:17:14 -0400 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-08-22 05:35:25 -0400 |
commit | fa6ad9f0f34b0754ce7551866b33587f077a2a51 (patch) | |
tree | 7f907a187e5a1f071e55be01089731f83daf9e75 /drivers/net/wireless/wl12xx/main.c | |
parent | f42bd2cbf1d5ff4b161ad2c59ff12d66558c8374 (diff) |
wl12xx: add set_rate_mgmt_params acx
Configure rate management parameters on hw init
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/main.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/main.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c index d683bca9b308..3db191de3f51 100644 --- a/drivers/net/wireless/wl12xx/main.c +++ b/drivers/net/wireless/wl12xx/main.c | |||
@@ -379,6 +379,27 @@ static struct conf_drv_settings default_conf = { | |||
379 | .threshold = 0, | 379 | .threshold = 0, |
380 | }, | 380 | }, |
381 | .hci_io_ds = HCI_IO_DS_6MA, | 381 | .hci_io_ds = HCI_IO_DS_6MA, |
382 | .rate = { | ||
383 | .rate_retry_score = 32000, | ||
384 | .per_add = 8192, | ||
385 | .per_th1 = 2048, | ||
386 | .per_th2 = 4096, | ||
387 | .max_per = 8100, | ||
388 | .inverse_curiosity_factor = 5, | ||
389 | .tx_fail_low_th = 4, | ||
390 | .tx_fail_high_th = 10, | ||
391 | .per_alpha_shift = 4, | ||
392 | .per_add_shift = 13, | ||
393 | .per_beta1_shift = 10, | ||
394 | .per_beta2_shift = 8, | ||
395 | .rate_check_up = 2, | ||
396 | .rate_check_down = 12, | ||
397 | .rate_retry_policy = { | ||
398 | 0x00, 0x00, 0x00, 0x00, 0x00, | ||
399 | 0x00, 0x00, 0x00, 0x00, 0x00, | ||
400 | 0x00, 0x00, 0x00, | ||
401 | }, | ||
402 | }, | ||
382 | }; | 403 | }; |
383 | 404 | ||
384 | static char *fwlog_param; | 405 | static char *fwlog_param; |