18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef B43_PHY_AC_H_
38c2ecf20Sopenharmony_ci#define B43_PHY_AC_H_
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#include "phy_common.h"
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#define B43_PHY_AC_BBCFG			0x001
88c2ecf20Sopenharmony_ci#define  B43_PHY_AC_BBCFG_RSTCCA		0x4000	/* Reset CCA */
98c2ecf20Sopenharmony_ci#define B43_PHY_AC_BANDCTL			0x003	/* Band control */
108c2ecf20Sopenharmony_ci#define  B43_PHY_AC_BANDCTL_5GHZ		0x0001
118c2ecf20Sopenharmony_ci#define B43_PHY_AC_TABLE_ID			0x00d
128c2ecf20Sopenharmony_ci#define B43_PHY_AC_TABLE_OFFSET			0x00e
138c2ecf20Sopenharmony_ci#define B43_PHY_AC_TABLE_DATA1			0x00f
148c2ecf20Sopenharmony_ci#define B43_PHY_AC_TABLE_DATA2			0x010
158c2ecf20Sopenharmony_ci#define B43_PHY_AC_TABLE_DATA3			0x011
168c2ecf20Sopenharmony_ci#define B43_PHY_AC_CLASSCTL			0x140	/* Classifier control */
178c2ecf20Sopenharmony_ci#define  B43_PHY_AC_CLASSCTL_CCKEN		0x0001	/* CCK enable */
188c2ecf20Sopenharmony_ci#define  B43_PHY_AC_CLASSCTL_OFDMEN		0x0002	/* OFDM enable */
198c2ecf20Sopenharmony_ci#define  B43_PHY_AC_CLASSCTL_WAITEDEN		0x0004	/* Waited enable */
208c2ecf20Sopenharmony_ci#define B43_PHY_AC_BW1A				0x371
218c2ecf20Sopenharmony_ci#define B43_PHY_AC_BW2				0x372
228c2ecf20Sopenharmony_ci#define B43_PHY_AC_BW3				0x373
238c2ecf20Sopenharmony_ci#define B43_PHY_AC_BW4				0x374
248c2ecf20Sopenharmony_ci#define B43_PHY_AC_BW5				0x375
258c2ecf20Sopenharmony_ci#define B43_PHY_AC_BW6				0x376
268c2ecf20Sopenharmony_ci#define B43_PHY_AC_RFCTL_CMD			0x408
278c2ecf20Sopenharmony_ci#define B43_PHY_AC_C1_CLIP			0x6d4
288c2ecf20Sopenharmony_ci#define  B43_PHY_AC_C1_CLIP_DIS			0x4000
298c2ecf20Sopenharmony_ci#define B43_PHY_AC_C2_CLIP			0x8d4
308c2ecf20Sopenharmony_ci#define  B43_PHY_AC_C2_CLIP_DIS			0x4000
318c2ecf20Sopenharmony_ci#define B43_PHY_AC_C3_CLIP			0xad4
328c2ecf20Sopenharmony_ci#define  B43_PHY_AC_C3_CLIP_DIS			0x4000
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_cistruct b43_phy_ac {
358c2ecf20Sopenharmony_ci};
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ciextern const struct b43_phy_operations b43_phyops_ac;
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci#endif /* B43_PHY_AC_H_ */
40