• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2021 Chipsea Technologies (Shenzhen) Corp., Ltd. All rights reserved.
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  */
15 #ifndef _WIFI_TYPES_H
16 #define _WIFI_TYPES_H
17 
18 #include "wb_co_int.h"
19 
20 ///True value
21 #define true    1
22 ///False value
23 #define false   0
24 
25 #ifdef CONFIG_RWNX_TL4
26 typedef uint16_t u8_l;
27 typedef int16_t s8_l;
28 typedef uint16_t bool_l;
29 #else
30 typedef uint8_t u8_l;
31 typedef int8_t s8_l;
32 typedef uint8_t bool_l;
33 #endif
34 typedef uint16_t u16_l;
35 typedef int16_t s16_l;
36 typedef uint32_t u32_l;
37 typedef int32_t s32_l;
38 typedef uint64_t u64_l;
39 
40 #endif // _WIFI_TYPES_H
41