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 minimum length of the pass-phrase used to generate PSK is 8 bytes. See 802.11-2007: H4.2.
53  */
54 //--------------------------------------------------------------------------------------------------
55 #define LE_WIFIDEFS_MIN_PASSPHRASE_LENGTH 8
56 
57 
58 //--------------------------------------------------------------------------------------------------
59 /**
60  * The maximum length of the pass-phrase used to generate PSK is 63 bytes. See 802.11-2007: H4.2.
61  */
62 //--------------------------------------------------------------------------------------------------
63 #define LE_WIFIDEFS_MAX_PASSPHRASE_LENGTH 63
64 
65 
66 //--------------------------------------------------------------------------------------------------
67 /**
68  * Maximum length of PSK, Pre Shared Key.
69  * One extra byte is added for the null character.
70  */
71 //--------------------------------------------------------------------------------------------------
72 #define LE_WIFIDEFS_MAX_PASSPHRASE_BYTES 64
73 
74 
75 //--------------------------------------------------------------------------------------------------
76 /**
77  * The length of the PSK, Pre Shared Key, is 64 bytes. See 802.11-2007: H4.2.
78  */
79 //--------------------------------------------------------------------------------------------------
80 #define LE_WIFIDEFS_MAX_PSK_LENGTH 64
81 
82 
83 //--------------------------------------------------------------------------------------------------
84 /**
85  * Maximum length of PSK, Pre Shared Key.
86  * One extra byte is added for the null character.
87  */
88 //--------------------------------------------------------------------------------------------------
89 #define LE_WIFIDEFS_MAX_PSK_BYTES 65
90 
91 
92 //--------------------------------------------------------------------------------------------------
93 /**
94  * Maximum length of the User-Name. RFC2865 recommends the ability to handle at least 63 octets.
95  */
96 //--------------------------------------------------------------------------------------------------
97 #define LE_WIFIDEFS_MAX_USERNAME_LENGTH 63
98 
99 
100 //--------------------------------------------------------------------------------------------------
101 /**
102  * Maximum length of the User-Name.
103  * One extra byte is added for the null character.
104  */
105 //--------------------------------------------------------------------------------------------------
106 #define LE_WIFIDEFS_MAX_USERNAME_BYTES 64
107 
108 
109 //--------------------------------------------------------------------------------------------------
110 /**
111  * Maximum length of the User-Name. RFC2865 recommends at least 130.
112  */
113 //--------------------------------------------------------------------------------------------------
114 #define LE_WIFIDEFS_MAX_PASSWORD_LENGTH 130
115 
116 
117 //--------------------------------------------------------------------------------------------------
118 /**
119  * Maximum length of the User-Name.
120  * One extra byte is added for the null character.
121  */
122 //--------------------------------------------------------------------------------------------------
123 #define LE_WIFIDEFS_MAX_PASSWORD_BYTES 131
124 
125 
126 //--------------------------------------------------------------------------------------------------
127 /**
128  * The maximum length of octets of the Service set identification (SSID).
129  * @note While the values are probably human readable, this is not a string.
130  */
131 //--------------------------------------------------------------------------------------------------
132 #define LE_WIFIDEFS_MAX_SSID_LENGTH 32
133 
134 
135 //--------------------------------------------------------------------------------------------------
136 /**
137  * The maximum length of octets of the Service set identification (SSID).
138  * @note While the values are probably human readable, this is not a string.
139  */
140 //--------------------------------------------------------------------------------------------------
141 #define LE_WIFIDEFS_MAX_SSID_BYTES 33
142 
143 
144 #endif // LE_WIFIDEFS_INTERFACE_H_INCLUDE_GUARD
145