phy_ht.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #ifndef B43_PHY_HT_H_
  2. #define B43_PHY_HT_H_
  3. #include "phy_common.h"
  4. #define B43_PHY_HT_BBCFG 0x001 /* BB config */
  5. #define B43_PHY_HT_BBCFG_RSTCCA 0x4000 /* Reset CCA */
  6. #define B43_PHY_HT_BBCFG_RSTRX 0x8000 /* Reset RX */
  7. #define B43_PHY_HT_BANDCTL 0x009 /* Band control */
  8. #define B43_PHY_HT_BANDCTL_5GHZ 0x0001 /* Use the 5GHz band */
  9. #define B43_PHY_HT_TABLE_ADDR 0x072 /* Table address */
  10. #define B43_PHY_HT_TABLE_DATALO 0x073 /* Table data low */
  11. #define B43_PHY_HT_TABLE_DATAHI 0x074 /* Table data high */
  12. #define B43_PHY_HT_BW1 0x1CE
  13. #define B43_PHY_HT_BW2 0x1CF
  14. #define B43_PHY_HT_BW3 0x1D0
  15. #define B43_PHY_HT_BW4 0x1D1
  16. #define B43_PHY_HT_BW5 0x1D2
  17. #define B43_PHY_HT_BW6 0x1D3
  18. #define B43_PHY_HT_RF_CTL1 B43_PHY_EXTG(0x010)
  19. #define B43_PHY_HT_AFE_CTL1 B43_PHY_EXTG(0x110)
  20. #define B43_PHY_HT_AFE_CTL2 B43_PHY_EXTG(0x111)
  21. #define B43_PHY_HT_AFE_CTL3 B43_PHY_EXTG(0x114)
  22. #define B43_PHY_HT_AFE_CTL4 B43_PHY_EXTG(0x115)
  23. #define B43_PHY_HT_AFE_CTL5 B43_PHY_EXTG(0x118)
  24. #define B43_PHY_HT_AFE_CTL6 B43_PHY_EXTG(0x119)
  25. /* Values for PHY registers used on channel switching */
  26. struct b43_phy_ht_channeltab_e_phy {
  27. u16 bw1;
  28. u16 bw2;
  29. u16 bw3;
  30. u16 bw4;
  31. u16 bw5;
  32. u16 bw6;
  33. };
  34. struct b43_phy_ht {
  35. };
  36. struct b43_phy_operations;
  37. extern const struct b43_phy_operations b43_phyops_ht;
  38. #endif /* B43_PHY_HT_H_ */