wl12xx.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*
  2. * This file is part of wl12xx
  3. *
  4. * Copyright (C) 2011 Texas Instruments Inc.
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License
  8. * version 2 as published by the Free Software Foundation.
  9. *
  10. * This program is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program; if not, write to the Free Software
  17. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  18. * 02110-1301 USA
  19. *
  20. */
  21. #ifndef __WL12XX_PRIV_H__
  22. #define __WL12XX_PRIV_H__
  23. #include "conf.h"
  24. /* minimum FW required for driver for wl127x */
  25. #define WL127X_CHIP_VER 6
  26. #define WL127X_IFTYPE_VER 3
  27. #define WL127X_MAJOR_VER 10
  28. #define WL127X_SUBTYPE_VER 2
  29. #define WL127X_MINOR_VER 115
  30. /* minimum FW required for driver for wl128x */
  31. #define WL128X_CHIP_VER 7
  32. #define WL128X_IFTYPE_VER 3
  33. #define WL128X_MAJOR_VER 10
  34. #define WL128X_SUBTYPE_VER 2
  35. #define WL128X_MINOR_VER 115
  36. struct wl127x_rx_mem_pool_addr {
  37. u32 addr;
  38. u32 addr_extra;
  39. };
  40. struct wl12xx_priv {
  41. struct wl12xx_priv_conf conf;
  42. int ref_clock;
  43. int tcxo_clock;
  44. };
  45. #endif /* __WL12XX_PRIV_H__ */