le_wifiDefs_interface.h

Go to the documentation of this file.
1 /*
2  * ====================== WARNING ======================
3  *
4  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
5  * DO NOT MODIFY IN ANY WAY.
6  *
7  * ====================== WARNING ======================
8  */
9 
10 /**
11  * @file le_wifiDefs_interface.h
12  *
13  * Definition file common to multiple wifi related services.
14  *
15  * Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.
16  */
17 
18 #ifndef LE_WIFIDEFS_INTERFACE_H_INCLUDE_GUARD
19 #define LE_WIFIDEFS_INTERFACE_H_INCLUDE_GUARD
20 
21 
22 #include "legato.h"
23 
24 
25 //--------------------------------------------------------------------------------------------------
26 /**
27  * The maximum length of the textual representation of an IP address.
28  */
29 //--------------------------------------------------------------------------------------------------
30 #define LE_WIFIDEFS_MAX_IP_LENGTH 15
31 
32 
33 //--------------------------------------------------------------------------------------------------
34 /**
35  * The maximum length of the wep key
36  */
37 //--------------------------------------------------------------------------------------------------
38 #define LE_WIFIDEFS_MAX_WEPKEY_LENGTH 63
39 
40 
41 //--------------------------------------------------------------------------------------------------
42 /**
43  * The maximum number of bytes of the wep key
44  * One extra byte is added for the null character.
45  */
46 //--------------------------------------------------------------------------------------------------
47 #define LE_WIFIDEFS_MAX_WEPKEY_BYTES 64
48 
49 
50 //--------------------------------------------------------------------------------------------------
51 /**
52  * The maximum length of the pass-phrase used to generate PSK is 63 bytes. See 802.11-2007: H4.2.
53  */
54 //--------------------------------------------------------------------------------------------------
55 #define LE_WIFIDEFS_MAX_PASSPHRASE_LENGTH 63
56 
57 
58 //--------------------------------------------------------------------------------------------------
59 /**
60  * Maximum length of PSK, Pre Shared Key.
61  * One extra byte is added for the null character.
62  */
63 //--------------------------------------------------------------------------------------------------
64 #define LE_WIFIDEFS_MAX_PASSPHRASE_BYTES 64
65 
66 
67 //--------------------------------------------------------------------------------------------------
68 /**
69  * The length of the PSK, Pre Shared Key, is 64 bytes. See 802.11-2007: H4.2.
70  */
71 //--------------------------------------------------------------------------------------------------
72 #define LE_WIFIDEFS_MAX_PSK_LENGTH 64
73 
74 
75 //--------------------------------------------------------------------------------------------------
76 /**
77  * Maximum length of PSK, Pre Shared Key.
78  * One extra byte is added for the null character.
79  */
80 //--------------------------------------------------------------------------------------------------
81 #define LE_WIFIDEFS_MAX_PSK_BYTES 65
82 
83 
84 //--------------------------------------------------------------------------------------------------
85 /**
86  * Maximum length of the User-Name. RFC2865 recommends the ability to handle at least 63 octets.
87  */
88 //--------------------------------------------------------------------------------------------------
89 #define LE_WIFIDEFS_MAX_USERNAME_LENGTH 63
90 
91 
92 //--------------------------------------------------------------------------------------------------
93 /**
94  * Maximum length of the User-Name.
95  * One extra byte is added for the null character.
96  */
97 //--------------------------------------------------------------------------------------------------
98 #define LE_WIFIDEFS_MAX_USERNAME_BYTES 64
99 
100 
101 //--------------------------------------------------------------------------------------------------
102 /**
103  * Maximum length of the User-Name. RFC2865 recommends at least 130.
104  */
105 //--------------------------------------------------------------------------------------------------
106 #define LE_WIFIDEFS_MAX_PASSWORD_LENGTH 130
107 
108 
109 //--------------------------------------------------------------------------------------------------
110 /**
111  * Maximum length of the User-Name.
112  * One extra byte is added for the null character.
113  */
114 //--------------------------------------------------------------------------------------------------
115 #define LE_WIFIDEFS_MAX_PASSWORD_BYTES 131
116 
117 
118 //--------------------------------------------------------------------------------------------------
119 /**
120  * The maximum length of octets of the Service set identification (SSID).
121  * @note that while the values are probably human readable, this is not a string.
122  */
123 //--------------------------------------------------------------------------------------------------
124 #define LE_WIFIDEFS_MAX_SSID_BYTES 32
125 
126 
127 #endif // LE_WIFIDEFS_INTERFACE_H_INCLUDE_GUARD
128