blob: a9a724e2c6aa3cdc07ae64e3e2828437ddad79f2 [file] [log] [blame]
Jeff Johnson295189b2012-06-20 16:38:30 -07001/*
Kiet Lam1ed83fc2014-02-19 01:15:45 -08002 * Copyright (c) 2012-2013 The Linux Foundation. All rights reserved.
3 *
4 * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
5 *
6 *
7 * Permission to use, copy, modify, and/or distribute this software for
8 * any purpose with or without fee is hereby granted, provided that the
9 * above copyright notice and this permission notice appear in all
10 * copies.
11 *
12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
13 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
14 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
15 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
16 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
17 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
18 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19 * PERFORMANCE OF THIS SOFTWARE.
Gopichand Nakkala92f07d82013-01-08 21:16:34 -080020 */
Kiet Lam1ed83fc2014-02-19 01:15:45 -080021
22/*
23 * This file was originally distributed by Qualcomm Atheros, Inc.
24 * under proprietary terms before Copyright ownership was assigned
25 * to the Linux Foundation.
26 */
27
Jeff Johnson295189b2012-06-20 16:38:30 -070028#if !defined( __WLAN_QCT_OS_TYPE_H )
29#define __WLAN_QCT_OS_TYPE_H
30
31/**=========================================================================
32
33 \file wlan_qct_pal_type.h
34
35 \brief define basi types PAL exports. wpt = (Wlan Pal Type)
36
37 Definitions for platform dependent. This is for Linux/Android
38
Jeff Johnson295189b2012-06-20 16:38:30 -070039
40 ========================================================================*/
41
Jeff Johnsonb22689d2013-10-26 19:10:37 -070042#include <linux/types.h>
Jeff Johnson295189b2012-06-20 16:38:30 -070043
Jeff Johnsonb22689d2013-10-26 19:10:37 -070044typedef u32 wpt_uint32;
Jeff Johnson295189b2012-06-20 16:38:30 -070045
Jeff Johnsonb22689d2013-10-26 19:10:37 -070046typedef s32 wpt_int32;
Jeff Johnson295189b2012-06-20 16:38:30 -070047
Jeff Johnsonb22689d2013-10-26 19:10:37 -070048typedef u16 wpt_uint16;
Jeff Johnson295189b2012-06-20 16:38:30 -070049
Jeff Johnsonb22689d2013-10-26 19:10:37 -070050typedef s16 wpt_int16;
Jeff Johnson295189b2012-06-20 16:38:30 -070051
Jeff Johnsonb22689d2013-10-26 19:10:37 -070052typedef u8 wpt_uint8;
Jeff Johnson295189b2012-06-20 16:38:30 -070053
54typedef wpt_uint8 wpt_byte;
55
Jeff Johnsonb22689d2013-10-26 19:10:37 -070056typedef s8 wpt_int8;
Jeff Johnson295189b2012-06-20 16:38:30 -070057
Kiet Lamaa8e15a2014-02-11 23:30:06 -080058typedef wpt_uint8 wpt_boolean;
Jeff Johnson295189b2012-06-20 16:38:30 -070059
Jeff Johnsonb22689d2013-10-26 19:10:37 -070060typedef u64 wpt_uint64;
Jeff Johnson295189b2012-06-20 16:38:30 -070061
Jeff Johnsonb22689d2013-10-26 19:10:37 -070062typedef s64 wpt_int64;
Jeff Johnson295189b2012-06-20 16:38:30 -070063
64#define WPT_INLINE __inline__
65#define WPT_STATIC static
66
67
68#endif // __WLAN_QCT_OS_TYPE_H