|
1 /* |
|
2 * Copyright (c) 2005-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 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: Declaration of the MWlanEventDispatcherClient class. |
|
15 * |
|
16 */ |
|
17 |
|
18 /* |
|
19 * %version: 21 % |
|
20 */ |
|
21 |
|
22 #ifndef M_WLANEVENTDISPATCHERCLIENT_H |
|
23 #define M_WLANEVENTDISPATCHERCLIENT_H |
|
24 |
|
25 #ifndef RD_WLAN_DDK |
|
26 #include <wha.h> |
|
27 #else |
|
28 #include <wlanwha.h> |
|
29 #endif |
|
30 |
|
31 class WlanContextImpl; |
|
32 |
|
33 /** |
|
34 * Event dispatcher callback interface |
|
35 * |
|
36 * @lib wlanumac.lib |
|
37 * @since S60 v3.1 |
|
38 */ |
|
39 class MWlanEventDispatcherClient |
|
40 { |
|
41 |
|
42 public: |
|
43 |
|
44 /** |
|
45 * |
|
46 * @since S60 3.1 |
|
47 * @param aCtxImpl the one and only global state machine context |
|
48 * @param |
|
49 * @param |
|
50 * @param |
|
51 * @return |
|
52 */ |
|
53 |
|
54 virtual TBool HandleConnect(const TAny *aInputBuffer) = 0; |
|
55 |
|
56 virtual TBool HandleStartIBSS(const TAny *aInputBuffer) = 0; |
|
57 |
|
58 virtual TBool HandleDisconnect() = 0; |
|
59 |
|
60 virtual TBool HandleSetPowerMode(const TAny *aInputBuffer) = 0; |
|
61 |
|
62 virtual TBool HandleSetRcpiTriggerLevel(const TAny *aInputBuffer) = 0; |
|
63 |
|
64 virtual TBool HandleSetTxPowerLevel(const TAny *aInputBuffer) = 0; |
|
65 |
|
66 virtual TBool HandleConfigure(const TAny *aInputBuffer) = 0; |
|
67 |
|
68 virtual TBool HandleScan(const TAny *aInputBuffer ) = 0; |
|
69 |
|
70 virtual TBool HandleStopScan() = 0; |
|
71 |
|
72 virtual TBool HandleGetLastRcpi() = 0; |
|
73 |
|
74 virtual TBool HandleDisableUserData() = 0; |
|
75 |
|
76 virtual TBool HandleEnableUserData() = 0; |
|
77 |
|
78 virtual TBool HandleAddCipherKey(const TAny *aInputBuffer) = 0; |
|
79 |
|
80 virtual TBool HandleAddMulticastAddr(const TAny *aInputBuffer) = 0; |
|
81 |
|
82 virtual TBool HandleRemoveMulticastAddr(const TAny *aInputBuffer) = 0; |
|
83 |
|
84 virtual TBool HandleConfigureBssLost(const TAny *aInputBuffer) = 0; |
|
85 |
|
86 virtual TBool HandleSetTxRateAdaptParams(const TAny *aInputBuffer) = 0; |
|
87 |
|
88 virtual TBool HandleConfigureTxRatePolicies(const TAny *aInputBuffer) = 0; |
|
89 |
|
90 virtual TBool HandleSetPowerModeMgmtParams(const TAny *aInputBuffer) = 0; |
|
91 |
|
92 virtual TBool HandleConfigurePwrModeMgmtTrafficOverride( |
|
93 const TAny *aInputBuffer ) = 0; |
|
94 |
|
95 virtual TBool HandleGetFrameStatistics() = 0; |
|
96 |
|
97 virtual TBool HandleConfigureUapsd( const TAny *aInputBuffer ) = 0; |
|
98 |
|
99 virtual TBool HandleConfigureTxQueue( const TAny *aInputBuffer ) = 0; |
|
100 |
|
101 virtual TBool HandleGetMacAddress() = 0; |
|
102 |
|
103 virtual TBool HandleConfigureArpIpAddressFiltering( |
|
104 const TAny *aInputBuffer ) = 0; |
|
105 |
|
106 virtual TBool HandleConfigureHtBlockAck( const TAny *aInputBuffer ) = 0; |
|
107 |
|
108 virtual TBool HandleConfigureProprietarySnapHdr( |
|
109 const TAny *aInputBuffer ) = 0; |
|
110 |
|
111 virtual TBool OnWhaCommandComplete( |
|
112 WHA::TCompleteCommandId aCompleteCommandId, |
|
113 WHA::TStatus aStatus, |
|
114 const WHA::UCommandCompletionParams& aCommandCompletionParams ) = 0; |
|
115 |
|
116 virtual TBool OnInternalEvent( TInternalEvent aInternalEvent ) = 0; |
|
117 }; |
|
118 |
|
119 #endif // M_WLANEVENTDISPATCHERCLIENT_H |