1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * This file is part of wl18xx
5 * Copyright (C) 2011 Texas Instruments. All rights reserved.
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
28 #define CONF_TX_RATE_USE_WIDE_CHAN BIT(31)
30 void wl18xx_tx_immediate_complete(struct wl1271
*wl
);
32 #endif /* __WL12XX_TX_H__ */