1 /* 2 * Copyright (c) 2020, 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 17 #include <qdf_types.h> 18 19 #ifndef _WLAN_IOT_SIM__PUBLIC_STRUCTS_H_ 20 #define _WLAN_IOT_SIM__PUBLIC_STRUCTS_H_ 21 22 /** 23 * struct simulation_test_params 24 * pdev_id: pdev id 25 * vdev_id: vdev id 26 * peer_macaddr: peer MAC address 27 * test_cmd_type: test command type 28 * test_subcmd_type: test command sub type 29 * frame_type: frame type 30 * frame_subtype: frame subtype 31 * seq: sequence number 32 * offset: Frame content offset 33 * frame_length: Frame content length 34 * buf_len: Buffer length 35 * bufp: buffer 36 */ 37 struct simulation_test_params { 38 u32 pdev_id; 39 u32 vdev_id; 40 u8 peer_mac[QDF_MAC_ADDR_SIZE]; 41 u32 test_cmd_type; 42 u32 test_subcmd_type; 43 u8 frame_type; 44 u8 frame_subtype; 45 u8 seq; 46 u8 reserved; 47 u16 offset; 48 u16 frame_length; 49 u32 buf_len; 50 u8 *bufp; 51 }; 52 53 #endif /* _WLAN_IOT_SIM__PUBLIC_STRUCTS_H_ */ 54