halrf_psd.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /******************************************************************************
  2. *
  3. * Copyright(c) 2007 - 2017 Realtek Corporation.
  4. *
  5. * This program is free software; you can redistribute it and/or modify it
  6. * under the terms of version 2 of the GNU General Public License as
  7. * published by the Free Software Foundation.
  8. *
  9. * This program is distributed in the hope that it will be useful, but WITHOUT
  10. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  12. * more details.
  13. *
  14. *****************************************************************************/
  15. #ifndef __HALRF_PSD_H__
  16. #define __HALRF_PSD_H__
  17. #if (DM_ODM_SUPPORT_TYPE & ODM_WIN)
  18. struct _halrf_psd_data {
  19. u32 point;
  20. u32 start_point;
  21. u32 stop_point;
  22. u32 average;
  23. u32 buf_size;
  24. u32 psd_data[256];
  25. u32 psd_progress;
  26. };
  27. enum rt_status
  28. halrf_psd_init(
  29. struct dm_struct *dm);
  30. enum rt_status
  31. halrf_psd_query(
  32. struct dm_struct *dm,
  33. u32 *outbuf,
  34. u32 buf_size);
  35. enum rt_status
  36. halrf_psd_init_query(
  37. struct dm_struct *dm,
  38. u32 *outbuf,
  39. u32 point,
  40. u32 start_point,
  41. u32 stop_point,
  42. u32 average,
  43. u32 buf_size);
  44. #endif /*#if (DM_ODM_SUPPORT_TYPE & ODM_WIN)*/
  45. #endif /*#ifndef __HALRF_PSD_H__*/