equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of the License "Eclipse Public License v1.0" |
5 * under the terms of the License "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
14 * Description: Declaration of the DWlanLogicalChannelBase class. |
14 * Description: Declaration of the DWlanLogicalChannelBase class. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 3 % |
19 * %version: 2 % |
20 */ |
20 */ |
21 |
21 |
22 #ifndef D_WLANLOGICALCHANNELBASE_H |
22 #ifndef D_WLANLOGICALCHANNELBASE_H |
23 #define D_WLANLOGICALCHANNELBASE_H |
23 #define D_WLANLOGICALCHANNELBASE_H |
24 |
24 |
25 #include <kernel.h> |
25 #include <kernel.h> |
26 |
26 |
27 /** |
27 /** |
28 * An abstract base class for a logical channel that provides a framework in |
28 * An abstract base class for a logical channel that provides a framework in |
29 * which user side client requests are executed in the context of a single |
29 * which user-side client requests are executed in the context of a single |
30 * kernel side thread or in the context of the client thread in supervisor |
30 * kernel-side thread. |
31 * mode |
|
32 * |
31 * |
33 * @since S60 v5.1 |
32 * @since S60 v5.1 |
34 */ |
33 */ |
35 class DWlanLogicalChannelBase : public DLogicalChannel |
34 class DWlanLogicalChannelBase : public DLogicalChannel |
36 { |
35 { |
72 */ |
71 */ |
73 virtual TInt Request( TInt aReqNo, TAny* a1, TAny* a2 ); |
72 virtual TInt Request( TInt aReqNo, TAny* a1, TAny* a2 ); |
74 |
73 |
75 /** |
74 /** |
76 * Process a function for this logical channel. |
75 * Process a function for this logical channel. |
77 * This method is executed in the context of the user mode client |
76 * This function is executed in the context of client's thread in |
78 * thread, but in supervisor mode. Code executed in this mode |
77 * supervisor mode. All code executed in this mode MUST not |
79 * MUST NOT take a lot of time. |
78 * take a lot of time and MUST NOT access the WHA layer. |
80 * @param aFunction Defines the operation/function to be performed. |
79 * @param aFunction Defines the operation/function to be performed. |
81 * @param param Function specific parameter |
80 * @param param Function specific parameter |
82 * @return function specific return value. |
81 * @return function specific return value. |
83 */ |
82 */ |
84 virtual TAny* DoControlFast( TInt aFunction, TAny* param ) = 0; |
83 virtual TAny* DoControlFast( TInt aFunction, TAny* param ) = 0; |
96 { |
95 { |
97 /** |
96 /** |
98 * The smallest Fast Control Function ID that DoControlFast() |
97 * The smallest Fast Control Function ID that DoControlFast() |
99 * accepts. |
98 * accepts. |
100 */ |
99 */ |
101 EMinControlFast = static_cast<TInt>(0x0E000000), |
100 EMinControlFast = static_cast<TInt>(0x0F000000), |
102 |
101 |
103 /** |
102 /** |
104 * The largest Fast Control Function ID that DoControlFast() |
103 * The largest Fast Control Function ID that DoControlFast() |
105 * accepts. |
104 * accepts. |
106 */ |
105 */ |