|
1 /* |
|
2 * Copyright (c) 2005-2007 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: Implementation of the TWlanScanFsm class. |
|
15 * |
|
16 */ |
|
17 |
|
18 /* |
|
19 * %version: 6 % |
|
20 */ |
|
21 |
|
22 #include "config.h" |
|
23 #include "umacscanfsm.h" |
|
24 #include "umacscanfsmcntx.h" |
|
25 |
|
26 // ======== MEMBER FUNCTIONS ======== |
|
27 |
|
28 |
|
29 // --------------------------------------------------------------------------- |
|
30 // |
|
31 // --------------------------------------------------------------------------- |
|
32 // |
|
33 void TWlanScanFsm::StartScanningMode( |
|
34 WlanScanFsmCntx& /*aCnxt*/ ) |
|
35 { |
|
36 // implementation error |
|
37 OsAssert( (TUint8*)("UMAC: panic"), (TUint8*)(WLAN_FILE), __LINE__ ); |
|
38 } |
|
39 |
|
40 // --------------------------------------------------------------------------- |
|
41 // |
|
42 // --------------------------------------------------------------------------- |
|
43 // |
|
44 void TWlanScanFsm::StopScanningMode( |
|
45 WlanScanFsmCntx& /*aCnxt*/ ) |
|
46 { |
|
47 // implementation error |
|
48 OsAssert( (TUint8*)("UMAC: panic"), (TUint8*)(WLAN_FILE), __LINE__ ); |
|
49 } |
|
50 |
|
51 // --------------------------------------------------------------------------- |
|
52 // |
|
53 // --------------------------------------------------------------------------- |
|
54 // |
|
55 void TWlanScanFsm::OnScanningModeStarted( |
|
56 WlanScanFsmCntx& /*aCnxt*/ ) |
|
57 { |
|
58 // implementation error |
|
59 OsAssert( (TUint8*)("UMAC: panic"), (TUint8*)(WLAN_FILE), __LINE__ ); |
|
60 } |
|
61 |
|
62 // --------------------------------------------------------------------------- |
|
63 // |
|
64 // --------------------------------------------------------------------------- |
|
65 // |
|
66 void TWlanScanFsm::OnScanningModeStopped( |
|
67 WlanScanFsmCntx& /*aCnxt*/ ) |
|
68 { |
|
69 // implementation error |
|
70 OsAssert( (TUint8*)("UMAC: panic"), (TUint8*)(WLAN_FILE), __LINE__ ); |
|
71 } |
|
72 |
|
73 // --------------------------------------------------------------------------- |
|
74 // |
|
75 // --------------------------------------------------------------------------- |
|
76 // |
|
77 void TWlanScanFsm::ChangeState( |
|
78 WlanScanFsmCntx& aCnxt, |
|
79 TWlanScanFsm& aNewState ) const |
|
80 { |
|
81 aCnxt.Current( aNewState ); |
|
82 aCnxt.Current().Entry( aCnxt ); |
|
83 } |