xref: /linux/drivers/net/wireless/broadcom/b43legacy/ilt.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef B43legacy_ILT_H_
3 #define B43legacy_ILT_H_
4 
5 #define B43legacy_ILT_ROTOR_SIZE	53
6 extern const u32 b43legacy_ilt_rotor[B43legacy_ILT_ROTOR_SIZE];
7 #define B43legacy_ILT_RETARD_SIZE	53
8 extern const u32 b43legacy_ilt_retard[B43legacy_ILT_RETARD_SIZE];
9 #define B43legacy_ILT_FINEFREQA_SIZE	256
10 extern const u16 b43legacy_ilt_finefreqa[B43legacy_ILT_FINEFREQA_SIZE];
11 #define B43legacy_ILT_FINEFREQG_SIZE	256
12 extern const u16 b43legacy_ilt_finefreqg[B43legacy_ILT_FINEFREQG_SIZE];
13 #define B43legacy_ILT_NOISEA2_SIZE	8
14 extern const u16 b43legacy_ilt_noisea2[B43legacy_ILT_NOISEA2_SIZE];
15 #define B43legacy_ILT_NOISEA3_SIZE	8
16 extern const u16 b43legacy_ilt_noisea3[B43legacy_ILT_NOISEA3_SIZE];
17 #define B43legacy_ILT_NOISEG1_SIZE	8
18 extern const u16 b43legacy_ilt_noiseg1[B43legacy_ILT_NOISEG1_SIZE];
19 #define B43legacy_ILT_NOISEG2_SIZE	8
20 extern const u16 b43legacy_ilt_noiseg2[B43legacy_ILT_NOISEG2_SIZE];
21 #define B43legacy_ILT_NOISESCALEG_SIZE	27
22 extern const u16 b43legacy_ilt_noisescaleg1[B43legacy_ILT_NOISESCALEG_SIZE];
23 extern const u16 b43legacy_ilt_noisescaleg2[B43legacy_ILT_NOISESCALEG_SIZE];
24 extern const u16 b43legacy_ilt_noisescaleg3[B43legacy_ILT_NOISESCALEG_SIZE];
25 #define B43legacy_ILT_SIGMASQR_SIZE	53
26 extern const u16 b43legacy_ilt_sigmasqr1[B43legacy_ILT_SIGMASQR_SIZE];
27 extern const u16 b43legacy_ilt_sigmasqr2[B43legacy_ILT_SIGMASQR_SIZE];
28 
29 
30 void b43legacy_ilt_write(struct b43legacy_wldev *dev, u16 offset, u16 val);
31 void b43legacy_ilt_write32(struct b43legacy_wldev *dev, u16 offset,
32 			   u32 val);
33 u16 b43legacy_ilt_read(struct b43legacy_wldev *dev, u16 offset);
34 
35 #endif /* B43legacy_ILT_H_ */
36