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