aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl12xx.h
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2010-10-16 12:53:48 -0400
committerLuciano Coelho <coelho@ti.com>2011-01-24 15:11:48 -0500
commitbeb6c880720073c233633c45792a4bb5d5fedbd5 (patch)
tree303f38897f1b94c59b1fa7c5098a8e374ca1003f /drivers/net/wireless/wl12xx/wl12xx.h
parentae113b57826b40f1962a6e2417efd757b638e6a9 (diff)
wl12xx: Add AP related definitions to HOST-FW interface
Change structures in a non-destructive manner. This means no changes in size or location of existing members used by STA. Signed-off-by: Arik Nemtsov <arik@wizery.com> Reviewed-by: Luciano Coelho <coelho@ti.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl12xx.h')
-rw-r--r--drivers/net/wireless/wl12xx/wl12xx.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl12xx.h b/drivers/net/wireless/wl12xx/wl12xx.h
index 4bbdb89f1bcb..2f855443555c 100644
--- a/drivers/net/wireless/wl12xx/wl12xx.h
+++ b/drivers/net/wireless/wl12xx/wl12xx.h
@@ -195,6 +195,11 @@ struct wl1271_stats {
195#define NUM_TX_QUEUES 4 195#define NUM_TX_QUEUES 4
196#define NUM_RX_PKT_DESC 8 196#define NUM_RX_PKT_DESC 8
197 197
198#define AP_MAX_STATIONS 5
199
200/* Broadcast and Global links + links to stations */
201#define AP_MAX_LINKS (AP_MAX_STATIONS + 2)
202
198/* FW status registers */ 203/* FW status registers */
199struct wl1271_fw_status { 204struct wl1271_fw_status {
200 __le32 intr; 205 __le32 intr;
@@ -205,7 +210,18 @@ struct wl1271_fw_status {
205 __le32 rx_pkt_descs[NUM_RX_PKT_DESC]; 210 __le32 rx_pkt_descs[NUM_RX_PKT_DESC];
206 __le32 tx_released_blks[NUM_TX_QUEUES]; 211 __le32 tx_released_blks[NUM_TX_QUEUES];
207 __le32 fw_localtime; 212 __le32 fw_localtime;
208 __le32 padding[2]; 213
214 /* Next fields valid only in AP FW */
215
216 /*
217 * A bitmap (where each bit represents a single HLID)
218 * to indicate if the station is in PS mode.
219 */
220 __le32 link_ps_bitmap;
221
222 /* Number of freed MBs per HLID */
223 u8 tx_lnk_free_blks[AP_MAX_LINKS];
224 u8 padding_1[1];
209} __packed; 225} __packed;
210 226
211struct wl1271_rx_mem_pool_addr { 227struct wl1271_rx_mem_pool_addr {