roaming.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. //------------------------------------------------------------------------------
  2. // <copyright file="roaming.h" company="Atheros">
  3. // Copyright (c) 2004-2007 Atheros Corporation. All rights reserved.
  4. //
  5. // This program is free software; you can redistribute it and/or modify
  6. // it under the terms of the GNU General Public License version 2 as
  7. // published by the Free Software Foundation;
  8. //
  9. // Software distributed under the License is distributed on an "AS
  10. // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  11. // implied. See the License for the specific language governing
  12. // rights and limitations under the License.
  13. //
  14. //
  15. //------------------------------------------------------------------------------
  16. //==============================================================================
  17. // Author(s): ="Atheros"
  18. //==============================================================================
  19. #ifndef _ROAMING_H_
  20. #define _ROAMING_H_
  21. /*
  22. * The signal quality could be in terms of either snr or rssi. We should
  23. * have an enum for both of them. For the time being, we are going to move
  24. * it to wmi.h that is shared by both host and the target, since we are
  25. * repartitioning the code to the host
  26. */
  27. #define SIGNAL_QUALITY_NOISE_FLOOR -96
  28. #define SIGNAL_QUALITY_METRICS_NUM_MAX 2
  29. typedef enum {
  30. SIGNAL_QUALITY_METRICS_SNR = 0,
  31. SIGNAL_QUALITY_METRICS_RSSI,
  32. SIGNAL_QUALITY_METRICS_ALL,
  33. } SIGNAL_QUALITY_METRICS_TYPE;
  34. #endif /* _ROAMING_H_ */