Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / net / wireless / ti / wl18xx / tx.h
blob1d5c6dcfbc1e48a3fa09cffd51eb94b9daf75c26
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * This file is part of wl18xx
5 * Copyright (C) 2011 Texas Instruments. All rights reserved.
6 */
8 #ifndef __WL18XX_TX_H__
9 #define __WL18XX_TX_H__
11 #include "../wlcore/wlcore.h"
13 #define WL18XX_TX_HW_BLOCK_SPARE 1
14 /* for special cases - namely, TKIP and GEM */
15 #define WL18XX_TX_HW_EXTRA_BLOCK_SPARE 2
16 #define WL18XX_TX_HW_BLOCK_SIZE 268
18 #define WL18XX_TX_STATUS_DESC_ID_MASK 0x7F
19 #define WL18XX_TX_STATUS_STAT_BIT_IDX 7
21 /* Indicates this TX HW frame is not padded to SDIO block size */
22 #define WL18XX_TX_CTRL_NOT_PADDED BIT(7)
25 * The FW uses a special bit to indicate a wide channel should be used in
26 * the rate policy.
28 #define CONF_TX_RATE_USE_WIDE_CHAN BIT(31)
30 void wl18xx_tx_immediate_complete(struct wl1271 *wl);
32 #endif /* __WL12XX_TX_H__ */