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_DHCP_OFFLOAD_ROM_H 18 #define MSG_DHCP_OFFLOAD_ROM_H 19 20 #include "mac_frame_common_rom.h" 21 22 typedef struct { 23 osal_u8 cipher_key_type; 24 osal_u8 cipher_protocol_type; 25 osal_u8 cipher_key_id; 26 osal_u8 ra_lut_index; 27 } mac_cipher_info_stru; 28 29 typedef struct { 30 dhcp_record_frame dhcp_request; 31 mac_ieee80211_frame_stru dhcp_request_header; 32 osal_u32 lease_time; 33 osal_u32 request_ip; 34 osal_u32 server_ip; 35 osal_u32 dhcp_offload_timeout; 36 osal_u32 dhcp_renew_retry; 37 mac_cipher_info_stru cipher_info; 38 } mac_dhcp_offload_param_sync; 39 40 #endif