aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/wl12xx/conf.h')
-rw-r--r--drivers/net/wireless/wl12xx/conf.h29
1 files changed, 17 insertions, 12 deletions
diff --git a/drivers/net/wireless/wl12xx/conf.h b/drivers/net/wireless/wl12xx/conf.h
index 82f205c43342..6a6805c3cc74 100644
--- a/drivers/net/wireless/wl12xx/conf.h
+++ b/drivers/net/wireless/wl12xx/conf.h
@@ -454,12 +454,10 @@ struct conf_rx_settings {
454#define CONF_TX_AP_DEFAULT_MGMT_RATES (CONF_HW_BIT_RATE_1MBPS | \ 454#define CONF_TX_AP_DEFAULT_MGMT_RATES (CONF_HW_BIT_RATE_1MBPS | \
455 CONF_HW_BIT_RATE_2MBPS | CONF_HW_BIT_RATE_5_5MBPS) 455 CONF_HW_BIT_RATE_2MBPS | CONF_HW_BIT_RATE_5_5MBPS)
456 456
457/* 457/* default rates for working as IBSS (11b and OFDM) */
458 * Default rates for working as IBSS. use 11b rates
459 */
460#define CONF_TX_IBSS_DEFAULT_RATES (CONF_HW_BIT_RATE_1MBPS | \ 458#define CONF_TX_IBSS_DEFAULT_RATES (CONF_HW_BIT_RATE_1MBPS | \
461 CONF_HW_BIT_RATE_2MBPS | CONF_HW_BIT_RATE_5_5MBPS | \ 459 CONF_HW_BIT_RATE_2MBPS | CONF_HW_BIT_RATE_5_5MBPS | \
462 CONF_HW_BIT_RATE_11MBPS); 460 CONF_HW_BIT_RATE_11MBPS | CONF_TX_OFDM_RATES);
463 461
464struct conf_tx_rate_class { 462struct conf_tx_rate_class {
465 463
@@ -916,14 +914,6 @@ struct conf_conn_settings {
916 u8 psm_entry_nullfunc_retries; 914 u8 psm_entry_nullfunc_retries;
917 915
918 /* 916 /*
919 * Specifies the time to linger in active mode after successfully
920 * transmitting the PSM entry null-func frame.
921 *
922 * Range 0 - 255 TU's
923 */
924 u8 psm_entry_hangover_period;
925
926 /*
927 * 917 *
928 * Specifies the interval of the connection keep-alive null-func 918 * Specifies the interval of the connection keep-alive null-func
929 * frame in ms. 919 * frame in ms.
@@ -1236,6 +1226,20 @@ struct conf_rate_policy_settings {
1236 u8 rate_retry_policy[ACX_RATE_MGMT_NUM_OF_RATES]; 1226 u8 rate_retry_policy[ACX_RATE_MGMT_NUM_OF_RATES];
1237}; 1227};
1238 1228
1229struct conf_hangover_settings {
1230 u32 recover_time;
1231 u8 hangover_period;
1232 u8 dynamic_mode;
1233 u8 early_termination_mode;
1234 u8 max_period;
1235 u8 min_period;
1236 u8 increase_delta;
1237 u8 decrease_delta;
1238 u8 quiet_time;
1239 u8 increase_time;
1240 u8 window_size;
1241};
1242
1239struct conf_drv_settings { 1243struct conf_drv_settings {
1240 struct conf_sg_settings sg; 1244 struct conf_sg_settings sg;
1241 struct conf_rx_settings rx; 1245 struct conf_rx_settings rx;
@@ -1254,6 +1258,7 @@ struct conf_drv_settings {
1254 struct conf_rx_streaming_settings rx_streaming; 1258 struct conf_rx_streaming_settings rx_streaming;
1255 struct conf_fwlog fwlog; 1259 struct conf_fwlog fwlog;
1256 struct conf_rate_policy_settings rate; 1260 struct conf_rate_policy_settings rate;
1261 struct conf_hangover_settings hangover;
1257 u8 hci_io_ds; 1262 u8 hci_io_ds;
1258}; 1263};
1259 1264