|
1 /* |
|
2 * Copyright (c) 2005-2009 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 the License "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: Class parsing 802.11k Beacon Request IEs. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CORE_FRAME_RM_IE_BEACON_REQUEST_IE_H |
|
20 #define CORE_FRAME_RM_IE_BEACON_REQUEST_IE_H |
|
21 |
|
22 #include "core_types.h" |
|
23 #include "core_frame_dot11_ie.h" |
|
24 |
|
25 /** |
|
26 * Class parsing 802.11k Beacon Request IEs. |
|
27 * |
|
28 * @since S60 v5.2 |
|
29 */ |
|
30 NONSHARABLE_CLASS( core_frame_rm_ie_beacon_request_ie_c ) : public core_frame_dot11_ie_c |
|
31 { |
|
32 |
|
33 public: |
|
34 |
|
35 |
|
36 enum core_frame_rm_ie_bri_reporting_condition_e |
|
37 { |
|
38 core_frame_rm_ie_bri_reporting_condition_default = 0 |
|
39 }; |
|
40 |
|
41 /** |
|
42 * Factory for creating a parser instance. |
|
43 * |
|
44 * @since S60 v5.2 |
|
45 * @param ie Reference to the IE data. |
|
46 * @return Pointer to the created parser instance. |
|
47 */ |
|
48 static core_frame_rm_ie_beacon_request_ie_c* instance( |
|
49 const core_frame_dot11_ie_c& ie ); |
|
50 |
|
51 /** |
|
52 * Return the Reporting Condition field of the IE. |
|
53 * |
|
54 * @since S60 v5.2 |
|
55 * @return The Reporting Condition field of the IE. |
|
56 */ |
|
57 u8_t reporting_condition() const; |
|
58 |
|
59 /** |
|
60 * Return the Threshold/Offset Reference Value of the IE. |
|
61 * |
|
62 * @since S60 v5.2 |
|
63 * @return The Threshold/Offset Reference Value field of the IE. |
|
64 */ |
|
65 u8_t threshold_reference_value() const; |
|
66 |
|
67 private: |
|
68 |
|
69 /** |
|
70 * Constructor |
|
71 * |
|
72 * @param data_length Length of the IE data. |
|
73 * @param data Pointer to the IE data. |
|
74 * @param max_data_length Maximum length of the IE data. |
|
75 */ |
|
76 core_frame_rm_ie_beacon_request_ie_c( |
|
77 u16_t data_length, |
|
78 const u8_t* data, |
|
79 u16_t max_data_length ); |
|
80 |
|
81 }; |
|
82 |
|
83 #endif // CORE_FRAME_RM_IE_BEACON_REQUEST_IE_H |