ARM: mm: Recreate kernel mappings in early_paging_init()
[linux/fpc-iii.git] / drivers / net / wireless / ti / wl18xx / tx.h
blobccddc548e44a95a9652c6a30eab50dd53343c1d4
1 /*
2 * This file is part of wl18xx
4 * Copyright (C) 2011 Texas Instruments. All rights reserved.
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * version 2 as published by the Free Software Foundation.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18 * 02110-1301 USA
22 #ifndef __WL18XX_TX_H__
23 #define __WL18XX_TX_H__
25 #include "../wlcore/wlcore.h"
27 #define WL18XX_TX_HW_BLOCK_SPARE 1
28 /* for special cases - namely, TKIP and GEM */
29 #define WL18XX_TX_HW_EXTRA_BLOCK_SPARE 2
30 #define WL18XX_TX_HW_BLOCK_SIZE 268
32 #define WL18XX_TX_STATUS_DESC_ID_MASK 0x7F
33 #define WL18XX_TX_STATUS_STAT_BIT_IDX 7
35 /* Indicates this TX HW frame is not padded to SDIO block size */
36 #define WL18XX_TX_CTRL_NOT_PADDED BIT(7)
39 * The FW uses a special bit to indicate a wide channel should be used in
40 * the rate policy.
42 #define CONF_TX_RATE_USE_WIDE_CHAN BIT(31)
44 void wl18xx_tx_immediate_complete(struct wl1271 *wl);
46 #endif /* __WL12XX_TX_H__ */