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 /* 20 * This file contains the parameter definitions for the WDS WMI APIs. 21 */ 22 23 #ifndef _WMI_UNIFIED_WDS_PARAM_H_ 24 #define _WMI_UNIFIED_WDS_PARAM_H_ 25 26 /** 27 * struct peer_add_wds_entry_params - WDS peer entry add params 28 * @dest_addr: destination macaddr 29 * @peer_addr: peer mac addr 30 * @flags: WMI_HOST_WDS_FLAG_STATIC 31 * @vdev_id: Vdev id 32 */ 33 struct peer_add_wds_entry_params { 34 uint8_t dest_addr[QDF_MAC_ADDR_SIZE]; 35 uint8_t peer_addr[QDF_MAC_ADDR_SIZE]; 36 uint32_t flags; 37 uint32_t vdev_id; 38 }; 39 40 /** 41 * struct peer_del_wds_entry_params - WDS peer entry del params 42 * @dest_addr: destination macaddr 43 * @vdev_id: Vdev id 44 */ 45 struct peer_del_wds_entry_params { 46 uint8_t dest_addr[QDF_MAC_ADDR_SIZE]; 47 uint32_t vdev_id; 48 }; 49 50 /** 51 * struct peer_update_wds_entry_params - WDS peer entry update params 52 * @dest_addr: destination macaddr 53 * @peer_addr: peer mac addr 54 * @flags: WMI_HOST_WDS_FLAG_STATIC 55 * @vdev_id: Vdev id 56 */ 57 struct peer_update_wds_entry_params { 58 uint8_t dest_addr[QDF_MAC_ADDR_SIZE]; 59 uint8_t peer_addr[QDF_MAC_ADDR_SIZE]; 60 uint32_t flags; 61 uint32_t vdev_id; 62 }; 63 #endif /* _WMI_UNIFIED_WDS_PARAM_H_ */ 64