mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-28 15:13:39 +00:00
77d786b6e8
This version takes advantage of all the cleanups to the code. It has been modified to build on older kernels. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
21 lines
655 B
C
21 lines
655 B
C
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
|
|
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
|
|
|
#ifndef __ODM_TYPES_H__
|
|
#define __ODM_TYPES_H__
|
|
|
|
#define ODM_CE 0x04 /* BIT(2) */
|
|
|
|
enum HAL_STATUS {
|
|
HAL_STATUS_SUCCESS,
|
|
HAL_STATUS_FAILURE,
|
|
};
|
|
|
|
#define SET_TX_DESC_ANTSEL_A_88E(__ptxdesc, __value) \
|
|
le32p_replace_bits((__le32 *)(__ptxdesc + 8), __value, BIT(24))
|
|
#define SET_TX_DESC_ANTSEL_B_88E(__ptxdesc, __value) \
|
|
le32p_replace_bits((__le32 *)(__ptxdesc + 8), __value, BIT(25))
|
|
#define SET_TX_DESC_ANTSEL_C_88E(__ptxdesc, __value) \
|
|
le32p_replace_bits((__le32 *)(__ptxdesc + 28), __value, BIT(29))
|
|
|
|
#endif /* __ODM_TYPES_H__ */
|