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.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/conf.h b/drivers/net/wireless/wl12xx/conf.h
index c83fefb6662f..b5a7b30afda3 100644
--- a/drivers/net/wireless/wl12xx/conf.h
+++ b/drivers/net/wireless/wl12xx/conf.h
@@ -1248,6 +1248,59 @@ struct conf_fm_coex {
1248 u8 swallow_clk_diff; 1248 u8 swallow_clk_diff;
1249}; 1249};
1250 1250
1251struct conf_rx_streaming_settings {
1252 /*
1253 * RX Streaming duration (in msec) from last tx/rx
1254 *
1255 * Range: u32
1256 */
1257 u32 duration;
1258
1259 /*
1260 * Bitmap of tids to be polled during RX streaming.
1261 * (Note: it doesn't look like it really matters)
1262 *
1263 * Range: 0x1-0xff
1264 */
1265 u8 queues;
1266
1267 /*
1268 * RX Streaming interval.
1269 * (Note:this value is also used as the rx streaming timeout)
1270 * Range: 0 (disabled), 10 - 100
1271 */
1272 u8 interval;
1273
1274 /*
1275 * enable rx streaming also when there is no coex activity
1276 */
1277 u8 always;
1278};
1279
1280struct conf_fwlog {
1281 /* Continuous or on-demand */
1282 u8 mode;
1283
1284 /*
1285 * Number of memory blocks dedicated for the FW logger
1286 *
1287 * Range: 1-3, or 0 to disable the FW logger
1288 */
1289 u8 mem_blocks;
1290
1291 /* Minimum log level threshold */
1292 u8 severity;
1293
1294 /* Include/exclude timestamps from the log messages */
1295 u8 timestamp;
1296
1297 /* See enum wl1271_fwlogger_output */
1298 u8 output;
1299
1300 /* Regulates the frequency of log messages */
1301 u8 threshold;
1302};
1303
1251struct conf_drv_settings { 1304struct conf_drv_settings {
1252 struct conf_sg_settings sg; 1305 struct conf_sg_settings sg;
1253 struct conf_rx_settings rx; 1306 struct conf_rx_settings rx;
@@ -1263,6 +1316,8 @@ struct conf_drv_settings {
1263 struct conf_memory_settings mem_wl127x; 1316 struct conf_memory_settings mem_wl127x;
1264 struct conf_memory_settings mem_wl128x; 1317 struct conf_memory_settings mem_wl128x;
1265 struct conf_fm_coex fm_coex; 1318 struct conf_fm_coex fm_coex;
1319 struct conf_rx_streaming_settings rx_streaming;
1320 struct conf_fwlog fwlog;
1266 u8 hci_io_ds; 1321 u8 hci_io_ds;
1267}; 1322};
1268 1323