25
|
1 |
/*
|
|
2 |
* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: Header for WLAN scaninfo related constants and enums
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
#ifndef WSFWLANSCANINFODEFINES_H
|
|
21 |
#define WSFWLANSCANINFODEFINES_H
|
|
22 |
|
|
23 |
/**
|
|
24 |
* Maximal number of data rate types
|
|
25 |
*/
|
|
26 |
const TUint8 KMaxNumberOfRates = 8;
|
|
27 |
|
|
28 |
/**
|
|
29 |
* Bit masks for Capability Information field.
|
|
30 |
* (from \S60\osext\wlan\wlanldd\wlan_common\umac_common\inc\802dot11.h)
|
|
31 |
*/
|
|
32 |
enum TWsf802Dot11CapabilityBitMask
|
|
33 |
{
|
|
34 |
E802Dot11CapabilityEssMask = 0x0001,
|
|
35 |
E802Dot11CapabilityIbssMask = 0x0002,
|
|
36 |
E802Dot11CapabilityCfPollableMask = 0x0004,
|
|
37 |
E802Dot11CapabilityCfPollRequestMask= 0x0008,
|
|
38 |
E802Dot11CapabilityPrivacyMask = 0x0010,
|
|
39 |
// these little critters are from 802.11b spec
|
|
40 |
E802Dot11ShortPreambleMask = 0x0020,
|
|
41 |
E802Dot11PbccMask = 0x0040,
|
|
42 |
E802Dot11ChannelAgilityMask = 0x0080
|
|
43 |
};
|
|
44 |
|
|
45 |
/**
|
|
46 |
* Management frame information element IDs.
|
|
47 |
* (from \S60\osext\wlan\wlanldd\wlan_common\umac_common\inc\802dot11.h)
|
|
48 |
*/
|
|
49 |
enum TWsf802Dot11InformationElementID
|
|
50 |
{
|
|
51 |
E802Dot11SsidIE = 0,
|
|
52 |
E802Dot11SupportedRatesIE = 1,
|
|
53 |
E802Doi11FhParameterSetIE = 2,
|
|
54 |
E802Dot11DsParameterSetIE = 3,
|
|
55 |
E802Dot11CfParameterSetIE = 4,
|
|
56 |
E802Dot11TimIE = 5,
|
|
57 |
E802Dot11IbssParameterSetIE = 6,
|
|
58 |
E802Dot11CountryIE = 7,
|
|
59 |
E802Dot11HoppingPatternParamIE = 8,
|
|
60 |
E802Dot11HoppingPatternTableIE = 9,
|
|
61 |
E802Dot11RequestIE = 10,
|
|
62 |
|
|
63 |
E802Dot11ChallengeTextIE = 16,
|
|
64 |
// Reserved for challenge text extension 17 - 31
|
|
65 |
E802Dot11ErpInformationIE = 42,
|
|
66 |
E802Dot11HtCapabilitiesIE = 45,
|
|
67 |
E802Dot11ExtendedRatesIE = 50,
|
|
68 |
E802Dot11AironetIE = 133,
|
|
69 |
E802Dot11ApIpAddressIE = 149,
|
|
70 |
E802Dot11RsnIE = 221
|
|
71 |
};
|
|
72 |
|
|
73 |
|
|
74 |
#endif // WSFWLANSCANINFODEFINES_H
|
|
75 |
|