• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_SDP_ROM_H
18 #define MSG_SDP_ROM_H
19 
20 #include "wlan_types.h"
21 
22 typedef struct {
23     osal_u8 is_init;
24     osal_u8 tx_enable;
25     osal_u8 publish_cnt;
26     osal_u8 subscribe_cnt;
27     osal_u8 pre_dw;
28     osal_u8 rsv[2]; /* 保留2个字节 */
29     osal_u8 timer_enable;
30     osal_u16 init_period_ms;
31     osal_u16 init_dw_ms;
32     mac_channel_stru sw_chan;
33 } mac_sdp_init_info;
34 
35 typedef struct {
36     osal_u8 mac[WLAN_MAC_ADDR_LEN];
37     osal_u8 peer_handle;
38     osal_u8 type : 1; /* 1-add mac/handle; 0-clear mac/handle */
39     osal_u8 rsv : 7; /* 7 bits */
40 } oal_sdp_peer_mac_handle;
41 
42 #endif