radio_2056.c 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. Broadcom B43 wireless driver
  3. IEEE 802.11n 2056 radio device data tables
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program; see the file COPYING. If not, write to
  14. the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
  15. Boston, MA 02110-1301, USA.
  16. */
  17. #include "b43.h"
  18. #include "radio_2056.h"
  19. #include "phy_common.h"
  20. static const struct b43_nphy_channeltab_entry_rev3 b43_nphy_channeltab_rev3[] = {
  21. };
  22. const struct b43_nphy_channeltab_entry_rev3 *
  23. b43_nphy_get_chantabent_rev3(struct b43_wldev *dev, u16 freq)
  24. {
  25. const struct b43_nphy_channeltab_entry_rev3 *e;
  26. unsigned int i;
  27. for (i = 0; i < ARRAY_SIZE(b43_nphy_channeltab_rev3); i++) {
  28. e = &(b43_nphy_channeltab_rev3[i]);
  29. if (e->freq == freq)
  30. return e;
  31. }
  32. return NULL;
  33. }