summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/conf.h
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2011-08-14 13:17:14 +0300
committerLuciano Coelho <coelho@ti.com>2011-08-22 12:35:25 +0300
commitfa6ad9f0f34b0754ce7551866b33587f077a2a51 (patch)
tree7f907a187e5a1f071e55be01089731f83daf9e75 /drivers/net/wireless/wl12xx/conf.h
parentf42bd2cbf1d5ff4b161ad2c59ff12d66558c8374 (diff)
downloadblackbird-op-linux-fa6ad9f0f34b0754ce7551866b33587f077a2a51.tar.gz
blackbird-op-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/conf.h')
-rw-r--r--drivers/net/wireless/wl12xx/conf.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/conf.h b/drivers/net/wireless/wl12xx/conf.h
index 6080e01d92c6..30ee7d304bcc 100644
--- a/drivers/net/wireless/wl12xx/conf.h
+++ b/drivers/net/wireless/wl12xx/conf.h
@@ -1309,6 +1309,25 @@ struct conf_fwlog {
u8 threshold;
};
+#define ACX_RATE_MGMT_NUM_OF_RATES 13
+struct conf_rate_policy_settings {
+ u16 rate_retry_score;
+ u16 per_add;
+ u16 per_th1;
+ u16 per_th2;
+ u16 max_per;
+ u8 inverse_curiosity_factor;
+ u8 tx_fail_low_th;
+ u8 tx_fail_high_th;
+ u8 per_alpha_shift;
+ u8 per_add_shift;
+ u8 per_beta1_shift;
+ u8 per_beta2_shift;
+ u8 rate_check_up;
+ u8 rate_check_down;
+ u8 rate_retry_policy[ACX_RATE_MGMT_NUM_OF_RATES];
+};
+
struct conf_drv_settings {
struct conf_sg_settings sg;
struct conf_rx_settings rx;
@@ -1326,6 +1345,7 @@ struct conf_drv_settings {
struct conf_fm_coex fm_coex;
struct conf_rx_streaming_settings rx_streaming;
struct conf_fwlog fwlog;
+ struct conf_rate_policy_settings rate;
u8 hci_io_ds;
};
OpenPOWER on IntegriCloud