Commit 9c803a03 authored by Rafał Miłecki's avatar Rafał Miłecki Committed by John W. Linville

b43: N-PHY: move declarations of chantables functions to correct files

Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 2a870831
...@@ -251,4 +251,9 @@ struct b43_nphy_channeltab_entry_rev2 { ...@@ -251,4 +251,9 @@ struct b43_nphy_channeltab_entry_rev2 {
void b2055_upload_inittab(struct b43_wldev *dev, void b2055_upload_inittab(struct b43_wldev *dev,
bool ghz5, bool ignore_uploadflag); bool ghz5, bool ignore_uploadflag);
/* Get the NPHY Channel Switch Table entry for a channel.
* Returns NULL on failure to find an entry. */
const struct b43_nphy_channeltab_entry_rev2 *
b43_nphy_get_chantabent_rev2(struct b43_wldev *dev, u8 channel);
#endif /* B43_RADIO_2055_H_ */ #endif /* B43_RADIO_2055_H_ */
...@@ -1117,4 +1117,9 @@ struct b43_nphy_channeltab_entry_rev3 { ...@@ -1117,4 +1117,9 @@ struct b43_nphy_channeltab_entry_rev3 {
void b2056_upload_inittabs(struct b43_wldev *dev, void b2056_upload_inittabs(struct b43_wldev *dev,
bool ghz5, bool ignore_uploadflag); bool ghz5, bool ignore_uploadflag);
/* Get the NPHY Channel Switch Table entry for a channel.
* Returns NULL on failure to find an entry. */
const struct b43_nphy_channeltab_entry_rev3 *
b43_nphy_get_chantabent_rev3(struct b43_wldev *dev, u16 freq);
#endif /* B43_RADIO_2056_H_ */ #endif /* B43_RADIO_2056_H_ */
...@@ -60,16 +60,8 @@ struct nphy_gain_ctl_workaround_entry { ...@@ -60,16 +60,8 @@ struct nphy_gain_ctl_workaround_entry {
struct nphy_gain_ctl_workaround_entry *b43_nphy_get_gain_ctl_workaround_ent( struct nphy_gain_ctl_workaround_entry *b43_nphy_get_gain_ctl_workaround_ent(
struct b43_wldev *dev, bool ghz5, bool ext_lna); struct b43_wldev *dev, bool ghz5, bool ext_lna);
/* Get the NPHY Channel Switch Table entry for a channel.
* Returns NULL on failure to find an entry. */
const struct b43_nphy_channeltab_entry_rev2 *
b43_nphy_get_chantabent_rev2(struct b43_wldev *dev, u8 channel);
const struct b43_nphy_channeltab_entry_rev3 *
b43_nphy_get_chantabent_rev3(struct b43_wldev *dev, u16 freq);
/* The N-PHY tables. */ /* The N-PHY tables. */
#define B43_NTAB_TYPEMASK 0xF0000000 #define B43_NTAB_TYPEMASK 0xF0000000
#define B43_NTAB_8BIT 0x10000000 #define B43_NTAB_8BIT 0x10000000
#define B43_NTAB_16BIT 0x20000000 #define B43_NTAB_16BIT 0x20000000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment