summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/main.c
diff options
context:
space:
mode:
authorEliad Peller2011-08-14 12:17:14 +0200
committerLuciano Coelho2011-08-22 11:35:25 +0200
commitfa6ad9f0f34b0754ce7551866b33587f077a2a51 (patch)
tree7f907a187e5a1f071e55be01089731f83daf9e75 /drivers/net/wireless/wl12xx/main.c
parentwl12xx: use wl1271_acx_beacon_filter_opt for both sta and ap (diff)
downloadkernel-qcow2-linux-fa6ad9f0f34b0754ce7551866b33587f077a2a51.tar.gz
kernel-qcow2-linux-fa6ad9f0f34b0754ce7551866b33587f077a2a51.tar.xz
kernel-qcow2-linux-fa6ad9f0f34b0754ce7551866b33587f077a2a51.zip
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.c21
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 = {
.threshold = 0,
},
.hci_io_ds = HCI_IO_DS_6MA,
+ .rate = {
+ .rate_retry_score = 32000,
+ .per_add = 8192,
+ .per_th1 = 2048,
+ .per_th2 = 4096,
+ .max_per = 8100,
+ .inverse_curiosity_factor = 5,
+ .tx_fail_low_th = 4,
+ .tx_fail_high_th = 10,
+ .per_alpha_shift = 4,
+ .per_add_shift = 13,
+ .per_beta1_shift = 10,
+ .per_beta2_shift = 8,
+ .rate_check_up = 2,
+ .rate_check_down = 12,
+ .rate_retry_policy = {
+ 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00,
+ },
+ },
};
static char *fwlog_param;