summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti/wl18xx/wl18xx.h
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2012-05-10 12:13:29 +0300
committerLuciano Coelho <coelho@ti.com>2012-06-05 15:55:25 +0300
commit23ee9bf8c3cb57768bba31a8cc62b87d39ca4e56 (patch)
tree5461e45d448cf7c82c1912b71387a6f454de9b22 /drivers/net/wireless/ti/wl18xx/wl18xx.h
parent169da04f523bafee46993b1efbddb913641aad56 (diff)
downloadblackbird-obmc-linux-23ee9bf8c3cb57768bba31a8cc62b87d39ca4e56.tar.gz
blackbird-obmc-linux-23ee9bf8c3cb57768bba31a8cc62b87d39ca4e56.zip
wl18xx: add runtime configuration parameters
Now wlcore requires the lower drivers to set the correct configuration. Move the existing private configuration to the proper place and add all generic configuration parameters. The important changes are in Tx interrupt pacing and Rx BA window size. Signed-off-by: Luciano Coelho <coelho@ti.com> Signed-off-by: Arik Nemtsov <arik@wizery.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl18xx/wl18xx.h')
-rw-r--r--drivers/net/wireless/ti/wl18xx/wl18xx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/wl18xx.h b/drivers/net/wireless/ti/wl18xx/wl18xx.h
index d24f9c0fd277..c9bf5c6559f8 100644
--- a/drivers/net/wireless/ti/wl18xx/wl18xx.h
+++ b/drivers/net/wireless/ti/wl18xx/wl18xx.h
@@ -22,6 +22,7 @@
#ifndef __WL18XX_PRIV_H__
#define __WL18XX_PRIV_H__
+#include "conf.h"
#define WL18XX_CMD_MAX_SIZE 740
@@ -29,6 +30,8 @@ struct wl18xx_priv {
/* buffer for sending commands to FW */
u8 cmd_buf[WL18XX_CMD_MAX_SIZE];
+ struct wl18xx_priv_conf conf;
+
/* Index of last released Tx desc in FW */
u8 last_fw_rls_idx;
};
OpenPOWER on IntegriCloud