author | Kirill Andreev <andreev@iitp.ru> |
Wed, 25 Mar 2009 12:23:12 +0300 | |
changeset 4876 | d78f1b978dac |
parent 4820 | 8507b0cef8c0 |
permissions | -rw-r--r-- |
4793 | 1 |
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
2 |
/* |
|
3 |
* Copyright (c) 2008,2009 IITP RAS |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or modify |
|
4812
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
6 |
* it under the terms of the GNU General Public License version 2 as |
4793 | 7 |
* published by the Free Software Foundation; |
8 |
* |
|
9 |
* This program is distributed in the hope that it will be useful, |
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
13 |
* |
|
14 |
* You should have received a copy of the GNU General Public License |
|
15 |
* along with this program; if not, write to the Free Software |
|
16 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
17 |
* |
|
18 |
* Authors: Aleksey Kovalenko <kovalenko@iitp.ru> |
|
19 |
* Kirill Andreev <andreev@iitp.ru> |
|
20 |
*/ |
|
21 |
||
22 |
||
23 |
#ifndef DOT11S_CODES_H |
|
24 |
#define DOT11S_CODES_H |
|
25 |
||
4820
8507b0cef8c0
WifiInformationElement class added as the base for all IEs
Pavel Boyko <boyko@iitp.ru>
parents:
4813
diff
changeset
|
26 |
#include "wifi-information-element.h" |
4793 | 27 |
|
4820
8507b0cef8c0
WifiInformationElement class added as the base for all IEs
Pavel Boyko <boyko@iitp.ru>
parents:
4813
diff
changeset
|
28 |
namespace ns3 { |
4793 | 29 |
|
4807
a1f43e372f9f
1. HIDE_UNDOC_CLASSES is temporary set to NO in doxygen.conf
Pavel Boyko <boyko@iitp.ru>
parents:
4793
diff
changeset
|
30 |
/** |
a1f43e372f9f
1. HIDE_UNDOC_CLASSES is temporary set to NO in doxygen.conf
Pavel Boyko <boyko@iitp.ru>
parents:
4793
diff
changeset
|
31 |
* \ingroup mesh |
a1f43e372f9f
1. HIDE_UNDOC_CLASSES is temporary set to NO in doxygen.conf
Pavel Boyko <boyko@iitp.ru>
parents:
4793
diff
changeset
|
32 |
*/ |
4793 | 33 |
enum dot11sReasonCode { |
4812
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
34 |
REASON11S_PEER_LINK_CANCELLED, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
35 |
REASON11S_MESH_MAX_PEERS, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
36 |
REASON11S_MESH_CAPABILITY_POLICY_VIOLATION, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
37 |
REASON11S_MESH_CLOSE_RCVD, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
38 |
REASON11S_MESH_MAX_RETRIES, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
39 |
REASON11S_MESH_CONFIRM_TIMEOUT, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
40 |
REASON11S_MESH_SECURITY_ROLE_NEGOTIATION_DIFFERS, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
41 |
REASON11S_MESH_SECURITY_AUTHENTICATION_IMPOSSIBLE, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
42 |
REASON11S_MESH_SECURITY_FAILED_VERIFICATION, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
43 |
REASON11S_MESH_INVALID_GTK, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
44 |
REASON11S_MESH_MISMATCH_GTK, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
45 |
REASON11S_MESH_INCONSISTENT_PARAMETERS, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
46 |
REASON11S_MESH_CONFIGURATION_POLICY_VIOLATION, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
47 |
REASON11S_RESERVED, |
4793 | 48 |
}; |
49 |
||
4807
a1f43e372f9f
1. HIDE_UNDOC_CLASSES is temporary set to NO in doxygen.conf
Pavel Boyko <boyko@iitp.ru>
parents:
4793
diff
changeset
|
50 |
/** |
a1f43e372f9f
1. HIDE_UNDOC_CLASSES is temporary set to NO in doxygen.conf
Pavel Boyko <boyko@iitp.ru>
parents:
4793
diff
changeset
|
51 |
* \ingroup mesh |
a1f43e372f9f
1. HIDE_UNDOC_CLASSES is temporary set to NO in doxygen.conf
Pavel Boyko <boyko@iitp.ru>
parents:
4793
diff
changeset
|
52 |
*/ |
4793 | 53 |
enum dot11sStatusCode { |
4812
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
54 |
STATUS11S_PEAR_LINK_ESTABLISHED, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
55 |
STATUS11S_PEAR_LINK_CLOSED, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
56 |
STATUS11S_NO_LISTED_KEY_HOLDER, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
57 |
STATUS11S_MESH_KEY_HANDSHAKE_MALFORMED, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
58 |
STATUS11S_PEAR_LINK_MAX_RETRIES, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
59 |
STATUS11S_PEAR_LINK_NO_PMK, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
60 |
STATUS11S_PEAR_LINK_ALT_PMK, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
61 |
STATUS11S_PEAR_LINK_NO_AKM, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
62 |
STATUS11S_PEAR_LINK_ALT_AKM, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
63 |
STATUS11S_PEAR_LINK_NO_KDF, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
64 |
STATUS11S_PEAR_LINK_SA_ESTABLISHED, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
65 |
STATUS11S_AUTHENTICATION_REJECTED_CLOGGING, |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4810
diff
changeset
|
66 |
STATUS11S_RESERVED, |
4793 | 67 |
}; |
68 |
||
69 |
} |
|
70 |
#endif |