wmi_unified_wds_param.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /*
  2. * Copyright (c) 2021 The Linux Foundation. All rights reserved.
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for
  5. * any purpose with or without fee is hereby granted, provided that the
  6. * above copyright notice and this permission notice appear in all
  7. * copies.
  8. *
  9. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
  10. * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
  11. * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
  12. * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  13. * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  14. * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  15. * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  16. * PERFORMANCE OF THIS SOFTWARE.
  17. */
  18. /*
  19. * This file contains the parameter definitions for the WDS WMI APIs.
  20. */
  21. #ifndef _WMI_UNIFIED_WDS_PARAM_H_
  22. #define _WMI_UNIFIED_WDS_PARAM_H_
  23. /**
  24. * struct peer_add_wds_entry_params - WDS peer entry add params
  25. * @dest_addr: destination macaddr
  26. * @peer_addr: peer mac addr
  27. * @flags: WMI_HOST_WDS_FLAG_STATIC
  28. * @vdev_id: Vdev id
  29. */
  30. struct peer_add_wds_entry_params {
  31. uint8_t dest_addr[QDF_MAC_ADDR_SIZE];
  32. uint8_t peer_addr[QDF_MAC_ADDR_SIZE];
  33. uint32_t flags;
  34. uint32_t vdev_id;
  35. };
  36. /**
  37. * struct peer_del_wds_entry_params - WDS peer entry del params
  38. * @dest_addr: destination macaddr
  39. * @vdev_id: Vdev id
  40. */
  41. struct peer_del_wds_entry_params {
  42. uint8_t dest_addr[QDF_MAC_ADDR_SIZE];
  43. uint32_t vdev_id;
  44. };
  45. /**
  46. * struct peer_update_wds_entry_params - WDS peer entry update params
  47. * @dest_addr: destination macaddr
  48. * @peer_addr: peer mac addr
  49. * @flags: WMI_HOST_WDS_FLAG_STATIC
  50. * @vdev_id: Vdev id
  51. */
  52. struct peer_update_wds_entry_params {
  53. uint8_t dest_addr[QDF_MAC_ADDR_SIZE];
  54. uint8_t peer_addr[QDF_MAC_ADDR_SIZE];
  55. uint32_t flags;
  56. uint32_t vdev_id;
  57. };
  58. #endif /* _WMI_UNIFIED_WDS_PARAM_H_ */