aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/conf.h
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2012-02-22 14:44:50 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-02-22 14:44:50 -0500
commit8715d941b2fa8591474e7d0dad66589fce1892d2 (patch)
treeec228ec158bb5b4424f898d336279c29de4cf81f /drivers/net/wireless/wl12xx/conf.h
parentca994a36f585432458ead9133fcfe05440edbb7b (diff)
parent51c4ed95a857ded6017537fd53fa00db64908954 (diff)
Merge branch 'for-linville' of git://git.kernel.org/pub/scm/linux/kernel/git/luca/wl12xx
Diffstat (limited to 'drivers/net/wireless/wl12xx/conf.h')
-rw-r--r--drivers/net/wireless/wl12xx/conf.h51
1 files changed, 43 insertions, 8 deletions
diff --git a/drivers/net/wireless/wl12xx/conf.h b/drivers/net/wireless/wl12xx/conf.h
index 1bcfb017058d..cc50faaf03d1 100644
--- a/drivers/net/wireless/wl12xx/conf.h
+++ b/drivers/net/wireless/wl12xx/conf.h
@@ -66,7 +66,8 @@ enum {
66}; 66};
67 67
68enum { 68enum {
69 CONF_HW_RXTX_RATE_MCS7 = 0, 69 CONF_HW_RXTX_RATE_MCS7_SGI = 0,
70 CONF_HW_RXTX_RATE_MCS7,
70 CONF_HW_RXTX_RATE_MCS6, 71 CONF_HW_RXTX_RATE_MCS6,
71 CONF_HW_RXTX_RATE_MCS5, 72 CONF_HW_RXTX_RATE_MCS5,
72 CONF_HW_RXTX_RATE_MCS4, 73 CONF_HW_RXTX_RATE_MCS4,
@@ -91,6 +92,10 @@ enum {
91 CONF_HW_RXTX_RATE_UNSUPPORTED = 0xff 92 CONF_HW_RXTX_RATE_UNSUPPORTED = 0xff
92}; 93};
93 94
95/* Rates between and including these are MCS rates */
96#define CONF_HW_RXTX_RATE_MCS_MIN CONF_HW_RXTX_RATE_MCS7_SGI
97#define CONF_HW_RXTX_RATE_MCS_MAX CONF_HW_RXTX_RATE_MCS0
98
94enum { 99enum {
95 CONF_SG_DISABLE = 0, 100 CONF_SG_DISABLE = 0,
96 CONF_SG_PROTECTIVE, 101 CONF_SG_PROTECTIVE,
@@ -312,6 +317,10 @@ enum {
312 CONF_AP_BT_ACL_VAL_BT_SERVE_TIME, 317 CONF_AP_BT_ACL_VAL_BT_SERVE_TIME,
313 CONF_AP_BT_ACL_VAL_WL_SERVE_TIME, 318 CONF_AP_BT_ACL_VAL_WL_SERVE_TIME,
314 319
320 /* CTS Diluting params */
321 CONF_SG_CTS_DILUTED_BAD_RX_PACKETS_TH,
322 CONF_SG_CTS_CHOP_IN_DUAL_ANT_SCO_MASTER,
323
315 CONF_SG_TEMP_PARAM_1, 324 CONF_SG_TEMP_PARAM_1,
316 CONF_SG_TEMP_PARAM_2, 325 CONF_SG_TEMP_PARAM_2,
317 CONF_SG_TEMP_PARAM_3, 326 CONF_SG_TEMP_PARAM_3,
@@ -810,6 +819,19 @@ struct conf_conn_settings {
810 u8 listen_interval; 819 u8 listen_interval;
811 820
812 /* 821 /*
822 * Firmware wakeup conditions during suspend
823 * Range: CONF_WAKE_UP_EVENT_*
824 */
825 u8 suspend_wake_up_event;
826
827 /*
828 * Listen interval during suspend.
829 * Currently will be in DTIMs (1-10)
830 *
831 */
832 u8 suspend_listen_interval;
833
834 /*
813 * Enable or disable the beacon filtering. 835 * Enable or disable the beacon filtering.
814 * 836 *
815 * Range: CONF_BCN_FILT_MODE_* 837 * Range: CONF_BCN_FILT_MODE_*
@@ -868,13 +890,6 @@ struct conf_conn_settings {
868 u8 ps_poll_threshold; 890 u8 ps_poll_threshold;
869 891
870 /* 892 /*
871 * PS Poll failure recovery ACTIVE period length
872 *
873 * Range: u32 (ms)
874 */
875 u32 ps_poll_recovery_period;
876
877 /*
878 * Configuration of signal average weights. 893 * Configuration of signal average weights.
879 */ 894 */
880 struct conf_sig_weights sig_weights; 895 struct conf_sig_weights sig_weights;
@@ -922,6 +937,18 @@ struct conf_conn_settings {
922 u8 psm_entry_nullfunc_retries; 937 u8 psm_entry_nullfunc_retries;
923 938
924 /* 939 /*
940 * Specifies the dynamic PS timeout in ms that will be used
941 * by the FW when in AUTO_PS mode
942 */
943 u16 dynamic_ps_timeout;
944
945 /*
946 * Specifies whether dynamic PS should be disabled and PSM forced.
947 * This is required for certain WiFi certification tests.
948 */
949 u8 forced_ps;
950
951 /*
925 * 952 *
926 * Specifies the interval of the connection keep-alive null-func 953 * Specifies the interval of the connection keep-alive null-func
927 * frame in ms. 954 * frame in ms.
@@ -1055,6 +1082,14 @@ struct conf_scan_settings {
1055 */ 1082 */
1056 u16 num_probe_reqs; 1083 u16 num_probe_reqs;
1057 1084
1085 /*
1086 * Scan trigger (split scan) timeout. The FW will split the scan
1087 * operation into slices of the given time and allow the FW to schedule
1088 * other tasks in between.
1089 *
1090 * Range: u32 Microsecs
1091 */
1092 u32 split_scan_timeout;
1058}; 1093};
1059 1094
1060struct conf_sched_scan_settings { 1095struct conf_sched_scan_settings {