author | Kirill Andreev <andreev@iitp.ru> |
Wed, 25 Mar 2009 12:23:12 +0300 | |
changeset 4876 | d78f1b978dac |
parent 4860 | bb5194d57734 |
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:
4807
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_PARAMETERS_H |
|
24 |
#define DOT11S_PARAMETERS_H |
|
4812
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4807
diff
changeset
|
25 |
#include "ns3/uinteger.h" |
4793 | 26 |
#include "ns3/nstime.h" |
27 |
||
4812
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4807
diff
changeset
|
28 |
namespace ns3 { |
4793 | 29 |
|
4860
bb5194d57734
New peer management protocol moved to 802.11s/
Pavel Boyko <boyko@iitp.ru>
parents:
4854
diff
changeset
|
30 |
#define TU_TO_TIME(x) (MicroSeconds((x)*1024)) |
bb5194d57734
New peer management protocol moved to 802.11s/
Pavel Boyko <boyko@iitp.ru>
parents:
4854
diff
changeset
|
31 |
#define TIME_TO_TU(x) ((x).GetMicroSeconds()/1024) |
4793 | 32 |
|
4807
a1f43e372f9f
1. HIDE_UNDOC_CLASSES is temporary set to NO in doxygen.conf
Pavel Boyko <boyko@iitp.ru>
parents:
4793
diff
changeset
|
33 |
/** |
a1f43e372f9f
1. HIDE_UNDOC_CLASSES is temporary set to NO in doxygen.conf
Pavel Boyko <boyko@iitp.ru>
parents:
4793
diff
changeset
|
34 |
* \ingroup mesh |
a1f43e372f9f
1. HIDE_UNDOC_CLASSES is temporary set to NO in doxygen.conf
Pavel Boyko <boyko@iitp.ru>
parents:
4793
diff
changeset
|
35 |
*/ |
4793 | 36 |
struct dot11sParameters |
37 |
{ |
|
4812
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4807
diff
changeset
|
38 |
/** Peer Link */ |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4807
diff
changeset
|
39 |
static uint8_t dot11MeshMaxRetries; |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4807
diff
changeset
|
40 |
static Time dot11MeshRetryTimeout; |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4807
diff
changeset
|
41 |
static Time dot11MeshHoldingTimeout; |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4807
diff
changeset
|
42 |
static Time dot11MeshConfirmTimeout; |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4807
diff
changeset
|
43 |
/** HWMP */ |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4807
diff
changeset
|
44 |
static uint8_t dot11MeshHWMPmaxPREQretries; |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4807
diff
changeset
|
45 |
static Time dot11MeshHWMPnetDiameterTraversalTime; |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4807
diff
changeset
|
46 |
static Time dot11MeshHWMPpreqMinInterval; |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4807
diff
changeset
|
47 |
static Time dot11MeshHWMPperrMinInterval; |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4807
diff
changeset
|
48 |
static Time dot11MeshHWMPactiveRootTimeout; |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4807
diff
changeset
|
49 |
static Time dot11MeshHWMPactivePathTimeout; |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4807
diff
changeset
|
50 |
static Time dot11MeshHWMPpathToRootInterval; |
adcb26652e1d
Coding style changes: indentation, spaces.
Andrey Mazo <mazo@iitp.ru>
parents:
4807
diff
changeset
|
51 |
static Time dot11MeshHWMPrannInterval; |
4793 | 52 |
}; |
53 |
||
54 |
}; |
|
55 |
#endif |