wmi_unified_cfr_param.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * Copyright (c) 2019, The Linux Foundation. All rights reserved.
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for any
  5. * purpose with or without fee is hereby granted, provided that the above
  6. * copyright notice and this permission notice appear in all copies.
  7. *
  8. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  9. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  10. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  11. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  12. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  13. * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  14. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  15. */
  16. #ifndef _WMI_UNIFIED_CFR_PARAM_H_
  17. #define _WMI_UNIFIED_CFR_PARAM_H_
  18. #ifdef WLAN_CFR_ENABLE
  19. #define WMI_HOST_PEER_CFR_TIMER_ENABLE 1
  20. #define WMI_HOST_PEER_CFR_TIMER_DISABLE 0
  21. /**
  22. * struct peer_cfr_params - peer cfr capture cmd parameter
  23. * @request: enable/disable cfr capture
  24. * @macaddr: macaddr of the client
  25. * @vdev_id: vdev id
  26. * @periodicity: cfr capture period
  27. * @bandwidth: bandwidth of cfr capture
  28. * @capture_method: cfr capture method/type
  29. */
  30. struct peer_cfr_params {
  31. uint32_t request;
  32. uint8_t *macaddr;
  33. uint32_t vdev_id;
  34. uint32_t periodicity;
  35. uint32_t bandwidth;
  36. uint32_t capture_method;
  37. };
  38. #endif /* WLAN_CFR_ENABLE */
  39. #endif /* _WMI_UNIFIED_CFR_PARAM_H_ */