1 #ifndef B43_TABLES_NPHY_H_
2 #define B43_TABLES_NPHY_H_
4 #include <linux/types.h>
7 struct b43_nphy_channeltab_entry {
8 /* The channel number */
10 /* Radio register values on channelswitch */
20 u8 radio_lgbuf_cenbuf;
23 u8 radio_c1_lgbuf_atune;
24 u8 radio_c1_lgbuf_gtune;
26 u8 radio_c1_tx_pgapadtn;
27 u8 radio_c1_tx_mxbgtrim;
28 u8 radio_c2_lgbuf_atune;
29 u8 radio_c2_lgbuf_gtune;
31 u8 radio_c2_tx_pgapadtn;
32 u8 radio_c2_tx_mxbgtrim;
33 /* PHY register values on channelswitch */
40 /* The channel frequency in MHz */
42 /* An unknown value */
49 /* Upload the default register value table.
50 * If "ghz5" is true, we upload the 5Ghz table. Otherwise the 2.4Ghz
51 * table is uploaded. If "ignore_uploadflag" is true, we upload any value
52 * and ignore the "UPLOAD" flag. */
53 void b2055_upload_inittab(struct b43_wldev *dev,
54 bool ghz5, bool ignore_uploadflag);
57 /* Get the NPHY Channel Switch Table entry for a channel number.
58 * Returns NULL on failure to find an entry. */
59 const struct b43_nphy_channeltab_entry *
60 b43_nphy_get_chantabent(struct b43_wldev *dev, u8 channel);
63 #endif /* B43_TABLES_NPHY_H_ */