1 /* 2 * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 * Description: Header file 15 */ 16 17 #ifndef MSG_TWT_ROM_H 18 #define MSG_TWT_ROM_H 19 #include "osal_types.h" 20 #include "mac_frame_common_rom.h" 21 #include "wlan_resource_common_rom.h" 22 23 typedef struct { 24 osal_u8 twt_session_status; 25 osal_u16 user_idx; 26 osal_u8 twt_ps_pause; 27 } mac_d2hd_twt_cfg_stru; 28 29 typedef struct { 30 osal_u32 cfg_type; 31 mac_d2hd_twt_cfg_stru twt_cfg; 32 } mac_d2hd_twt_sync_info_stru; 33 34 /* 修改参数 */ 35 typedef struct { 36 mac_twt_update_source_enum_uint8 update_source; 37 osal_u16 user_idx; 38 osal_u8 resv; 39 mac_cfg_twt_stru twt_cfg; 40 } mac_ctx_update_twt_stru; 41 42 #endif