equal
deleted
inserted
replaced
14 * Description: Contains common data structures used by WLAN management service. |
14 * Description: Contains common data structures used by WLAN management service. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 12 % |
19 * %version: 10.1.1 % |
20 */ |
20 */ |
21 |
21 |
22 #ifndef WLANMGMTCOMMON_H |
22 #ifndef WLANMGMTCOMMON_H |
23 #define WLANMGMTCOMMON_H |
23 #define WLANMGMTCOMMON_H |
24 |
24 |
27 |
27 |
28 // LOCAL CONSTANTS |
28 // LOCAL CONSTANTS |
29 /** The maximum SSID length. */ |
29 /** The maximum SSID length. */ |
30 const TUint KWlanMaxSsidLength = 32; |
30 const TUint KWlanMaxSsidLength = 32; |
31 |
31 |
32 /** The maximum WPS PIN length. */ |
|
33 const TUint KWlanMaxWpsPinLength = 8; |
|
34 |
|
35 /** The maximum BSSID length. */ |
32 /** The maximum BSSID length. */ |
36 const TUint KWlanMaxBssidLength = 6; |
33 const TUint KWlanMaxBssidLength = 6; |
37 |
34 |
38 /** The maximum length of WPA preshared key data. */ |
35 /** The maximum length of WPA preshared key data. */ |
39 const TUint KWlanWpaPskMaxLength = 64; |
36 const TUint KWlanWpaPskMaxLength = 64; |
48 const TUint KWlanCallbackInterfaceVersion = 2; |
45 const TUint KWlanCallbackInterfaceVersion = 2; |
49 |
46 |
50 // DATA TYPES |
47 // DATA TYPES |
51 /** Data structure for storing the SSID of a WLAN network. */ |
48 /** Data structure for storing the SSID of a WLAN network. */ |
52 typedef TBuf8<KWlanMaxSsidLength> TWlanSsid; |
49 typedef TBuf8<KWlanMaxSsidLength> TWlanSsid; |
53 |
|
54 /** Data structure for storing the WPS Pin. */ |
|
55 typedef TBuf8<KWlanMaxWpsPinLength> TWlanWpsPin; |
|
56 |
50 |
57 /** Data structure for storing the BSSID of a BSS. */ |
51 /** Data structure for storing the BSSID of a BSS. */ |
58 typedef TBuf8<KWlanMaxBssidLength> TWlanBssid; |
52 typedef TBuf8<KWlanMaxBssidLength> TWlanBssid; |
59 |
53 |
60 /** Data structure for storing a WEP key. */ |
54 /** Data structure for storing a WEP key. */ |