CHANGES.html
author Tom Henderson <tomh@tomh.org>
Mon, 02 Feb 2015 21:06:56 -0800
changeset 11209 2ebe49d34182
parent 11087 486e1b0c1df6
child 11211 c7f9ed853e60
permissions -rw-r--r--
updates to RELEASE_NOTES and CHANGES.html
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3505
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
     1
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
     2
<html>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
     3
<head>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
     4
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
     5
   <title>ns-3 Change Log</title>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
     6
</head>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
     7
<body>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
     8
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
     9
<h1>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    10
ns-3: API and model change history</h1>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    11
<!--
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    12
This ChangeLog is updated in the reverse order 
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    13
with the most recent changes coming first.  Date format:  DD-MM-YYYY
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    14
-->
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    15
<p>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    16
ns-3 is an evolving system and there will be API or behavioral changes
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    17
from time to time.   Users who try to use scripts or models across
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    18
versions of ns-3 may encounter problems at compile time, run time, or
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    19
may see the simulation output change.  </p>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    20
<p>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    21
We have adopted the development policy that we are going to try to ease
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    22
the impact of these changes on users by documenting these changes in a
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    23
single place (this file), and not by providing a temporary or permanent
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    24
backward-compatibility software layer.  </p>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    25
<p>
9212
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
    26
A related file is the RELEASE_NOTES file in the top level directory.
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
    27
This file complements RELEASE_NOTES by focusing on API and behavioral
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
    28
changes that users upgrading from one release to the next may encounter.
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
    29
RELEASE_NOTES attempts to comprehensively list all of the changes
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
    30
that were made.  There is generally some overlap in the information 
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
    31
contained in RELEASE_NOTES and this file.  </p>
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
    32
<p>
3505
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    33
The goal is that users who encounter a problem when trying to use older
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    34
code with newer code should be able to consult this file to find
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    35
guidance as to how to fix the problem.  For instance, if a method name
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    36
or signature has changed, it should be stated what the new replacement
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    37
name is. </p>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    38
<p>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    39
Note that users who upgrade the simulator across versions, or who work
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    40
directly out of the development tree, may find that simulation output
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    41
changes even when the compilation doesn't break, such as when a
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    42
simulator default value is changed.  Therefore, it is good practice for
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    43
_anyone_ using code across multiple ns-3 releases to consult this file,
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    44
as well as the RELEASE_NOTES, to understand what has changed over time.
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    45
</p>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    46
<p>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    47
This file is a best-effort approach to solving this issue; we will do
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    48
our best but can guarantee that there will be things that fall through
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    49
the cracks, unfortunately.  If you, as a user, can suggest improvements
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    50
to this file based on your experience, please contribute a patch or drop
7791
21c3495394b4 Enhancement 1393 - IPv6 Routing Helper RT Print functions
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 7717
diff changeset
    51
us a note on ns-developers mailing list.</p>
3505
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    52
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
    53
<hr>
10959
ccea27fc13e1 update CHANGES.html for new release version
Tom Henderson <tomh@tomh.org>
parents: 10947
diff changeset
    54
<h1>Changes from ns-3.21 to ns-3.22</h1>
ccea27fc13e1 update CHANGES.html for new release version
Tom Henderson <tomh@tomh.org>
parents: 10947
diff changeset
    55
<h2>New API:</h2>
ccea27fc13e1 update CHANGES.html for new release version
Tom Henderson <tomh@tomh.org>
parents: 10947
diff changeset
    56
<ul>
11209
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
    57
  <li> New classes were added for the PARF and APARF WiFi rate controls. 
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
    58
  </li>
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
    59
  <li> Support for WiFi 802.11n MPDU aggregation has been added.
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
    60
  </li>
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
    61
  <li> Support for modeling of vehicular WiFi networks (IEEE 1609.4) has been added.  In addition, a basic safety message (BSM) application traffic generator and related statistics-gathering classes have been added to the wave module. 
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
    62
  </li>
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
    63
  <li> A complete LTE release bearer procedure is now implemented which can be invoked by calling the new helper method LteHelper::DeActivateDedicatedEpsBearer ().
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
    64
  </li>
10965
14cde591d8e4 Bug 652 - no public API for IPv4 neighbor table - Print functions
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10959
diff changeset
    65
  <li> It is now possible to print the Neighbor Cache (ARP and NDISC) by using
14cde591d8e4 Bug 652 - no public API for IPv4 neighbor table - Print functions
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10959
diff changeset
    66
       the RoutingProtocolHelper
14cde591d8e4 Bug 652 - no public API for IPv4 neighbor table - Print functions
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10959
diff changeset
    67
  </li>
11028
abeb2185bce5 add TimeProbe class to data collection framework
Tom Henderson <tomh@tomh.org>
parents: 11026
diff changeset
    68
  <li> A TimeProbe class has been added to the data collection framework in 
abeb2185bce5 add TimeProbe class to data collection framework
Tom Henderson <tomh@tomh.org>
parents: 11026
diff changeset
    69
       the stats module, enabling TracedValues emitting values of type 
abeb2185bce5 add TimeProbe class to data collection framework
Tom Henderson <tomh@tomh.org>
parents: 11026
diff changeset
    70
       ns3::Time to be handled by the framework.
abeb2185bce5 add TimeProbe class to data collection framework
Tom Henderson <tomh@tomh.org>
parents: 11026
diff changeset
    71
  </li>
11209
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
    72
  <li> A new attribute 'ClockGranularity' was added to the TcpSocketBase class,
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
    73
to control modeling of RTO calculation.
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
    74
  </li>
10959
ccea27fc13e1 update CHANGES.html for new release version
Tom Henderson <tomh@tomh.org>
parents: 10947
diff changeset
    75
</ul>
ccea27fc13e1 update CHANGES.html for new release version
Tom Henderson <tomh@tomh.org>
parents: 10947
diff changeset
    76
ccea27fc13e1 update CHANGES.html for new release version
Tom Henderson <tomh@tomh.org>
parents: 10947
diff changeset
    77
<h2>Changes to existing API:</h2>
ccea27fc13e1 update CHANGES.html for new release version
Tom Henderson <tomh@tomh.org>
parents: 10947
diff changeset
    78
<ul>
11026
19b4146b1d39 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 10965
diff changeset
    79
  <li> Several deprecated classes and class methods were removed, including EmuNetDevice, RandomVariable and derived classes, Packet::PeekData(), Ipv6AddressHelper::NewNetwork(Ipv6Address, Ipv6Prefix), Ipv6InterfaceContainer::SetRouter(), Ipv4Route::GetOutputTtl(), TestCase::AddTestCase(TestCase*), and TestCase::GetErrorStatus().
19b4146b1d39 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 10965
diff changeset
    80
  </li>
19b4146b1d39 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 10965
diff changeset
    81
  <li> Print methods involving routing tables and neighbor caches, in classes Ipv4RoutingHelper and Ipv6RoutingHelper, were converted to static methods.
19b4146b1d39 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 10965
diff changeset
    82
  </li>  
19b4146b1d39 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 10965
diff changeset
    83
  <li>PointerValue attribute types in class UanChannel (NoiseModel), UanPhyGen (PerModel and SinrModel), UanPhyDual (PerModelPhy1, PerModelPhy2, SinrModelPhy1, and SinrModelPhy2), and SimpleNetDevice (TxQueue), were changed from PointerValue type to StringValue type, making them configurable via the Config subsystem. 
19b4146b1d39 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 10965
diff changeset
    84
  </li>
11043
0c1fce0706de update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 11028
diff changeset
    85
  <li> WifiPhy::CalculateTxDuration() and WifiPhy::GetPayloadDurationMicroSeconds () now take an additional frequency parameter.
0c1fce0706de update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 11028
diff changeset
    86
  </li>
11065
2e6f9e4be3a3 fix misspelled attribute and doxygen in YansWifiPhy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents: 11043
diff changeset
    87
  <li> The attribute 'Recievers' in class YansWifiPhy was misspelled, so
2e6f9e4be3a3 fix misspelled attribute and doxygen in YansWifiPhy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents: 11043
diff changeset
    88
       this has been corrected to 'Receivers'.
2e6f9e4be3a3 fix misspelled attribute and doxygen in YansWifiPhy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents: 11043
diff changeset
    89
  </li>
11087
486e1b0c1df6 Deprecate AddTraceSource without callback signature.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents: 11065
diff changeset
    90
  <li> We have now documented the callback function signatures
486e1b0c1df6 Deprecate AddTraceSource without callback signature.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents: 11065
diff changeset
    91
       for all TracedSources, using an extra (fourth) argument to
486e1b0c1df6 Deprecate AddTraceSource without callback signature.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents: 11065
diff changeset
    92
       TypeId::AddTraceSource to pass the fully-qualified name
486e1b0c1df6 Deprecate AddTraceSource without callback signature.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents: 11065
diff changeset
    93
       of the signature typedef.  To ensure that future TraceSources
486e1b0c1df6 Deprecate AddTraceSource without callback signature.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents: 11065
diff changeset
    94
       are similarly documented we have deprecated the three
486e1b0c1df6 Deprecate AddTraceSource without callback signature.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents: 11065
diff changeset
    95
       argument version of AddTraceSource.
486e1b0c1df6 Deprecate AddTraceSource without callback signature.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents: 11065
diff changeset
    96
  </li>	
11209
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
    97
  <li> The "MinRTO" attribute of the RttEstimator class was moved to the TcpSocketBase class.  The "Gain" attribute of the RttMeanDeviation class was replaced 
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
    98
by new "Alpha" and "Beta" attributes.  
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
    99
  </li>	
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
   100
  <li> Attributes of the TcpTxBuffer and TcpRxBuffer class are now accessible through the TcpSocketBase class.
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
   101
  </li>	
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
   102
  <li> The LrWpanHelper class has a new constructor allowing users to configure a MultiModelSpectrumChannel as an option, and also provides Set/Get API to allow users to access the underlying channel object. 
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
   103
  </li>
10959
ccea27fc13e1 update CHANGES.html for new release version
Tom Henderson <tomh@tomh.org>
parents: 10947
diff changeset
   104
</ul>
ccea27fc13e1 update CHANGES.html for new release version
Tom Henderson <tomh@tomh.org>
parents: 10947
diff changeset
   105
ccea27fc13e1 update CHANGES.html for new release version
Tom Henderson <tomh@tomh.org>
parents: 10947
diff changeset
   106
<h2>Changes to build system:</h2>
11087
486e1b0c1df6 Deprecate AddTraceSource without callback signature.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents: 11065
diff changeset
   107
<ul>
11043
0c1fce0706de update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 11028
diff changeset
   108
  <li> waf was upgraded to version 1.7.16
0c1fce0706de update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 11028
diff changeset
   109
  </li>
10959
ccea27fc13e1 update CHANGES.html for new release version
Tom Henderson <tomh@tomh.org>
parents: 10947
diff changeset
   110
</ul>
ccea27fc13e1 update CHANGES.html for new release version
Tom Henderson <tomh@tomh.org>
parents: 10947
diff changeset
   111
ccea27fc13e1 update CHANGES.html for new release version
Tom Henderson <tomh@tomh.org>
parents: 10947
diff changeset
   112
<h2>Changed behavior:</h2>
11209
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
   113
This section is for behavioral changes to the models that were not due to a bug fix.
10959
ccea27fc13e1 update CHANGES.html for new release version
Tom Henderson <tomh@tomh.org>
parents: 10947
diff changeset
   114
<ul>
11043
0c1fce0706de update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 11028
diff changeset
   115
  <li> The default value of the `Speed` attribute of ConstantSpeedPropagationDelayModel was changed from 300,000,000 m/s to 299,792,458 m/s (speed of light in a vacuum), causing propagation delays using this model to vary slightly.
0c1fce0706de update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 11028
diff changeset
   116
  </li>
11209
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
   117
  <li> The LrWpanHelper object was previously instantiating only a LogDistancePropagationLossModel on a SingleModelSpectrumChannel, but no PropagationDelayModel.  The constructor now adds by default a ConstantSpeedPropagationDelayModel.
2ebe49d34182 updates to RELEASE_NOTES and CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 11087
diff changeset
   118
  </li>
10959
ccea27fc13e1 update CHANGES.html for new release version
Tom Henderson <tomh@tomh.org>
parents: 10947
diff changeset
   119
</ul>
ccea27fc13e1 update CHANGES.html for new release version
Tom Henderson <tomh@tomh.org>
parents: 10947
diff changeset
   120
ccea27fc13e1 update CHANGES.html for new release version
Tom Henderson <tomh@tomh.org>
parents: 10947
diff changeset
   121
<hr>
10815
d34be08307d0 start RELEASE_NOTES and CHANGES.html for next version
Tom Henderson <tomh@tomh.org>
parents: 10808
diff changeset
   122
<h1>Changes from ns-3.20 to ns-3.21</h1>
d34be08307d0 start RELEASE_NOTES and CHANGES.html for next version
Tom Henderson <tomh@tomh.org>
parents: 10808
diff changeset
   123
<h2>New API:</h2>
d34be08307d0 start RELEASE_NOTES and CHANGES.html for next version
Tom Henderson <tomh@tomh.org>
parents: 10808
diff changeset
   124
<ul>
10842
b1d6e75793bb Add const double& operator[] to SpectrumValue
Sascha Alexander Jopen <jopen@informatik.uni-bonn.de>
parents: 10819
diff changeset
   125
  <li> New "const double& SpectrumValue:: operator[] (size_t index) const".
b1d6e75793bb Add const double& operator[] to SpectrumValue
Sascha Alexander Jopen <jopen@informatik.uni-bonn.de>
parents: 10819
diff changeset
   126
  </li>
10855
7ef081ddfc7f Bug 1831 - TcpSocket SlowStartThreshold is not a TraceSource
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10842
diff changeset
   127
  <li> A new TraceSource has been added to TCP sockets: SlowStartThreshold.
7ef081ddfc7f Bug 1831 - TcpSocket SlowStartThreshold is not a TraceSource
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10842
diff changeset
   128
  </li>
10861
40a485317b1d CommandLine Attribute shorthand
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents: 10855
diff changeset
   129
  <li> New method CommmandLine::AddValue (name, attibutePath) to provide a
40a485317b1d CommandLine Attribute shorthand
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents: 10855
diff changeset
   130
       shorthand argument "name" for the Attribute "path".  This also has
40a485317b1d CommandLine Attribute shorthand
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents: 10855
diff changeset
   131
       the effect of including the help string for the Attribute in the
40a485317b1d CommandLine Attribute shorthand
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents: 10855
diff changeset
   132
       Usage message.
40a485317b1d CommandLine Attribute shorthand
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents: 10855
diff changeset
   133
  </li>
10892
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   134
  <li> The GSoC 2014 project in the LTE module has brought some additional APIs:
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   135
    <ul>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   136
      <li>a new abstract class LteFfrAlgorithm, which every future
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   137
          implementation of frequency reuse algorithm should inherit from</li>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   138
      <li>a new SAPs: one between MAC Scheduler and FrAlgorithm, one between
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   139
	  RRC and FrAlgorithm</li>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   140
      <li>new attribute to enable Uplink Power Control in LteUePhy</li>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   141
      <li>new LteUePowerControl class, an implementation of Uplink Power Control, which is 
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   142
          configurable by attributes. ReferenceSignalPower is sent by eNB in SIB2. 
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   143
          Uplink Power Control in Closed Loop Accumulative Mode is enabled by default</li>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   144
      <li>seven different Frequency Reuse Algorithms (each has its own attributes): </li>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   145
        <ul>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   146
          <li>LteFrNoOpAlgorithm</li>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   147
          <li>LteFrHardAlgorithm</li>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   148
          <li>LteFrStrictAlgorithm</li>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   149
          <li>LteFrSoftAlgorithm</li>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   150
          <li>LteFfrSoftAlgorithm</li>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   151
          <li>LteFfrEnhancedAlgorithm</li>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   152
          <li>LteFfrDistributedAlgorithm</li>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   153
        </ul>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   154
      <li>attribute in LteFfrAlgorithm to set FrCellTypeId which is used in automatic 
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   155
          Frequency Reuse algorithm configuration</li>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   156
      <li>LteHelper has been updated with new methods related to frequency reuse algorithm: 
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   157
          SetFfrAlgorithmType and SetFfrAlgorithmAttribute</li>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   158
    </ul>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   159
  </li>
10899
9b501eb7910c Enhancements to SimpleNetDevice and SimpleChannel
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10892
diff changeset
   160
  <li> A new SimpleNetDeviceHelper can now be used to install SimpleNetDevices.
9b501eb7910c Enhancements to SimpleNetDevice and SimpleChannel
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10892
diff changeset
   161
  </li>
10902
527fc624722a Bug 1811 - Basic traffic generator for network module
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10899
diff changeset
   162
  <li> New PacketSocketServer and PacketSocketClient apps, meant to be used in tests.
527fc624722a Bug 1811 - Basic traffic generator for network module
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10899
diff changeset
   163
  </li>
10947
591909663749 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 10933
diff changeset
   164
  <li> Tcp Timestamps and Window Scale options have been added and are enabled by default (controllable by attribute).
591909663749 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 10933
diff changeset
   165
  </li>
591909663749 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 10933
diff changeset
   166
  <li> A new CoDel queue model has been added to the 'internet' module.  
591909663749 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 10933
diff changeset
   167
  </li>
10815
d34be08307d0 start RELEASE_NOTES and CHANGES.html for next version
Tom Henderson <tomh@tomh.org>
parents: 10808
diff changeset
   168
</ul>
d34be08307d0 start RELEASE_NOTES and CHANGES.html for next version
Tom Henderson <tomh@tomh.org>
parents: 10808
diff changeset
   169
d34be08307d0 start RELEASE_NOTES and CHANGES.html for next version
Tom Henderson <tomh@tomh.org>
parents: 10808
diff changeset
   170
<h2>Changes to existing API:</h2>
d34be08307d0 start RELEASE_NOTES and CHANGES.html for next version
Tom Henderson <tomh@tomh.org>
parents: 10808
diff changeset
   171
<ul>
10819
f49b201c1884 Bug 1921 - Icmpv6L4Protocol::ForgeEchoRequest returns a malformed packet
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10815
diff changeset
   172
  <li> "Icmpv6L4Protocol::ForgeEchoRequest" is now returning a packet with the proper IPv6 header.
f49b201c1884 Bug 1921 - Icmpv6L4Protocol::ForgeEchoRequest returns a malformed packet
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10815
diff changeset
   173
  </li>
10855
7ef081ddfc7f Bug 1831 - TcpSocket SlowStartThreshold is not a TraceSource
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10842
diff changeset
   174
  <li> The TCP socket Attribute "SlowStartThreshold" has been renamed "InitialSlowStartThreshold" to
7ef081ddfc7f Bug 1831 - TcpSocket SlowStartThreshold is not a TraceSource
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10842
diff changeset
   175
       clarify that the effect is only on the initial value.
7ef081ddfc7f Bug 1831 - TcpSocket SlowStartThreshold is not a TraceSource
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10842
diff changeset
   176
  </li>
10892
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   177
  <li> all schedulers were updated to interact with FR entity via FFR-SAP. Only PF, PSS, CQA, 
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   178
       FD-TBFQ, TD-TBFQ schedulers supports Frequency Reuse functionality. In the beginning 
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   179
       of scheduling process, schedulers ask FR entity for avaiable RBGs and then ask if UE 
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   180
       can be scheduled on RB</li>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   181
  <li> eNB RRC interacts with FFR entity via RRC-FFR SAP</li>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   182
  <li> new DL-CQI generation approach was implemented. Now DL-CQI is computed from control channel as signal
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   183
       and data channel (if received) as interference. New attribute in LteHelper was added to specify 
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   184
       DL-CQI generation approach. New approach is default one in LteHelper </li>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   185
  <li> RadioEnvironmentMap can be generated for Data or Control channel and for specified RbId;
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   186
       Data or Control channel and RbId can be configured by new attributes in RadioEnvironmentMapHelper </li>
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   187
  <li> lte-sinr-chunk-processor refactored to lte-chunk-processor. Removed all lte-xxx-chunk-processor 
3e86fac77082 GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents: 10861
diff changeset
   188
       implementations</li>
10933
7442f5603ef4 Bug 1824 - L4 protocol sockets should support BindToNetDevice over IPv6
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10902
diff changeset
   189
  <li> BindToNetDevice affects also sockets using IPv6.</li>
7442f5603ef4 Bug 1824 - L4 protocol sockets should support BindToNetDevice over IPv6
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10902
diff changeset
   190
  <li> BindToNetDevice now calls implicitly Bind (). To bind a socket to a NetDevice and to a specific address,
7442f5603ef4 Bug 1824 - L4 protocol sockets should support BindToNetDevice over IPv6
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10902
diff changeset
   191
       the correct sequence is Bind (address) - BindToNetDevice (device). The opposite will raise an error.</li>
10815
d34be08307d0 start RELEASE_NOTES and CHANGES.html for next version
Tom Henderson <tomh@tomh.org>
parents: 10808
diff changeset
   192
</ul>
d34be08307d0 start RELEASE_NOTES and CHANGES.html for next version
Tom Henderson <tomh@tomh.org>
parents: 10808
diff changeset
   193
d34be08307d0 start RELEASE_NOTES and CHANGES.html for next version
Tom Henderson <tomh@tomh.org>
parents: 10808
diff changeset
   194
<h2>Changes to build system:</h2>
d34be08307d0 start RELEASE_NOTES and CHANGES.html for next version
Tom Henderson <tomh@tomh.org>
parents: 10808
diff changeset
   195
<ul>
10947
591909663749 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 10933
diff changeset
   196
<li> None for this release. </li>
10815
d34be08307d0 start RELEASE_NOTES and CHANGES.html for next version
Tom Henderson <tomh@tomh.org>
parents: 10808
diff changeset
   197
</ul>
d34be08307d0 start RELEASE_NOTES and CHANGES.html for next version
Tom Henderson <tomh@tomh.org>
parents: 10808
diff changeset
   198
d34be08307d0 start RELEASE_NOTES and CHANGES.html for next version
Tom Henderson <tomh@tomh.org>
parents: 10808
diff changeset
   199
<h2>Changed behavior:</h2>
d34be08307d0 start RELEASE_NOTES and CHANGES.html for next version
Tom Henderson <tomh@tomh.org>
parents: 10808
diff changeset
   200
<ul>
10947
591909663749 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 10933
diff changeset
   201
<li> Behavior will be changed due to the list of bugs fixed (listed in RELEASE_NOTES); users are requested to review that list as well.
10815
d34be08307d0 start RELEASE_NOTES and CHANGES.html for next version
Tom Henderson <tomh@tomh.org>
parents: 10808
diff changeset
   202
</ul>
d34be08307d0 start RELEASE_NOTES and CHANGES.html for next version
Tom Henderson <tomh@tomh.org>
parents: 10808
diff changeset
   203
d34be08307d0 start RELEASE_NOTES and CHANGES.html for next version
Tom Henderson <tomh@tomh.org>
parents: 10808
diff changeset
   204
<hr>
10798
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   205
<h1>Changes from ns-3.19 to ns-3.20</h1>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   206
<h2>New API:</h2>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   207
<ul>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   208
  <li> Models have been added for low-rate, wireless personal area networks
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   209
(LR-WPAN) as specified by IEEE standard 802.15.4 (2006).  The current 
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   210
emphasis is on the unslotted mode of 802.15.4 operation for use in Zigbee, 
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   211
and the scope is limited to enabling a single mode (CSMA/CA) with basic 
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   212
data transfer capabilities. Association with PAN coordinators is not yet 
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   213
supported, nor the use of extended addressing. Interference is modeled as 
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   214
AWGN but this is currently not thoroughly tested.  The NetDevice Tx queue 
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   215
is not limited, i.e., packets are never dropped due to queue becoming full. 
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   216
They may be dropped due to excessive transmission retries or channel access 
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   217
failure.  </li>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   218
  <li> A new IPv6 routing protocol has been added: RIPng. This protocol is
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   219
  an Interior Gateway Protocol and it is available in the Internet module. </li>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   220
  <li> A new LTE MAC downlink scheduling algorithm named Channel and QoS 
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   221
  Aware (CQA) Scheduler is provided by the new "ns3::CqaFfMacScheduler" object.
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   222
  </li>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   223
  <li> Units may be attached to Time objects, to facilitate specific output
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   224
  formats (see Time::As()) </li>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   225
  <li> FlowMonitor "SerializeToXml" functions are now directly available
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   226
  from the helper.  </li>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   227
  <li> Access to OLSR's HNA table has been enabled </li>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   228
</ul>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   229
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   230
<h2>Changes to existing API:</h2>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   231
<ul>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   232
  <li> The SixLowPan model can now use uncompressed IPv6 headers. An option to
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   233
  define the minimum compressed packet size has been added.  </li>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   234
  <li> MinDistance wsa replaced by MinLoss in FriisPropagationLossModel, to
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   235
  better handle conditions outside of the assumed far field region. </li>
10808
8fa02a3cca47 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 10798
diff changeset
   236
  <li> In the DSR model, the attribute DsrOptionRerrHeader::ErrorType" has
8fa02a3cca47 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 10798
diff changeset
   237
  been removed. </li>
10798
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   238
</ul>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   239
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   240
<h2>Changes to build system:</h2>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   241
<ul>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   242
  <li> Python 3.3 is now supported for Python bindings for ns-3.  Python 3.3 
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   243
  support for API scanning is not supported.  Python 3.2 is not supported.</li>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   244
  <li>  Enable selection of high precision int64x64_t implementation
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   245
  at configure time, for debugging purposes.</li>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   246
  <li> Optimized builds are now enabling signed overflow optimization 
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   247
  (-fstrict-overflow) and for gcc 4.8.2 and greater, also warning for cases 
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   248
  where an optimizization may occur due to compiler assumption that 
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   249
  overflow will not occur. </li>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   250
</ul>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   251
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   252
<h2>Changed behavior:</h2>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   253
<ul>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   254
  <li> The Internet FlowMonitor can now track IPv6 packets.  </li>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   255
  <li> Ipv6Extension::m_dropTrace has been removed. Ipv6L3Protocol::m_dropTrace
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   256
  is now fired when appropriate.  </li>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   257
  <li> IPv4 identification field value is now dependent on the protocol 
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   258
  field.  </li>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   259
  <li> Point-to-point trace sources now contain PPP headers </li>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   260
</ul>
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   261
79b9d13a1ffd update CHANGES.html for release
Tom Henderson <tomh@tomh.org>
parents: 10533
diff changeset
   262
<hr>
10422
114314101699 update RELEASE_NOTES and CHANGES.html for new release
Tom Henderson <tomh@tomh.org>
parents: 10421
diff changeset
   263
<h1>Changes from ns-3.18.1 to ns-3.19</h1>
114314101699 update RELEASE_NOTES and CHANGES.html for new release
Tom Henderson <tomh@tomh.org>
parents: 10421
diff changeset
   264
114314101699 update RELEASE_NOTES and CHANGES.html for new release
Tom Henderson <tomh@tomh.org>
parents: 10421
diff changeset
   265
<h2>New API:</h2>
10459
f2e90c12a44f base implementation of the IEEE 802.11p standard
Junling Bu <linlinjavaer@gmail.com>
parents: 10446
diff changeset
   266
<ul>
f2e90c12a44f base implementation of the IEEE 802.11p standard
Junling Bu <linlinjavaer@gmail.com>
parents: 10446
diff changeset
   267
  <li> A new wifi extension for vehicular simulation support is available in the
f2e90c12a44f base implementation of the IEEE 802.11p standard
Junling Bu <linlinjavaer@gmail.com>
parents: 10446
diff changeset
   268
    src/wave directory.  The current code represents an interim capability to 
f2e90c12a44f base implementation of the IEEE 802.11p standard
Junling Bu <linlinjavaer@gmail.com>
parents: 10446
diff changeset
   269
    realize an IEEE 802.11p-compliant device, but without the WAVE extensions 
f2e90c12a44f base implementation of the IEEE 802.11p standard
Junling Bu <linlinjavaer@gmail.com>
parents: 10446
diff changeset
   270
    (which are planned for a later patch).  The WaveNetDevice modelled herein 
f2e90c12a44f base implementation of the IEEE 802.11p standard
Junling Bu <linlinjavaer@gmail.com>
parents: 10446
diff changeset
   271
    enforces that a WAVE-compliant physical layer (at 5.9 GHz) is selected, and 
f2e90c12a44f base implementation of the IEEE 802.11p standard
Junling Bu <linlinjavaer@gmail.com>
parents: 10446
diff changeset
   272
    does not require any association between devices (similar to an adhoc WiFi 
f2e90c12a44f base implementation of the IEEE 802.11p standard
Junling Bu <linlinjavaer@gmail.com>
parents: 10446
diff changeset
   273
    MAC), but is otherwise similar (at this time) to a WifiNetDevice.  WAVE 
f2e90c12a44f base implementation of the IEEE 802.11p standard
Junling Bu <linlinjavaer@gmail.com>
parents: 10446
diff changeset
   274
    capabililties of switching between control and service channels, or using 
f2e90c12a44f base implementation of the IEEE 802.11p standard
Junling Bu <linlinjavaer@gmail.com>
parents: 10446
diff changeset
   275
    multiple radios, are not yet modelled.
f2e90c12a44f base implementation of the IEEE 802.11p standard
Junling Bu <linlinjavaer@gmail.com>
parents: 10446
diff changeset
   276
  </li>
10493
ccb3c64e55e8 Fix Changes.html - 6LoWPAN is a new API
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10479
diff changeset
   277
  <li>New SixLowPanNetDevice class providing a shim between 
ccb3c64e55e8 Fix Changes.html - 6LoWPAN is a new API
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10479
diff changeset
   278
    IPv6 and real NetDevices. The new module implements 6LoWPAN:
ccb3c64e55e8 Fix Changes.html - 6LoWPAN is a new API
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10479
diff changeset
   279
    "Transmission of IPv6 Packets over IEEE 802.15.4 Networks" (see
ccb3c64e55e8 Fix Changes.html - 6LoWPAN is a new API
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10479
diff changeset
   280
    <a href="http://www.ietf.org/rfc/rfc4944.txt">RFC 4944</a> and
ccb3c64e55e8 Fix Changes.html - 6LoWPAN is a new API
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10479
diff changeset
   281
    <a href="http://www.ietf.org/rfc/rfc6262.txt">RFC 6262</a>), 
ccb3c64e55e8 Fix Changes.html - 6LoWPAN is a new API
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10479
diff changeset
   282
    resulting in a heavy header compression for IPv6 packets.
ccb3c64e55e8 Fix Changes.html - 6LoWPAN is a new API
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10479
diff changeset
   283
    The module is intended to be used on 802.15.4 NetDevices, but
ccb3c64e55e8 Fix Changes.html - 6LoWPAN is a new API
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10479
diff changeset
   284
    it can be used over other NetDevices. See the manual for
ccb3c64e55e8 Fix Changes.html - 6LoWPAN is a new API
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10479
diff changeset
   285
    further discussion.
ccb3c64e55e8 Fix Changes.html - 6LoWPAN is a new API
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10479
diff changeset
   286
  </li>
10519
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   287
  <li> LteHelper has been updated with some new APIs:
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   288
    <ul>
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   289
      <li>new overloaded Attach methods to enable UE to automatically determine
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   290
          the eNodeB to attach to (using initial cell selection);</li>
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   291
      <li>new methods related to handover algorithm: SetHandoverAlgorithmType
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   292
          and SetHandoverAlgorithmAttribute;</li>
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   293
      <li>a new attribute AnrEnabled to activate/deactivate Automatic Neighbour
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   294
          Relation (ANR) function; and</li>
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   295
      <li>a new method SetUeDeviceAttribute for configuring LteUeNetDevice.</li>
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   296
    </ul>
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   297
  </li>
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   298
  <li> The GSoC 2013 project in the LTE module has brought some additional APIs:
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   299
    <ul>
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   300
      <li>a new abstract class LteHandoverAlgorithm, which every future
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   301
          implementation of automatic handover trigger should inherit from;</li>
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   302
      <li>new classes LteHandoverAlgorithm and LteAnr as sub-modules of
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   303
          LteEnbNetDevice class; both interfacing with the LteEnbRrc sub-module
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   304
          through Handover Management SAP and ANR SAP;</li>
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   305
      <li>new attributes in LteEnbNetDevice and LteUeNetDevice classes related
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   306
          to Closed Subscriber Group (CSG) functionality in initial cell
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   307
          selection;</li>
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   308
      <li>new attributes in LteEnbRrc for configuring UE measurements' filtering
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   309
          coefficient (i.e., quantity configuration);</li>
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   310
      <li>a new public method AddUeMeasReportConfig in LteEnbRrc for setting up
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   311
          custom UE measurements' reporting configuration; measurement reports
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   312
          can then be captured from the RecvMeasurementReport trace source;
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   313
          and</li>
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   314
      <li>new trace sources in LteUeRrc to capture more events, such as System
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   315
          Information messages (MIB, SIB1, SIB2), initial cell selection, random
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   316
          access, and handover.</li>
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   317
    </ul>
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   318
  </li>
10533
0daa97dec8db add to notes regarding null message parallel scheduler and new time units
Tom Henderson <tomh@tomh.org>
parents: 10531
diff changeset
   319
  <li>A new parallel scheduling algorithm based on null messages, a common 
0daa97dec8db add to notes regarding null message parallel scheduler and new time units
Tom Henderson <tomh@tomh.org>
parents: 10531
diff changeset
   320
  parallel DES scheduling algorithm, has been added.  The null message 
0daa97dec8db add to notes regarding null message parallel scheduler and new time units
Tom Henderson <tomh@tomh.org>
parents: 10531
diff changeset
   321
  scheduler has better scaling properties when running on some scenarios
0daa97dec8db add to notes regarding null message parallel scheduler and new time units
Tom Henderson <tomh@tomh.org>
parents: 10531
diff changeset
   322
  with large numbers of nodes since it does not require a global 
0daa97dec8db add to notes regarding null message parallel scheduler and new time units
Tom Henderson <tomh@tomh.org>
parents: 10531
diff changeset
   323
  communication.
0daa97dec8db add to notes regarding null message parallel scheduler and new time units
Tom Henderson <tomh@tomh.org>
parents: 10531
diff changeset
   324
  </li>
10459
f2e90c12a44f base implementation of the IEEE 802.11p standard
Junling Bu <linlinjavaer@gmail.com>
parents: 10446
diff changeset
   325
</ul>
10422
114314101699 update RELEASE_NOTES and CHANGES.html for new release
Tom Henderson <tomh@tomh.org>
parents: 10421
diff changeset
   326
114314101699 update RELEASE_NOTES and CHANGES.html for new release
Tom Henderson <tomh@tomh.org>
parents: 10421
diff changeset
   327
<h2>Changes to existing API:</h2>
10188
f2177f4b2cb1 update repository to start work on ns-3.19
Tom Henderson <tomh@tomh.org>
parents: 10165
diff changeset
   328
<ul>
10528
c1e835b43726 Bug 1796 - Ipv6PacketInfoTag is not filled by UdpSocketImpl::ForwardUp6.
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10519
diff changeset
   329
    <li> It is now possible to use Ipv6PacketInfoTag from UDP applications in the
10531
f23c083bb537 editing in preparation for release
Tom Henderson <tomh@tomh.org>
parents: 10528
diff changeset
   330
      same way as with Ipv4PacketInfoTag. See Doxygen for current limitations in
10528
c1e835b43726 Bug 1796 - Ipv6PacketInfoTag is not filled by UdpSocketImpl::ForwardUp6.
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10519
diff changeset
   331
  	  using Ipv[4,6]PacketInfoTag to set IP properties.</li>
10446
Nicola Baldo <nbaldo@cttc.es>
parents: 10442 10434
diff changeset
   332
    <li>A change is introduced for the usage of the EpcHelper
10442
a420385d5438 make EpcHelper abstract
Nicola Baldo <nbaldo@cttc.es>
parents: 10188
diff changeset
   333
      class. Previously, the EpcHelper class included both the API
a420385d5438 make EpcHelper abstract
Nicola Baldo <nbaldo@cttc.es>
parents: 10188
diff changeset
   334
      definition and its (only) implementation; as such, users would
a420385d5438 make EpcHelper abstract
Nicola Baldo <nbaldo@cttc.es>
parents: 10188
diff changeset
   335
      instantiate and use the EpcHelper class directly in their
a420385d5438 make EpcHelper abstract
Nicola Baldo <nbaldo@cttc.es>
parents: 10188
diff changeset
   336
      simulation programs. From now on,
a420385d5438 make EpcHelper abstract
Nicola Baldo <nbaldo@cttc.es>
parents: 10188
diff changeset
   337
      EpcHelper is just the base class defining the API, and the
a420385d5438 make EpcHelper abstract
Nicola Baldo <nbaldo@cttc.es>
parents: 10188
diff changeset
   338
      implementation has been moved to derived classes; as such,
a420385d5438 make EpcHelper abstract
Nicola Baldo <nbaldo@cttc.es>
parents: 10188
diff changeset
   339
      users are now expected to use one of the derived classes in
10519
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   340
      their simulation program. The implementation previously
10442
a420385d5438 make EpcHelper abstract
Nicola Baldo <nbaldo@cttc.es>
parents: 10188
diff changeset
   341
      provided by the EpcHelper class has been moved to the new
a420385d5438 make EpcHelper abstract
Nicola Baldo <nbaldo@cttc.es>
parents: 10188
diff changeset
   342
      derived class PointToPointEpcHelper.</li>
10519
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   343
  <li> The automatic handover trigger and ANR functions in LTE module have been
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   344
    moved from LteEnbRrc class to separate classes. As a result, the related
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   345
    attributes, e.g., ServingCellHandoverThreshold, NeighbourCellHandoverOffset,
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   346
    EventA2Threshold, and EventA4Threshold have been removed from LteEnbRrc
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   347
    class. The equivalent attributes are now in A2A4RsrqHandoverAlgorithm and
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   348
    LteAnr classes.</li>
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   349
  <li> Master Information Block (MIB) and System Information Block Type 1 (SIB1)
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   350
    are now transmitted as LTE control messages, so they are no longer part of
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   351
    RRC protocol.</li>
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   352
  <li> UE RRC state model in LTE module has been considerably modified and is
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   353
    not backward compatible with the previous state model.</li>
10533
0daa97dec8db add to notes regarding null message parallel scheduler and new time units
Tom Henderson <tomh@tomh.org>
parents: 10531
diff changeset
   354
  <li> Additional time units (Year, Day, Hour, Minute) were added to the time
0daa97dec8db add to notes regarding null message parallel scheduler and new time units
Tom Henderson <tomh@tomh.org>
parents: 10531
diff changeset
   355
  value class that represents simulation time; the largest unit prior to 
0daa97dec8db add to notes regarding null message parallel scheduler and new time units
Tom Henderson <tomh@tomh.org>
parents: 10531
diff changeset
   356
  this addition was Second.
0daa97dec8db add to notes regarding null message parallel scheduler and new time units
Tom Henderson <tomh@tomh.org>
parents: 10531
diff changeset
   357
  </li>
10899
9b501eb7910c Enhancements to SimpleNetDevice and SimpleChannel
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10892
diff changeset
   358
  <li> SimpleNetDevice and SimpleChannel are not so simple anymore. SimpleNetDevice can be now a
9b501eb7910c Enhancements to SimpleNetDevice and SimpleChannel
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10892
diff changeset
   359
       Broadcast or PointToPoint NetDevice, it can have a limited bandwidth and it uses an output
9b501eb7910c Enhancements to SimpleNetDevice and SimpleChannel
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10892
diff changeset
   360
       queue.       
9b501eb7910c Enhancements to SimpleNetDevice and SimpleChannel
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10892
diff changeset
   361
  </li>
10519
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   362
</ul>
f7f72f3cc6e3 updated RELEASE_NOTES and CHANGES.html with GSoC 2013 LTE details
Budiarto Herman <budiarto.herman@magister.fi>
parents: 10514
diff changeset
   363
10422
114314101699 update RELEASE_NOTES and CHANGES.html for new release
Tom Henderson <tomh@tomh.org>
parents: 10421
diff changeset
   364
<h2>Changes to build system:</h2>
114314101699 update RELEASE_NOTES and CHANGES.html for new release
Tom Henderson <tomh@tomh.org>
parents: 10421
diff changeset
   365
114314101699 update RELEASE_NOTES and CHANGES.html for new release
Tom Henderson <tomh@tomh.org>
parents: 10421
diff changeset
   366
<h2>Changed behavior:</h2>
10434
b1850c85be24 update RELEASE_NOTES and CHANGES.html for TapBridge changes
Tom Henderson <tomh@tomh.org>
parents: 10422
diff changeset
   367
<ul>
b1850c85be24 update RELEASE_NOTES and CHANGES.html for TapBridge changes
Tom Henderson <tomh@tomh.org>
parents: 10422
diff changeset
   368
  <li> For the TapBridge device, in UseLocal mode there is a MAC learning function. TapBridge has been waiting for the first packet received from tap interface to set the address of the bridged device to the source address of the first packet. This has caused problems with WiFi.  The new behavior is that after connection to the tap interface, ns-3 learns the MAC address of that interface with a system call and immediately sets the address of the bridged device to the learned one.  See <a href="https://www.nsnam.org/bugzilla/show_bug.cgi?id=1777">bug 1777</a> for more details.</li>
b1850c85be24 update RELEASE_NOTES and CHANGES.html for TapBridge changes
Tom Henderson <tomh@tomh.org>
parents: 10422
diff changeset
   369
  <li> TapBridge device now correctly implements IsLinkUp() method.</li>
10494
69f1d28a831e Pretty-print IPv6 addresses and routing tables
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10493
diff changeset
   370
  <li> IPv6 addresses and routing tables are printed like in Linux "route -A inet6" command.</li>
10531
f23c083bb537 editing in preparation for release
Tom Henderson <tomh@tomh.org>
parents: 10528
diff changeset
   371
  <li> A change in Ipv[4,6]Interface enforces the correct behaviour of IP 
f23c083bb537 editing in preparation for release
Tom Henderson <tomh@tomh.org>
parents: 10528
diff changeset
   372
    when a device do not support the minimum MTU requirements.
f23c083bb537 editing in preparation for release
Tom Henderson <tomh@tomh.org>
parents: 10528
diff changeset
   373
    This is set to 68 and 1280 octects respectively.  IP simulations that
f23c083bb537 editing in preparation for release
Tom Henderson <tomh@tomh.org>
parents: 10528
diff changeset
   374
    may have run over devices with smaller MTUs than 68 or 1280, respectively,
f23c083bb537 editing in preparation for release
Tom Henderson <tomh@tomh.org>
parents: 10528
diff changeset
   375
    will no longer be able to use such devices.</li>
10434
b1850c85be24 update RELEASE_NOTES and CHANGES.html for TapBridge changes
Tom Henderson <tomh@tomh.org>
parents: 10422
diff changeset
   376
</ul>
10422
114314101699 update RELEASE_NOTES and CHANGES.html for new release
Tom Henderson <tomh@tomh.org>
parents: 10421
diff changeset
   377
114314101699 update RELEASE_NOTES and CHANGES.html for new release
Tom Henderson <tomh@tomh.org>
parents: 10421
diff changeset
   378
<hr>
10421
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   379
<h1>Changes from ns-3.18 to ns-3.18.1</h1>
10188
f2177f4b2cb1 update repository to start work on ns-3.19
Tom Henderson <tomh@tomh.org>
parents: 10165
diff changeset
   380
<h2>New API:</h2>
f2177f4b2cb1 update repository to start work on ns-3.19
Tom Henderson <tomh@tomh.org>
parents: 10165
diff changeset
   381
<ul>
10421
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   382
  <li> It is now possible to randomize the time of the first beacon from an
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   383
  access point.  Use an attribute "EnableBeaconJitter" to enable/disable
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   384
  this feature.
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   385
  </li>
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   386
  <li> A new FixedRoomPositionAllocator helper class is available; it
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   387
  allows one to generate a random position uniformly distributed in the
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   388
  volume of a chosen room inside a chosen building.
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   389
  </li>
10188
f2177f4b2cb1 update repository to start work on ns-3.19
Tom Henderson <tomh@tomh.org>
parents: 10165
diff changeset
   390
</ul>
10421
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   391
10188
f2177f4b2cb1 update repository to start work on ns-3.19
Tom Henderson <tomh@tomh.org>
parents: 10165
diff changeset
   392
<h2>Changes to existing API:</h2>
f2177f4b2cb1 update repository to start work on ns-3.19
Tom Henderson <tomh@tomh.org>
parents: 10165
diff changeset
   393
<ul>
10421
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   394
  <li> Logging wildcards:  allow "***" as synonym for "*=**" to turn on all logging.
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   395
  </li>
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   396
  <li> The log component list ("NS_LOG=print-list") is now printed alphabetically.
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   397
  </li>
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   398
  <li> Some deprecated IEEE 802.11p code has been removed from the wifi module
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   399
  </li>
10188
f2177f4b2cb1 update repository to start work on ns-3.19
Tom Henderson <tomh@tomh.org>
parents: 10165
diff changeset
   400
</ul>
10421
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   401
10188
f2177f4b2cb1 update repository to start work on ns-3.19
Tom Henderson <tomh@tomh.org>
parents: 10165
diff changeset
   402
<h2>Changes to build system:</h2>
f2177f4b2cb1 update repository to start work on ns-3.19
Tom Henderson <tomh@tomh.org>
parents: 10165
diff changeset
   403
<ul>
10421
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   404
  <li> The Python API scanning system (./waf --apiscan) has been fixed (bug 1622)
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   405
  </li> 
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   406
  <li> Waf has been upgraded from 1.7.11 to 1.7.13
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   407
  </li> 
10188
f2177f4b2cb1 update repository to start work on ns-3.19
Tom Henderson <tomh@tomh.org>
parents: 10165
diff changeset
   408
</ul>
10421
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   409
10188
f2177f4b2cb1 update repository to start work on ns-3.19
Tom Henderson <tomh@tomh.org>
parents: 10165
diff changeset
   410
<h2>Changed behavior:</h2>
f2177f4b2cb1 update repository to start work on ns-3.19
Tom Henderson <tomh@tomh.org>
parents: 10165
diff changeset
   411
<ul>
10421
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   412
  <li> Wifi simulations have additional jitter on AP beaconing (see above) and some bug fixes have been applied to wifi module (see RELEASE_NOTES)
f6cfad75eea5 update RELEASE_NOTES and CHANGES.html for ns-3.18.1 release
Tom Henderson <tomh@tomh.org>
parents: 10188
diff changeset
   413
  </li> 
10188
f2177f4b2cb1 update repository to start work on ns-3.19
Tom Henderson <tomh@tomh.org>
parents: 10165
diff changeset
   414
</ul>
f2177f4b2cb1 update repository to start work on ns-3.19
Tom Henderson <tomh@tomh.org>
parents: 10165
diff changeset
   415
f2177f4b2cb1 update repository to start work on ns-3.19
Tom Henderson <tomh@tomh.org>
parents: 10165
diff changeset
   416
<hr>
9758
b7f82950d534 prepare for next release
Tom Henderson <tomh@tomh.org>
parents: 9752
diff changeset
   417
<h1>Changes from ns-3.17 to ns-3.18</h1>
b7f82950d534 prepare for next release
Tom Henderson <tomh@tomh.org>
parents: 9752
diff changeset
   418
b7f82950d534 prepare for next release
Tom Henderson <tomh@tomh.org>
parents: 9752
diff changeset
   419
<h2>New API:</h2>
b7f82950d534 prepare for next release
Tom Henderson <tomh@tomh.org>
parents: 9752
diff changeset
   420
<ul>
10165
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   421
  <li>New features have been added to the LTE module:
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   422
  <ul>
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   423
    <li>PHY support for UE measurements (RSRP and RSRQ)</li>
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   424
    <li>RRC support for UE measurements (configuration, execution, reporting)</li>
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   425
    <li>Automatic Handover trigger based on RRC UE measurement reports</li>
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   426
  </ul>
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   427
  <li>Data collection components have been added in the 'src/stats' module.
10119
8d243058531d update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 10101
diff changeset
   428
      Data collection includes a Probe class that attaches to ns-3 trace
8d243058531d update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 10101
diff changeset
   429
      sources to filter their output, and two Aggregator classes for 
8d243058531d update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 10101
diff changeset
   430
      marshaling probed data into text files or gnuplot plots.  The ns-3
8d243058531d update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 10101
diff changeset
   431
      tutorial has been extended to illustrate basic functionality. </li>
10165
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   432
  <li>In 'src/wifi', several changes were made to enable partial 802.11n support:
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   433
    <ul>
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   434
      <li>A new helper (HtWifiMacHelper) was added to set up a high throughput (HT) MAC entity</li>
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   435
      <li>New attributes were added to help the user setup a high throughpt (HT) PHY entity. These attributes can be set using the YansWifiPhyHelper</li>
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   436
      <li>A new standard value has been added that enables the new 11n data rates.</li>
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   437
      <li>New 11n preambles has been added (Mixed format and greenfield). To be able to change Tx duration according to the preamble used, a new class TxVector has been added to carry the transmission parameters (mode, preamble, stbc,..).  Several functions have been updated to allow the passage of TxVector instead of WifiMode in MacLow, WifiRemoteStationManager, WifiPhy, YansWifiPhy,.. </li>
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   438
      <li>A new information element has been added:  HTCapabilities. This information element is added to the MAC frame header if the node is an HT node. This HTCapabilites information element is used to advertise the HT capabilites of the node to other nodes in the network</li>
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   439
    </ul>
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   440
  <li>InternetStackHelper has two new functions:<tt>SetIpv4ArpJitter (bool enable)</tt>
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   441
      and <tt>SetIpv6NsRsJitter (bool enable)</tt> to enable/disable
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   442
      the random jitter on the tranmission of IPv4 ARP Request and IPv6 NS/RS. </li>
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   443
  <li>Bounds on valid time inputs for time attributes can now be enabled.  
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   444
      See <tt>attribute-test-suite.cc</tt> for an example.</li>
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   445
  <li>New generic hash function interface provided in the simulation core.  
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   446
      Two hash functions are provided: murmur3 (default), and the venerable 
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   447
      FNV1a.  See the Hash Functions section in the ns-3 manual.</li>
9946
df4a7e93c13d Mac16Address added, Mac64Address refactored, and Mac[16,64]Address can be used in IPv6
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 9944
diff changeset
   448
  <li>New Mac16Address has been added. It can be used with IPv6 to make
df4a7e93c13d Mac16Address added, Mac64Address refactored, and Mac[16,64]Address can be used in IPv6
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 9944
diff changeset
   449
      an Autoconfigured address.</li>
df4a7e93c13d Mac16Address added, Mac64Address refactored, and Mac[16,64]Address can be used in IPv6
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 9944
diff changeset
   450
  <li>Mac64Address support has been extended. It can now be used with 
df4a7e93c13d Mac16Address added, Mac64Address refactored, and Mac[16,64]Address can be used in IPv6
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 9944
diff changeset
   451
      IPv6 to make an Autoconfigured address.</li>
10127
f4cee68de571 Bug 1721 - Path MTU isn't handled properly
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10119
diff changeset
   452
  <li>IPv6 can now detect and use Path-MTU. See 
10165
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   453
      <tt>examples/ipv6/fragmentation-ipv6-two-MTU.cc</tt> for an example.</li>
10160
5bf2fe645784 Update internet-stack-helper API for jitter and CHANGES.html
John Abraham <john.abraham.in@gmail.com>
parents: 10159
diff changeset
   454
  <li>Radvd application has a new Helper. See the updated 
10165
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   455
      <tt>examples/ipv6/radvd.cc</tt> for an example.</li>
9758
b7f82950d534 prepare for next release
Tom Henderson <tomh@tomh.org>
parents: 9752
diff changeset
   456
</ul>
b7f82950d534 prepare for next release
Tom Henderson <tomh@tomh.org>
parents: 9752
diff changeset
   457
b7f82950d534 prepare for next release
Tom Henderson <tomh@tomh.org>
parents: 9752
diff changeset
   458
<h2>Changes to existing API:</h2>
b7f82950d534 prepare for next release
Tom Henderson <tomh@tomh.org>
parents: 9752
diff changeset
   459
<ul>
10131
0dc090fc749d Bug 1702 - A router should't aways add itself as the default router
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10129
diff changeset
   460
  <li> The Ipv6InterfaceContainer functions to set a node in forwarding state (i.e., a router) 
0dc090fc749d Bug 1702 - A router should't aways add itself as the default router
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10129
diff changeset
   461
  and to install a default router in a group of nodes have been extensively changed.
10165
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   462
  The old function <tt>void Ipv6InterfaceContainer::SetRouter (uint32_t i, bool router)</tt>
10131
0dc090fc749d Bug 1702 - A router should't aways add itself as the default router
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10129
diff changeset
   463
  is now DEPRECATED.
0dc090fc749d Bug 1702 - A router should't aways add itself as the default router
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10129
diff changeset
   464
  </li>
9919
5596934962c2 RFC 3849 - IPv6 Address Prefix Reserved for Documentation
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 9892
diff changeset
   465
  <li> The documentation's IPv6 addresses (2001:db8::/32, RFC 3849) are now
5596934962c2 RFC 3849 - IPv6 Address Prefix Reserved for Documentation
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 9892
diff changeset
   466
  dropped by routers.
5596934962c2 RFC 3849 - IPv6 Address Prefix Reserved for Documentation
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 9892
diff changeset
   467
  </li>
9845
ef943f320ea6 update CHANGES.html to reflect the removal of tools module
Tom Henderson <tomh@tomh.org>
parents: 9758
diff changeset
   468
  <li> The 'src/tools' module has been removed, and most files migrated to
ef943f320ea6 update CHANGES.html to reflect the removal of tools module
Tom Henderson <tomh@tomh.org>
parents: 9758
diff changeset
   469
  'src/stats'.  For users of these programs (the statistics-processing 
ef943f320ea6 update CHANGES.html to reflect the removal of tools module
Tom Henderson <tomh@tomh.org>
parents: 9758
diff changeset
   470
  in average.h, or the gnuplot support), the main change is likely to be
ef943f320ea6 update CHANGES.html to reflect the removal of tools module
Tom Henderson <tomh@tomh.org>
parents: 9758
diff changeset
   471
  replacing the inclusion of "tools-module.h" with "stats-module.h".
ef943f320ea6 update CHANGES.html to reflect the removal of tools module
Tom Henderson <tomh@tomh.org>
parents: 9758
diff changeset
   472
  Users of the event garbage collector, previously in tools, will now 
ef943f320ea6 update CHANGES.html to reflect the removal of tools module
Tom Henderson <tomh@tomh.org>
parents: 9758
diff changeset
   473
  include it from the core module.
ef943f320ea6 update CHANGES.html to reflect the removal of tools module
Tom Henderson <tomh@tomh.org>
parents: 9758
diff changeset
   474
  </li>
9849
b3ec74c99612 Bug 1697 - ICMPv6 Redirect trigger contains multiple bugs
Guowang Shi <shiguowang2007@gmail.com>
parents: 9845
diff changeset
   475
  <li> The Ipv6 UnicastForwardCallback and  MulticastForwardCallback 
10131
0dc090fc749d Bug 1702 - A router should't aways add itself as the default router
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 10129
diff changeset
   476
  have a new parameter, the NetDevice the packet has been received from.
9849
b3ec74c99612 Bug 1697 - ICMPv6 Redirect trigger contains multiple bugs
Guowang Shi <shiguowang2007@gmail.com>
parents: 9845
diff changeset
   477
  Existing Ipv6RoutingProtocols should update their RouteInput function
10165
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   478
  accordingly, e.g., from <tt>ucb (rtentry, p, header);</tt> to <tt>ucb (idev, rtentry, p, header);</tt>
9849
b3ec74c99612 Bug 1697 - ICMPv6 Redirect trigger contains multiple bugs
Guowang Shi <shiguowang2007@gmail.com>
parents: 9845
diff changeset
   479
  </li>
10101
9658a01ee462 addressed the comments in https://codereview.appspot.com/11374043/#msg2
Nicola Baldo <nbaldo@cttc.es>
parents: 9946
diff changeset
   480
  <li> The previous buildings module relied on a specific MobilityModel called
9658a01ee462 addressed the comments in https://codereview.appspot.com/11374043/#msg2
Nicola Baldo <nbaldo@cttc.es>
parents: 9946
diff changeset
   481
    BuildingsMobilityModel, which supported buildings but only allowed
9658a01ee462 addressed the comments in https://codereview.appspot.com/11374043/#msg2
Nicola Baldo <nbaldo@cttc.es>
parents: 9946
diff changeset
   482
    static positions. This mobility model has been removed. Now, the
9658a01ee462 addressed the comments in https://codereview.appspot.com/11374043/#msg2
Nicola Baldo <nbaldo@cttc.es>
parents: 9946
diff changeset
   483
    Buildings module instead relies on a new class called
9658a01ee462 addressed the comments in https://codereview.appspot.com/11374043/#msg2
Nicola Baldo <nbaldo@cttc.es>
parents: 9946
diff changeset
   484
    MobilityBuildingInfo which can be aggregated to any MobilityModel. This
9658a01ee462 addressed the comments in https://codereview.appspot.com/11374043/#msg2
Nicola Baldo <nbaldo@cttc.es>
parents: 9946
diff changeset
   485
    allows having moving nodes in presence of buildings with any of
9658a01ee462 addressed the comments in https://codereview.appspot.com/11374043/#msg2
Nicola Baldo <nbaldo@cttc.es>
parents: 9946
diff changeset
   486
    the existing MobilityModels. 
9658a01ee462 addressed the comments in https://codereview.appspot.com/11374043/#msg2
Nicola Baldo <nbaldo@cttc.es>
parents: 9946
diff changeset
   487
  </li>
10165
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   488
  <li>All functions in WifiRemoteStationManager named GetXxxMode have been changed to GetXxxTxVector </li>
9758
b7f82950d534 prepare for next release
Tom Henderson <tomh@tomh.org>
parents: 9752
diff changeset
   489
</ul>
b7f82950d534 prepare for next release
Tom Henderson <tomh@tomh.org>
parents: 9752
diff changeset
   490
b7f82950d534 prepare for next release
Tom Henderson <tomh@tomh.org>
parents: 9752
diff changeset
   491
<h2>Changes to build system:</h2>
b7f82950d534 prepare for next release
Tom Henderson <tomh@tomh.org>
parents: 9752
diff changeset
   492
<ul>
10157
02e3d2d7d7e1 Link to bug num in bug database with \bugid{num}
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents: 10143
diff changeset
   493
  <li> Make references to bug id's in doxygen comments with
02e3d2d7d7e1 Link to bug num in bug database with \bugid{num}
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents: 10143
diff changeset
   494
    <tt>\bugid{num}</tt>, where <tt>num</tt> is the bug id number.  This
02e3d2d7d7e1 Link to bug num in bug database with \bugid{num}
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents: 10143
diff changeset
   495
    form will generate a link to the bug in the bug database.
02e3d2d7d7e1 Link to bug num in bug database with \bugid{num}
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents: 10143
diff changeset
   496
  </li>
9758
b7f82950d534 prepare for next release
Tom Henderson <tomh@tomh.org>
parents: 9752
diff changeset
   497
</ul>
b7f82950d534 prepare for next release
Tom Henderson <tomh@tomh.org>
parents: 9752
diff changeset
   498
b7f82950d534 prepare for next release
Tom Henderson <tomh@tomh.org>
parents: 9752
diff changeset
   499
<h2>Changed behavior:</h2>
b7f82950d534 prepare for next release
Tom Henderson <tomh@tomh.org>
parents: 9752
diff changeset
   500
<ul>
10143
48f66512ec9b [PATCH] core: Extending public interface of CommandLine class
Alexander Afanasyev <alexander.afanasyev@ucla.edu>
parents: 10139
diff changeset
   501
  <li> Now it is possible to request printing command line arguments to the
48f66512ec9b [PATCH] core: Extending public interface of CommandLine class
Alexander Afanasyev <alexander.afanasyev@ucla.edu>
parents: 10139
diff changeset
   502
desired output stream using PrintHelp or operator &lt;&lt;
48f66512ec9b [PATCH] core: Extending public interface of CommandLine class
Alexander Afanasyev <alexander.afanasyev@ucla.edu>
parents: 10139
diff changeset
   503
<pre>
48f66512ec9b [PATCH] core: Extending public interface of CommandLine class
Alexander Afanasyev <alexander.afanasyev@ucla.edu>
parents: 10139
diff changeset
   504
  CommandLine cmd;
48f66512ec9b [PATCH] core: Extending public interface of CommandLine class
Alexander Afanasyev <alexander.afanasyev@ucla.edu>
parents: 10139
diff changeset
   505
  cmd.Parse (argc, argv);
48f66512ec9b [PATCH] core: Extending public interface of CommandLine class
Alexander Afanasyev <alexander.afanasyev@ucla.edu>
parents: 10139
diff changeset
   506
...
48f66512ec9b [PATCH] core: Extending public interface of CommandLine class
Alexander Afanasyev <alexander.afanasyev@ucla.edu>
parents: 10139
diff changeset
   507
48f66512ec9b [PATCH] core: Extending public interface of CommandLine class
Alexander Afanasyev <alexander.afanasyev@ucla.edu>
parents: 10139
diff changeset
   508
  std::cerr << cmd;
48f66512ec9b [PATCH] core: Extending public interface of CommandLine class
Alexander Afanasyev <alexander.afanasyev@ucla.edu>
parents: 10139
diff changeset
   509
</pre>
48f66512ec9b [PATCH] core: Extending public interface of CommandLine class
Alexander Afanasyev <alexander.afanasyev@ucla.edu>
parents: 10139
diff changeset
   510
or
48f66512ec9b [PATCH] core: Extending public interface of CommandLine class
Alexander Afanasyev <alexander.afanasyev@ucla.edu>
parents: 10139
diff changeset
   511
<pre>
48f66512ec9b [PATCH] core: Extending public interface of CommandLine class
Alexander Afanasyev <alexander.afanasyev@ucla.edu>
parents: 10139
diff changeset
   512
  cmd.PrintHelp (std::cerr);
48f66512ec9b [PATCH] core: Extending public interface of CommandLine class
Alexander Afanasyev <alexander.afanasyev@ucla.edu>
parents: 10139
diff changeset
   513
</pre>
10163
0595ff454efe align command-line test suite to recent changes
Tom Henderson <tomh@tomh.org>
parents: 10160
diff changeset
   514
  </li>
10165
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   515
  <li>Command line boolean arguments specified with no integer value (e.g. <tt>"--boolArg"</tt>) will toggle the value from the default, instead of always setting the value to true.
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   516
  </li>
10163
0595ff454efe align command-line test suite to recent changes
Tom Henderson <tomh@tomh.org>
parents: 10160
diff changeset
   517
  <li>IPv4's ARP Request and IPv6's NS/RS are now transmitted with a random delay.
0595ff454efe align command-line test suite to recent changes
Tom Henderson <tomh@tomh.org>
parents: 10160
diff changeset
   518
      The delay is, by default, a uniform random variable in time between 0 and 10ms.
10165
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   519
      This is aimed at preventing reception errors due to collisions during wifi broadcasts when the sending behavior is synchronized (e.g. due to applications starting at the same time on several different nodes).
10163
0595ff454efe align command-line test suite to recent changes
Tom Henderson <tomh@tomh.org>
parents: 10160
diff changeset
   520
      This behaviour can be modified by using ArpL3Protocol's 
0595ff454efe align command-line test suite to recent changes
Tom Henderson <tomh@tomh.org>
parents: 10160
diff changeset
   521
      <tt>RequestJitter</tt> and Icmpv6L4Protocol's <tt>SolicitationJitter</tt>
0595ff454efe align command-line test suite to recent changes
Tom Henderson <tomh@tomh.org>
parents: 10160
diff changeset
   522
      attributes or by using the new InternetStackHelper functions.
0595ff454efe align command-line test suite to recent changes
Tom Henderson <tomh@tomh.org>
parents: 10160
diff changeset
   523
  </li>
10165
9d3dc60bada4 update CHANGES.html, cleanup some formatting
Tom Henderson <tomh@tomh.org>
parents: 10163
diff changeset
   524
  <li>AODV Hellos are disabled by default. The performance with Hellos enabled and disabled are almost identical. With Hellos enabled, AODV will suppress hellos from transmission, if any recent broadcast such as RREQ was transmitted. The attribute <tt>ns3::aodv::RoutingProtocol::EnableHello</tt> can be used to enable/disable Hellos.
9758
b7f82950d534 prepare for next release
Tom Henderson <tomh@tomh.org>
parents: 9752
diff changeset
   525
</ul>
b7f82950d534 prepare for next release
Tom Henderson <tomh@tomh.org>
parents: 9752
diff changeset
   526
10188
f2177f4b2cb1 update repository to start work on ns-3.19
Tom Henderson <tomh@tomh.org>
parents: 10165
diff changeset
   527
<hr>
9212
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
   528
<h1>Changes from ns-3.16 to ns-3.17</h1>
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
   529
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
   530
<h2>New API:</h2>
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
   531
<ul>
9751
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   532
  <li>New TCP Westwood and Westwood+ models
9752
c2c31a5059d4 update changes.html and release notes for FdNetDevice changes
Tom Henderson <tomh@tomh.org>
parents: 9751
diff changeset
   533
  <li>New FdNetDevice class providing a special NetDevice that is able to read
c2c31a5059d4 update changes.html and release notes for FdNetDevice changes
Tom Henderson <tomh@tomh.org>
parents: 9751
diff changeset
   534
      and write traffic from a file descriptor.  Three helpers are provided
c2c31a5059d4 update changes.html and release notes for FdNetDevice changes
Tom Henderson <tomh@tomh.org>
parents: 9751
diff changeset
   535
      to associate the file descriptor with different underlying devices:  
c2c31a5059d4 update changes.html and release notes for FdNetDevice changes
Tom Henderson <tomh@tomh.org>
parents: 9751
diff changeset
   536
    <ul> 
c2c31a5059d4 update changes.html and release notes for FdNetDevice changes
Tom Henderson <tomh@tomh.org>
parents: 9751
diff changeset
   537
    <li> EmuFdNetDeviceHelper (to associate the |ns3| device with a physical 
c2c31a5059d4 update changes.html and release notes for FdNetDevice changes
Tom Henderson <tomh@tomh.org>
parents: 9751
diff changeset
   538
         device in the host machine).  This helper is intended to
c2c31a5059d4 update changes.html and release notes for FdNetDevice changes
Tom Henderson <tomh@tomh.org>
parents: 9751
diff changeset
   539
         eventually replace the EmuNetDevice in src/emu. </li>
c2c31a5059d4 update changes.html and release notes for FdNetDevice changes
Tom Henderson <tomh@tomh.org>
parents: 9751
diff changeset
   540
    <li> TapFdNetDeviceHelper (to associate the ns-3 device with the file 
c2c31a5059d4 update changes.html and release notes for FdNetDevice changes
Tom Henderson <tomh@tomh.org>
parents: 9751
diff changeset
   541
         descriptor from a tap device in the host machine) </li>
c2c31a5059d4 update changes.html and release notes for FdNetDevice changes
Tom Henderson <tomh@tomh.org>
parents: 9751
diff changeset
   542
    <li> PlanteLabFdNetDeviceHelper (to automate the creation of tap devices 
c2c31a5059d4 update changes.html and release notes for FdNetDevice changes
Tom Henderson <tomh@tomh.org>
parents: 9751
diff changeset
   543
         in PlanetLab nodes, enabling |ns3| simulations that can send and 
c2c31a5059d4 update changes.html and release notes for FdNetDevice changes
Tom Henderson <tomh@tomh.org>
parents: 9751
diff changeset
   544
         receive traffic though the Internet using PlanetLab resource.</li>
c2c31a5059d4 update changes.html and release notes for FdNetDevice changes
Tom Henderson <tomh@tomh.org>
parents: 9751
diff changeset
   545
    </ul> 
c2c31a5059d4 update changes.html and release notes for FdNetDevice changes
Tom Henderson <tomh@tomh.org>
parents: 9751
diff changeset
   546
  </li>
9232
0958cf37fa89 Update CHANGES.html and release notes to reflect ns-3-click defines and random number API additions
Lalith Suresh <suresh.lalith@gmail.com>
parents: 9225
diff changeset
   547
  <li>In Ipv4ClickRouting, the following APIs were added:
0958cf37fa89 Update CHANGES.html and release notes to reflect ns-3-click defines and random number API additions
Lalith Suresh <suresh.lalith@gmail.com>
parents: 9225
diff changeset
   548
    <ul>
0958cf37fa89 Update CHANGES.html and release notes to reflect ns-3-click defines and random number API additions
Lalith Suresh <suresh.lalith@gmail.com>
parents: 9225
diff changeset
   549
      <li>Ipv4ClickRouting::SetDefines(), accessible through ClickInternetStackHelper::SetDefines(), for the user to set Click defines from the ns-3 simulation file.</li>
0958cf37fa89 Update CHANGES.html and release notes to reflect ns-3-click defines and random number API additions
Lalith Suresh <suresh.lalith@gmail.com>
parents: 9225
diff changeset
   550
      <li>SIMCLICK_GET_RANDOM_INT click-to-simulator command for ns-3 to drive Click's random number generation.</li>
0958cf37fa89 Update CHANGES.html and release notes to reflect ns-3-click defines and random number API additions
Lalith Suresh <suresh.lalith@gmail.com>
parents: 9225
diff changeset
   551
    </ul>
9714
e15fefdc07f4 Documentation
Brian Swenson <bswenson3@gatech.edu>
parents: 9232
diff changeset
   552
  </li>  
9736
da5e3a6c4029 updated CHANGES.html and RELEASE_NOTES for LTE module
Nicola Baldo <nbaldo@cttc.es>
parents: 9714
diff changeset
   553
  <li>LTE module
da5e3a6c4029 updated CHANGES.html and RELEASE_NOTES for LTE module
Nicola Baldo <nbaldo@cttc.es>
parents: 9714
diff changeset
   554
    <ul>
da5e3a6c4029 updated CHANGES.html and RELEASE_NOTES for LTE module
Nicola Baldo <nbaldo@cttc.es>
parents: 9714
diff changeset
   555
      <li> New user-visible LTE API
9751
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   556
      <ul>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   557
        <li>Two new methods have been added to LteHelper to enable the X2-based handover functionality: AddX2Interface, which setups the X2 interface between two eNBs, and HandoverRequest, which is  a convenience method that schedules an explicit handover event to be executed at a given point in the simulation. </li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   558
        <li>the new LteHelper method EnablePhyTraces can now be used to enable the new PHY traces</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   559
      </ul>
9736
da5e3a6c4029 updated CHANGES.html and RELEASE_NOTES for LTE module
Nicola Baldo <nbaldo@cttc.es>
parents: 9714
diff changeset
   560
      </li> 
da5e3a6c4029 updated CHANGES.html and RELEASE_NOTES for LTE module
Nicola Baldo <nbaldo@cttc.es>
parents: 9714
diff changeset
   561
      <li> New internal LTE API 
9751
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   562
      <ul>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   563
        <li>New LTE control message classes DlHarqFeedbackLteControlMessage, 
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   564
         RachPreambleLteControlMessage, RarLteControlMessage, MibLteControlMessage</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   565
        <li>New class UeManager
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   566
        <li>New LteRadioBearerInfo subclasses LteSignalingRadioBearerInfo, 
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   567
         LteDataRadioBearerInfo</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   568
        <li>New LteSinrChunkProcessor subclasses LteRsReceivedPowerChunkProcessor, 
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   569
         LteInterferencePowerChunkProcessor</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   570
      </ul>
9736
da5e3a6c4029 updated CHANGES.html and RELEASE_NOTES for LTE module
Nicola Baldo <nbaldo@cttc.es>
parents: 9714
diff changeset
   571
      </li>
da5e3a6c4029 updated CHANGES.html and RELEASE_NOTES for LTE module
Nicola Baldo <nbaldo@cttc.es>
parents: 9714
diff changeset
   572
    </ul>
da5e3a6c4029 updated CHANGES.html and RELEASE_NOTES for LTE module
Nicola Baldo <nbaldo@cttc.es>
parents: 9714
diff changeset
   573
  </li>
9751
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   574
  <li>New DSR API
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   575
  <ul>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   576
    <li>Added PassiveBuffer class to save maintenance packet entry for passive acknowledgment option</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   577
    <li>Added FindSourceEntry function in RreqTable class to keep track of route request entry received from same source node</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   578
    <li>Added NotifyDataReciept function in DsrRouting class to notify the data receipt of the next hop from link layer.  This is used for the link layer acknowledgment.</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   579
  </ul>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   580
  </li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   581
  <li>New Tag, PacketSocketTag, to carry the destination address of a packet and the packet type</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   582
  <li>New Tag, DeviceNameTag, to carry the ns3 device name from where a packet is coming</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   583
  <li>New Error Model, BurstError model, to determine which bursts of packets are errored corresponding to an underlying distribution, burst rate, and burst size</li>
9212
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
   584
</ul>
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
   585
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
   586
<h2>Changes to existing API:</h2>
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
   587
<ul>
9751
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   588
  <li>ns3::Object and subclasses DoStart has been renamed to DoInitialize</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   589
  <li>ns3::Object and subclasses Start has been renamed to Initialize</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   590
  <li>EnergySource StartDeviceModels renamed to InitializeDeviceModels</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   591
  <li>A typo was fixed in an LTE variable name. The variable ns3::AllocationRetentionPriority::preemprionVulnerability was changed to preemptionVulnerability.</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   592
  <li>Changes in TestCase API
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   593
  <ul>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   594
    <li>TestCase has new enumeration TestDuration containing QUICK, EXTENSIVE, TAKES_FOREVER</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   595
    <li>TestCase constructor now requires TestDuration, old constructor marked deprecated</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   596
 </ul>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   597
 </li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   598
  <li>Changes in LTE API
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   599
  <ul>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   600
    <li> User-visible LTE API 
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   601
    <ul>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   602
      <li>The previous LteHelper method ActivateEpsBearer has been now replaced by two alternative methods: ActivateDataRadioBearer (to be used when the EPC model is not used) and ActivateDedicatedEpsBearer (to be used when the EPC model is used). In the case where the EPC model is used, the default EPS bearer is not automatically activated without the need for a specific method to be called.</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   603
    </ul>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   604
    </li> 
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   605
    <li> Internal LTE API 
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   606
    <ul>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   607
      <li>EpcHelper added methods AddUe, AddX2Interface.  Method AddEnb now requires a cellId.  Signature of ActivateEpsBearer changed to void ActivateEpsBearer (Ptr<NetDevice> ueLteDevice, uint64_t imsi, Ptr<EpcTft> tft, EpsBearer bearer)</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   608
      <li>LteHelper added methods EnableDlPhyTraces, EnableUlPhyTraces, EnableDlTxPhyTraces, EnableUlTxPhyTraces, EnableDlRxPhyTraces, EnableUlRxPhyTraces</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   609
      <li>LteHelper removed methods EnableDlRlcTraces, EnableUlRlcTraces, EnableDlPdcpTraces, EnableUlPdcpTraces</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   610
      <li>RadioBearerStatsCalculator added methods (Set/Get)StartTime, (Set/Get)Epoch, RescheduleEndEpoch, EndEpoch</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   611
      <li>RadioBearerStatsCalculator removed methods StartEpoch, CheckEpoch</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   612
      <li>RadioBearerStatsCalculator methods UlTxPdu, DlRxPdu now require a cellId</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   613
      <li>EpcEnbApplication constructor now requires Ipv4Addresses enbS1uAddress and sgwS1uAddress as well as cellId</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   614
      <li>EpcEnbApplication added methods SetS1SapUser, GetS1SapProvider, SetS1apSapMme and GetS1apSapEnb</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   615
      <li>EpcEnbApplication removed method ErabSetupRequest</li> 
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   616
      <li>EpcSgwPgwApplication added methods SetS11SapMme, GetS11SapSgw, AddEnb, AddUe, SetUeAddress</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   617
      <li>lte-common.h new structs PhyTransmissionStatParameters and PhyReceptionStatParameters used in TracedCallbacks</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   618
      <li>LteControlMessage new message types DL_HARQ, RACH_PREAMBLE, RAR, MIB</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   619
      <li>LteEnbCmacSapProvider new methods RemoveUe, GetRachConfig, AllocateNcRaPreamble, AllocateTemporaryCellRnti</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   620
      <li>LteEnbPhy new methods GetLteEnbCphySapProvider, SetLteEnbCphySapUser, GetDlSpectrumPhy, GetUlSpectrumPhy, CreateSrsReport</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   621
      <li>LteEnbPhy methods DoSendMacPdu, DoSetTransmissionMode, DoSetSrsConfigurationIndex, DoGetMacChTtiDelay, DoSendLteControlMessage, AddUePhy, DeleteUePhy made private</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   622
      <li>LteEnbPhySapProvider removed methods SetBandwidth, SetTransmissionMode, SetSrsConfigurationIndex, SetCellId</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   623
      <li>LteEnbPhySapUser added methods ReceiveRachPreamble, UlInfoListElementHarqFeeback, DlInfoListElementHarqFeeback</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   624
      <li>LtePdcp added methods (Set/Get)Status</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   625
      <li>LtePdcp DoTransmitRrcPdu renamed DoTransmitPdcpSdu</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   626
      <li>LteUeRrc new enum State.  New methods SetLteUeCphySapProvider, GetLteUeCphySapUser, SetLteUeRrcSapUser, GetLteUeRrcSapProvider, GetState, GetDlEarfcn, GetDlBandwidth, GetUlBandwidth, GetCellId, SetUseRlcSm .  GetRnti made const.</li> 
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   627
      <li>LteUeRrc removed methods ReleaseRadioBearer, GetLcIdVector, SetForwardUpCallback, DoRrcConfigurationUpdateInd</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   628
      <li>LtePdcpSapProvider struct TransmitRrcPduParameters renamed TransmitPdcpSduParameters.  Method TransmitRrcPdu renamed TransmitPdcpSdu </li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   629
      <li>LtePdcpSapUser struct ReceiveRrcPduParameters renamed ReceivePdcpSduParameters.  Method ReceiveRrcPdu renamed TransmitPdcpSdu</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   630
      <li>LtePdcpSpecificLtePdcpSapProvider method TransmitRrcPdu renamed TransmitPdcpSdu</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   631
      <li>LtePdcpSpecificLtePdcpSapUser method ReceiveRrcPdu  renamed ReceivePdcpSdu. Method ReceiveRrcPdu renamed ReceivePdcpSdu</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   632
      <li>LtePhy removed methods DoSetBandwidth and DoSetEarfcn</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   633
      <li>LtePhy added methods ReportInterference and ReportRsReceivedPower</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   634
      <li>LteSpectrumPhy added methods SetHarqPhyModule, Reset, SetLtePhyDlHarqFeedbackCallback, SetLtePhyUlHarqFeedbackCallback,  AddRsPowerChunkProcessor, AddInterferenceChunkProcessor</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   635
      <li>LteUeCphySapProvider removed methods ConfigureRach, StartContentionBasedRandomAccessProcedure, StartNonContentionBasedRandomAccessProcedure</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   636
      <li>LteUeMac added method AssignStreams</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   637
      <li>LteUeNetDevice methods GetMac, GetRrc, GetImsi  made const</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   638
      <li>LteUeNetDevice new method GetNas</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   639
      <li>LteUePhy new methods GetLteUeCphySapProvider, SetLteUeCphySapUser, GetDlSpectrumPhy, GetUlSpectrumPhy, ReportInterference, ReportRsReceivedPower, ReceiveLteDlHarqFeedback</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   640
      <li>LteUePhy DoSendMacPdu, DoSendLteControlMessage, DoSetTransmissionMode, DoSetSrsConfigurationIndex made private</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   641
      <li>LteUePhySapProvider removed methods SetBandwidth, SetTransmissionMode, SetSrsConfigurationIndex</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   642
      <li>LteUePhySapProvider added method SendRachPreamble</li>  
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   643
    </ul>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   644
   </li>    
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   645
  </ul>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   646
  <li>AnimationInterface method EnableIpv4RouteTracking returns reference to calling AnimationInterface object</li>
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   647
  <li>To make the API more uniform across the various
9748
070273fe1cd5 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 9745
diff changeset
   648
  PropagationLossModel classes, the Set/GetLambda methods of the
070273fe1cd5 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 9745
diff changeset
   649
  FriisPropagationLossModel and TwoRayGroundPropagationLossModel
070273fe1cd5 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 9745
diff changeset
   650
  classes have been changed to Set/GetFrequency, and now a Frequency
070273fe1cd5 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 9745
diff changeset
   651
  attribute is exported which replaces the pre-existing Lambda
070273fe1cd5 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 9745
diff changeset
   652
  attribute. Any previous user code setting a value for Lambda should
070273fe1cd5 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 9745
diff changeset
   653
  be changed to set instead a value of Frequency = C / Lambda, with C
070273fe1cd5 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 9745
diff changeset
   654
  = 299792458.0. </li>
9714
e15fefdc07f4 Documentation
Brian Swenson <bswenson3@gatech.edu>
parents: 9232
diff changeset
   655
</ul>
9212
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
   656
<h2>Changes to build system:</h2>
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
   657
<ul>
9751
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   658
  <li>Waf shipped with ns-3 has been upgraded to version 1.7.10 and custom
9741
98737f7646a1 update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 9736
diff changeset
   659
  pkg-config generator has been replaced by Waf's builtin tool.
9751
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   660
  </li>
9212
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
   661
</ul>
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
   662
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
   663
<h2>Changed behavior:</h2>
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
   664
<ul>
9751
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   665
  <li>DSR link layer notification has changed.  The model originally used 
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   666
  "TxErrHeader" in Ptr<WifiMac> to indicate the transmission
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   667
  error of a specific packet in link layer; however, it was not working
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   668
  correctly.  The model now uses a different path to implement
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   669
  the link layer notification mechanism; specifically, looking into the 
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   670
  trace file to find packet receive events.  If the model finds one 
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   671
  receive event for the data packet, it is used as the indicator for 
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   672
  successful data delivery.</li>
9212
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
   673
</ul>
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
   674
294690720935 start CHANGES.html and RELEASE_NOTES for next ns-3 version
Tom Henderson <tomh@tomh.org>
parents: 9189
diff changeset
   675
<hr>
9097
4d2b28c310db Update changes file
Mitch Watrous <watrous@u.washington.edu>
parents: 8878
diff changeset
   676
<h1>Changes from ns-3.15 to ns-3.16</h1>
4d2b28c310db Update changes file
Mitch Watrous <watrous@u.washington.edu>
parents: 8878
diff changeset
   677
4d2b28c310db Update changes file
Mitch Watrous <watrous@u.washington.edu>
parents: 8878
diff changeset
   678
<h2>New API:</h2>
4d2b28c310db Update changes file
Mitch Watrous <watrous@u.washington.edu>
parents: 8878
diff changeset
   679
<ul>
9145
5752b425cdf5 Bug 1361 - Set TOS from Application level (sockets)
Daniel Lertpratchya <nikkipui@gmail.com>
parents: 9113
diff changeset
   680
<li>In the Socket class, the following functions were added: 
5752b425cdf5 Bug 1361 - Set TOS from Application level (sockets)
Daniel Lertpratchya <nikkipui@gmail.com>
parents: 9113
diff changeset
   681
 <ul>
5752b425cdf5 Bug 1361 - Set TOS from Application level (sockets)
Daniel Lertpratchya <nikkipui@gmail.com>
parents: 9113
diff changeset
   682
  <li>(Set/Get)IpTos - sets IP Type of Service field in the IP headers.</li>
5752b425cdf5 Bug 1361 - Set TOS from Application level (sockets)
Daniel Lertpratchya <nikkipui@gmail.com>
parents: 9113
diff changeset
   683
  <li>(Set/Is)IpRecvTos - tells the socket to pass information about IP ToS up the stack (by adding SocketIpTosTag to the packet).</li>
5752b425cdf5 Bug 1361 - Set TOS from Application level (sockets)
Daniel Lertpratchya <nikkipui@gmail.com>
parents: 9113
diff changeset
   684
  <li>(Set/Get)IpTtl - sets IP Time to live field in the IP headers.</li>
5752b425cdf5 Bug 1361 - Set TOS from Application level (sockets)
Daniel Lertpratchya <nikkipui@gmail.com>
parents: 9113
diff changeset
   685
  <li>(Set/Is)RecvIpTtl - tells the socket to pass information about IP TTL up the stack (by adding SocketIpTtlTag to the packet).</li>
5752b425cdf5 Bug 1361 - Set TOS from Application level (sockets)
Daniel Lertpratchya <nikkipui@gmail.com>
parents: 9113
diff changeset
   686
  <li>(Set/Is)Ipv6Tclass - sets Traffic Class field in the IPv6 headers.</li>
5752b425cdf5 Bug 1361 - Set TOS from Application level (sockets)
Daniel Lertpratchya <nikkipui@gmail.com>
parents: 9113
diff changeset
   687
  <li>(Set/Is)Ipv6RecvTclass - tells the socket to pass information about IPv6 TCLASS up the stack (by adding SocketIpv6TclassTag to the packet).</li>
5752b425cdf5 Bug 1361 - Set TOS from Application level (sockets)
Daniel Lertpratchya <nikkipui@gmail.com>
parents: 9113
diff changeset
   688
  <li>(Set/Get)Ipv6HopLimit - sets Hop Limit field in the IPv6 headers.</li>
5752b425cdf5 Bug 1361 - Set TOS from Application level (sockets)
Daniel Lertpratchya <nikkipui@gmail.com>
parents: 9113
diff changeset
   689
  <li>(Set/Is)Ipv6RecvHopLimit - tells the socket to pass information about IPv6 HOPLIMIT up the stack (by adding SocketIpv6HoplimitTag to the packet).</li>
9751
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
   690
 </ul>  
9145
5752b425cdf5 Bug 1361 - Set TOS from Application level (sockets)
Daniel Lertpratchya <nikkipui@gmail.com>
parents: 9113
diff changeset
   691
A user can call these functions to set/get the corresponding socket option. See examples/socket/socket-options-ipv4.cc and examples/socket/socket-options-ipv6.cc for examples.
9097
4d2b28c310db Update changes file
Mitch Watrous <watrous@u.washington.edu>
parents: 8878
diff changeset
   692
</ul>
4d2b28c310db Update changes file
Mitch Watrous <watrous@u.washington.edu>
parents: 8878
diff changeset
   693
4d2b28c310db Update changes file
Mitch Watrous <watrous@u.washington.edu>
parents: 8878
diff changeset
   694
<h2>Changes to existing API:</h2>
4d2b28c310db Update changes file
Mitch Watrous <watrous@u.washington.edu>
parents: 8878
diff changeset
   695
<ul>
9098
e507321e9a0d Update changes file again
Mitch Watrous <watrous@u.washington.edu>
parents: 9097
diff changeset
   696
<li>In the MobilityHelper class, the functions EnableAscii () and EnableAsciiAll () were changed to use output stream wrappers rather than standard C++ ostreams. The purpose of this change was to make them behave analogously to other helpers in ns-3 that generate ascii traces.  Now, the file stream that is open in MobilityHelper is closed nicely upon asserts and program exits.</li>
9097
4d2b28c310db Update changes file
Mitch Watrous <watrous@u.washington.edu>
parents: 8878
diff changeset
   697
</ul>
4d2b28c310db Update changes file
Mitch Watrous <watrous@u.washington.edu>
parents: 8878
diff changeset
   698
4d2b28c310db Update changes file
Mitch Watrous <watrous@u.washington.edu>
parents: 8878
diff changeset
   699
<h2>Changes to build system:</h2>
4d2b28c310db Update changes file
Mitch Watrous <watrous@u.washington.edu>
parents: 8878
diff changeset
   700
<ul>
9189
b6e9f47c260b Document building with distcc in tutorial, add it to RELEASE_NOTES and CHANGES.html.
Vedran Miletić <rivanvx@gmail.com>
parents: 9145
diff changeset
   701
<li>It's now possible to use distcc when building ns-3. See tutorial for details.</li>
9097
4d2b28c310db Update changes file
Mitch Watrous <watrous@u.washington.edu>
parents: 8878
diff changeset
   702
</ul>
4d2b28c310db Update changes file
Mitch Watrous <watrous@u.washington.edu>
parents: 8878
diff changeset
   703
4d2b28c310db Update changes file
Mitch Watrous <watrous@u.washington.edu>
parents: 8878
diff changeset
   704
<h2>Changed behavior:</h2>
4d2b28c310db Update changes file
Mitch Watrous <watrous@u.washington.edu>
parents: 8878
diff changeset
   705
<ul>
9111
e153cd03f531 Updates CHANGES.html and RELEASE_NOTES
Daniel Lertpratchya <nikkipui@gmail.com>
parents: 9098
diff changeset
   706
<li>Sending a packet through Ipv4RawSocket now supports checksum in the Ipv4Header. It is still not possible to manually put in arbitrary checksum as the checksum is automatically calculated at Ipv4L3Protocol. The user has to enable checksum globally for this to work. Simply calling Ipv4Header::EnableChecksum() for a single Ipv4Header will not work.</li>
9113
63eba52498e1 make MultiModelSpectrumChannel support SpectrumModel changes at run time
Nicola Baldo <nbaldo@cttc.es>
parents: 9111
diff changeset
   707
<li>Now MultiModelSpectrumChannel allows a SpectrumPhy instance to change SpectrumModel at runtime by issuing a call to MultiModelSpectrumChannel::AddRx (). Previously, MultiModelSpectrumChannel required each SpectrumPhy instance to stick with the same SpectrumModel for the whole simulation. 
63eba52498e1 make MultiModelSpectrumChannel support SpectrumModel changes at run time
Nicola Baldo <nbaldo@cttc.es>
parents: 9111
diff changeset
   708
</li>
9097
4d2b28c310db Update changes file
Mitch Watrous <watrous@u.washington.edu>
parents: 8878
diff changeset
   709
</ul>
4d2b28c310db Update changes file
Mitch Watrous <watrous@u.washington.edu>
parents: 8878
diff changeset
   710
4d2b28c310db Update changes file
Mitch Watrous <watrous@u.washington.edu>
parents: 8878
diff changeset
   711
<hr>
8846
6e874a0fee27 start new release notes for future releases
Tom Henderson <tomh@tomh.org>
parents: 8839
diff changeset
   712
<h1>Changes from ns-3.14 to ns-3.15</h1>
6e874a0fee27 start new release notes for future releases
Tom Henderson <tomh@tomh.org>
parents: 8839
diff changeset
   713
6e874a0fee27 start new release notes for future releases
Tom Henderson <tomh@tomh.org>
parents: 8839
diff changeset
   714
<h2>New API:</h2>
6e874a0fee27 start new release notes for future releases
Tom Henderson <tomh@tomh.org>
parents: 8839
diff changeset
   715
<ul>
8878
a007dbfb3189 update CHANGES.html and RELEASE_NOTES for random variable merge
Tom Henderson <tomh@tomh.org>
parents: 8846
diff changeset
   716
<li>A RandomVariableStreamHelper has been introduced to assist with 
a007dbfb3189 update CHANGES.html and RELEASE_NOTES for random variable merge
Tom Henderson <tomh@tomh.org>
parents: 8846
diff changeset
   717
using the Config subsystem path names to assign fixed stream numbers
a007dbfb3189 update CHANGES.html and RELEASE_NOTES for random variable merge
Tom Henderson <tomh@tomh.org>
parents: 8846
diff changeset
   718
to RandomVariableStream objects.</li>
8846
6e874a0fee27 start new release notes for future releases
Tom Henderson <tomh@tomh.org>
parents: 8839
diff changeset
   719
</ul>
6e874a0fee27 start new release notes for future releases
Tom Henderson <tomh@tomh.org>
parents: 8839
diff changeset
   720
6e874a0fee27 start new release notes for future releases
Tom Henderson <tomh@tomh.org>
parents: 8839
diff changeset
   721
<h2>Changes to existing API:</h2>
6e874a0fee27 start new release notes for future releases
Tom Henderson <tomh@tomh.org>
parents: 8839
diff changeset
   722
<ul>
8878
a007dbfb3189 update CHANGES.html and RELEASE_NOTES for random variable merge
Tom Henderson <tomh@tomh.org>
parents: 8846
diff changeset
   723
<li>Derived classes of RandomVariable (i.e. the random variable 
a007dbfb3189 update CHANGES.html and RELEASE_NOTES for random variable merge
Tom Henderson <tomh@tomh.org>
parents: 8846
diff changeset
   724
implementations) have been ported to a new RandomVariableStream base class.
a007dbfb3189 update CHANGES.html and RELEASE_NOTES for random variable merge
Tom Henderson <tomh@tomh.org>
parents: 8846
diff changeset
   725
<li>For a given distribution DistributionVariable (such as UniformVariable),
a007dbfb3189 update CHANGES.html and RELEASE_NOTES for random variable merge
Tom Henderson <tomh@tomh.org>
parents: 8846
diff changeset
   726
the new class name is DistributionRandomVariable (such as 
a007dbfb3189 update CHANGES.html and RELEASE_NOTES for random variable merge
Tom Henderson <tomh@tomh.org>
parents: 8846
diff changeset
   727
UniformRandomVariable). </li>
a007dbfb3189 update CHANGES.html and RELEASE_NOTES for random variable merge
Tom Henderson <tomh@tomh.org>
parents: 8846
diff changeset
   728
<li>The new implementations are also derived from class ns3::Object and 
a007dbfb3189 update CHANGES.html and RELEASE_NOTES for random variable merge
Tom Henderson <tomh@tomh.org>
parents: 8846
diff changeset
   729
are handled using the ns-3 smart pointer (Ptr) class.  </li>
a007dbfb3189 update CHANGES.html and RELEASE_NOTES for random variable merge
Tom Henderson <tomh@tomh.org>
parents: 8846
diff changeset
   730
<li>The new variable classes also have a new attributed called "Stream"
a007dbfb3189 update CHANGES.html and RELEASE_NOTES for random variable merge
Tom Henderson <tomh@tomh.org>
parents: 8846
diff changeset
   731
which allows them to be assigned to a fix stream index when assigned
a007dbfb3189 update CHANGES.html and RELEASE_NOTES for random variable merge
Tom Henderson <tomh@tomh.org>
parents: 8846
diff changeset
   732
to the underlying pseudo-random stream of numbers.</li>
a007dbfb3189 update CHANGES.html and RELEASE_NOTES for random variable merge
Tom Henderson <tomh@tomh.org>
parents: 8846
diff changeset
   733
</li>
8846
6e874a0fee27 start new release notes for future releases
Tom Henderson <tomh@tomh.org>
parents: 8839
diff changeset
   734
</ul>
6e874a0fee27 start new release notes for future releases
Tom Henderson <tomh@tomh.org>
parents: 8839
diff changeset
   735
6e874a0fee27 start new release notes for future releases
Tom Henderson <tomh@tomh.org>
parents: 8839
diff changeset
   736
<h2>Changes to build system:</h2>
6e874a0fee27 start new release notes for future releases
Tom Henderson <tomh@tomh.org>
parents: 8839
diff changeset
   737
<ul>
6e874a0fee27 start new release notes for future releases
Tom Henderson <tomh@tomh.org>
parents: 8839
diff changeset
   738
<li></li>
6e874a0fee27 start new release notes for future releases
Tom Henderson <tomh@tomh.org>
parents: 8839
diff changeset
   739
</ul>
6e874a0fee27 start new release notes for future releases
Tom Henderson <tomh@tomh.org>
parents: 8839
diff changeset
   740
6e874a0fee27 start new release notes for future releases
Tom Henderson <tomh@tomh.org>
parents: 8839
diff changeset
   741
<h2>Changed behavior:</h2>
6e874a0fee27 start new release notes for future releases
Tom Henderson <tomh@tomh.org>
parents: 8839
diff changeset
   742
<ul>
8878
a007dbfb3189 update CHANGES.html and RELEASE_NOTES for random variable merge
Tom Henderson <tomh@tomh.org>
parents: 8846
diff changeset
   743
<li>Programs using random variables or models that include random variables 
a007dbfb3189 update CHANGES.html and RELEASE_NOTES for random variable merge
Tom Henderson <tomh@tomh.org>
parents: 8846
diff changeset
   744
may exhibit changed output for a given run number or seed, due to a possible 
a007dbfb3189 update CHANGES.html and RELEASE_NOTES for random variable merge
Tom Henderson <tomh@tomh.org>
parents: 8846
diff changeset
   745
change in the order in which random variables are assigned to underlying 
a007dbfb3189 update CHANGES.html and RELEASE_NOTES for random variable merge
Tom Henderson <tomh@tomh.org>
parents: 8846
diff changeset
   746
pseudo-random sequences.  Consult the manual for more information regarding 
a007dbfb3189 update CHANGES.html and RELEASE_NOTES for random variable merge
Tom Henderson <tomh@tomh.org>
parents: 8846
diff changeset
   747
this.</li>
8846
6e874a0fee27 start new release notes for future releases
Tom Henderson <tomh@tomh.org>
parents: 8839
diff changeset
   748
</ul>
6e874a0fee27 start new release notes for future releases
Tom Henderson <tomh@tomh.org>
parents: 8839
diff changeset
   749
6e874a0fee27 start new release notes for future releases
Tom Henderson <tomh@tomh.org>
parents: 8839
diff changeset
   750
<hr>
8839
d7e0dbcc899c update CHANGES.html for ns-3.14
Tom Henderson <tomh@tomh.org>
parents: 8798
diff changeset
   751
<h1>Changes from ns-3.13 to ns-3.14</h1>
7698
db9d8003b3cf Update Changes.html and Release_notes with the latest -dev info
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 7655
diff changeset
   752
7847
411299d94e07 updated CHANGES.html and RELEASE_NOTES
Nicola Baldo <nbaldo@cttc.es>
parents: 7793
diff changeset
   753
<h2>New API:</h2>
411299d94e07 updated CHANGES.html and RELEASE_NOTES
Nicola Baldo <nbaldo@cttc.es>
parents: 7793
diff changeset
   754
<ul>
411299d94e07 updated CHANGES.html and RELEASE_NOTES
Nicola Baldo <nbaldo@cttc.es>
parents: 7793
diff changeset
   755
<li>The new class AntennaModel provides an API for modeling the radiation pattern of antennas.
411299d94e07 updated CHANGES.html and RELEASE_NOTES
Nicola Baldo <nbaldo@cttc.es>
parents: 7793
diff changeset
   756
</li>
8749
4462ac63d4cf merge of the code from the LENA project into ns-3-dev
Nicola Baldo <nbaldo@cttc.es>
parents: 7880
diff changeset
   757
<li>The new buildings module introduces an API (classes, helpers, etc)
4462ac63d4cf merge of the code from the LENA project into ns-3-dev
Nicola Baldo <nbaldo@cttc.es>
parents: 7880
diff changeset
   758
  to model the presence of buildings in a wireless network topology. 
4462ac63d4cf merge of the code from the LENA project into ns-3-dev
Nicola Baldo <nbaldo@cttc.es>
parents: 7880
diff changeset
   759
</li>
4462ac63d4cf merge of the code from the LENA project into ns-3-dev
Nicola Baldo <nbaldo@cttc.es>
parents: 7880
diff changeset
   760
<li>The LENA project's implementation of the LTE Mac Scheduler Interface Specification
4462ac63d4cf merge of the code from the LENA project into ns-3-dev
Nicola Baldo <nbaldo@cttc.es>
parents: 7880
diff changeset
   761
   standardized by the Small Cell Forum (formerly Femto Forum) is now available for
4462ac63d4cf merge of the code from the LENA project into ns-3-dev
Nicola Baldo <nbaldo@cttc.es>
parents: 7880
diff changeset
   762
  use with the LTE module.
4462ac63d4cf merge of the code from the LENA project into ns-3-dev
Nicola Baldo <nbaldo@cttc.es>
parents: 7880
diff changeset
   763
</li>
7847
411299d94e07 updated CHANGES.html and RELEASE_NOTES
Nicola Baldo <nbaldo@cttc.es>
parents: 7793
diff changeset
   764
</ul>
411299d94e07 updated CHANGES.html and RELEASE_NOTES
Nicola Baldo <nbaldo@cttc.es>
parents: 7793
diff changeset
   765
7698
db9d8003b3cf Update Changes.html and Release_notes with the latest -dev info
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 7655
diff changeset
   766
<h2>Changes to existing API:</h2>
db9d8003b3cf Update Changes.html and Release_notes with the latest -dev info
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 7655
diff changeset
   767
<ul>
db9d8003b3cf Update Changes.html and Release_notes with the latest -dev info
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 7655
diff changeset
   768
<li> The Ipv6RawSocketImpl "IcmpFilter" attribute has been removed. Six 
db9d8003b3cf Update Changes.html and Release_notes with the latest -dev info
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 7655
diff changeset
   769
new member functions have been added to enable the same functionality.
db9d8003b3cf Update Changes.html and Release_notes with the latest -dev info
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 7655
diff changeset
   770
</li>
7717
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   771
<li> IPv6 support for TCP and UDP has been implemented.  Socket functions
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   772
that take an address [e.g. Send (), Connect (), Bind ()] can accept an
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   773
ns3::Ipv6Address or a ns3::Address in addition to taking an ns3::Ipv4Address.
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   774
(Note that the ns3::Address must contain a ns3::Ipv6Address or a ns3::Ipv4Address,
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   775
otherwise these functions will return an error).
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   776
Internally, the socket now stores the remote address as a type "ns3::Address"
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   777
instead of a type "ns3::Ipv4Address".  The IPv6 Routing Header extension is not
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   778
currently supported in ns3 and will not be reflected in the TCP and UDP checksum
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   779
calculations per RFC 2460.  Also note that UDP checksums for IPv6 packets are
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   780
required per RFC, but remain optional and disabled by default in ns3 (in the
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   781
interest of performance).
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   782
</li>
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   783
<li>
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   784
When calling Bind () on a socket without an address, the behavior remains the
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   785
same: it will bind to the IPv4 "any" address (0.0.0.0).  In order to Bind () to
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   786
the IPv6 "any" address in a similar fashion, use "Bind6 ()".
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   787
</li>
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   788
<li>
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   789
The prototype for the RxCallback function in the Ipv6EndPoint was changed.
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   790
It now includes the destination IPv6 address of the end point which was
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   791
needed for TCP.  This lead to a small change in the UDP and ICMPv6 L4
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   792
protocols as well.
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   793
</li>
7791
21c3495394b4 Enhancement 1393 - IPv6 Routing Helper RT Print functions
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 7717
diff changeset
   794
<li>
21c3495394b4 Enhancement 1393 - IPv6 Routing Helper RT Print functions
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 7717
diff changeset
   795
Ipv6RoutingHelper can now print the IPv6 Routing Tables at specific 
21c3495394b4 Enhancement 1393 - IPv6 Routing Helper RT Print functions
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 7717
diff changeset
   796
intervals or time. Exactly like Ipv4RoutingHelper do.
21c3495394b4 Enhancement 1393 - IPv6 Routing Helper RT Print functions
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 7717
diff changeset
   797
</li>
7793
1c81a8a91b1e Add SendIcmpv6Redirect attribute to Ipv6L3Protocol
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 7791
diff changeset
   798
<li>
1c81a8a91b1e Add SendIcmpv6Redirect attribute to Ipv6L3Protocol
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 7791
diff changeset
   799
New "SendIcmpv6Redirect" attribute (and getter/setter functions) to 
1c81a8a91b1e Add SendIcmpv6Redirect attribute to Ipv6L3Protocol
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 7791
diff changeset
   800
Ipv6L3Protocol. The behavior is similar to Linux's conf "send_redirects", 
1c81a8a91b1e Add SendIcmpv6Redirect attribute to Ipv6L3Protocol
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 7791
diff changeset
   801
i.e., enable/disable the ICMPv6 Redirect sending.
1c81a8a91b1e Add SendIcmpv6Redirect attribute to Ipv6L3Protocol
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 7791
diff changeset
   802
</li>
7847
411299d94e07 updated CHANGES.html and RELEASE_NOTES
Nicola Baldo <nbaldo@cttc.es>
parents: 7793
diff changeset
   803
<li> The SpectrumPhy abstract class now has a new method
411299d94e07 updated CHANGES.html and RELEASE_NOTES
Nicola Baldo <nbaldo@cttc.es>
parents: 7793
diff changeset
   804
<pre>virtual Ptr&#60;AntennaModel&#62; GetRxAntenna () = 0;</pre>
411299d94e07 updated CHANGES.html and RELEASE_NOTES
Nicola Baldo <nbaldo@cttc.es>
parents: 7793
diff changeset
   805
that all derived classes need to implement in order to integrate properly with the newly added antenna model. In addition, a new member variable "Ptr&#60;AntennaModel&#62; txAntenna" has been added to SpectrumSignalParameters in order to allow derived SpectrumPhy classes to provide information about the antenna model used for the transmission of a waveform.
411299d94e07 updated CHANGES.html and RELEASE_NOTES
Nicola Baldo <nbaldo@cttc.es>
parents: 7793
diff changeset
   806
</li>
7860
ba8980d77369 Remove Ns2CalendarScheduler event scheduler
Tom Henderson <tomh@tomh.org>
parents: 7847
diff changeset
   807
<li> The Ns2CalendarScheduler event scheduler has been removed.
ba8980d77369 Remove Ns2CalendarScheduler event scheduler
Tom Henderson <tomh@tomh.org>
parents: 7847
diff changeset
   808
</li>
7880
f5c22d8411e6 Update CHANGES.html and RELEASE_NOTES for QueueMode and ErrorUnit.
Vedran Miletić <rivanvx@gmail.com>
parents: 7860
diff changeset
   809
<li>
f5c22d8411e6 Update CHANGES.html and RELEASE_NOTES for QueueMode and ErrorUnit.
Vedran Miletić <rivanvx@gmail.com>
parents: 7860
diff changeset
   810
ErrorUnit enum has been moved into RateErrorModel class, and symbols EU_BIT, EU_BYTE and EU_PKT have been renamed to RateErrorModel::ERROR_UNIT_BIT, RateErrorModel::ERROR_UNIT_BYTE and RateErrorModel::ERROR_UNIT_PACKET. RateErrorModel class attribute "ErrorUnit" values have also been renamed for consistency, and are now "ERROR_UNIT_BIT", "ERROR_UNIT_BYTE", "ERROR_UNIT_PACKET".
f5c22d8411e6 Update CHANGES.html and RELEASE_NOTES for QueueMode and ErrorUnit.
Vedran Miletić <rivanvx@gmail.com>
parents: 7860
diff changeset
   811
</li>
f5c22d8411e6 Update CHANGES.html and RELEASE_NOTES for QueueMode and ErrorUnit.
Vedran Miletić <rivanvx@gmail.com>
parents: 7860
diff changeset
   812
<li>
f5c22d8411e6 Update CHANGES.html and RELEASE_NOTES for QueueMode and ErrorUnit.
Vedran Miletić <rivanvx@gmail.com>
parents: 7860
diff changeset
   813
QueueMode enum from DropTailQueue and RedQueue classes has been unified and moved to Queueu class. Symbols DropTailQueue::PACKETS and DropTailQueue::BYTES are now named Queue::QUEUE_MODE_PACKETS and DropTailQueue::QUEUE_MODE_BYTES. In addition, DropTailQueue and RedQueue class attributes "Mode" have been renamed for consistency from "Packets" and "Bytes" to "QUEUE_MODE_PACKETS" and "QUEUE_MODE_BYTES".
f5c22d8411e6 Update CHANGES.html and RELEASE_NOTES for QueueMode and ErrorUnit.
Vedran Miletić <rivanvx@gmail.com>
parents: 7860
diff changeset
   814
</li>
8749
4462ac63d4cf merge of the code from the LENA project into ns-3-dev
Nicola Baldo <nbaldo@cttc.es>
parents: 7880
diff changeset
   815
<li>
4462ac63d4cf merge of the code from the LENA project into ns-3-dev
Nicola Baldo <nbaldo@cttc.es>
parents: 7880
diff changeset
   816
The API of the LTE module has undergone a significant redesign with
4462ac63d4cf merge of the code from the LENA project into ns-3-dev
Nicola Baldo <nbaldo@cttc.es>
parents: 7880
diff changeset
   817
the merge of the code from the LENA project. The new API is not
4462ac63d4cf merge of the code from the LENA project into ns-3-dev
Nicola Baldo <nbaldo@cttc.es>
parents: 7880
diff changeset
   818
backwards compatible with the previous version of the LTE module.
4462ac63d4cf merge of the code from the LENA project into ns-3-dev
Nicola Baldo <nbaldo@cttc.es>
parents: 7880
diff changeset
   819
</li>
8798
5d8dfd7c6609 bug 1432: Align Ipv6AddressHelper API with Ipv4AddressHelper API
Tom Henderson <tomh@tomh.org>
parents: 8749
diff changeset
   820
<li> The Ipv6AddressHelper API has been aligned with the Ipv4AddressHelper API. 
5d8dfd7c6609 bug 1432: Align Ipv6AddressHelper API with Ipv4AddressHelper API
Tom Henderson <tomh@tomh.org>
parents: 8749
diff changeset
   821
The helper can be set with a call to Ipv6AddressHelper::SetBase 
5d8dfd7c6609 bug 1432: Align Ipv6AddressHelper API with Ipv4AddressHelper API
Tom Henderson <tomh@tomh.org>
parents: 8749
diff changeset
   822
(Ipv6Address network, Ipv6Prefix prefix) instead of NewNetwork
5d8dfd7c6609 bug 1432: Align Ipv6AddressHelper API with Ipv4AddressHelper API
Tom Henderson <tomh@tomh.org>
parents: 8749
diff changeset
   823
(Ipv6Address network, Ipv6Prefix prefix).  A new NewAddress (void) method
5d8dfd7c6609 bug 1432: Align Ipv6AddressHelper API with Ipv4AddressHelper API
Tom Henderson <tomh@tomh.org>
parents: 8749
diff changeset
   824
has been added.  Typical usage will involve calls to SetBase (), NewNetwork (),
5d8dfd7c6609 bug 1432: Align Ipv6AddressHelper API with Ipv4AddressHelper API
Tom Henderson <tomh@tomh.org>
parents: 8749
diff changeset
   825
and NewAddress (), as in class Ipv4AddressHelper. 
5d8dfd7c6609 bug 1432: Align Ipv6AddressHelper API with Ipv4AddressHelper API
Tom Henderson <tomh@tomh.org>
parents: 8749
diff changeset
   826
</li>
7717
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   827
</ul>
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   828
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   829
<h2>Changes to build system:</h2>
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   830
<ul>
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   831
<li> The following files are removed:
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   832
<pre>
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   833
  src/internet/model/ipv4-l4-protocol.cc
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   834
  src/internet/model/ipv4-l4-protocol.h
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   835
  src/internet/model/ipv6-l4-protocol.cc
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   836
  src/internet/model/ipv6-l4-protocol.h
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   837
</pre>
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   838
and replaced with:
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   839
<pre>
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   840
  src/internet/model/ip-l4-protocol.cc
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   841
  src/internet/model/ip-l4-protocol.h
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   842
</pre>
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   843
</li>
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   844
</ul>
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   845
<h2>Changed behavior:</h2>
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   846
<ul>
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   847
<li> Dual-stacked IPv6 sockets are implemented.  An IPv6 socket can accept
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   848
an IPv4 connection, returning the senders address as an IPv4-mapped address
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   849
(IPV6_V6ONLY socket option is not implemented).
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   850
</li>
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   851
<li>
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   852
The following examples/application/helpers were modified to support IPv6:
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   853
<pre>
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   854
csma-layout/examples/csma-star [*]
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   855
netanim/examples/star-animation [*]
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   856
point-to-point-layout/model/point-to-point-star.cc
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   857
point-to-point-layout/model/point-to-point-grid.cc
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   858
point-to-point-layout/model/point-to-point-dumbbell.cc
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   859
examples/udp/udp-echo [*]
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   860
examples/udp-client-server/udp-client-server [*]
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   861
examples/udp-client-server/udp-trace-client-server [*]
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   862
applications/helper/udp-echo-helper
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   863
applications/model/udp-client
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   864
applications/model/udp-echo-client
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   865
applications/model/udp-echo-server
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   866
applications/model/udp-server
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   867
applications/model/udp-trace-client
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   868
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   869
[*]  Added '--useIpv6' flag to switch between IPv4 and IPv6
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   870
</pre>
cfa1741013dd Add support for IPv6 transport protocols
Ken Renard <kdrenard2@gmail.com>
parents: 7698
diff changeset
   871
</li>
7698
db9d8003b3cf Update Changes.html and Release_notes with the latest -dev info
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 7655
diff changeset
   872
</ul>
db9d8003b3cf Update Changes.html and Release_notes with the latest -dev info
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 7655
diff changeset
   873
db9d8003b3cf Update Changes.html and Release_notes with the latest -dev info
Tommaso Pecorella <tommaso.pecorella@unifi.it>
parents: 7655
diff changeset
   874
<hr>
7505
99f36c5bce64 Seed the CHANGES.html and RELEASE_NOTES for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7459
diff changeset
   875
<h1>Changes from ns-3.12 to ns-3.13</h1>
99f36c5bce64 Seed the CHANGES.html and RELEASE_NOTES for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7459
diff changeset
   876
99f36c5bce64 Seed the CHANGES.html and RELEASE_NOTES for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7459
diff changeset
   877
<h2>Changes to build system:</h2>
99f36c5bce64 Seed the CHANGES.html and RELEASE_NOTES for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7459
diff changeset
   878
<ul>
7506
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   879
<li> The underlying version of waf used by ns-3 was upgraded to 1.6.7.  
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   880
This has a few changes for users and developers:
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   881
<ul>
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   882
<li> by default, "build" no longer has a subdirectory debug or optimized.  
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   883
To get different build directories for different build types, you can use 
7655
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   884
the waf configure -o <argument> option, e.g.:
7506
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   885
<pre>
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   886
  ./waf configure -o shared
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   887
  ./waf configure --enable-static -o static
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   888
</pre>
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   889
</li>
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   890
<li> (for developers) the ns3headers taskgen needs to be created with a 
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   891
features parameter name:
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   892
<pre>
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   893
  -  headers = bld.new_task_gen('ns3header')
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   894
  +  headers = bld.new_task_gen(features=['ns3header'])
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   895
</pre>
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   896
<li> no longer need to edit src/wscript to add a module, just create your 
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   897
module directory inside src and ns-3 will pick it up
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   898
<li> In WAF 1.6, adding -Dxxx options is done via the DEFINES env. var.
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   899
instead of CXXDEFINES
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   900
<li> waf env values are always lists now, e.g. env['PYTHON'] returns
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   901
['/usr/bin/python'], so you may need to add [0] to the value in some places
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   902
</ul> 
7505
99f36c5bce64 Seed the CHANGES.html and RELEASE_NOTES for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7459
diff changeset
   903
</ul>
99f36c5bce64 Seed the CHANGES.html and RELEASE_NOTES for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7459
diff changeset
   904
99f36c5bce64 Seed the CHANGES.html and RELEASE_NOTES for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7459
diff changeset
   905
<h2>New API:</h2>
99f36c5bce64 Seed the CHANGES.html and RELEASE_NOTES for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7459
diff changeset
   906
<ul>
7655
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   907
<li> In the mobility module, there is a new MobilityModel::GetRelativeSpeed() method returning the relative speed of two objects. </li>
7643
ff15b50555ea update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7592
diff changeset
   908
<li> A new Ipv6AddressGenerator class was added to generate sequential
ff15b50555ea update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7592
diff changeset
   909
addresses from a provided base prefix and interfaceId.  It also will detect
ff15b50555ea update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7592
diff changeset
   910
duplicate address assigments. </li> 
7505
99f36c5bce64 Seed the CHANGES.html and RELEASE_NOTES for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7459
diff changeset
   911
</ul>
99f36c5bce64 Seed the CHANGES.html and RELEASE_NOTES for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7459
diff changeset
   912
99f36c5bce64 Seed the CHANGES.html and RELEASE_NOTES for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7459
diff changeset
   913
<h2>Changes to existing API:</h2>
99f36c5bce64 Seed the CHANGES.html and RELEASE_NOTES for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7459
diff changeset
   914
<ul>
7581
6ac3fa410583 spectrum API change
Nicola Baldo <nicola@baldo.biz>
parents: 7553
diff changeset
   915
<li> In the spectrum module, the parameters to SpectrumChannel::StartTx () and SpectrumPhy::StartRx () methods are now passed using the new struct SpectrumSignalParameters. This new struct supports inheritance, hence it allows technology-specific PHY implementations to provide technology-specific parameters in SpectrumChannel::StartTx() and SpectrumPhy::StartRx(), while at the same time keeping a set of technology-independent parameters common across all spectrum-enabled PHY implementations (i.e., the duration and the power spectral density which are needed for interference calculation). Additionally, the SpectrumType class has been removed, since now the type of a spectrum signal can be inferred by doing a dynamic cast on SpectrumSignalParameters. See the <A href="http://mailman.isi.edu/pipermail/ns-developers/2011-October/009495.html" >Spectrum API change discussion on ns-developers</A> for the motivation behind this API change.
6ac3fa410583 spectrum API change
Nicola Baldo <nicola@baldo.biz>
parents: 7553
diff changeset
   916
</li>
6ac3fa410583 spectrum API change
Nicola Baldo <nicola@baldo.biz>
parents: 7553
diff changeset
   917
7506
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   918
<li> The WifiPhyStandard enumerators for specifying half- and quarter-channel 
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   919
width standards has had a change in capitalization:
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   920
<ul>
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   921
<li> WIFI_PHY_STANDARD_80211_10Mhz was changed to WIFI_PHY_STANDARD_80211_10MHZ
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   922
<li> WIFI_PHY_STANDARD_80211_5Mhz was changed to WIFI_PHY_STANDARD_80211_5MHZ
59a4713417d9 Start documenting changes for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7505
diff changeset
   923
</ul>
7553
2b93d333dea6 Bug 1271 - stronger type checking in SpectrumPhy
Nicola Baldo <nbaldo@cttc.es>
parents: 7506
diff changeset
   924
<li> In the SpectrumPhy base class, the methods to get/set the
2b93d333dea6 Bug 1271 - stronger type checking in SpectrumPhy
Nicola Baldo <nbaldo@cttc.es>
parents: 7506
diff changeset
   925
  MobilityModel and the NetDevice were previously working with
2b93d333dea6 Bug 1271 - stronger type checking in SpectrumPhy
Nicola Baldo <nbaldo@cttc.es>
parents: 7506
diff changeset
   926
  opaque Ptr&#60;Object&#62;. Now all these methods have been
2b93d333dea6 Bug 1271 - stronger type checking in SpectrumPhy
Nicola Baldo <nbaldo@cttc.es>
parents: 7506
diff changeset
   927
  changed so that they work with Ptr&#60;NetDevice&#62;
2b93d333dea6 Bug 1271 - stronger type checking in SpectrumPhy
Nicola Baldo <nbaldo@cttc.es>
parents: 7506
diff changeset
   928
  and Ptr&#60;MobilityModel&#62; as appropriate. See <A href="https://www.nsnam.org/bugzilla/show_bug.cgi?id=1271">Bug 1271</A> on
2b93d333dea6 Bug 1271 - stronger type checking in SpectrumPhy
Nicola Baldo <nbaldo@cttc.es>
parents: 7506
diff changeset
   929
  bugzilla for the motivation.
2b93d333dea6 Bug 1271 - stronger type checking in SpectrumPhy
Nicola Baldo <nbaldo@cttc.es>
parents: 7506
diff changeset
   930
</li>
7505
99f36c5bce64 Seed the CHANGES.html and RELEASE_NOTES for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7459
diff changeset
   931
</ul>
99f36c5bce64 Seed the CHANGES.html and RELEASE_NOTES for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7459
diff changeset
   932
99f36c5bce64 Seed the CHANGES.html and RELEASE_NOTES for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7459
diff changeset
   933
<h2>Changed behavior:</h2>
99f36c5bce64 Seed the CHANGES.html and RELEASE_NOTES for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7459
diff changeset
   934
<ul>
7655
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   935
<li> TCP bug fixes
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   936
<ul> 
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   937
<li> Connection retries count is a separate variable with the retries limit, so cloned sockets can reset the count
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   938
<li> Fix bug on RTO that may halt the data flow
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   939
<li> Make TCP endpoints always holds the accurate address:port info
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   940
<li> RST packet is sent on closed sockets
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   941
<li> Fix congestion window sizing problem upon partial ACK in TcpNewReno
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   942
<li> Acknowledgement is sent, rather than staying silent, upon arrival of unacceptable packets
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   943
<li> Advance TcpSocketBase::m_nextTxSequence after RTO
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   944
</ul>
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   945
<li> TCP enhancements
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   946
<ul>
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   947
<li> Latest RTT value now stored in variable TcpSocketBase::m_lastRtt
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   948
<li> The list variable TcpL4Protocol::m_sockets now always holds all the created, running TcpSocketBase objects
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   949
<li> Maximum announced window size now an attribute, ns3::TcpSocketBase::MaxWindowSize
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   950
<li> TcpHeader now recognizes ECE and CWR flags (c.f. RFC3168)
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   951
<li> Added TCP option handling call in TcpSocketBase for future extension
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   952
<li> Data out of range (i.e. outsize acceptable range of receive window) now computed on bytes, not packets
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   953
<li> TCP moves from time-wait state to closed state after twice the time specified by attribute ns3:TcpSocketBase::MaxSegLifeTime
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   954
<li> TcpNewReno supports limited transmit (RFC3042) if asserting boolean attribute ns3::TcpNewReno::LimitedTransmit
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   955
<li> Nagle's algorithm supported. Default off, turn on by calling TcpSocket::SetTcpNoDelay(true)
b60c39fc3abf Update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 7643
diff changeset
   956
</ul>
7505
99f36c5bce64 Seed the CHANGES.html and RELEASE_NOTES for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7459
diff changeset
   957
</ul>
99f36c5bce64 Seed the CHANGES.html and RELEASE_NOTES for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7459
diff changeset
   958
99f36c5bce64 Seed the CHANGES.html and RELEASE_NOTES for ns-3.13
Tom Henderson <tomh@tomh.org>
parents: 7459
diff changeset
   959
<hr>
7322
dd3e0eb91512 update CHANGES.html and RELEASE_NOTES for new release cycle
Tom Henderson <tomh@tomh.org>
parents: 7161
diff changeset
   960
<h1>Changes from ns-3.11 to ns-3.12</h1>
7447
d246960da42f Update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 7435
diff changeset
   961
d246960da42f Update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 7435
diff changeset
   962
<h2>Changes to build system:</h2>
7322
dd3e0eb91512 update CHANGES.html and RELEASE_NOTES for new release cycle
Tom Henderson <tomh@tomh.org>
parents: 7161
diff changeset
   963
<ul>
dd3e0eb91512 update CHANGES.html and RELEASE_NOTES for new release cycle
Tom Henderson <tomh@tomh.org>
parents: 7161
diff changeset
   964
</ul>
dd3e0eb91512 update CHANGES.html and RELEASE_NOTES for new release cycle
Tom Henderson <tomh@tomh.org>
parents: 7161
diff changeset
   965
dd3e0eb91512 update CHANGES.html and RELEASE_NOTES for new release cycle
Tom Henderson <tomh@tomh.org>
parents: 7161
diff changeset
   966
<h2>New API:</h2>
dd3e0eb91512 update CHANGES.html and RELEASE_NOTES for new release cycle
Tom Henderson <tomh@tomh.org>
parents: 7161
diff changeset
   967
<ul>
7447
d246960da42f Update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 7435
diff changeset
   968
<li> New method, RegularWifiMac::SetPromisc (void), to set the interface
d246960da42f Update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 7435
diff changeset
   969
to promiscuous mode.
7322
dd3e0eb91512 update CHANGES.html and RELEASE_NOTES for new release cycle
Tom Henderson <tomh@tomh.org>
parents: 7161
diff changeset
   970
</ul>
dd3e0eb91512 update CHANGES.html and RELEASE_NOTES for new release cycle
Tom Henderson <tomh@tomh.org>
parents: 7161
diff changeset
   971
dd3e0eb91512 update CHANGES.html and RELEASE_NOTES for new release cycle
Tom Henderson <tomh@tomh.org>
parents: 7161
diff changeset
   972
<h2>Changes to existing API:</h2>
dd3e0eb91512 update CHANGES.html and RELEASE_NOTES for new release cycle
Tom Henderson <tomh@tomh.org>
parents: 7161
diff changeset
   973
<ul>
7447
d246960da42f Update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 7435
diff changeset
   974
<li> The spelling of the attribute 'IntialCellVoltage' from LiIonEnergySource 
d246960da42f Update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 7435
diff changeset
   975
was corrected to 'InitialCellVoltage'; this will affect existing users who 
d246960da42f Update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 7435
diff changeset
   976
were using the attribute with the misspelling.
d246960da42f Update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 7435
diff changeset
   977
<li> Two trace sources in class WifiPhy have had their names changed:
d246960da42f Update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 7435
diff changeset
   978
<ul> 
d246960da42f Update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 7435
diff changeset
   979
<li> 'PromiscSnifferRx' is now 'MonitorSnifferRx'
d246960da42f Update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 7435
diff changeset
   980
<li> 'PromiscSnifferTx' is now 'MonitorSnifferTx'
d246960da42f Update CHANGES.html and RELEASE_NOTES
Tom Henderson <tomh@tomh.org>
parents: 7435
diff changeset
   981
</ul>
7322
dd3e0eb91512 update CHANGES.html and RELEASE_NOTES for new release cycle
Tom Henderson <tomh@tomh.org>
parents: 7161
diff changeset
   982
</ul>
dd3e0eb91512 update CHANGES.html and RELEASE_NOTES for new release cycle
Tom Henderson <tomh@tomh.org>
parents: 7161
diff changeset
   983
dd3e0eb91512 update CHANGES.html and RELEASE_NOTES for new release cycle
Tom Henderson <tomh@tomh.org>
parents: 7161
diff changeset
   984
<h2>Changed behavior:</h2>
dd3e0eb91512 update CHANGES.html and RELEASE_NOTES for new release cycle
Tom Henderson <tomh@tomh.org>
parents: 7161
diff changeset
   985
<ul>
7459
167fc2274f53 update for ns-3.12 release
Tom Henderson <tomh@tomh.org>
parents: 7447
diff changeset
   986
<li> IPv4 fragmentation is now supported.
7322
dd3e0eb91512 update CHANGES.html and RELEASE_NOTES for new release cycle
Tom Henderson <tomh@tomh.org>
parents: 7161
diff changeset
   987
</ul>
dd3e0eb91512 update CHANGES.html and RELEASE_NOTES for new release cycle
Tom Henderson <tomh@tomh.org>
parents: 7161
diff changeset
   988
dd3e0eb91512 update CHANGES.html and RELEASE_NOTES for new release cycle
Tom Henderson <tomh@tomh.org>
parents: 7161
diff changeset
   989
<hr>
6775
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
   990
<h1>Changes from ns-3.10 to ns-3.11</h1>
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
   991
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
   992
<h2>Changes to build system:</h2>
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
   993
<ul>
7024
4392d52b3536 Make examples not be built by default
Mitch Watrous <watrous@u.washington.edu>
parents: 7003
diff changeset
   994
<li><b>Examples and tests are no longer built by default in ns-3</b>
6999
dd78264fda2d Move tests from core module to its test library and update CHANGES.html
Mitch Watrous <watrous@u.washington.edu>
parents: 6969
diff changeset
   995
<p>
7024
4392d52b3536 Make examples not be built by default
Mitch Watrous <watrous@u.washington.edu>
parents: 7003
diff changeset
   996
You can now make examples and tests be built in ns-3 in two ways.
6999
dd78264fda2d Move tests from core module to its test library and update CHANGES.html
Mitch Watrous <watrous@u.washington.edu>
parents: 6969
diff changeset
   997
<ol>
dd78264fda2d Move tests from core module to its test library and update CHANGES.html
Mitch Watrous <watrous@u.washington.edu>
parents: 6969
diff changeset
   998
<li> Using build.py when ns-3 is built for the first time:
dd78264fda2d Move tests from core module to its test library and update CHANGES.html
Mitch Watrous <watrous@u.washington.edu>
parents: 6969
diff changeset
   999
<pre>
7024
4392d52b3536 Make examples not be built by default
Mitch Watrous <watrous@u.washington.edu>
parents: 7003
diff changeset
  1000
    ./build.py --enable-examples --enable-tests
6999
dd78264fda2d Move tests from core module to its test library and update CHANGES.html
Mitch Watrous <watrous@u.washington.edu>
parents: 6969
diff changeset
  1001
</pre>
dd78264fda2d Move tests from core module to its test library and update CHANGES.html
Mitch Watrous <watrous@u.washington.edu>
parents: 6969
diff changeset
  1002
<li> Using waf once ns-3 has been built:
dd78264fda2d Move tests from core module to its test library and update CHANGES.html
Mitch Watrous <watrous@u.washington.edu>
parents: 6969
diff changeset
  1003
<pre>
7024
4392d52b3536 Make examples not be built by default
Mitch Watrous <watrous@u.washington.edu>
parents: 7003
diff changeset
  1004
    ./waf configure --enable-examples --enable-tests
6999
dd78264fda2d Move tests from core module to its test library and update CHANGES.html
Mitch Watrous <watrous@u.washington.edu>
parents: 6969
diff changeset
  1005
</pre>
dd78264fda2d Move tests from core module to its test library and update CHANGES.html
Mitch Watrous <watrous@u.washington.edu>
parents: 6969
diff changeset
  1006
</ol>
dd78264fda2d Move tests from core module to its test library and update CHANGES.html
Mitch Watrous <watrous@u.washington.edu>
parents: 6969
diff changeset
  1007
</p></li>
7003
a0b1500cdaad Move tests from core module to its test library and update CHANGES.html
Mitch Watrous <watrous@u.washington.edu>
parents: 6999
diff changeset
  1008
<li><b> Subsets of modules can be enabled using the ns-3 configuration file</b>
a0b1500cdaad Move tests from core module to its test library and update CHANGES.html
Mitch Watrous <watrous@u.washington.edu>
parents: 6999
diff changeset
  1009
<p>A new configuration file, .ns3rc, has been added to ns-3 that
a0b1500cdaad Move tests from core module to its test library and update CHANGES.html
Mitch Watrous <watrous@u.washington.edu>
parents: 6999
diff changeset
  1010
specifies the modules that should be enabled during the ns-3 build.
a0b1500cdaad Move tests from core module to its test library and update CHANGES.html
Mitch Watrous <watrous@u.washington.edu>
parents: 6999
diff changeset
  1011
See the documentation for details.
a0b1500cdaad Move tests from core module to its test library and update CHANGES.html
Mitch Watrous <watrous@u.washington.edu>
parents: 6999
diff changeset
  1012
</p></li>
6775
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
  1013
</ul>
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
  1014
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
  1015
<h2>New API:</h2>
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
  1016
<ul>
7059
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1017
<li><b>int64x64_t</b>
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1018
<p>The <b>int64x64_t</b> type implements all the C++ arithmetic operators to behave like one of the
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1019
C++ native types. It is a 64.64 integer type which means that it is a 128bit integer type with
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1020
64 bits of fractional precision. The existing <b>Time</b> type is now automatically convertible to
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1021
<b>int64x64_t</b> to allow arbitrarily complex arithmetic operations on the content of <b>Time</b>
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1022
objects. The implementation of <b>int64x64_t</b> is based on the previously-existing
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1023
<b>HighPrecision</b> type and supercedes it.
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1024
</p></li>
6775
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
  1025
</ul>
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
  1026
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
  1027
<h2>Changes to existing API:</h2>
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
  1028
<ul>
7143
0146b1916bc0 wifi tx duration calculations moved from InterferenceHelper to WifiPhy
Nicola Baldo <nicola@baldo.biz>
parents: 7059
diff changeset
  1029
<li><b>Wifi TX duration calculation moved from InterferenceHelper to WifiPhy</b>
0146b1916bc0 wifi tx duration calculations moved from InterferenceHelper to WifiPhy
Nicola Baldo <nicola@baldo.biz>
parents: 7059
diff changeset
  1030
<p>The following static methods have been moved from the InterferenceHelper class to the WifiPhy class:
0146b1916bc0 wifi tx duration calculations moved from InterferenceHelper to WifiPhy
Nicola Baldo <nicola@baldo.biz>
parents: 7059
diff changeset
  1031
   <pre>
0146b1916bc0 wifi tx duration calculations moved from InterferenceHelper to WifiPhy
Nicola Baldo <nicola@baldo.biz>
parents: 7059
diff changeset
  1032
static Time CalculateTxDuration (uint32_t size, WifiMode payloadMode, enum WifiPreamble preamble);
0146b1916bc0 wifi tx duration calculations moved from InterferenceHelper to WifiPhy
Nicola Baldo <nicola@baldo.biz>
parents: 7059
diff changeset
  1033
static WifiMode GetPlcpHeaderMode (WifiMode payloadMode, WifiPreamble preamble);
0146b1916bc0 wifi tx duration calculations moved from InterferenceHelper to WifiPhy
Nicola Baldo <nicola@baldo.biz>
parents: 7059
diff changeset
  1034
static uint32_t GetPlcpHeaderDurationMicroSeconds (WifiMode payloadMode, WifiPreamble preamble);
0146b1916bc0 wifi tx duration calculations moved from InterferenceHelper to WifiPhy
Nicola Baldo <nicola@baldo.biz>
parents: 7059
diff changeset
  1035
static uint32_t GetPlcpPreambleDurationMicroSeconds (WifiMode payloadMode, WifiPreamble preamble);
0146b1916bc0 wifi tx duration calculations moved from InterferenceHelper to WifiPhy
Nicola Baldo <nicola@baldo.biz>
parents: 7059
diff changeset
  1036
static uint32_t GetPayloadDurationMicroSeconds (uint32_t size, WifiMode payloadMode);
0146b1916bc0 wifi tx duration calculations moved from InterferenceHelper to WifiPhy
Nicola Baldo <nicola@baldo.biz>
parents: 7059
diff changeset
  1037
</pre>
0146b1916bc0 wifi tx duration calculations moved from InterferenceHelper to WifiPhy
Nicola Baldo <nicola@baldo.biz>
parents: 7059
diff changeset
  1038
</p></li>
6775
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
  1039
<li><b>Test cases no longer return a boolean value</b>
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
  1040
<p>Unit test case DoRun() functions no longer return a bool value.  Now, they don't return a value at all.  The motivation for this change was to disallow users from merely returning "true" from a test case to force an error to be recorded.  Instead, test case macros should be used.
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
  1041
</p></li>
6969
1288d191868b PhyMac --> GenericPhy
Nicola Baldo <nbaldo@cttc.es>
parents: 6775
diff changeset
  1042
<li><b>PhyMac renamed to GenericPhy</b>
1288d191868b PhyMac --> GenericPhy
Nicola Baldo <nbaldo@cttc.es>
parents: 6775
diff changeset
  1043
<p>The PhyMac interface previously defined in phy-mac.h has been
1288d191868b PhyMac --> GenericPhy
Nicola Baldo <nbaldo@cttc.es>
parents: 6775
diff changeset
  1044
  renamed to GenericPhy interface and moved to a new file
1288d191868b PhyMac --> GenericPhy
Nicola Baldo <nbaldo@cttc.es>
parents: 6775
diff changeset
  1045
  generic-phy.h. The related variables and methods have been renamed accordingly. 
1288d191868b PhyMac --> GenericPhy
Nicola Baldo <nbaldo@cttc.es>
parents: 6775
diff changeset
  1046
</p></li>
7059
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1047
<li><b>Scalar</b>
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1048
<p>The Scalar type has been removed. Typical code such as:
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1049
<pre>
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1050
Time tmp = ...;
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1051
Time result = tmp * Scalar (5);
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1052
</pre>
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1053
Can now be rewritten as:
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1054
<pre>
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1055
Time tmp = ...;
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1056
Time result = Time (tmp * 5);
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1057
</pre>
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1058
</p>
b971a123c861 RELEASE_NOTES, CHANGES.html
Mathieu Lacage <mathieu.lacage@inria.fr>
parents: 7024
diff changeset
  1059
</li>
7161
7cc4506fb853 bug 1047: Multicast routes on nodes with >16 interfaces
Ken Renard <kenneth.renard@arl.army.mil>
parents: 7143
diff changeset
  1060
<li><b>Multicast GetOutputTtl() commands</b>
7cc4506fb853 bug 1047: Multicast routes on nodes with >16 interfaces
Ken Renard <kenneth.renard@arl.army.mil>
parents: 7143
diff changeset
  1061
<p> As part of bug 1047 rework to enable multicast routes on nodes with
7cc4506fb853 bug 1047: Multicast routes on nodes with >16 interfaces
Ken Renard <kenneth.renard@arl.army.mil>
parents: 7143
diff changeset
  1062
more than 16 interfaces, the methods Ipv4MulticastRoute::GetOutputTtl () 
7cc4506fb853 bug 1047: Multicast routes on nodes with >16 interfaces
Ken Renard <kenneth.renard@arl.army.mil>
parents: 7143
diff changeset
  1063
and Ipv6MulticastRoute::GetOutputTtl () have been modified to return
7cc4506fb853 bug 1047: Multicast routes on nodes with >16 interfaces
Ken Renard <kenneth.renard@arl.army.mil>
parents: 7143
diff changeset
  1064
a std::map of interface IDs and TTLs for the route.
7cc4506fb853 bug 1047: Multicast routes on nodes with >16 interfaces
Ken Renard <kenneth.renard@arl.army.mil>
parents: 7143
diff changeset
  1065
</p>
7cc4506fb853 bug 1047: Multicast routes on nodes with >16 interfaces
Ken Renard <kenneth.renard@arl.army.mil>
parents: 7143
diff changeset
  1066
</li>
6775
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
  1067
</ul>
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
  1068
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
  1069
<h2>Changed behavior:</h2>
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
  1070
<ul>
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
  1071
</ul>
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
  1072
0783f42a364b Make test cases not return bool valuesMake all TestSuite instances be static
Mitch Watrous <watrous@u.washington.edu>
parents: 6760
diff changeset
  1073
<hr>
6598
7459bc9f1a3b Start tracking ns-3.10 changes
Tom Henderson <tomh@tomh.org>
parents: 6557
diff changeset
  1074
<h1>Changes from ns-3.9 to ns-3.10</h1>
7459bc9f1a3b Start tracking ns-3.10 changes
Tom Henderson <tomh@tomh.org>
parents: 6557
diff changeset
  1075
7459bc9f1a3b Start tracking ns-3.10 changes
Tom Henderson <tomh@tomh.org>
parents: 6557
diff changeset
  1076
<h2>Changes to build system:</h2>
6624
a071889af159 Remove regression tests from waf
Mitch Watrous <watrous@u.washington.edu>
parents: 6598
diff changeset
  1077
<ul>
a071889af159 Remove regression tests from waf
Mitch Watrous <watrous@u.washington.edu>
parents: 6598
diff changeset
  1078
<li><b>Regression tests are no longer run using waf</b>
6652
2d8de9b3be74 clarify the status of ./waf --regression removal
Tom Henderson <tomh@tomh.org>
parents: 6624
diff changeset
  1079
<p>All regression testing is now being done in test.py.  As a result, a 
2d8de9b3be74 clarify the status of ./waf --regression removal
Tom Henderson <tomh@tomh.org>
parents: 6624
diff changeset
  1080
separate reference trace repository is no longer needed to perform 
2d8de9b3be74 clarify the status of ./waf --regression removal
Tom Henderson <tomh@tomh.org>
parents: 6624
diff changeset
  1081
regression tests.  Tests that require comparison against known good traces
2d8de9b3be74 clarify the status of ./waf --regression removal
Tom Henderson <tomh@tomh.org>
parents: 6624
diff changeset
  1082
can still be run from test.py.  The --regression option for waf has been
6760
9e4859305744 update release notes and CHANGES.html file
Tom Henderson <tomh@tomh.org>
parents: 6735
diff changeset
  1083
removed.  However, the "-r" option to download.py has been kept to 
9e4859305744 update release notes and CHANGES.html file
Tom Henderson <tomh@tomh.org>
parents: 6735
diff changeset
  1084
allow users to fetch older revisions of ns-3 that contain these traces.
6624
a071889af159 Remove regression tests from waf
Mitch Watrous <watrous@u.washington.edu>
parents: 6598
diff changeset
  1085
</p>
6760
9e4859305744 update release notes and CHANGES.html file
Tom Henderson <tomh@tomh.org>
parents: 6735
diff changeset
  1086
<li><b>Documentation converted to Sphinx</b>
9e4859305744 update release notes and CHANGES.html file
Tom Henderson <tomh@tomh.org>
parents: 6735
diff changeset
  1087
<p> Project documentation (manual, tutorial, and testing) have been
9e4859305744 update release notes and CHANGES.html file
Tom Henderson <tomh@tomh.org>
parents: 6735
diff changeset
  1088
converted to Sphinx from the GNU Texinfo markup format.</p>
6624
a071889af159 Remove regression tests from waf
Mitch Watrous <watrous@u.washington.edu>
parents: 6598
diff changeset
  1089
</ul>
6598
7459bc9f1a3b Start tracking ns-3.10 changes
Tom Henderson <tomh@tomh.org>
parents: 6557
diff changeset
  1090
7459bc9f1a3b Start tracking ns-3.10 changes
Tom Henderson <tomh@tomh.org>
parents: 6557
diff changeset
  1091
<h2>New API:</h2>
6678
be3da7f1f82a Bring CHANGES.html and RELEASE_NOTES up to date
Tom Henderson <tomh@tomh.org>
parents: 6673
diff changeset
  1092
<ul>
be3da7f1f82a Bring CHANGES.html and RELEASE_NOTES up to date
Tom Henderson <tomh@tomh.org>
parents: 6673
diff changeset
  1093
<li><b>Pyviz visualizer</b>  
6679
3496cb66848e Update the pyviz API description
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6678
diff changeset
  1094
<p>A Python-based visualizer called pyviz is now integrated with ns-3.
3496cb66848e Update the pyviz API description
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6678
diff changeset
  1095
For Python simulations, there is an API to start the visualizer.  You
3496cb66848e Update the pyviz API description
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6678
diff changeset
  1096
have to import the visualizer module, and call visualizer.start()
3496cb66848e Update the pyviz API description
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6678
diff changeset
  1097
instead of ns3.Simulator.Run().  For C++ simulations, there is no API.
3496cb66848e Update the pyviz API description
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6678
diff changeset
  1098
For C++ simulations (but also works for Python ones) you need to set
3496cb66848e Update the pyviz API description
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6678
diff changeset
  1099
the GlobalValue SimulatorImplementationType to
3496cb66848e Update the pyviz API description
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6678
diff changeset
  1100
"ns3::VisualSimulatorImpl".  This can be set from the command-line,
3496cb66848e Update the pyviz API description
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6678
diff changeset
  1101
for example (add the
3496cb66848e Update the pyviz API description
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6678
diff changeset
  1102
<tt>--SimulatorImplementationType=ns3::VisualSimulatorImpl</tt>
3496cb66848e Update the pyviz API description
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6678
diff changeset
  1103
option), or via the waf option <tt>--visualizer</tt>, in addition to
3496cb66848e Update the pyviz API description
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6678
diff changeset
  1104
the usual <tt>--run</tt> option to run programs.
6678
be3da7f1f82a Bring CHANGES.html and RELEASE_NOTES up to date
Tom Henderson <tomh@tomh.org>
parents: 6673
diff changeset
  1105
</p></li>
be3da7f1f82a Bring CHANGES.html and RELEASE_NOTES up to date
Tom Henderson <tomh@tomh.org>
parents: 6673
diff changeset
  1106
be3da7f1f82a Bring CHANGES.html and RELEASE_NOTES up to date
Tom Henderson <tomh@tomh.org>
parents: 6673
diff changeset
  1107
<li><b>WaypointMobility attributes</b>
be3da7f1f82a Bring CHANGES.html and RELEASE_NOTES up to date
Tom Henderson <tomh@tomh.org>
parents: 6673
diff changeset
  1108
<p>Two attributes were added to WaypointMobility model:  LazyNotify and
be3da7f1f82a Bring CHANGES.html and RELEASE_NOTES up to date
Tom Henderson <tomh@tomh.org>
parents: 6673
diff changeset
  1109
InitialPositionIs Waypoint.  See RELEASE_NOTES for details.  </p> </li>
be3da7f1f82a Bring CHANGES.html and RELEASE_NOTES up to date
Tom Henderson <tomh@tomh.org>
parents: 6673
diff changeset
  1110
be3da7f1f82a Bring CHANGES.html and RELEASE_NOTES up to date
Tom Henderson <tomh@tomh.org>
parents: 6673
diff changeset
  1111
<li><b>802.11g rates for ERP-OFDM added</b>
be3da7f1f82a Bring CHANGES.html and RELEASE_NOTES up to date
Tom Henderson <tomh@tomh.org>
parents: 6673
diff changeset
  1112
<p>New WifiModes of the form ErpOfdmRatexxMbps, where xx is the rate
be3da7f1f82a Bring CHANGES.html and RELEASE_NOTES up to date
Tom Henderson <tomh@tomh.org>
parents: 6673
diff changeset
  1113
in Mbps (6, 9, 12, 18, 24, 36, 48, 54), are available for 802.11g.  
6735
8fda47c85df2 update release notes and changes.html
Tom Henderson <tomh@tomh.org>
parents: 6725
diff changeset
  1114
More details are in the RELEASE_NOTES.  </p> </li>
6678
be3da7f1f82a Bring CHANGES.html and RELEASE_NOTES up to date
Tom Henderson <tomh@tomh.org>
parents: 6673
diff changeset
  1115
6689
e2de571e920a Implement Socket::GetSocketType
Josh Pelkey <jpelkey@gatech.edu>
parents: 6679
diff changeset
  1116
<li><b>Socket::GetSocketType ()</b>
e2de571e920a Implement Socket::GetSocketType
Josh Pelkey <jpelkey@gatech.edu>
parents: 6679
diff changeset
  1117
<p>This is analogous to getsockopt(SO_TYPE). ipv4-raw-socket, ipv6-raw-socket,
6692
591fb1aa0ca4 Avoid enum name collision in socket
Josh Pelkey <jpelkey@gatech.edu>
parents: 6690
diff changeset
  1118
  and packet-socket return NS3_SOCK_RAW. tcp-socket and nsc-tcp-socket return
591fb1aa0ca4 Avoid enum name collision in socket
Josh Pelkey <jpelkey@gatech.edu>
parents: 6690
diff changeset
  1119
  NS3_SOCK_STREAM. udp-socket returns NS3_SOCK_DGRAM.</p></li>
6689
e2de571e920a Implement Socket::GetSocketType
Josh Pelkey <jpelkey@gatech.edu>
parents: 6679
diff changeset
  1120
6690
3fab9a03dacd Add BulkSendApplication
Josh Pelkey <jpelkey@gatech.edu>
parents: 6689
diff changeset
  1121
<li><b>BulkSendApplication</b>
3fab9a03dacd Add BulkSendApplication
Josh Pelkey <jpelkey@gatech.edu>
parents: 6689
diff changeset
  1122
<p>Sends data as fast as possible up to MaxBytes or unlimited if MaxBytes is 
3fab9a03dacd Add BulkSendApplication
Josh Pelkey <jpelkey@gatech.edu>
parents: 6689
diff changeset
  1123
zero.  Think OnOff, but without the "off" and without the variable data rate. 
6692
591fb1aa0ca4 Avoid enum name collision in socket
Josh Pelkey <jpelkey@gatech.edu>
parents: 6690
diff changeset
  1124
This application only works with NS3_SOCK_STREAM and NS3_SOCK_SEQPACKET sockets, 
6690
3fab9a03dacd Add BulkSendApplication
Josh Pelkey <jpelkey@gatech.edu>
parents: 6689
diff changeset
  1125
for example TCP sockets and not UDP sockets. A helper class exists to 
3fab9a03dacd Add BulkSendApplication
Josh Pelkey <jpelkey@gatech.edu>
parents: 6689
diff changeset
  1126
facilitate creating BulkSendApplications. The API for the helper class 
3fab9a03dacd Add BulkSendApplication
Josh Pelkey <jpelkey@gatech.edu>
parents: 6689
diff changeset
  1127
is similar to existing application helper classes, for example, OnOff.
6699
d8909a1fd0ff RV battery model and WiFi energy example
He Wu <mdzz@u.washington.edu>
parents: 6692
diff changeset
  1128
</p></li>
d8909a1fd0ff RV battery model and WiFi energy example
He Wu <mdzz@u.washington.edu>
parents: 6692
diff changeset
  1129
d8909a1fd0ff RV battery model and WiFi energy example
He Wu <mdzz@u.washington.edu>
parents: 6692
diff changeset
  1130
<li><b>Rakhmatov Vrudhula non-linear battery model</b>
d8909a1fd0ff RV battery model and WiFi energy example
He Wu <mdzz@u.washington.edu>
parents: 6692
diff changeset
  1131
<p>New class and helper for this battery model. </p></li>
6690
3fab9a03dacd Add BulkSendApplication
Josh Pelkey <jpelkey@gatech.edu>
parents: 6689
diff changeset
  1132
6703
1204fcdb71c2 Update release notes
Tom Henderson <tomh@tomh.org>
parents: 6699
diff changeset
  1133
<li><b>Print IPv4 routing tables</b>
1204fcdb71c2 Update release notes
Tom Henderson <tomh@tomh.org>
parents: 6699
diff changeset
  1134
<p>New class methods and helpers for printing IPv4 routing tables
1204fcdb71c2 Update release notes
Tom Henderson <tomh@tomh.org>
parents: 6699
diff changeset
  1135
to an output stream. </p></li>
1204fcdb71c2 Update release notes
Tom Henderson <tomh@tomh.org>
parents: 6699
diff changeset
  1136
6717
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents: 6703
diff changeset
  1137
<li><b>Destination-Sequenced Distance Vector (DSDV) routing protocol</b>
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents: 6703
diff changeset
  1138
<p>Derives from Ipv4RoutingProtocol and contains a DsdvHelper class. </p></li>
e041eb593928 DSDV routing protocol
Hemanth Narra <hemanth@ittc.ku.edu>
parents: 6703
diff changeset
  1139
6735
8fda47c85df2 update release notes and changes.html
Tom Henderson <tomh@tomh.org>
parents: 6725
diff changeset
  1140
<li><b>3GPP Long Term Evolution (LTE) models</b>
8fda47c85df2 update release notes and changes.html
Tom Henderson <tomh@tomh.org>
parents: 6725
diff changeset
  1141
<p>More details are in the RELEASE_NOTES. </p></li>
8fda47c85df2 update release notes and changes.html
Tom Henderson <tomh@tomh.org>
parents: 6725
diff changeset
  1142
6678
be3da7f1f82a Bring CHANGES.html and RELEASE_NOTES up to date
Tom Henderson <tomh@tomh.org>
parents: 6673
diff changeset
  1143
</ul>
6598
7459bc9f1a3b Start tracking ns-3.10 changes
Tom Henderson <tomh@tomh.org>
parents: 6557
diff changeset
  1144
7459bc9f1a3b Start tracking ns-3.10 changes
Tom Henderson <tomh@tomh.org>
parents: 6557
diff changeset
  1145
<h2>Changes to existing API:</h2>
6673
ec22aa763e2d Bug 978: Consolidate Wi-Fi MAC high functionality
Dean Armstrong <deanarm@gmail.com>
parents: 6662
diff changeset
  1146
<ul>
ec22aa763e2d Bug 978: Consolidate Wi-Fi MAC high functionality
Dean Armstrong <deanarm@gmail.com>
parents: 6662
diff changeset
  1147
<li><b>Consolidation of Wi-Fi MAC high functionality</b>
ec22aa763e2d Bug 978: Consolidate Wi-Fi MAC high functionality
Dean Armstrong <deanarm@gmail.com>
parents: 6662
diff changeset
  1148
<p>Wi-Fi MAC high classes have been reorganised in attempt to
ec22aa763e2d Bug 978: Consolidate Wi-Fi MAC high functionality
Dean Armstrong <deanarm@gmail.com>
parents: 6662
diff changeset
  1149
consolidate shared functionality into a single class. This new class
ec22aa763e2d Bug 978: Consolidate Wi-Fi MAC high functionality
Dean Armstrong <deanarm@gmail.com>
parents: 6662
diff changeset
  1150
is RegularWifiMac, and it derives from the abstract WifiMac, and is
ec22aa763e2d Bug 978: Consolidate Wi-Fi MAC high functionality
Dean Armstrong <deanarm@gmail.com>
parents: 6662
diff changeset
  1151
parent of AdhocWifiMac, StaWifiMac, ApWifiMac, and
ec22aa763e2d Bug 978: Consolidate Wi-Fi MAC high functionality
Dean Armstrong <deanarm@gmail.com>
parents: 6662
diff changeset
  1152
MeshWifiInterfaceMac. The QoS and non-QoS class variants are no
ec22aa763e2d Bug 978: Consolidate Wi-Fi MAC high functionality
Dean Armstrong <deanarm@gmail.com>
parents: 6662
diff changeset
  1153
longer, with a RegularWifiMac attribute "QosSupported" allowing
ec22aa763e2d Bug 978: Consolidate Wi-Fi MAC high functionality
Dean Armstrong <deanarm@gmail.com>
parents: 6662
diff changeset
  1154
selection between these two modes of operation. QosWifiMacHelper and
ec22aa763e2d Bug 978: Consolidate Wi-Fi MAC high functionality
Dean Armstrong <deanarm@gmail.com>
parents: 6662
diff changeset
  1155
NqosWifiMacHelper continue to work as previously, with a
ec22aa763e2d Bug 978: Consolidate Wi-Fi MAC high functionality
Dean Armstrong <deanarm@gmail.com>
parents: 6662
diff changeset
  1156
behind-the-scenes manipulation of the 'afore-mentioned attribute.
6725
62511407485d Update release notes and changelog
Tom Henderson <tomh@tomh.org>
parents: 6717
diff changeset
  1157
</p></li>
62511407485d Update release notes and changelog
Tom Henderson <tomh@tomh.org>
parents: 6717
diff changeset
  1158
62511407485d Update release notes and changelog
Tom Henderson <tomh@tomh.org>
parents: 6717
diff changeset
  1159
<li><b>New TCP architecture</b>
62511407485d Update release notes and changelog
Tom Henderson <tomh@tomh.org>
parents: 6717
diff changeset
  1160
<p>TcpSocketImpl was replaced by a new base class TcpSocketBase and
62511407485d Update release notes and changelog
Tom Henderson <tomh@tomh.org>
parents: 6717
diff changeset
  1161
several subclasses implementing different congestion control.  From 
62511407485d Update release notes and changelog
Tom Henderson <tomh@tomh.org>
parents: 6717
diff changeset
  1162
a user-level API perspective, the main change is that a new attribute
62511407485d Update release notes and changelog
Tom Henderson <tomh@tomh.org>
parents: 6717
diff changeset
  1163
"SocketType" is available in TcpL4Protocol, to which a TypeIdValue
62511407485d Update release notes and changelog
Tom Henderson <tomh@tomh.org>
parents: 6717
diff changeset
  1164
of a specific Tcp variant can be passed.  In the same class, the attribute 
62511407485d Update release notes and changelog
Tom Henderson <tomh@tomh.org>
parents: 6717
diff changeset
  1165
"RttEstimatorFactory" was also renamed "RttEstimatorType" since it now
62511407485d Update release notes and changelog
Tom Henderson <tomh@tomh.org>
parents: 6717
diff changeset
  1166
takes a TypeIdValue instead of an ObjectFactoryValue.  In most cases, 
62511407485d Update release notes and changelog
Tom Henderson <tomh@tomh.org>
parents: 6717
diff changeset
  1167
however, no change to existing user programs should be needed.
62511407485d Update release notes and changelog
Tom Henderson <tomh@tomh.org>
parents: 6717
diff changeset
  1168
</p></li>
6673
ec22aa763e2d Bug 978: Consolidate Wi-Fi MAC high functionality
Dean Armstrong <deanarm@gmail.com>
parents: 6662
diff changeset
  1169
</ul>
6598
7459bc9f1a3b Start tracking ns-3.10 changes
Tom Henderson <tomh@tomh.org>
parents: 6557
diff changeset
  1170
7459bc9f1a3b Start tracking ns-3.10 changes
Tom Henderson <tomh@tomh.org>
parents: 6557
diff changeset
  1171
<h2>Changed behavior:</h2>
6662
04fb02cefe2a bug 984: change EmuNetDevice encapsulation default to DIX
Tom Henderson <tomh@tomh.org>
parents: 6652
diff changeset
  1172
<ul>
04fb02cefe2a bug 984: change EmuNetDevice encapsulation default to DIX
Tom Henderson <tomh@tomh.org>
parents: 6652
diff changeset
  1173
<li><b>EmuNetDevice uses DIX instead of LLC encapsulation by default</b>
04fb02cefe2a bug 984: change EmuNetDevice encapsulation default to DIX
Tom Henderson <tomh@tomh.org>
parents: 6652
diff changeset
  1174
<p>bug 984 in ns-3 tracker:  real devices don't usually understand LLC/SNAP
04fb02cefe2a bug 984: change EmuNetDevice encapsulation default to DIX
Tom Henderson <tomh@tomh.org>
parents: 6652
diff changeset
  1175
so the default of DIX makes more sense.
6725
62511407485d Update release notes and changelog
Tom Henderson <tomh@tomh.org>
parents: 6717
diff changeset
  1176
</p></li>
62511407485d Update release notes and changelog
Tom Henderson <tomh@tomh.org>
parents: 6717
diff changeset
  1177
<li><b>TCP defaults to NewReno congestion control</b>
62511407485d Update release notes and changelog
Tom Henderson <tomh@tomh.org>
parents: 6717
diff changeset
  1178
<p>As part of the TCP socket refactoring, a new TCP implementation provides
62511407485d Update release notes and changelog
Tom Henderson <tomh@tomh.org>
parents: 6717
diff changeset
  1179
slightly different behavior than the previous TcpSocketImpl that provided
62511407485d Update release notes and changelog
Tom Henderson <tomh@tomh.org>
parents: 6717
diff changeset
  1180
only fast retransmit.  The default behavior now is NewReno which provides
62511407485d Update release notes and changelog
Tom Henderson <tomh@tomh.org>
parents: 6717
diff changeset
  1181
fast retransmit and fast recovery with window inflation during recovery.
62511407485d Update release notes and changelog
Tom Henderson <tomh@tomh.org>
parents: 6717
diff changeset
  1182
</p></li>
6662
04fb02cefe2a bug 984: change EmuNetDevice encapsulation default to DIX
Tom Henderson <tomh@tomh.org>
parents: 6652
diff changeset
  1183
</ul>
6598
7459bc9f1a3b Start tracking ns-3.10 changes
Tom Henderson <tomh@tomh.org>
parents: 6557
diff changeset
  1184
7459bc9f1a3b Start tracking ns-3.10 changes
Tom Henderson <tomh@tomh.org>
parents: 6557
diff changeset
  1185
<hr>
6300
bd1da3a75496 bug 861: Log drop traces for forwarding failures into IPv4 and IPv6 ascii traces
Tom Henderson <tomh@tomh.org>
parents: 6273
diff changeset
  1186
<h1>Changes from ns-3.8 to ns-3.9</h1>
bd1da3a75496 bug 861: Log drop traces for forwarding failures into IPv4 and IPv6 ascii traces
Tom Henderson <tomh@tomh.org>
parents: 6273
diff changeset
  1187
bd1da3a75496 bug 861: Log drop traces for forwarding failures into IPv4 and IPv6 ascii traces
Tom Henderson <tomh@tomh.org>
parents: 6273
diff changeset
  1188
<h2>Changes to build system:</h2>
bd1da3a75496 bug 861: Log drop traces for forwarding failures into IPv4 and IPv6 ascii traces
Tom Henderson <tomh@tomh.org>
parents: 6273
diff changeset
  1189
bd1da3a75496 bug 861: Log drop traces for forwarding failures into IPv4 and IPv6 ascii traces
Tom Henderson <tomh@tomh.org>
parents: 6273
diff changeset
  1190
<h2>New API:</h2>
6306
283c83f1f7be Update RELEASE_NOTES and CHANGES.html since ns-3.8
Tom Henderson <tomh@tomh.org>
parents: 6300
diff changeset
  1191
<ul>
6540
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1192
<li><b>Wifi set block ack threshold:</b> Two methods for setting block ack
6306
283c83f1f7be Update RELEASE_NOTES and CHANGES.html since ns-3.8
Tom Henderson <tomh@tomh.org>
parents: 6300
diff changeset
  1193
parameters for a specific access class: 
283c83f1f7be Update RELEASE_NOTES and CHANGES.html since ns-3.8
Tom Henderson <tomh@tomh.org>
parents: 6300
diff changeset
  1194
<pre>
283c83f1f7be Update RELEASE_NOTES and CHANGES.html since ns-3.8
Tom Henderson <tomh@tomh.org>
parents: 6300
diff changeset
  1195
void QosWifiMacHelper::SetBlockAckThresholdForAc (enum AccessClass accessClass, uint8_t threshold);
283c83f1f7be Update RELEASE_NOTES and CHANGES.html since ns-3.8
Tom Henderson <tomh@tomh.org>
parents: 6300
diff changeset
  1196
void QosWifiMacHelper::SetBlockAckInactivityTimeoutForAc (enum AccessClass accessClass, uint16_t timeout);
283c83f1f7be Update RELEASE_NOTES and CHANGES.html since ns-3.8
Tom Henderson <tomh@tomh.org>
parents: 6300
diff changeset
  1197
</pre>
6540
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1198
</li>
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1199
<li><b>Receive List Error Model:</b>  Another basic error model that allows
6306
283c83f1f7be Update RELEASE_NOTES and CHANGES.html since ns-3.8
Tom Henderson <tomh@tomh.org>
parents: 6300
diff changeset
  1200
the user to specify a list of received packets that should be errored.  The
283c83f1f7be Update RELEASE_NOTES and CHANGES.html since ns-3.8
Tom Henderson <tomh@tomh.org>
parents: 6300
diff changeset
  1201
list corresponds not to the packet UID but to the sequence of received
283c83f1f7be Update RELEASE_NOTES and CHANGES.html since ns-3.8
Tom Henderson <tomh@tomh.org>
parents: 6300
diff changeset
  1202
packets as observed by the error model.   See src/common/error-model.h
6540
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1203
</li>
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1204
<li><b>Respond to interface events:</b> New attribute for Ipv4GlobalRouting,
6317
e4a750adf12c bug 702: make global routing robust to link/device events
Tom Henderson <tomh@tomh.org>
parents: 6308
diff changeset
  1205
"RespondToInterfaceEvents", which when enabled, will cause global routes
e4a750adf12c bug 702: make global routing robust to link/device events
Tom Henderson <tomh@tomh.org>
parents: 6308
diff changeset
  1206
to be recomputed upon any interface or address notification event from IPv4.
6540
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1207
</li>
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1208
<li><b>Generic sequence number:</b> New generic sequence number class to 
6529
dd982eaf6026 release notes and changes updates
Josh Pelkey <jpelkey@gatech.edu>
parents: 6459
diff changeset
  1209
easily handle comparison, subtraction, etc. for sequence numbers.  
dd982eaf6026 release notes and changes updates
Josh Pelkey <jpelkey@gatech.edu>
parents: 6459
diff changeset
  1210
To use it you need to supply two fundamental types as template parameters: 
6540
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1211
NUMERIC_TYPE and SIGNED_TYPE.  For instance, <tt>SequenceNumber&lt;uint32_t, int32_t&gt;</tt> 
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1212
gives you a 32-bit sequence number, while <tt>SequenceNumber&lt;uint16_t, int16_t&gt;</tt> 
6529
dd982eaf6026 release notes and changes updates
Josh Pelkey <jpelkey@gatech.edu>
parents: 6459
diff changeset
  1213
is a 16-bit one.  For your convenience, these are typedef'ed as 
6540
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1214
<tt>SequenceNumber32</tt> and <tt>SequenceNumber16</tt>, respectively.
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1215
</li>
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1216
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1217
<li><b>Broadcast socket option:</b> New Socket
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1218
methods <tt>SetAllowBroadcast</tt> and <tt>GetAllowBroadcast</tt> add
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1219
to NS-3 <tt>Socket</tt>'s the equivalent to the POSIX SO_BROADCAST
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1220
socket option (setsockopt/getsockopt).  Starting from this NS-3
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1221
version, IPv4 sockets do not allow us to send packets to broadcast
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1222
destinations by default; SetAllowBroadcast must be called beforehand
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1223
if we wish to send broadcast packets.
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1224
</li>
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1225
6557
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1226
<li><b>Deliver of packet ancillary information to sockets:</b> A method to deliver ancillary information 
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1227
to the socket interface (fixed in bug 671):  <pre>void Socket::SetRecvPktInfo (bool flag);</pre>
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1228
6529
dd982eaf6026 release notes and changes updates
Josh Pelkey <jpelkey@gatech.edu>
parents: 6459
diff changeset
  1229
</ul>
6300
bd1da3a75496 bug 861: Log drop traces for forwarding failures into IPv4 and IPv6 ascii traces
Tom Henderson <tomh@tomh.org>
parents: 6273
diff changeset
  1230
bd1da3a75496 bug 861: Log drop traces for forwarding failures into IPv4 and IPv6 ascii traces
Tom Henderson <tomh@tomh.org>
parents: 6273
diff changeset
  1231
<h2>Changes to existing API:</h2>
bd1da3a75496 bug 861: Log drop traces for forwarding failures into IPv4 and IPv6 ascii traces
Tom Henderson <tomh@tomh.org>
parents: 6273
diff changeset
  1232
6360
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1233
<ul>
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1234
<li><b>Changes to construction and naming of Wi-Fi transmit rates:</b>
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1235
A reorganisation of the construction of Wi-Fi transmit rates has been
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1236
undertaken with the aim of simplifying the task of supporting further
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1237
IEEE 802.11 PHYs. This work has been completed under the auspices of
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1238
Bug 871.
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1239
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1240
From the viewpoint of simulation scripts not part of the ns-3
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1241
distribution, the key change is that WifiMode names of the form
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1242
wifi<em>x</em>-<em>n</em>mbs are now invalid. Names now take the
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1243
form <em>Cccc</em>Rate<em>n</em>Mbps[BW<em>b</em>MHz],
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1244
where <em>n</em> is the root bitrate in megabits-per-second as before
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1245
(with only significant figures included, and an underscore replacing
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1246
any decimal point), and <em>Cccc</em> is a representation of the
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1247
Modulation Class as defined in Table 9-2 of IEEE
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1248
Std. 802.11-2007. Currently-supported options for <em>Cccc</em>
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1249
are <em>Ofdm</em> and <em>Dsss</em>. For modulation classes where
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1250
optional reduced-bandwidth transmission is possible, this is captured
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1251
in the final part of the form above, with <em>b</em> specifying the
6540
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1252
nominal signal bandwidth in megahertz. </li>
6383
4dc3cdb53559 Bug 881: Update RELEASE_NOTES and CHANGES.html
Dean Armstrong <deanarm@gmail.com>
parents: 6360
diff changeset
  1253
4dc3cdb53559 Bug 881: Update RELEASE_NOTES and CHANGES.html
Dean Armstrong <deanarm@gmail.com>
parents: 6360
diff changeset
  1254
<li><b>Consolidation of classes support Wi-Fi Information Elements:</b>
4dc3cdb53559 Bug 881: Update RELEASE_NOTES and CHANGES.html
Dean Armstrong <deanarm@gmail.com>
parents: 6360
diff changeset
  1255
When the <em>mesh</em> module was introduced it added a class
4dc3cdb53559 Bug 881: Update RELEASE_NOTES and CHANGES.html
Dean Armstrong <deanarm@gmail.com>
parents: 6360
diff changeset
  1256
hierarchy for modelling of the various Information Elements that were
4dc3cdb53559 Bug 881: Update RELEASE_NOTES and CHANGES.html
Dean Armstrong <deanarm@gmail.com>
parents: 6360
diff changeset
  1257
required. In this release, this class hierarchy has extended by moving
4dc3cdb53559 Bug 881: Update RELEASE_NOTES and CHANGES.html
Dean Armstrong <deanarm@gmail.com>
parents: 6360
diff changeset
  1258
the base classes (WifiInformationElement and
4dc3cdb53559 Bug 881: Update RELEASE_NOTES and CHANGES.html
Dean Armstrong <deanarm@gmail.com>
parents: 6360
diff changeset
  1259
WifiInformationElementVector) into the <em>wifi</em> module. This
4dc3cdb53559 Bug 881: Update RELEASE_NOTES and CHANGES.html
Dean Armstrong <deanarm@gmail.com>
parents: 6360
diff changeset
  1260
change is intended to ease the addition of support for modelling of
6540
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1261
further Wi-Fi functionality. </li>
6557
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1262
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1263
<li><b>Changed for {Ipv4,Ipv6}PacketInfoTag delivery:</b> In order to
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1264
deliver ancillary information to the socket interface (fixed in bug 671),
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1265
<em>Ipv4PacketInfoTag</em> and <em>Ipv6PacketInfoTag</em> are implemented. 
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1266
For the delivery of this information, the following changes are made into 
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1267
existing class.
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1268
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1269
In Ipv4EndPoint class,
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1270
<pre>
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1271
-  void SetRxCallback (Callback&lt;void,Ptr&lt;Packet&gt;, Ipv4Address, Ipv4Address, uint16_t&gt; callback);
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1272
+  void SetRxCallback (Callback&lt;void,Ptr&lt;Packet&gt;, Ipv4Header, uint16_t, Ptr&lt;Ipv4Interface&gt; &gt; callback);
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1273
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1274
-  void ForwardUp (Ptr&lt;Packet&gt; p, Ipv4Address saddr, Ipv4Address daddr, uint16_t sport);
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1275
+  void ForwardUp (Ptr&lt;Packet&gt; p, const Ipv4Header& header, uint16_t sport, 
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1276
+                  Ptr&lt;Ipv4Interface&gt; incomingInterface);
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1277
</pre>
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1278
In Ipv4L4Protocol class,
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1279
<pre>
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1280
   virtual enum RxStatus Receive(Ptr&lt;Packet&gt; p, 
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1281
-                                Ipv4Address const &source,
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1282
-                                Ipv4Address const &destination,
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1283
+                                Ipv4Header const &header,
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1284
                                 Ptr&lt;Ipv4Interface&gt; incomingInterface) = 0;
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1285
</pre>
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1286
<pre>
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1287
-Ipv4RawSocketImpl::ForwardUp (Ptr&lt;const Packet&gt; p, Ipv4Header ipHeader, Ptr&lt;NetDevice&gt; device)
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1288
+Ipv4RawSocketImpl::ForwardUp (Ptr&lt;const Packet&gt; p, Ipv4Header ipHeader, Ptr&lt;Ipv4Interface&gt; incomingInterface)
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1289
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1290
-NscTcpSocketImpl::ForwardUp (Ptr&lt;Packet&gt; packet, Ipv4Address saddr, Ipv4Address daddr, uint16_t port)
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1291
+NscTcpSocketImpl::ForwardUp (Ptr&lt;Packet&gt; packet, Ipv4Header header, uint16_t port,
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1292
+                             Ptr&lt;Ipv4Interface&gt; incomingInterface)
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1293
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1294
-TcpSocketImpl::ForwardUp (Ptr&lt;Packet&gt; packet, Ipv4Address saddr, Ipv4Address daddr, uint16_t port)
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1295
+TcpSocketImpl::ForwardUp (Ptr&lt;Packet&gt; packet, Ipv4Header header, uint16_t port,
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1296
+                          Ptr&lt;Ipv4Interface&gt; incomingInterface)
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1297
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1298
-UdpSocketImpl::ForwardUp (Ptr&lt;Packet&gt; packet, Ipv4Address saddr, Ipv4Address daddr, uint16_t port)
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1299
+UdpSocketImpl::ForwardUp (Ptr&lt;Packet&gt; packet, Ipv4Header header, uint16_t port,
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1300
+                          Ptr&lt;Ipv4Interface&gt; incomingInterface)
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1301
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1302
</pre>
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1303
  
970e1627b308 update CHANGES.html for Bug 671
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents: 6540
diff changeset
  1304
</li>
6678
be3da7f1f82a Bring CHANGES.html and RELEASE_NOTES up to date
Tom Henderson <tomh@tomh.org>
parents: 6673
diff changeset
  1305
<li>The method OutputStreamWrapper::SetStream (std::ostream *ostream) was removed.</li>
be3da7f1f82a Bring CHANGES.html and RELEASE_NOTES up to date
Tom Henderson <tomh@tomh.org>
parents: 6673
diff changeset
  1306
)
6360
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1307
</ul>
d8975477ff6a Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents: 6317
diff changeset
  1308
6300
bd1da3a75496 bug 861: Log drop traces for forwarding failures into IPv4 and IPv6 ascii traces
Tom Henderson <tomh@tomh.org>
parents: 6273
diff changeset
  1309
<h2>Changed behavior:</h2>
bd1da3a75496 bug 861: Log drop traces for forwarding failures into IPv4 and IPv6 ascii traces
Tom Henderson <tomh@tomh.org>
parents: 6273
diff changeset
  1310
<ul>
6308
2ca5ef07be74 update CHANGES.html for Queue::Enqueue trace behavior change
Craig Dowell <craigdo@ee.washington.edu>
parents: 6306
diff changeset
  1311
<li><b>Queue trace behavior during Enqueue changed:</b> The behavior of the
2ca5ef07be74 update CHANGES.html for Queue::Enqueue trace behavior change
Craig Dowell <craigdo@ee.washington.edu>
parents: 6306
diff changeset
  1312
Enqueue trace source has been changed to be more intuitive and to agree with
2ca5ef07be74 update CHANGES.html for Queue::Enqueue trace behavior change
Craig Dowell <craigdo@ee.washington.edu>
parents: 6306
diff changeset
  1313
documentation.  Enqueue and Drop events in src/node/queue.cc are now mutually
2ca5ef07be74 update CHANGES.html for Queue::Enqueue trace behavior change
Craig Dowell <craigdo@ee.washington.edu>
parents: 6306
diff changeset
  1314
exclusive.  In the past, the meaning of an Enqueue event was that the Queue
2ca5ef07be74 update CHANGES.html for Queue::Enqueue trace behavior change
Craig Dowell <craigdo@ee.washington.edu>
parents: 6306
diff changeset
  1315
Enqueue operation was being attempted; and this could be followed by a Drop
2ca5ef07be74 update CHANGES.html for Queue::Enqueue trace behavior change
Craig Dowell <craigdo@ee.washington.edu>
parents: 6306
diff changeset
  1316
event if the Queue was full.  The new behavior is such that a packet is either
2ca5ef07be74 update CHANGES.html for Queue::Enqueue trace behavior change
Craig Dowell <craigdo@ee.washington.edu>
parents: 6306
diff changeset
  1317
Enqueue'd successfully or Drop'ped.
2ca5ef07be74 update CHANGES.html for Queue::Enqueue trace behavior change
Craig Dowell <craigdo@ee.washington.edu>
parents: 6306
diff changeset
  1318
6300
bd1da3a75496 bug 861: Log drop traces for forwarding failures into IPv4 and IPv6 ascii traces
Tom Henderson <tomh@tomh.org>
parents: 6273
diff changeset
  1319
<li><b>Drop trace logged for Ipv4/6 forwarding failure:</b> Fixed bug 861; this 
bd1da3a75496 bug 861: Log drop traces for forwarding failures into IPv4 and IPv6 ascii traces
Tom Henderson <tomh@tomh.org>
parents: 6273
diff changeset
  1320
will add ascii traces (drops) in Ipv4 and Ipv6 traces for forwarding failures
6459
d5cfe99001f0 Change default OFDM error rate model to NistErrorRateModel (issue 944)
Tom Henderson <tomh@tomh.org>
parents: 6383
diff changeset
  1321
d5cfe99001f0 Change default OFDM error rate model to NistErrorRateModel (issue 944)
Tom Henderson <tomh@tomh.org>
parents: 6383
diff changeset
  1322
<li><b>Changed default WiFi error rate model for OFDM modulation types:</b> 
d5cfe99001f0 Change default OFDM error rate model to NistErrorRateModel (issue 944)
Tom Henderson <tomh@tomh.org>
parents: 6383
diff changeset
  1323
Adopted more conservative ErrorRateModel for OFDM modulation types (a/g).
d5cfe99001f0 Change default OFDM error rate model to NistErrorRateModel (issue 944)
Tom Henderson <tomh@tomh.org>
parents: 6383
diff changeset
  1324
This will require 4 to 5 more dB of received power to get similar results
d5cfe99001f0 Change default OFDM error rate model to NistErrorRateModel (issue 944)
Tom Henderson <tomh@tomh.org>
parents: 6383
diff changeset
  1325
as before, so users may observe a reduced WiFi range when using the defaults.
6540
d2768932d6c3 Add SO_BROADCAST to CHANGES.html, fix the html a bit
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 6529
diff changeset
  1326
See tracker issue 944 for more details.
6300
bd1da3a75496 bug 861: Log drop traces for forwarding failures into IPv4 and IPv6 ascii traces
Tom Henderson <tomh@tomh.org>
parents: 6273
diff changeset
  1327
</ul>
bd1da3a75496 bug 861: Log drop traces for forwarding failures into IPv4 and IPv6 ascii traces
Tom Henderson <tomh@tomh.org>
parents: 6273
diff changeset
  1328
bd1da3a75496 bug 861: Log drop traces for forwarding failures into IPv4 and IPv6 ascii traces
Tom Henderson <tomh@tomh.org>
parents: 6273
diff changeset
  1329
<hr>
5933
2fc170de5400 Update release notes and changes for ns-3.8
Josh Pelkey <jpelkey@gatech.edu>
parents: 5868
diff changeset
  1330
<h1>Changes from ns-3.7 to ns-3.8</h1>
2fc170de5400 Update release notes and changes for ns-3.8
Josh Pelkey <jpelkey@gatech.edu>
parents: 5868
diff changeset
  1331
2fc170de5400 Update release notes and changes for ns-3.8
Josh Pelkey <jpelkey@gatech.edu>
parents: 5868
diff changeset
  1332
<h2>Changes to build system:</h2>
2fc170de5400 Update release notes and changes for ns-3.8
Josh Pelkey <jpelkey@gatech.edu>
parents: 5868
diff changeset
  1333
2fc170de5400 Update release notes and changes for ns-3.8
Josh Pelkey <jpelkey@gatech.edu>
parents: 5868
diff changeset
  1334
<h2>New API:</h2>
6113
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1335
6111
0b22ae082153 Merge WiMAX module
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 6054
diff changeset
  1336
<ul>
6117
bf5e05fe051b Changes and release notes updated
Pavel Boyko <boyko@iitp.ru>
parents: 6113
diff changeset
  1337
<li><b>Matrix propagation loss model:</b> This radio propagation model uses a two-dimensional matrix
6165
55762ca33a99 update CHANGES and RELEASE_NOTES
Josh Pelkey <jpelkey@gatech.edu>
parents: 6117
diff changeset
  1338
of path loss indexed by source and destination nodes.
6117
bf5e05fe051b Changes and release notes updated
Pavel Boyko <boyko@iitp.ru>
parents: 6113
diff changeset
  1339
6111
0b22ae082153 Merge WiMAX module
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 6054
diff changeset
  1340
<li><b>WiMAX net device</b>: The developed WiMAX model attempts to provide an accurate MAC and
0b22ae082153 Merge WiMAX module
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 6054
diff changeset
  1341
PHY level implementation of the 802.16 specification with the Point-to-Multipoint (PMP) mode and the WirelessMAN-OFDM 
0b22ae082153 Merge WiMAX module
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 6054
diff changeset
  1342
PHY layer. By adding WimaxNetDevice objects to ns-3 nodes, one can create models of
0b22ae082153 Merge WiMAX module
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 6054
diff changeset
  1343
802.16-based networks. The source code for the WiMAX models lives in the directory src/devices/wimax.
0b22ae082153 Merge WiMAX module
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 6054
diff changeset
  1344
The model is mainly composed of three layers:
0b22ae082153 Merge WiMAX module
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 6054
diff changeset
  1345
<ul>
0b22ae082153 Merge WiMAX module
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 6054
diff changeset
  1346
<li>The convergence sublayer (CS)
0b22ae082153 Merge WiMAX module
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 6054
diff changeset
  1347
<li>The MAC Common Part Sublayer (MAC-CPS)
0b22ae082153 Merge WiMAX module
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 6054
diff changeset
  1348
<li>The Physical layer
0b22ae082153 Merge WiMAX module
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 6054
diff changeset
  1349
</ul>
0b22ae082153 Merge WiMAX module
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 6054
diff changeset
  1350
The main way that users who write simulation scripts will typically
0b22ae082153 Merge WiMAX module
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 6054
diff changeset
  1351
interact with the Wimax models is through the helper API and through
0b22ae082153 Merge WiMAX module
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 6054
diff changeset
  1352
the publicly visible attributes of the model.
0b22ae082153 Merge WiMAX module
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 6054
diff changeset
  1353
The helper API is defined in src/helper/wimax-helper.{cc,h}.
0b22ae082153 Merge WiMAX module
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 6054
diff changeset
  1354
Three examples containing some code that shows how to setup a 802.16 network are located under examples/wimax/ 
6113
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1355
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1356
<li><b>MPI Interface for distributed simulation:</b> Enables access
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1357
to necessary MPI information such as MPI rank and size.
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1358
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1359
<li><b>Point-to-point remote channel:</b> Enables point-to-point 
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1360
connection between net-devices on different simulators, for use 
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1361
with distributed simulation.
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1362
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1363
<li><b>GetSystemId in simulator:</b> For use with distributed 
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1364
simulation, GetSystemId returns zero by non-distributed 
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1365
simulators.  For the distributed simulator, it returns the 
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1366
MPI rank.
6165
55762ca33a99 update CHANGES and RELEASE_NOTES
Josh Pelkey <jpelkey@gatech.edu>
parents: 6117
diff changeset
  1367
55762ca33a99 update CHANGES and RELEASE_NOTES
Josh Pelkey <jpelkey@gatech.edu>
parents: 6117
diff changeset
  1368
<li><b>Enhancements to src/core/random-variable.cc/h:</b> New Zeta random variable generator. The Zeta random 
55762ca33a99 update CHANGES and RELEASE_NOTES
Josh Pelkey <jpelkey@gatech.edu>
parents: 6117
diff changeset
  1369
distribution is tightly related to the Zipf distribution (already in ns-3.7). See the documentation, 
55762ca33a99 update CHANGES and RELEASE_NOTES
Josh Pelkey <jpelkey@gatech.edu>
parents: 6117
diff changeset
  1370
especially because sometimes the Zeta distribution is called Zipf and viceversa. Here we conform to the 
55762ca33a99 update CHANGES and RELEASE_NOTES
Josh Pelkey <jpelkey@gatech.edu>
parents: 6117
diff changeset
  1371
Wikipedia naming convention, i.e., Zipf is bounded while Zeta isn't. 
55762ca33a99 update CHANGES and RELEASE_NOTES
Josh Pelkey <jpelkey@gatech.edu>
parents: 6117
diff changeset
  1372
55762ca33a99 update CHANGES and RELEASE_NOTES
Josh Pelkey <jpelkey@gatech.edu>
parents: 6117
diff changeset
  1373
<li><b>Two-ray ground propagation loss model:</b> Calculates the crossover distance under which Friis is used. The antenna 
55762ca33a99 update CHANGES and RELEASE_NOTES
Josh Pelkey <jpelkey@gatech.edu>
parents: 6117
diff changeset
  1374
height is set to the nodes z coordinate, but can be added to using the model parameter SetHeightAboveZ, which 
55762ca33a99 update CHANGES and RELEASE_NOTES
Josh Pelkey <jpelkey@gatech.edu>
parents: 6117
diff changeset
  1375
will affect ALL stations
55762ca33a99 update CHANGES and RELEASE_NOTES
Josh Pelkey <jpelkey@gatech.edu>
parents: 6117
diff changeset
  1376
55762ca33a99 update CHANGES and RELEASE_NOTES
Josh Pelkey <jpelkey@gatech.edu>
parents: 6117
diff changeset
  1377
<li><b>Pareto random variable</b> has two new constructors to specify scale and shape:
55762ca33a99 update CHANGES and RELEASE_NOTES
Josh Pelkey <jpelkey@gatech.edu>
parents: 6117
diff changeset
  1378
<pre>
55762ca33a99 update CHANGES and RELEASE_NOTES
Josh Pelkey <jpelkey@gatech.edu>
parents: 6117
diff changeset
  1379
ParetoVariable (std::pair<double, double> params);
55762ca33a99 update CHANGES and RELEASE_NOTES
Josh Pelkey <jpelkey@gatech.edu>
parents: 6117
diff changeset
  1380
ParetoVariable (std::pair<double, double> params, double b);
55762ca33a99 update CHANGES and RELEASE_NOTES
Josh Pelkey <jpelkey@gatech.edu>
parents: 6117
diff changeset
  1381
</pre>
6111
0b22ae082153 Merge WiMAX module
Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
parents: 6054
diff changeset
  1382
</ul>
6113
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1383
5933
2fc170de5400 Update release notes and changes for ns-3.8
Josh Pelkey <jpelkey@gatech.edu>
parents: 5868
diff changeset
  1384
<h2>Changes to existing API:</h2>
2fc170de5400 Update release notes and changes for ns-3.8
Josh Pelkey <jpelkey@gatech.edu>
parents: 5868
diff changeset
  1385
<ul>
6018
92c388406dbe update CHANGES ns-3.7 to ns-3.8
Craig Dowell <craigdo@ee.washington.edu>
parents: 5868
diff changeset
  1386
<li><b>Tracing Helpers</b>: The organization of helpers for both pcap and ascii
6032
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1387
tracing, in devices and protocols, has been reworked.  Instead of each device 
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1388
and protocol helper re-implementing trace enable methods, classes have been 
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1389
developed to implement user-level tracing in a consistent way; and device and 
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1390
protocol helpers use those classes to provide tracing functionality.<br>
6018
92c388406dbe update CHANGES ns-3.7 to ns-3.8
Craig Dowell <craigdo@ee.washington.edu>
parents: 5868
diff changeset
  1391
In addition to consistent operation across all helpers, the object name service
92c388406dbe update CHANGES ns-3.7 to ns-3.8
Craig Dowell <craigdo@ee.washington.edu>
parents: 5868
diff changeset
  1392
has been integrated into the trace file naming scheme.<br>
6032
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1393
The internet stack helper has been extensively massaged to make it easier to 
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1394
manage traces originating from protocols.  It used to be the case that there 
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1395
was essentially no opportunity to filter tracing on interfaces, and resulting
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1396
trace file names collided with those created by devices.  File names are now
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1397
disambiguated and one can enable traces on a protocol/interface basis analogously
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1398
to the node/device granularity of device-based helpers.<br>
6018
92c388406dbe update CHANGES ns-3.7 to ns-3.8
Craig Dowell <craigdo@ee.washington.edu>
parents: 5868
diff changeset
  1399
The primary user-visible results of this change are that trace-related functions
92c388406dbe update CHANGES ns-3.7 to ns-3.8
Craig Dowell <craigdo@ee.washington.edu>
parents: 5868
diff changeset
  1400
have been changed from static functions to method calls; and a new object has
92c388406dbe update CHANGES ns-3.7 to ns-3.8
Craig Dowell <craigdo@ee.washington.edu>
parents: 5868
diff changeset
  1401
been developed to hold streams for ascii traces.<br>
6032
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1402
New functionality is present for ascii traces.  It is now possible to create
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1403
multiple ascii trace files automatically just as was possible for pcap trace 
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1404
files.<br>
6018
92c388406dbe update CHANGES ns-3.7 to ns-3.8
Craig Dowell <craigdo@ee.washington.edu>
parents: 5868
diff changeset
  1405
The implementation of the helper code has been designed also to provide 
92c388406dbe update CHANGES ns-3.7 to ns-3.8
Craig Dowell <craigdo@ee.washington.edu>
parents: 5868
diff changeset
  1406
functionality to make it easier for sophisticated users to hook traces of 
92c388406dbe update CHANGES ns-3.7 to ns-3.8
Craig Dowell <craigdo@ee.washington.edu>
parents: 5868
diff changeset
  1407
various kinds and write results to (file) streams.
92c388406dbe update CHANGES ns-3.7 to ns-3.8
Craig Dowell <craigdo@ee.washington.edu>
parents: 5868
diff changeset
  1408
Before:
92c388406dbe update CHANGES ns-3.7 to ns-3.8
Craig Dowell <craigdo@ee.washington.edu>
parents: 5868
diff changeset
  1409
<pre>
6032
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1410
  CsmaHelper::EnablePcapAll ();
5933
2fc170de5400 Update release notes and changes for ns-3.8
Josh Pelkey <jpelkey@gatech.edu>
parents: 5868
diff changeset
  1411
6032
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1412
  std::ofstream ascii;
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1413
  ascii.open ("csma-one-subnet.tr", std::ios_base::binary | std::ios_base::out);
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1414
  CsmaHelper::EnableAsciiAll (ascii);
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1415
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1416
  InternetStackHelper::EnableAsciiAll (ascii);
6018
92c388406dbe update CHANGES ns-3.7 to ns-3.8
Craig Dowell <craigdo@ee.washington.edu>
parents: 5868
diff changeset
  1417
</pre>
92c388406dbe update CHANGES ns-3.7 to ns-3.8
Craig Dowell <craigdo@ee.washington.edu>
parents: 5868
diff changeset
  1418
After:
92c388406dbe update CHANGES ns-3.7 to ns-3.8
Craig Dowell <craigdo@ee.washington.edu>
parents: 5868
diff changeset
  1419
<pre>
6032
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1420
  CsmaHelper csmaHelper;
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1421
  InternetStackHelper stack;
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1422
  csmaHelper.EnablePcapAll ();
6018
92c388406dbe update CHANGES ns-3.7 to ns-3.8
Craig Dowell <craigdo@ee.washington.edu>
parents: 5868
diff changeset
  1423
6032
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1424
  AsciiTraceHelper ascii;
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1425
  csma.EnableAsciiAll (ascii.CreateFileStream ("csma-one-subnet.tr"));
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1426
a31949e0f1ed update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 6018
diff changeset
  1427
  stack.EnableAsciiIpv4All (stream);
6018
92c388406dbe update CHANGES ns-3.7 to ns-3.8
Craig Dowell <craigdo@ee.washington.edu>
parents: 5868
diff changeset
  1428
</pre>
92c388406dbe update CHANGES ns-3.7 to ns-3.8
Craig Dowell <craigdo@ee.washington.edu>
parents: 5868
diff changeset
  1429
5933
2fc170de5400 Update release notes and changes for ns-3.8
Josh Pelkey <jpelkey@gatech.edu>
parents: 5868
diff changeset
  1430
6113
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1431
<li><b>Serialization and Deserialization</b> in buffer, nix-vector, 
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1432
packet-metadata, and packet has been modified to use raw character 
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1433
buffers, rather than the Buffer class
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1434
<pre>
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1435
+ uint32_t Buffer::GetSerializedSize (void) const;
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1436
+ uint32_t Buffer::Serialize (uint8_t* buffer, uint32_t maxSize) const;
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1437
+ uint32_t Buffer::Deserialize (uint8_t* buffer, uint32_t size); 
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1438
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1439
- void NixVector::Serialize (Buffer::Iterator i, uint32_t size) const;
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1440
+ uint32_t NixVector::Serialize (uint32_t* buffer, uint32_t maxSize) const;
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1441
- uint32_t NixVector::Deserialize (Buffer::Iterator i);
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1442
+ uint32_t NixVector::Deserialize (uint32_t* buffer, uint32_t size);
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1443
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1444
- void PacketMetadata::Serialize (Buffer::Iterator i, uint32_t size) const;
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1445
+ uint32_t PacketMetadata::Serialize (uint8_t* buffer, uint32_t maxSize) const;
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1446
- uint32_t PacketMetadata::Deserialize (Buffer::Iterator i);
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1447
+ uint32_t PacketMetadata::Deserialize (uint8_t* buffer, uint32_t size);
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1448
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1449
+ uint32_t Packet::GetSerializedSize (void) const;
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1450
- Buffer Packet::Serialize (void) const;
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1451
+ uint32_t Packet::Serialize (uint8_t* buffer, uint32_t maxSize) const;
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1452
- void Packet::Deserialize (Buffer buffer);
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1453
+ Packet::Packet (uint8_t const*buffer, uint32_t size, bool magic);
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1454
</pre>
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1455
<li><b>PacketMetadata uid</b> has been changed to a 64-bit value. The 
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1456
lower 32 bits give the uid, while the upper 32-bits give the MPI rank 
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1457
for distributed simulations. For non-distributed simulations, the 
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1458
upper 32 bits are simply zero.
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1459
<pre>
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1460
- inline PacketMetadata (uint32_t uid, uint32_t size);
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1461
+ inline PacketMetadata (uint64_t uid, uint32_t size);
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1462
- uint32_t GetUid (void) const;
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1463
+ uint64_t GetUid (void) const;
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1464
- PacketMetadata::PacketMetadata (uint32_t uid, uint32_t size);
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1465
+ PacketMetadata::PacketMetadata (uint64_t uid, uint32_t size); 
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1466
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1467
- uint32_t Packet::GetUid (void) const;
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1468
+ uint64_t Packet::GetUid (void) const;
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1469
</pre>
6165
55762ca33a99 update CHANGES and RELEASE_NOTES
Josh Pelkey <jpelkey@gatech.edu>
parents: 6117
diff changeset
  1470
55762ca33a99 update CHANGES and RELEASE_NOTES
Josh Pelkey <jpelkey@gatech.edu>
parents: 6117
diff changeset
  1471
<li><b>Moved propagation models</b> from src/devices/wifi to src/common
6184
3bb39c179947 update CHANGES.html for Mtu move
Tom Henderson <tomh@tomh.org>
parents: 6165
diff changeset
  1472
3bb39c179947 update CHANGES.html for Mtu move
Tom Henderson <tomh@tomh.org>
parents: 6165
diff changeset
  1473
<li><b>Moved Mtu attribute from base class NetDevice</b> This attribute is
3bb39c179947 update CHANGES.html for Mtu move
Tom Henderson <tomh@tomh.org>
parents: 6165
diff changeset
  1474
now found in all NetDevice subclasses.  
6113
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1475
</ul>
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1476
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1477
<h2>Changed behavior:</h2>
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1478
<ul>
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1479
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1480
</ul>
0ce37bf4f1c1 Merge distributed simulation code
Josh Pelkey <jpelkey@gatech.edu>
parents: 6111
diff changeset
  1481
5933
2fc170de5400 Update release notes and changes for ns-3.8
Josh Pelkey <jpelkey@gatech.edu>
parents: 5868
diff changeset
  1482
<hr>
5497
d8b1b591839b Document changes to YansWifiPhy defaults
Tom Henderson <tomh@tomh.org>
parents: 5407
diff changeset
  1483
<h1>Changes from ns-3.6 to ns-3.7</h1>
d8b1b591839b Document changes to YansWifiPhy defaults
Tom Henderson <tomh@tomh.org>
parents: 5407
diff changeset
  1484
5526
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1485
5497
d8b1b591839b Document changes to YansWifiPhy defaults
Tom Henderson <tomh@tomh.org>
parents: 5407
diff changeset
  1486
<h2>Changes to build system:</h2>
d8b1b591839b Document changes to YansWifiPhy defaults
Tom Henderson <tomh@tomh.org>
parents: 5407
diff changeset
  1487
d8b1b591839b Document changes to YansWifiPhy defaults
Tom Henderson <tomh@tomh.org>
parents: 5407
diff changeset
  1488
<h2>New API:</h2>
d8b1b591839b Document changes to YansWifiPhy defaults
Tom Henderson <tomh@tomh.org>
parents: 5407
diff changeset
  1489
d8b1b591839b Document changes to YansWifiPhy defaults
Tom Henderson <tomh@tomh.org>
parents: 5407
diff changeset
  1490
<ul>
5858
afb51c7f34c2 bug 667: Add equal-cost multipath routing (ECMP) to IPv4 global routing
Wilson Thong <wilsonwk@ee.cityu.edu.hk>
parents: 5856
diff changeset
  1491
<li><b>Equal-cost multipath for global routing:</b> Enables quagga's
afb51c7f34c2 bug 667: Add equal-cost multipath routing (ECMP) to IPv4 global routing
Wilson Thong <wilsonwk@ee.cityu.edu.hk>
parents: 5856
diff changeset
  1492
equal cost multipath for Ipv4GlobalRouting, and adds an attribute that
afb51c7f34c2 bug 667: Add equal-cost multipath routing (ECMP) to IPv4 global routing
Wilson Thong <wilsonwk@ee.cityu.edu.hk>
parents: 5856
diff changeset
  1493
can enable it with random packet distribution policy across equal cost routes.
5856
7fd20c798a7d bug 742: Implementation of SO_BINDTODEVICE
Antti Mäkelä <zarhan@cc.hut.fi>
parents: 5817
diff changeset
  1494
<li><b>Binding sockets to devices:</b> A method analogous to a SO_BINDTODEVICE
5868
ed1e2ad4c0b9 Fix angle braces in CHANGES.html.
Andrey Mazo <mazo@iitp.ru>
parents: 5858
diff changeset
  1495
socket option has been introduced to class Socket:  <pre>virtual void Socket::BindToNetDevice (Ptr&lt;NetDevice&gt; netdevice);</pre>
5526
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1496
<li><b>Simulator event contexts</b>: The Simulator API now keeps track of a per-event
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1497
'context' (a 32bit integer which, by convention identifies a node by its id). Simulator::GetContext
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1498
returns the context of the currently-executing event while Simulator::ScheduleWithContext creates an
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1499
event with a context different from the execution context of the caller. This API is used
5814
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1500
by the ns-3 logging system to report the execution context of each log line.
5526
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1501
<li><b>Object::DoStart</b>: Users who need to complete their object setup at the start of a simulation
5814
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1502
can override this virtual method, perform their adhoc setup, and then, must chain up to their parent.
5990
20ee319e7e71 a couple of typos.
Andrey Mazo <mazo@iitp.ru>
parents: 5933
diff changeset
  1503
<li><b>Ad hoc On-Demand Distance Vector (AODV)</b> routing model, 
5742
19c79550b371 CHANGES.html, AUTHORS and RELEASE_NOTES updated after AODV merge
Pavel Boyko <boyko@iitp.ru>
parents: 5532
diff changeset
  1504
<a href=http://www.ietf.org/rfc/rfc3561.txt>RFC 3561</a> </li>
5814
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1505
<li><b>Ipv4::IsDestinationAddress (Ipv4Address address, uint32_t iif)</b> Method added to support checks of whether a destination address should be accepted 
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1506
as one of the host's own addresses.  RFC 1122 Strong/Weak end system behavior can be changed with a new attribute (WeakEsModel) in class Ipv4.  </li>
5742
19c79550b371 CHANGES.html, AUTHORS and RELEASE_NOTES updated after AODV merge
Pavel Boyko <boyko@iitp.ru>
parents: 5532
diff changeset
  1507
5814
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1508
<li><b>Net-anim interface</b>: Provides an interface to net-anim, a network animator for point-to-point 
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1509
links in ns-3.  The interface generates a custom trace file for use with the NetAnim program.</li>
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1510
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1511
<li><b>Topology Helpers</b>: New topology helpers have been introduced including PointToPointStarHelper, 
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1512
PointToPointDumbbellHelper, PointToPointGridHelper, and CsmaStarHelper.</li>
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1513
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1514
<li><b>IPv6 extensions support</b>: Provides API to add IPv6 extensions and options. Two examples (fragmentation
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1515
and loose routing) are available.</li>
5497
d8b1b591839b Document changes to YansWifiPhy defaults
Tom Henderson <tomh@tomh.org>
parents: 5407
diff changeset
  1516
</ul>
d8b1b591839b Document changes to YansWifiPhy defaults
Tom Henderson <tomh@tomh.org>
parents: 5407
diff changeset
  1517
5507
915abd2b907b Simulator::SetScheduler now takes an ObjectFactory
Guillaume Seguin <guillaume@segu.in>
parents: 5497
diff changeset
  1518
<h2>Changes to existing API:</h2>
915abd2b907b Simulator::SetScheduler now takes an ObjectFactory
Guillaume Seguin <guillaume@segu.in>
parents: 5497
diff changeset
  1519
<ul>
5856
7fd20c798a7d bug 742: Implementation of SO_BINDTODEVICE
Antti Mäkelä <zarhan@cc.hut.fi>
parents: 5817
diff changeset
  1520
<li><b>Ipv4RoutingProtocol::RouteOutput</b> no longer takes an outgoing 
7fd20c798a7d bug 742: Implementation of SO_BINDTODEVICE
Antti Mäkelä <zarhan@cc.hut.fi>
parents: 5817
diff changeset
  1521
interface index but instead takes an outgoing device pointer; this affects all
7fd20c798a7d bug 742: Implementation of SO_BINDTODEVICE
Antti Mäkelä <zarhan@cc.hut.fi>
parents: 5817
diff changeset
  1522
subclasses of Ipv4RoutingProtocol.
7fd20c798a7d bug 742: Implementation of SO_BINDTODEVICE
Antti Mäkelä <zarhan@cc.hut.fi>
parents: 5817
diff changeset
  1523
<pre>
7fd20c798a7d bug 742: Implementation of SO_BINDTODEVICE
Antti Mäkelä <zarhan@cc.hut.fi>
parents: 5817
diff changeset
  1524
-  virtual Ptr&lt;Ipv4Route&gt; RouteOutput (Ptr&lt;Packet&gt; p, const Ipv4Header &header, uint32_t oif, Socket::SocketErrno &sockerr) = 0;
7fd20c798a7d bug 742: Implementation of SO_BINDTODEVICE
Antti Mäkelä <zarhan@cc.hut.fi>
parents: 5817
diff changeset
  1525
+  virtual Ptr&lt;Ipv4Route&gt; RouteOutput (Ptr&lt;Packet&gt; p, const Ipv4Header &header, Ptr&lt;NetDevice&gt; oif, Socket::SocketErrno &sockerr) = 0;
7fd20c798a7d bug 742: Implementation of SO_BINDTODEVICE
Antti Mäkelä <zarhan@cc.hut.fi>
parents: 5817
diff changeset
  1526
</pre>
7fd20c798a7d bug 742: Implementation of SO_BINDTODEVICE
Antti Mäkelä <zarhan@cc.hut.fi>
parents: 5817
diff changeset
  1527
<li><b>Ipv6RoutingProtocol::RouteOutput</b> no longer takes an outgoing 
7fd20c798a7d bug 742: Implementation of SO_BINDTODEVICE
Antti Mäkelä <zarhan@cc.hut.fi>
parents: 5817
diff changeset
  1528
interface index but instead takes an outgoing device pointer; this affects all
7fd20c798a7d bug 742: Implementation of SO_BINDTODEVICE
Antti Mäkelä <zarhan@cc.hut.fi>
parents: 5817
diff changeset
  1529
subclasses of Ipv6RoutingProtocol.
7fd20c798a7d bug 742: Implementation of SO_BINDTODEVICE
Antti Mäkelä <zarhan@cc.hut.fi>
parents: 5817
diff changeset
  1530
<pre>
7fd20c798a7d bug 742: Implementation of SO_BINDTODEVICE
Antti Mäkelä <zarhan@cc.hut.fi>
parents: 5817
diff changeset
  1531
-  virtual Ptr&lt;Ipv6Route&gt; RouteOutput (Ptr&lt;Packet&gt; p, const Ipv6Header &header, uint32_t oif, Socket::SocketErrno &sockerr) = 0;
7fd20c798a7d bug 742: Implementation of SO_BINDTODEVICE
Antti Mäkelä <zarhan@cc.hut.fi>
parents: 5817
diff changeset
  1532
+  virtual Ptr&lt;Ipv6Route&gt; RouteOutput (Ptr&lt;Packet&gt; p, const Ipv6Header &header, Ptr&lt;NetDevice&gt; oif, Socket::SocketErrno &sockerr) = 0;
7fd20c798a7d bug 742: Implementation of SO_BINDTODEVICE
Antti Mäkelä <zarhan@cc.hut.fi>
parents: 5817
diff changeset
  1533
</pre>
5526
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1534
<li><b>Application::Start</b> and <b>Application::Stop</b> have been renamed to
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1535
<b>Application::SetStartTime</b> and <b>Application::SetStopTime</b>.
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1536
<li><b>Channel::Send</b>: this method does not really exist but each subclass of the Channel
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1537
base class must implement a similar method which sends a packet from a node to another node.
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1538
Users must now use Simulator::ScheduleWithContext instead of Simulator::Schedule to schedule
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1539
the reception event on a remote node.<br>
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1540
For example, before:
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1541
<pre>
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1542
void
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1543
SimpleChannel::Send (Ptr&lt;Packet&gt; p, uint16_t protocol, 
9751
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
  1544
         Mac48Address to, Mac48Address from,
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
  1545
         Ptr&lt;SimpleNetDevice&gt; sender)
5526
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1546
{
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1547
  for (std::vector&lt;Ptr&lt;SimpleNetDevice&gt; &gt;::const_iterator i = m_devices.begin (); i != m_devices.end (); ++i)
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1548
    {
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1549
      Ptr&lt;SimpleNetDevice&gt; tmp = *i;
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1550
      if (tmp == sender)
9751
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
  1551
  {
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
  1552
    continue;
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
  1553
  }
5526
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1554
      Simulator::ScheduleNow (&SimpleNetDevice::Receive, tmp, p->Copy (), protocol, to, from);
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1555
    }
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1556
}
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1557
</pre>
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1558
After:
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1559
<pre>
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1560
void
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1561
SimpleChannel::Send (Ptr&lt;Packet&gt; p, uint16_t protocol, 
9751
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
  1562
         Mac48Address to, Mac48Address from,
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
  1563
         Ptr&lt;SimpleNetDevice&gt; sender)
5526
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1564
{
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1565
  for (std::vector&lt;Ptr&lt;SimpleNetDevice&gt; &gt;::const_iterator i = m_devices.begin (); i != m_devices.end (); ++i)
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1566
    {
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1567
      Ptr&lt;SimpleNetDevice&gt; tmp = *i;
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1568
      if (tmp == sender)
9751
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
  1569
  {
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
  1570
    continue;
2d9e9b0ae1b8 improve formatting
Tom Henderson <tomh@tomh.org>
parents: 9748
diff changeset
  1571
  }
5526
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1572
      Simulator::ScheduleWithContext (tmp->GetNode ()->GetId (), Seconds (0),
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1573
                                      &SimpleNetDevice::Receive, tmp, p->Copy (), protocol, to, from);
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1574
    }
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1575
}
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1576
</pre>
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1577
5507
915abd2b907b Simulator::SetScheduler now takes an ObjectFactory
Guillaume Seguin <guillaume@segu.in>
parents: 5497
diff changeset
  1578
<li><b>Simulator::SetScheduler</b>: this method now takes an ObjectFactory
915abd2b907b Simulator::SetScheduler now takes an ObjectFactory
Guillaume Seguin <guillaume@segu.in>
parents: 5497
diff changeset
  1579
instead of an object pointer directly. Existing callers can trivially be
915abd2b907b Simulator::SetScheduler now takes an ObjectFactory
Guillaume Seguin <guillaume@segu.in>
parents: 5497
diff changeset
  1580
updated to use this new method.<br>
915abd2b907b Simulator::SetScheduler now takes an ObjectFactory
Guillaume Seguin <guillaume@segu.in>
parents: 5497
diff changeset
  1581
Before:
915abd2b907b Simulator::SetScheduler now takes an ObjectFactory
Guillaume Seguin <guillaume@segu.in>
parents: 5497
diff changeset
  1582
<pre>
915abd2b907b Simulator::SetScheduler now takes an ObjectFactory
Guillaume Seguin <guillaume@segu.in>
parents: 5497
diff changeset
  1583
Ptr&lt;Scheduler&gt; sched = CreateObject&lt;ListScheduler&gt; ();
915abd2b907b Simulator::SetScheduler now takes an ObjectFactory
Guillaume Seguin <guillaume@segu.in>
parents: 5497
diff changeset
  1584
Simulator::SetScheduler (sched);
915abd2b907b Simulator::SetScheduler now takes an ObjectFactory
Guillaume Seguin <guillaume@segu.in>
parents: 5497
diff changeset
  1585
</pre>
915abd2b907b Simulator::SetScheduler now takes an ObjectFactory
Guillaume Seguin <guillaume@segu.in>
parents: 5497
diff changeset
  1586
After:
915abd2b907b Simulator::SetScheduler now takes an ObjectFactory
Guillaume Seguin <guillaume@segu.in>
parents: 5497
diff changeset
  1587
<pre>
915abd2b907b Simulator::SetScheduler now takes an ObjectFactory
Guillaume Seguin <guillaume@segu.in>
parents: 5497
diff changeset
  1588
ObjectFactory sched;
915abd2b907b Simulator::SetScheduler now takes an ObjectFactory
Guillaume Seguin <guillaume@segu.in>
parents: 5497
diff changeset
  1589
sched.SetTypeId ("ns3::ListScheduler");
915abd2b907b Simulator::SetScheduler now takes an ObjectFactory
Guillaume Seguin <guillaume@segu.in>
parents: 5497
diff changeset
  1590
Simulator::SetScheduler (sched);
915abd2b907b Simulator::SetScheduler now takes an ObjectFactory
Guillaume Seguin <guillaume@segu.in>
parents: 5497
diff changeset
  1591
</pre>
915abd2b907b Simulator::SetScheduler now takes an ObjectFactory
Guillaume Seguin <guillaume@segu.in>
parents: 5497
diff changeset
  1592
5742
19c79550b371 CHANGES.html, AUTHORS and RELEASE_NOTES updated after AODV merge
Pavel Boyko <boyko@iitp.ru>
parents: 5532
diff changeset
  1593
<li> Extensions to IPv4 <b>Ping</b> application: verbose output and the ability to configure different ping 
5814
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1594
sizes and time intervals (via new attributes)
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1595
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1596
<li><b>Topology Helpers</b>: Previously, topology helpers such as a point-to-point star existed in the 
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1597
PointToPointHelper class in the form of a method (ex: PointToPointHelper::InstallStar).  These topology 
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1598
helpers have been pulled out of the specific helper classes and created as separate classes.  Several 
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1599
different topology helper classes now exist including PointToPointStarHelper, PointToPointGridHelper, 
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1600
PointToPointDumbbellHelper, and CsmaStarHelper.  For example, a user wishes to create a 
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1601
point-to-point star network:<br>
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1602
Before:
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1603
<pre>
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1604
NodeContainer hubNode;
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1605
NodeContainer spokeNodes;
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1606
hubNode.Create (1);
5868
ed1e2ad4c0b9 Fix angle braces in CHANGES.html.
Andrey Mazo <mazo@iitp.ru>
parents: 5858
diff changeset
  1607
Ptr&lt;Node&gt; hub = hubNode.Get (0);
5814
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1608
spokeNodes.Create (nNodes - 1);
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1609
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1610
PointToPointHelper pointToPoint;
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1611
pointToPoint.SetDeviceAttribute ("DataRate", StringValue ("5Mbps"));
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1612
pointToPoint.SetChannelAttribute ("Delay", StringValue ("2ms"));
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1613
NetDeviceContainer hubDevices, spokeDevices;
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1614
pointToPoint.InstallStar (hubNode.Get (0), spokeNodes, hubDevices, spokeDevices);
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1615
</pre>
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1616
After:
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1617
<pre>
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1618
PointToPointHelper pointToPoint;
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1619
pointToPoint.SetDeviceAttribute ("DataRate", StringValue ("5Mbps"));
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1620
pointToPoint.SetChannelAttribute ("Delay", StringValue ("2ms"));
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1621
PointToPointStarHelper star (nSpokes, pointToPoint);
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1622
</pre>
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1623
5214623658f2 Update CHANGES.html.
Sebastien Vincent <sebastien.vincent@turnserver.org>
parents: 5812
diff changeset
  1624
</li>
5742
19c79550b371 CHANGES.html, AUTHORS and RELEASE_NOTES updated after AODV merge
Pavel Boyko <boyko@iitp.ru>
parents: 5532
diff changeset
  1625
5507
915abd2b907b Simulator::SetScheduler now takes an ObjectFactory
Guillaume Seguin <guillaume@segu.in>
parents: 5497
diff changeset
  1626
</ul>
915abd2b907b Simulator::SetScheduler now takes an ObjectFactory
Guillaume Seguin <guillaume@segu.in>
parents: 5497
diff changeset
  1627
5526
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1628
<h2>Changed behavior:</h2>
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1629
<ul>
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1630
<li> Changed default value of YansWifiPhy::EnergyDetectionThreshold from
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1631
-140.0 dBm to -96.0 dBm.  Changed default value of 
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1632
YansWifiPhy::CcaModelThreshold from -140.0 dBm to -99.0 dBm.  Rationale
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1633
can be found <a href="http://www.nsnam.org/bugzilla/show_bug.cgi?id=689"> 
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1634
here</a>.
5817
87aaf687f869 updated CHANGES.html after fixing bug 695
Kirill Andreev <andreev@iitp.ru>
parents: 5814
diff changeset
  1635
</li>
87aaf687f869 updated CHANGES.html after fixing bug 695
Kirill Andreev <andreev@iitp.ru>
parents: 5814
diff changeset
  1636
<li> Default TTL of IPv4 broadcast datagrams changed from 1 to 64.</li>
87aaf687f869 updated CHANGES.html after fixing bug 695
Kirill Andreev <andreev@iitp.ru>
parents: 5814
diff changeset
  1637
<li> Changed DcfManager::UpdateBackoff (): using flooring instead of rounding in calculation of remaining slots. <a href="http://www.nsnam.org/bugzilla/show_bug.cgi?id=695">
87aaf687f869 updated CHANGES.html after fixing bug 695
Kirill Andreev <andreev@iitp.ru>
parents: 5814
diff changeset
  1638
  See bug 695.</a></li>
5526
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1639
</ul>
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1640
d70ac1951ae4 document API changes for release
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 5507
diff changeset
  1641
5507
915abd2b907b Simulator::SetScheduler now takes an ObjectFactory
Guillaume Seguin <guillaume@segu.in>
parents: 5497
diff changeset
  1642
<hr>
4681
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1643
<h1>Changes from ns-3.5 to ns-3.6</h1>
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1644
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1645
<h2>Changes to build system:</h2>
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1646
<ul>
5407
4ad0d23af431 update CHANGES.html and RELEASE_NOTES for release
Craig Dowell <craigdo@ee.washington.edu>
parents: 5224
diff changeset
  1647
<li><b>A new test framework is provided with ns-3.6 that primarilay runs outside waf</b>
4ad0d23af431 update CHANGES.html and RELEASE_NOTES for release
Craig Dowell <craigdo@ee.washington.edu>
parents: 5224
diff changeset
  1648
<p>"./waf check" now runs the new unit tests of the core part of ns-3.6.  
4ad0d23af431 update CHANGES.html and RELEASE_NOTES for release
Craig Dowell <craigdo@ee.washington.edu>
parents: 5224
diff changeset
  1649
In order to run the complete test package, use "./test.py" which is 
4ad0d23af431 update CHANGES.html and RELEASE_NOTES for release
Craig Dowell <craigdo@ee.washington.edu>
parents: 5224
diff changeset
  1650
documented in a new manual -- find it in ./doc/testing.  "./waf check"
4ad0d23af431 update CHANGES.html and RELEASE_NOTES for release
Craig Dowell <craigdo@ee.washington.edu>
parents: 5224
diff changeset
  1651
no longer generates the introspected Doxygen.  Now use "./waf doxygen"
4ad0d23af431 update CHANGES.html and RELEASE_NOTES for release
Craig Dowell <craigdo@ee.washington.edu>
parents: 5224
diff changeset
  1652
to do this and generate the Doxygen documentation in one step.
4ad0d23af431 update CHANGES.html and RELEASE_NOTES for release
Craig Dowell <craigdo@ee.washington.edu>
parents: 5224
diff changeset
  1653
</p>
4681
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1654
</ul>
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1655
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1656
<h2>New API:</h2>
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1657
<ul>
4761
8c0b3a413f4b Add metric and longest prefix match support for IPv6.
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4747
diff changeset
  1658
<li><b>Longest prefix match, support for metrics, for Ipv4StaticRouting and Ipv6StaticRouting</b>
4747
3dc675bb8b20 Static routing with support for metrics and longest prefix match
Antti Makela <zarhan@cc.hut.fi>
parents: 4745
diff changeset
  1659
<p>When performing route lookup, first match for longest prefix, and then
3dc675bb8b20 Static routing with support for metrics and longest prefix match
Antti Makela <zarhan@cc.hut.fi>
parents: 4745
diff changeset
  1660
based on metrics (default metric = 0).  If metrics are equal, most recent
3dc675bb8b20 Static routing with support for metrics and longest prefix match
Antti Makela <zarhan@cc.hut.fi>
parents: 4745
diff changeset
  1661
addition is picked.  Extends API for support of metrics but preserves
3dc675bb8b20 Static routing with support for metrics and longest prefix match
Antti Makela <zarhan@cc.hut.fi>
parents: 4745
diff changeset
  1662
backward compatibility.  One small change is that the default route
3dc675bb8b20 Static routing with support for metrics and longest prefix match
Antti Makela <zarhan@cc.hut.fi>
parents: 4745
diff changeset
  1663
is no longer stored as index 0 route in the host route table so 
3dc675bb8b20 Static routing with support for metrics and longest prefix match
Antti Makela <zarhan@cc.hut.fi>
parents: 4745
diff changeset
  1664
GetDefaultRoute () must be used.
3dc675bb8b20 Static routing with support for metrics and longest prefix match
Antti Makela <zarhan@cc.hut.fi>
parents: 4745
diff changeset
  1665
</p>
3dc675bb8b20 Static routing with support for metrics and longest prefix match
Antti Makela <zarhan@cc.hut.fi>
parents: 4745
diff changeset
  1666
</li>
4745
a0e27af57c8d Allow injection of routes to Ipv4GlobalRouting
Antti Makela <zarhan@cc.hut.fi>
parents: 4735
diff changeset
  1667
<li><b>Route injection for global routing</b>
a0e27af57c8d Allow injection of routes to Ipv4GlobalRouting
Antti Makela <zarhan@cc.hut.fi>
parents: 4735
diff changeset
  1668
<p>Add ability to inject and withdraw routes to Ipv4GlobalRouting.  This
a0e27af57c8d Allow injection of routes to Ipv4GlobalRouting
Antti Makela <zarhan@cc.hut.fi>
parents: 4735
diff changeset
  1669
allows a user to insert a route and have it redistributed like an OSPF
a0e27af57c8d Allow injection of routes to Ipv4GlobalRouting
Antti Makela <zarhan@cc.hut.fi>
parents: 4735
diff changeset
  1670
external LSA to the rest of the topology.
a0e27af57c8d Allow injection of routes to Ipv4GlobalRouting
Antti Makela <zarhan@cc.hut.fi>
parents: 4735
diff changeset
  1671
</p>
a0e27af57c8d Allow injection of routes to Ipv4GlobalRouting
Antti Makela <zarhan@cc.hut.fi>
parents: 4735
diff changeset
  1672
</li>
5184
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1673
4735
f011cf863e07 updated release notes
Nicola Baldo <nbaldo@cttc.es>
parents: 4731
diff changeset
  1674
<li><b>Athstats</b>
f011cf863e07 updated release notes
Nicola Baldo <nbaldo@cttc.es>
parents: 4731
diff changeset
  1675
<p>New classes AthstatsWifiTraceSink and AthstatsHelper.
f011cf863e07 updated release notes
Nicola Baldo <nbaldo@cttc.es>
parents: 4731
diff changeset
  1676
</p>
f011cf863e07 updated release notes
Nicola Baldo <nbaldo@cttc.es>
parents: 4731
diff changeset
  1677
</li>
f011cf863e07 updated release notes
Nicola Baldo <nbaldo@cttc.es>
parents: 4731
diff changeset
  1678
<li><b>WifiRemoteStationManager </b>
f011cf863e07 updated release notes
Nicola Baldo <nbaldo@cttc.es>
parents: 4731
diff changeset
  1679
<p>New trace sources exported by WifiRemoteStationManager: MacTxRtsFailed, MacTxDataFailed, MacTxFinalRtsFailed and MacTxFinalDataFailed.
f011cf863e07 updated release notes
Nicola Baldo <nbaldo@cttc.es>
parents: 4731
diff changeset
  1680
</p>
f011cf863e07 updated release notes
Nicola Baldo <nbaldo@cttc.es>
parents: 4731
diff changeset
  1681
</li>
5184
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1682
4731
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4681
diff changeset
  1683
<li><b> IPv6 additions</b>
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4681
diff changeset
  1684
<p> Add an IPv6 protocol and ICMPv6 capability.
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4681
diff changeset
  1685
<ul>
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4681
diff changeset
  1686
<li> new classes Ipv6, Ipv6Interface, Ipv6L3Protocol, Ipv6L4Protocol
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4681
diff changeset
  1687
<li> Ipv6RawSocket (no UDP or TCP capability yet)
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4681
diff changeset
  1688
<li> a set of classes to implement Icmpv6, including neighbor discovery,
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4681
diff changeset
  1689
router solicitation, DAD
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4681
diff changeset
  1690
<li> new applications Ping6 and Radvd
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4681
diff changeset
  1691
<li> routing objects Ipv6Route and Ipv6MulticastRoute
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4681
diff changeset
  1692
<li> routing protocols Ipv6ListRouting and Ipv6StaticRouting
510db8599bfb second phase of IPv6 checkins from Univ. of Strasbourg team
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4681
diff changeset
  1693
<li> examples: icmpv6-redirect.cc, ping6.cc, radvd.cc, radvd-two-prefix.cc, simple-routing-ping6.cc
5184
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1694
</ul>
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1695
</p>
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1696
</li> 
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1697
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1698
<li><b>Wireless Mesh Networking models</b>
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1699
<ul>
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1700
<p>
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1701
<li> General multi-interface mesh stack infrastructure (devices/mesh module).
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1702
<li> IEEE 802.11s (Draft 3.0) model including Peering Management Protocol and HWMP.
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1703
<li> Forwarding Layer for Meshing (FLAME) protocol.
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1704
</ul>
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1705
</p>
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1706
</li>
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1707
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1708
<li><b>802.11 enhancements</b>
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1709
<p>
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1710
<ul>
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1711
<li> 10MHz and 5MHz channel width supported by 802.11a model (Ramon Bauza and Kirill Andreev).
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1712
</ul>
5189
8fcdf87a790a Channel switching support for Wifi
Ramon Bauza
parents: 5184
diff changeset
  1713
<ul>
8fcdf87a790a Channel switching support for Wifi
Ramon Bauza
parents: 5184
diff changeset
  1714
<li> Channel switching support. YansWifiPhy can now switch among different channels (Ramon Bauza and Pavel Boyko).
8fcdf87a790a Channel switching support for Wifi
Ramon Bauza
parents: 5184
diff changeset
  1715
</ul>
5184
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1716
</p>
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1717
</li>
a109c38131dd Cosmetics
Pavel Boyko <boyko@iitp.ru>
parents: 4764
diff changeset
  1718
5224
06f639d05b8f Merge NixVector Routing code
Josh Pelkey <jpelkey@gatech.edu>
parents: 5189
diff changeset
  1719
<li><b> Nix-vector Routing</b>
06f639d05b8f Merge NixVector Routing code
Josh Pelkey <jpelkey@gatech.edu>
parents: 5189
diff changeset
  1720
<p> Add nix-vector routing protocol
06f639d05b8f Merge NixVector Routing code
Josh Pelkey <jpelkey@gatech.edu>
parents: 5189
diff changeset
  1721
<ul>
06f639d05b8f Merge NixVector Routing code
Josh Pelkey <jpelkey@gatech.edu>
parents: 5189
diff changeset
  1722
<li> new helper class Ipv4NixVectorHelper
06f639d05b8f Merge NixVector Routing code
Josh Pelkey <jpelkey@gatech.edu>
parents: 5189
diff changeset
  1723
</ul>
06f639d05b8f Merge NixVector Routing code
Josh Pelkey <jpelkey@gatech.edu>
parents: 5189
diff changeset
  1724
<ul>
06f639d05b8f Merge NixVector Routing code
Josh Pelkey <jpelkey@gatech.edu>
parents: 5189
diff changeset
  1725
<li> examples: nix-simple.cc, nms-p2p-nix.cc
06f639d05b8f Merge NixVector Routing code
Josh Pelkey <jpelkey@gatech.edu>
parents: 5189
diff changeset
  1726
</ul> 
06f639d05b8f Merge NixVector Routing code
Josh Pelkey <jpelkey@gatech.edu>
parents: 5189
diff changeset
  1727
</p>
06f639d05b8f Merge NixVector Routing code
Josh Pelkey <jpelkey@gatech.edu>
parents: 5189
diff changeset
  1728
</li>
06f639d05b8f Merge NixVector Routing code
Josh Pelkey <jpelkey@gatech.edu>
parents: 5189
diff changeset
  1729
5407
4ad0d23af431 update CHANGES.html and RELEASE_NOTES for release
Craig Dowell <craigdo@ee.washington.edu>
parents: 5224
diff changeset
  1730
<li><b>New Test Framework</b>
4ad0d23af431 update CHANGES.html and RELEASE_NOTES for release
Craig Dowell <craigdo@ee.washington.edu>
parents: 5224
diff changeset
  1731
<p> Add TestCase, TestSuite classes
4ad0d23af431 update CHANGES.html and RELEASE_NOTES for release
Craig Dowell <craigdo@ee.washington.edu>
parents: 5224
diff changeset
  1732
<ul>
4ad0d23af431 update CHANGES.html and RELEASE_NOTES for release
Craig Dowell <craigdo@ee.washington.edu>
parents: 5224
diff changeset
  1733
<li> examples: src/core/names-test-suite.cc, src/core/random-number-test-suite.cc, src/test/ns3tcp/ns3tcp-cwnd-test-suite.cc
4ad0d23af431 update CHANGES.html and RELEASE_NOTES for release
Craig Dowell <craigdo@ee.washington.edu>
parents: 5224
diff changeset
  1734
</ul> 
4ad0d23af431 update CHANGES.html and RELEASE_NOTES for release
Craig Dowell <craigdo@ee.washington.edu>
parents: 5224
diff changeset
  1735
</p>
4ad0d23af431 update CHANGES.html and RELEASE_NOTES for release
Craig Dowell <craigdo@ee.washington.edu>
parents: 5224
diff changeset
  1736
</li>
4ad0d23af431 update CHANGES.html and RELEASE_NOTES for release
Craig Dowell <craigdo@ee.washington.edu>
parents: 5224
diff changeset
  1737
4681
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1738
</ul>
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1739
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1740
<h2>Changes to existing API:</h2>
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1741
<ul>
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1742
<li><b>InterferenceHelper</b>
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1743
<p>The method InterferenceHelper::CalculateTxDuration (uint32_t size, WifiMode payloadMode, WifiPreamble preamble) has been made static, so that the frame duration depends only on the characteristics of the frame (i.e., the function parameters) and not on the particular standard which is used by the receiving PHY. This makes it now possible to correctly calculate the duration of incoming frames in scenarios in which devices using different PHY configurations coexist in the same channel (e.g., a BSS using short preamble and another BSS using long preamble). </p>
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1744
<p> The following member methods have been added to InterferenceHelper:</p>
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1745
<pre>
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1746
  static WifiMode GetPlcpHeaderMode (WifiMode, WifiPreamble);
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1747
  static uint32_t GetPlcpHeaderDurationMicroSeconds (WifiMode, WifiPreamble);
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1748
  static uint32_t GetPlcpPreambleDurationMicroSeconds (WifiMode, WifiPreamble);
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1749
  static uint32_t GetPayloadDurationMicroSeconds (size, WifiMode); </pre>
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1750
<p> The following member methods have been removed from InterferenceHelper:</p>
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1751
<pre>
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1752
  void Configure80211aParameters (void);
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1753
  void Configure80211bParameters (void);
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1754
  void Configure80211_10MhzParameters (void);
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1755
  void Configure80211_5MhzParameters (void);</pre>
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1756
</li>
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1757
<li><b>WifiMode</b>
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1758
<p>WifiMode now has a WifiPhyStandard attribute which identifies the standard the WifiMode belongs to. To properly set this attribute when creating a new WifiMode, it is now required to explicitly pass a WifiPhyStandard parameter to all WifiModeFactory::CreateXXXX() methods. The WifiPhyStandard value of an existing WifiMode can be retrieved using the new method WifiMode::GetStandard().</p>
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1759
</li>
4764
e90e1ef585b0 [Bug 653] NetDevice link change callback (SetLinkChangeCallback -> AddLinkChangeCallback).
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4761
diff changeset
  1760
<li><b>NetDevice</b>
e90e1ef585b0 [Bug 653] NetDevice link change callback (SetLinkChangeCallback -> AddLinkChangeCallback).
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4761
diff changeset
  1761
<p>In order to have multiple link change callback in NetDevice (i.e. to flush ARP and IPv6 neighbor discovery caches), the following member method has been renamed:</p>
e90e1ef585b0 [Bug 653] NetDevice link change callback (SetLinkChangeCallback -> AddLinkChangeCallback).
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4761
diff changeset
  1762
<pre>
e90e1ef585b0 [Bug 653] NetDevice link change callback (SetLinkChangeCallback -> AddLinkChangeCallback).
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4761
diff changeset
  1763
- virtual void SetLinkChangeCallback (Callback&lt;void&gt; callback);
e90e1ef585b0 [Bug 653] NetDevice link change callback (SetLinkChangeCallback -> AddLinkChangeCallback).
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4761
diff changeset
  1764
+ virtual void AddLinkChangeCallback (Callback&lt;void&gt; callback);</pre>
e90e1ef585b0 [Bug 653] NetDevice link change callback (SetLinkChangeCallback -> AddLinkChangeCallback).
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4761
diff changeset
  1765
Now each NetDevice subclasses have a TracedCallback&lt;&gt; object (list of callbacks) instead of Callback&lt;void&gt; ones.
e90e1ef585b0 [Bug 653] NetDevice link change callback (SetLinkChangeCallback -> AddLinkChangeCallback).
Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
parents: 4761
diff changeset
  1766
</li>
4681
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1767
</ul>
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1768
8558474b6149 made InterferenceHelper::CalculateTxDuration () static
Nicola Baldo <nbaldo@cttc.es>
parents: 4643
diff changeset
  1769
<hr>
4385
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1770
<h1>Changes from ns-3.4 to ns-3.5</h1>
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1771
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1772
<h2>Changes to build system:</h2>
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1773
<ul>
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1774
</ul>
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1775
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1776
<h2>New API:</h2>
4492
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1777
4385
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1778
<ul>
4492
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1779
<li><b>YansWifiPhyHelper supporting radiotap and prism PCAP output</b>
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1780
<p>The newly supported pcap formats can be adopted by calling the following new method of YansWifiPhyHelper:</p>
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1781
<pre>
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1782
 +  void SetPcapFormat (enum PcapFormat format);
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1783
</pre>
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1784
where format is one of PCAP_FORMAT_80211_RADIOTAP, PCAP_FORMAT_80211_PRISM or  PCAP_FORMAT_80211. By default, PCAP_FORMAT_80211 is used, so the default PCAP format is the same as before.</p>
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1785
</li>
4502
07d34c0d8d18 new tags
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4475
diff changeset
  1786
4475
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1787
<li> <b>attributes for class Ipv4</b>
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1788
<p> class Ipv4 now contains attributes in ipv4.cc; the first one
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1789
is called "IpForward" that will enable/disable Ipv4 forwarding.  
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1790
</li>
4502
07d34c0d8d18 new tags
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4475
diff changeset
  1791
07d34c0d8d18 new tags
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4475
diff changeset
  1792
<li> <b>packet tags</b>
07d34c0d8d18 new tags
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4475
diff changeset
  1793
<p>class Packet now contains AddPacketTag, RemovePacketTag and PeekPacketTag 
07d34c0d8d18 new tags
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4475
diff changeset
  1794
which can be used to attach a tag to a packet, as opposed to the old 
07d34c0d8d18 new tags
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4475
diff changeset
  1795
AddTag method which attached a tag to a set of bytes. The main 
07d34c0d8d18 new tags
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4475
diff changeset
  1796
semantic difference is in how these tags behave in the presence of 
07d34c0d8d18 new tags
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4475
diff changeset
  1797
fragmentation and reassembly.
07d34c0d8d18 new tags
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4475
diff changeset
  1798
</li>
4505
e865dbc1d157 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4492 4502
diff changeset
  1799
4385
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1800
</ul>
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1801
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1802
<h2>Changes to existing API:</h2>
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1803
<ul>
4426
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  1804
4572
e5dcdf2868df Remove Ipv4Interface::GetMtu ()
Tom Henderson <tomh@tomh.org>
parents: 4568
diff changeset
  1805
<li><b>Ipv4Interface::GetMtu () deleted</b>
e5dcdf2868df Remove Ipv4Interface::GetMtu ()
Tom Henderson <tomh@tomh.org>
parents: 4568
diff changeset
  1806
  <p>The Ipv4Interface API is private to internet-stack module; this method
4639
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1807
was just a pass-through to GetDevice ()-&gt;GetMtu ().
4572
e5dcdf2868df Remove Ipv4Interface::GetMtu ()
Tom Henderson <tomh@tomh.org>
parents: 4568
diff changeset
  1808
  </p>
e5dcdf2868df Remove Ipv4Interface::GetMtu ()
Tom Henderson <tomh@tomh.org>
parents: 4568
diff changeset
  1809
</li>
e5dcdf2868df Remove Ipv4Interface::GetMtu ()
Tom Henderson <tomh@tomh.org>
parents: 4568
diff changeset
  1810
4635
b40170d32073 document global routing API changes
Tom Henderson <tomh@tomh.org>
parents: 4629
diff changeset
  1811
<li><b>GlobalRouteManager::PopulateRoutingTables () and RecomputeRoutingTables () are deprecated </b>
b40170d32073 document global routing API changes
Tom Henderson <tomh@tomh.org>
parents: 4629
diff changeset
  1812
  <p>This API has been moved to the helper API and the above functions will
b40170d32073 document global routing API changes
Tom Henderson <tomh@tomh.org>
parents: 4629
diff changeset
  1813
be removed in ns-3.6.  The new API is:
b40170d32073 document global routing API changes
Tom Henderson <tomh@tomh.org>
parents: 4629
diff changeset
  1814
<pre>
b40170d32073 document global routing API changes
Tom Henderson <tomh@tomh.org>
parents: 4629
diff changeset
  1815
Ipv4GlobalRoutingHelper::PopulateRoutingTables ();
b40170d32073 document global routing API changes
Tom Henderson <tomh@tomh.org>
parents: 4629
diff changeset
  1816
Ipv4GlobalRoutingHelper::RecomputeRoutingTables ();
b40170d32073 document global routing API changes
Tom Henderson <tomh@tomh.org>
parents: 4629
diff changeset
  1817
</pre>
b40170d32073 document global routing API changes
Tom Henderson <tomh@tomh.org>
parents: 4629
diff changeset
  1818
Additionally, these low-level functions in GlobalRouteManager are now public,
b40170d32073 document global routing API changes
Tom Henderson <tomh@tomh.org>
parents: 4629
diff changeset
  1819
allowing more API flexibility at the low level ns-3 API:
b40170d32073 document global routing API changes
Tom Henderson <tomh@tomh.org>
parents: 4629
diff changeset
  1820
<pre>
b40170d32073 document global routing API changes
Tom Henderson <tomh@tomh.org>
parents: 4629
diff changeset
  1821
GlobalRouteManager::DeleteGlobalRoutes ();
b40170d32073 document global routing API changes
Tom Henderson <tomh@tomh.org>
parents: 4629
diff changeset
  1822
GlobalRouteManager::BuildGlobalRoutingDatabase ();
b40170d32073 document global routing API changes
Tom Henderson <tomh@tomh.org>
parents: 4629
diff changeset
  1823
GlobalRouteManager::InitializeRoutes ();
b40170d32073 document global routing API changes
Tom Henderson <tomh@tomh.org>
parents: 4629
diff changeset
  1824
</pre>
b40170d32073 document global routing API changes
Tom Henderson <tomh@tomh.org>
parents: 4629
diff changeset
  1825
  </p>
b40170d32073 document global routing API changes
Tom Henderson <tomh@tomh.org>
parents: 4629
diff changeset
  1826
</li>
b40170d32073 document global routing API changes
Tom Henderson <tomh@tomh.org>
parents: 4629
diff changeset
  1827
4568
8a9c81e59c92 fix examples and documentation for CalcChecksum changes
Tom Henderson <tomh@tomh.org>
parents: 4555
diff changeset
  1828
<li><b>CalcChecksum attribute changes</b>
8a9c81e59c92 fix examples and documentation for CalcChecksum changes
Tom Henderson <tomh@tomh.org>
parents: 4555
diff changeset
  1829
  <p>Four IPv4 CalcChecksum attributes (which enable the computation of 
8a9c81e59c92 fix examples and documentation for CalcChecksum changes
Tom Henderson <tomh@tomh.org>
parents: 4555
diff changeset
  1830
checksums that are disabled by default) have been collapsed into one global 
8a9c81e59c92 fix examples and documentation for CalcChecksum changes
Tom Henderson <tomh@tomh.org>
parents: 4555
diff changeset
  1831
value in class Node.  These four calls: 
8a9c81e59c92 fix examples and documentation for CalcChecksum changes
Tom Henderson <tomh@tomh.org>
parents: 4555
diff changeset
  1832
<pre>
8a9c81e59c92 fix examples and documentation for CalcChecksum changes
Tom Henderson <tomh@tomh.org>
parents: 4555
diff changeset
  1833
Config::SetDefault ("ns3::Ipv4L3Protocol::CalcChecksum", BooleanValue (true)); 
8a9c81e59c92 fix examples and documentation for CalcChecksum changes
Tom Henderson <tomh@tomh.org>
parents: 4555
diff changeset
  1834
Config::SetDefault ("ns3::Icmpv4L4Protocol::CalcChecksum", BooleanValue (true));
8a9c81e59c92 fix examples and documentation for CalcChecksum changes
Tom Henderson <tomh@tomh.org>
parents: 4555
diff changeset
  1835
Config::SetDefault ("ns3::TcpL4Protocol::CalcChecksum", BooleanValue (true));
8a9c81e59c92 fix examples and documentation for CalcChecksum changes
Tom Henderson <tomh@tomh.org>
parents: 4555
diff changeset
  1836
Config::SetDefault ("ns3::UdpL4Protocol::CalcChecksum", BooleanValue (true));
8a9c81e59c92 fix examples and documentation for CalcChecksum changes
Tom Henderson <tomh@tomh.org>
parents: 4555
diff changeset
  1837
</pre>
8a9c81e59c92 fix examples and documentation for CalcChecksum changes
Tom Henderson <tomh@tomh.org>
parents: 4555
diff changeset
  1838
are replaced by one call to:
8a9c81e59c92 fix examples and documentation for CalcChecksum changes
Tom Henderson <tomh@tomh.org>
parents: 4555
diff changeset
  1839
<pre>
8a9c81e59c92 fix examples and documentation for CalcChecksum changes
Tom Henderson <tomh@tomh.org>
parents: 4555
diff changeset
  1840
GlobalValue::Bind ("ChecksumEnabled", BooleanValue (true));
8a9c81e59c92 fix examples and documentation for CalcChecksum changes
Tom Henderson <tomh@tomh.org>
parents: 4555
diff changeset
  1841
</pre>
8a9c81e59c92 fix examples and documentation for CalcChecksum changes
Tom Henderson <tomh@tomh.org>
parents: 4555
diff changeset
  1842
  </p>
8a9c81e59c92 fix examples and documentation for CalcChecksum changes
Tom Henderson <tomh@tomh.org>
parents: 4555
diff changeset
  1843
</li>
8a9c81e59c92 fix examples and documentation for CalcChecksum changes
Tom Henderson <tomh@tomh.org>
parents: 4555
diff changeset
  1844
4555
e33c757f790c update for API changes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4505
diff changeset
  1845
<li><b>CreateObject changes</b>
e33c757f790c update for API changes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4505
diff changeset
  1846
  <p>CreateObject is now able to construct objects with a non-default constructor.
e33c757f790c update for API changes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4505
diff changeset
  1847
   If you used to pass attribute lists to CreateObject, you must now use CreateObjectWithAttributes.
e33c757f790c update for API changes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4505
diff changeset
  1848
  </p>
e33c757f790c update for API changes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4505
diff changeset
  1849
</li>
e33c757f790c update for API changes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4505
diff changeset
  1850
4502
07d34c0d8d18 new tags
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4475
diff changeset
  1851
<li> <b>packet byte tags renaming</b>
07d34c0d8d18 new tags
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4475
diff changeset
  1852
  <ul>
07d34c0d8d18 new tags
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4475
diff changeset
  1853
  <li>Packet::AddTag to Packet::AddByteTag</li>
07d34c0d8d18 new tags
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4475
diff changeset
  1854
  <li>Packet::FindFirstMatchingTag to Packet::FindFirstMatchingByteTag</li>
07d34c0d8d18 new tags
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4475
diff changeset
  1855
  <li>Packet::RemoveAllTags to Packet::RemoveAllByteTags</li>
07d34c0d8d18 new tags
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4475
diff changeset
  1856
  <li>Packet::PrintTags to Packet::PrintByteTags</li>
07d34c0d8d18 new tags
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4475
diff changeset
  1857
  <li>Packet::GetTagIterator to Packet::GetByteTagIterator</li>
07d34c0d8d18 new tags
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4475
diff changeset
  1858
  </ul>
07d34c0d8d18 new tags
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4475
diff changeset
  1859
</li>
07d34c0d8d18 new tags
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4475
diff changeset
  1860
4505
e865dbc1d157 merge with HEAD
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4492 4502
diff changeset
  1861
<li><b>YansWifiPhyHelper::EnablePcap* methods not static any more</b>
4492
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1862
<p>To accommodate the possibility of configuring the PCAP format used for wifi promiscuous mode traces, several methods of YansWifiPhyHelper had to be made non-static:
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1863
<pre>
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1864
-  static void EnablePcap (std::string filename, uint32_t nodeid, uint32_t deviceid);
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1865
+         void EnablePcap (std::string filename, uint32_t nodeid, uint32_t deviceid);
5868
ed1e2ad4c0b9 Fix angle braces in CHANGES.html.
Andrey Mazo <mazo@iitp.ru>
parents: 5858
diff changeset
  1866
-  static void EnablePcap (std::string filename, Ptr&lt;NetDevice&gt; nd);
ed1e2ad4c0b9 Fix angle braces in CHANGES.html.
Andrey Mazo <mazo@iitp.ru>
parents: 5858
diff changeset
  1867
+         void EnablePcap (std::string filename, Ptr&lt;NetDevice&gt; nd);
4492
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1868
-  static void EnablePcap (std::string filename, std::string ndName);
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1869
+         void EnablePcap (std::string filename, std::string ndName);
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1870
-  static void EnablePcap (std::string filename, NetDeviceContainer d);
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1871
+         void EnablePcap (std::string filename, NetDeviceContainer d);
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1872
-  static void EnablePcap (std::string filename, NodeContainer n);
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1873
+         void EnablePcap (std::string filename, NodeContainer n);
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1874
-  static void EnablePcapAll (std::string filename);
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1875
+         void EnablePcapAll (std::string filename);
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1876
</pre>
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1877
</p>
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1878
</li>
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1879
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1880
<li><b>Wifi Promisc Sniff interface modified </b>
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1881
<p> 
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1882
To accommodate support for the radiotap and prism headers in PCAP traces, the interface for promiscuos mode sniff in the wifi device was changed. The new implementation was heavily inspired by the way the madwifi driver handles monitor mode. A distinction between TX and RX events is introduced, to account for the fact that different information is to be put in the radiotap/prism header (e.g., RSSI and noise make sense only for RX packets). The following are the relevant modifications to the WifiPhy class:
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1883
<pre>
4639
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1884
-  void NotifyPromiscSniff (Ptr&lt;const Packet&gt; packet);
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1885
+  void NotifyPromiscSniffRx (Ptr&lt;const Packet&gt; packet, uint16_t channelFreqMhz, uint32_t rate, bool isShortPreamble, double signalDbm, double noiseDbm);
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1886
+  void NotifyPromiscSniffTx (Ptr&lt;const Packet&gt; packet, uint16_t channelFreqMhz, uint32_t rate, bool isShortPreamble);
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1887
-  TracedCallback&lt;Ptr&lt;const Packet&gt; &gt; m_phyPromiscSnifferTrace;
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1888
+  TracedCallback&lt;Ptr&lt;const Packet&gt;, uint16_t, uint32_t, bool, double, double&gt; m_phyPromiscSniffRxTrace;
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1889
+  TracedCallback&lt;Ptr&lt;const Packet&gt;, uint16_t, uint32_t, bool&gt; m_phyPromiscSniffTxTrace;
4492
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1890
</pre>
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1891
The above mentioned callbacks are expected to be used to call the following method to write Wifi PCAP traces in promiscuous mode:
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1892
<pre>
4639
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1893
+  void WriteWifiMonitorPacket(Ptr&lt;const Packet&gt; packet, uint16_t channelFreqMhz, uint32_t rate, bool isShortPreamble, bool isTx, double signalDbm, double noiseDbm);
4492
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1894
</pre>
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1895
In the above method, the isTx parameter is to be used to differentiate between TX and RX packets. For an example of how to implement these callbacks, see the implementation of PcapSniffTxEvent and PcapSniffRxEvent in src/helper/yans-wifi-helper.cc
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1896
</p>
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1897
</li>
3ebeb7bf3c15 added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents: 4475
diff changeset
  1898
4475
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1899
<li><b> Routing decoupled from class Ipv4</b>
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1900
<p> All calls of the form "Ipv4::AddHostRouteTo ()" etc. (i.e. to 
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1901
add static routes, both unicast and multicast) have been moved to a new 
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1902
class Ipv4StaticRouting.  In addition, class Ipv4 now holds only
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1903
one possible routing protocol; the previous way to add routing protocols
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1904
(by ordered list of priority) has been moved to a new class Ipv4ListRouting.
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1905
Class Ipv4 has a new minimal routing API (just to set and get the routing
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1906
protocol):
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1907
<pre>
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1908
-  virtual void AddRoutingProtocol (Ptr&lt;Ipv4RoutingProtocol&gt; routingProtocol, int16_t priority) = 0;
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1909
+  virtual void SetRoutingProtocol (Ptr&lt;Ipv4RoutingProtocol&gt; routingProtocol) = 0;
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1910
+  virtual Ptr&lt;Ipv4RoutingProtocol&gt; GetRoutingProtocol (void) const = 0;
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1911
</pre>
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1912
</li>
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1913
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1914
<li><b> class Ipv4RoutingProtocol is refactored</b>
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1915
<p> The abstract base class Ipv4RoutingProtocol has been refactored to
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1916
align with corresponding Linux Ipv4 routing architecture, and has been
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1917
moved from ipv4.h to a new file ipv4-routing-protocol.h.  The new
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1918
methods (RouteOutput () and RouteInput ()) are aligned with Linux 
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1919
ip_route_output() and ip_route_input().  However,
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1920
the general nature of these calls (synchronous routing lookup for
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1921
locally originated packets, and an asynchronous, callback-based lookup
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1922
for forwarded packets) is still the same.
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1923
<pre>
4639
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1924
-  typedef Callback&lt;void, bool, const Ipv4Route&amp;, Ptr&lt;Packet&gt;, const Ipv4Header&amp;&gt; RouteReplyCallback;
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1925
+  typedef Callback&lt;void, Ptr&lt;Ipv4Route&gt;, Ptr&lt;const Packet&gt;, const Ipv4Header &amp;&gt; UnicastForwardCallback;
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1926
+  typedef Callback&lt;void, Ptr&lt;Ipv4MulticastRoute&gt;, Ptr&lt;const Packet&gt;, const Ipv4Header &amp;&gt; MulticastForwardCallback;
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1927
+  typedef Callback&lt;void, Ptr&lt;const Packet&gt;, const Ipv4Header &amp;, uint32_t &gt; LocalDeliverCallback;
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1928
+  typedef Callback&lt;void, Ptr&lt;const Packet&gt;, const Ipv4Header &amp;&gt; ErrorCallback;
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1929
-  virtual bool RequestInterface (Ipv4Address destination, uint32_t&amp; interface) = 0;
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1930
+  virtual Ptr&lt;Ipv4Route&gt; RouteOutput (Ptr&lt;Packet&gt; p, const Ipv4Header &amp;header, uint32_t oif, Socket::SocketErrno &amp;errno) = 0;
4475
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1931
-  virtual bool RequestRoute (uint32_t interface,
4639
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1932
-                            const Ipv4Header &amp;ipHeader,
4475
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1933
-                            Ptr&lt;Packet&gt; packet,
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1934
-                            RouteReplyCallback routeReply) = 0;
4639
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1935
+  virtual bool RouteInput  (Ptr&lt;const Packet&gt; p, const Ipv4Header &amp;header, Ptr&lt;const NetDevice&gt; idev,
4475
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1936
+                             UnicastForwardCallback ucb, MulticastForwardCallback mcb,
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1937
+                             LocalDeliverCallback lcb, ErrorCallback ecb) = 0;
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1938
</pre>
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1939
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1940
</li>
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1941
<li><b> previous class Ipv4Route, Ipv4MulticastRoute renamed; new classes with
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1942
those same names added</b>
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1943
<p> The previous class Ipv4Route and Ipv4MulticastRoute are used by 
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1944
Ipv4StaticRouting and Ipv4GlobalRouting to record internal routing table
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1945
entries, so they were renamed to class Ipv4RoutingTableEntry and
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1946
Ipv4MulticastRoutingTableEntry, respectively.  In their place, new
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1947
class Ipv4Route and class Ipv4MulticastRoute have been added.  These
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1948
are reference-counted objects that are analogous to Linux struct
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1949
rtable and struct mfc_cache, respectively, to achieve better compatibility
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1950
with Linux routing architecture in the future.  
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1951
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1952
<li><b> class Ipv4 address-to-interface mapping functions changed</b>
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1953
<p>  There was some general cleanup of functions that involve mappings
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1954
from Ipv4Address to either NetDevice or Ipv4 interface index.  
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1955
<pre>
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1956
-  virtual uint32_t FindInterfaceForAddr (Ipv4Address addr) const = 0;
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1957
-  virtual uint32_t FindInterfaceForAddr (Ipv4Address addr, Ipv4Mask mask) const = 0;
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1958
+  virtual int32_t GetInterfaceForAddress (Ipv4Address address) const = 0;
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1959
+  virtual int32_t GetInterfaceForPrefix (Ipv4Address address, Ipv4Mask mask) const = 0;
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1960
-  virtual int32_t FindInterfaceForDevice(Ptr&lt;NetDevice&gt; nd) const = 0;
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1961
+  virtual int32_t GetInterfaceForDevice (Ptr&lt;const NetDevice&gt; device) const = 0;
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1962
-  virtual Ipv4Address GetSourceAddress (Ipv4Address destination) const = 0;
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1963
-  virtual bool GetInterfaceForDestination (Ipv4Address dest,
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1964
-  virtual uint32_t GetInterfaceByAddress (Ipv4Address addr, Ipv4Mask mask = Ipv4Mask("255.255.255.255"));
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1965
</pre>
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1966
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1967
<li><b> class Ipv4 multicast join API deleted</b>
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1968
<p> The following methods are not really used in present form since IGMP
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1969
is not being generated, so they have been removed (planned to be replaced
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1970
by multicast socket-based calls in the future):
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1971
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1972
<pre>
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1973
- virtual void JoinMulticastGroup (Ipv4Address origin, Ipv4Address group) = 0;
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1974
- virtual void LeaveMulticastGroup (Ipv4Address origin, Ipv4Address group) = 0;
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1975
</pre>
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1976
a232dcbbe7a8 api changes and release notes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4426
diff changeset
  1977
4426
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  1978
<li><b>Deconflict NetDevice::ifIndex and Ipv4::ifIndex (bug 85).</b>
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  1979
<p>All function parameters named "ifIndex" that refer 
4385
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1980
to an Ipv4 interface are instead named "interface".
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1981
<pre>
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1982
- static const uint32_t Ipv4RoutingProtocol::IF_INDEX_ANY = 0xffffffff;
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1983
+ static const uint32_t Ipv4RoutingProtocol::INTERFACE_ANY = 0xffffffff;
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1984
4639
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1985
- bool Ipv4RoutingProtocol::RequestIfIndex (Ipv4Address destination, uint32_t&amp; ifIndex);
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1986
+ bool Ipv4RoutingProtocol::RequestInterface (Ipv4Address destination, uint32_t&amp; interface);
4385
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1987
(N.B. this particular function is planned to be renamed to RouteOutput() in the
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1988
proposed IPv4 routing refactoring)
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1989
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1990
- uint32_t Ipv4::GetIfIndexByAddress (Ipv4Address addr, Ipv4Mask mask);
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1991
+ int_32t Ipv4::GetInterfaceForAddress (Ipv4Address address, Ipv4Mask mask) const;
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1992
4639
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1993
- bool Ipv4::GetIfIndexForDestination (Ipv4Address dest, uint32_t &amp;ifIndex) const;
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  1994
+ bool Ipv4::GetInterfaceForDestination (Ipv4Address dest, uint32_t &amp;interface) const;
4385
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1995
(N.B. this function is not needed in the proposed Ipv4 routing refactoring)
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  1996
</pre>
4426
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  1997
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  1998
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  1999
<li><b>Allow multiple IPv4 addresses to be assigned to an interface (bug 188)</b>
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2000
  <ul>
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2001
  <li> Add class Ipv4InterfaceAddress:  
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2002
  This is a new class to resemble Linux's struct in_ifaddr.  It holds IP addressing information, including mask,
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2003
  broadcast address, scope, whether primary or secondary, etc.
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2004
  <pre>
4385
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  2005
+  virtual uint32_t AddAddress (uint32_t interface, Ipv4InterfaceAddress address) = 0;
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  2006
+  virtual Ipv4InterfaceAddress GetAddress (uint32_t interface, uint32_t addressIndex) const = 0;
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  2007
+  virtual uint32_t GetNAddresses (uint32_t interface) const = 0;
4426
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2008
  </pre>
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2009
  <li>Regarding legacy API usage, typically where you once did the following,
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2010
  using the public Ipv4 class interface (e.g.):
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2011
  <pre>
4639
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  2012
  ipv4A-&gt;SetAddress (ifIndexA, Ipv4Address ("172.16.1.1"));
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  2013
  ipv4A-&gt;SetNetworkMask (ifIndexA, Ipv4Mask ("255.255.255.255"));
4426
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2014
  </pre>
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2015
  you now do:
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2016
  <pre>
4385
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  2017
  Ipv4InterfaceAddress ipv4IfAddrA = Ipv4InterfaceAddress (Ipv4Address ("172.16.1.1"), Ipv4Mask ("255.255.255.255"));
4639
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  2018
  ipv4A-&gt;AddAddress (ifIndexA, ipv4IfAddrA);
4426
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2019
  </pre>
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2020
  <li> At the helper API level, one often gets an address from an interface
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2021
  container.  We preserve the legacy GetAddress (uint32_t i) but it
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2022
  is documented that this will return only the first (address index 0)
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2023
  address on the interface, if there are multiple such addresses. 
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2024
  We provide also an overloaded variant for the multi-address case: 
4385
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  2025
4426
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2026
  <pre>
4385
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  2027
Ipv4Address Ipv4InterfaceContainer::GetAddress (uint32_t i)
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  2028
+ Ipv4Address Ipv4InterfaceContainer::GetAddress (uint32_t i, uint32_t j)
4426
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2029
  </pre>
4413
4726838efe7c Added API changes for wifi helpers
Mirko Banchi <mk.banchi@gmail.com>
parents: 4385
diff changeset
  2030
4426
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2031
  </ul>
4413
4726838efe7c Added API changes for wifi helpers
Mirko Banchi <mk.banchi@gmail.com>
parents: 4385
diff changeset
  2032
4426
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2033
<li><b>New WifiMacHelper objects</b>
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2034
<p>The type of wifi MAC is now set by two new specific helpers, NqosWifiMacHelper for non QoS MACs and QosWifiMacHelper for Qos MACs. They are passed as argument to WifiHelper::Install methods.</li>
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2035
  <pre>
4639
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  2036
- void WifiHelper::SetMac (std::string type, std::string n0 = "", const AttributeValue &amp;v0 = EmptyAttributeValue (),...)
4413
4726838efe7c Added API changes for wifi helpers
Mirko Banchi <mk.banchi@gmail.com>
parents: 4385
diff changeset
  2037
4639
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  2038
- NetDeviceContainer WifiHelper::Install (const WifiPhyHelper &amp;phyHelper, NodeContainer c) const
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  2039
+ NetDeviceContainer WifiHelper::Install (const WifiPhyHelper &amp;phyHelper, const WifiMacHelper &amp;macHelper, NodeContainer c) const
4413
4726838efe7c Added API changes for wifi helpers
Mirko Banchi <mk.banchi@gmail.com>
parents: 4385
diff changeset
  2040
4639
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  2041
- NetDeviceContainer WifiHelper::Install (const WifiPhyHelper &amp;phy, Ptr&lt;Node&gt; node) const
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  2042
+ NetDeviceContainer WifiHelper::Install (const WifiPhyHelper &amp;phy, const WifiMacHelper &amp;mac, Ptr&lt;Node&gt; node) const
4413
4726838efe7c Added API changes for wifi helpers
Mirko Banchi <mk.banchi@gmail.com>
parents: 4385
diff changeset
  2043
4639
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  2044
- NetDeviceContainer WifiHelper::Install (const WifiPhyHelper &amp;phy, std::string nodeName) const
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  2045
+ NetDeviceContainer WifiHelper::Install (const WifiPhyHelper &amp;phy, const WifiMacHelper &amp;mac, std::string nodeName) const
4426
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2046
  </pre>
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2047
  See src/helper/nqos-wifi-mac-helper.h and src/helper/qos-wifi-mac-helper.h for more details.
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2048
  </p>
4413
4726838efe7c Added API changes for wifi helpers
Mirko Banchi <mk.banchi@gmail.com>
parents: 4385
diff changeset
  2049
4426
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2050
<li><b>Remove Mac48Address::IsMulticast</b>
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2051
  <p>This method was considered buggy and unsafe to call. Its replacement is Mac48Address::IsGroup.
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2052
  </li>
c8dd5497e809 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4413
diff changeset
  2053
4385
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  2054
</ul>
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  2055
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  2056
<h2>Changed behavior:</h2>
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  2057
<ul>
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  2058
</ul>
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  2059
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  2060
<hr>
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2061
<h1>Changes from ns-3.3 to ns-3.4</h1>
4260
29587ce02a57 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3982
diff changeset
  2062
4385
1114152c44dd update CHANGES.html
Tom Henderson <tomh@tomh.org>
parents: 4305
diff changeset
  2063
<h2>Changes to build system:</h2>
4301
f1c83e54e541 Update CHANGES for ns-3.4 from hg log
Craig Dowell <craigdo@ee.washington.edu>
parents: 4266
diff changeset
  2064
<ul>
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2065
<li>A major option regarding the downloading and building of ns-3 has been
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2066
added for ns-3.4 -- the ns-3-allinone feature.  This allows a user to
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2067
get the most common options for ns-3 downloaded and built with a minimum
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2068
amount of trouble.  See the ns-3 tutorial for a detailed explanation of
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2069
how to use this new feature.</li>
4301
f1c83e54e541 Update CHANGES for ns-3.4 from hg log
Craig Dowell <craigdo@ee.washington.edu>
parents: 4266
diff changeset
  2070
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2071
<li>The build system now runs build items in parallel by default.  This includes
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2072
the regression tests.</li>
4301
f1c83e54e541 Update CHANGES for ns-3.4 from hg log
Craig Dowell <craigdo@ee.washington.edu>
parents: 4266
diff changeset
  2073
</ul>
f1c83e54e541 Update CHANGES for ns-3.4 from hg log
Craig Dowell <craigdo@ee.washington.edu>
parents: 4266
diff changeset
  2074
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2075
<h2>New API:</h2>
4301
f1c83e54e541 Update CHANGES for ns-3.4 from hg log
Craig Dowell <craigdo@ee.washington.edu>
parents: 4266
diff changeset
  2076
<ul>
4639
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  2077
<li>XML support has been added to the ConfigStore in src/contrib/config-store.cc</li>
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2078
4301
f1c83e54e541 Update CHANGES for ns-3.4 from hg log
Craig Dowell <craigdo@ee.washington.edu>
parents: 4266
diff changeset
  2079
<li>The ns-2 calendar queue scheduler option has been ported to src/simulator</li>
f1c83e54e541 Update CHANGES for ns-3.4 from hg log
Craig Dowell <craigdo@ee.washington.edu>
parents: 4266
diff changeset
  2080
f1c83e54e541 Update CHANGES for ns-3.4 from hg log
Craig Dowell <craigdo@ee.washington.edu>
parents: 4266
diff changeset
  2081
<li>A ThreeLogDistancePropagationLossModel has been added to src/devices/wifi</li>
4260
29587ce02a57 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3982
diff changeset
  2082
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2083
<li>ConstantAccelerationMobilityModel in src/mobility/constant-acceleration-mobility-model.h</li>
4266
7b0c4017bc36 Update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 4260
diff changeset
  2084
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2085
<li>A new emulation mode is supported with the TapBridge net device (see
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2086
src/devices/tap-bridge)</li>
4266
7b0c4017bc36 Update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 4260
diff changeset
  2087
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2088
<li>A new facility for naming ns-3 Objects is included (see
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2089
src/core/names.{cc,h})</li>
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2090
4301
f1c83e54e541 Update CHANGES for ns-3.4 from hg log
Craig Dowell <craigdo@ee.washington.edu>
parents: 4266
diff changeset
  2091
<li>Wifi multicast support has been added in src/devices/wifi</li>
f1c83e54e541 Update CHANGES for ns-3.4 from hg log
Craig Dowell <craigdo@ee.washington.edu>
parents: 4266
diff changeset
  2092
</ul>
f1c83e54e541 Update CHANGES for ns-3.4 from hg log
Craig Dowell <craigdo@ee.washington.edu>
parents: 4266
diff changeset
  2093
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2094
<h2>Changes to existing API:</h2>
4266
7b0c4017bc36 Update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 4260
diff changeset
  2095
7b0c4017bc36 Update CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 4260
diff changeset
  2096
<ul>
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2097
<li>Some fairly significant changes have been made to the API of the
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2098
random variable code.  Please see the ns-3 manual and src/core/random-variable.cc
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2099
for details.</li>
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2100
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2101
<li>The trace sources in the various NetDevice classes has been completely
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2102
reworked to allow for a consistent set of trace sources across the
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2103
devices.  The names of the trace sources have been changed to provide
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2104
some context with respect to the level at which the trace occurred.
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2105
A new set of trace sources has been added which emulates the behavior
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2106
of packet sniffers.  These sources have been used to implement tcpdump-
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2107
like functionality and are plumbed up into the helper classes.  The 
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2108
user-visible changes are the trace source name changes and the ability
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2109
to do promiscuous-mode pcap tracing via helpers.  For further information
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2110
regarding these changes, please see the ns-3 manual</li>
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2111
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2112
<li>StaticMobilityModel has been renamed ConstantPositionMobilityModel
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2113
StaticSpeedMobilityModel has been renamed ConstantVelocityMobilityModel</li>
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2114
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2115
<li>The Callback templates have been extended to support more parameters.
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2116
See src/core/callback.h</li>
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2117
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2118
<li>Many helper API have been changed to allow passing Object-based parameters
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2119
as string names to ease working with the object name service.</li>
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2120
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2121
<li>The Config APIs now accept path segments that are names defined by the
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2122
object name service.</li>
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2123
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2124
<li>Minor changes were made to make the system build under the Intel C++ compiler.</li>
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2125
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2126
<li>Trace hooks for association and deassociation to/from an access point were
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2127
added to src/devices/wifi/nqsta-wifi-mac.cc</li>
4260
29587ce02a57 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3982
diff changeset
  2128
</ul>
29587ce02a57 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3982
diff changeset
  2129
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2130
<h2>Changed behavior:</h2>
4301
f1c83e54e541 Update CHANGES for ns-3.4 from hg log
Craig Dowell <craigdo@ee.washington.edu>
parents: 4266
diff changeset
  2131
f1c83e54e541 Update CHANGES for ns-3.4 from hg log
Craig Dowell <craigdo@ee.washington.edu>
parents: 4266
diff changeset
  2132
<ul>
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2133
<li>The tracing system rework has introduced some significant changes in the
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2134
behavior of some trace sources, specifically in the positioning of trace sources
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2135
in the device code.  For example, there were cases where the packet transmit 
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2136
trace source was hit before the packet was enqueued on the device transmit quueue.
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2137
This now happens just before the packet is transmitted over the channel medium.
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2138
The scope of the changes is too large to be included here.  If you have concerns
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2139
regarding trace semantics, please consult the net device documentation for details.
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2140
As is usual, the ultimate source for documentation is the net device source code.</li>
4301
f1c83e54e541 Update CHANGES for ns-3.4 from hg log
Craig Dowell <craigdo@ee.washington.edu>
parents: 4266
diff changeset
  2141
</ul>
f1c83e54e541 Update CHANGES for ns-3.4 from hg log
Craig Dowell <craigdo@ee.washington.edu>
parents: 4266
diff changeset
  2142
4260
29587ce02a57 update CHANGES.html
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3982
diff changeset
  2143
<hr>
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2144
<h1>Changes from ns-3.2 to ns-3.3</h1>
3865
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2145
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2146
<h2>New API:</h2>
3865
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2147
<ul>
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2148
<li>
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2149
ns-3 ABORT macros in src/core/abort.h
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2150
Config::MatchContainer
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2151
ConstCast and DynamicCast helper functions for Ptr casting
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2152
StarTopology added to several topology helpers
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2153
NetDevice::IsBridge () 
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2154
</li>
3865
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2155
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2156
<li>17-11-2008; changeset 
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2157
<a href="http://code.nsnam.org/ns-3-dev/rev/4c1c3f6bcd03">4c1c3f6bcd03</a></li>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2158
<ul>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2159
<li>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2160
The PppHeader previously defined in the point-to-point-net-device code has been 
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2161
made public.
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2162
</li>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2163
</ul>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2164
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2165
<li>17-11-2008; changeset 
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2166
<a href="http://code.nsnam.org/ns-3-dev/rev/16c2970a0344">16c2970a0344</a></li>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2167
<ul>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2168
<li>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2169
An emulated net device has been added as enabling technology for ns-3 emulation
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2170
scenarios.  See src/devices/emu and examples/emu-udp-echo.cc for details.
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2171
</li>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2172
</ul>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2173
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2174
<li>17-11-2008; changeset 
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2175
<a href="http://code.nsnam.org/ns-3-dev/rev/4222173d1e6d">4222173d1e6d</a></li>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2176
<ul>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2177
<li>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2178
Added method InternetStackHelper::EnableAsciiChange to allow allow a user to 
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2179
hook ascii trace to the drop trace events in Ipv4L3Protocol and ArpL3Protocol.
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2180
</li>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2181
</ul>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2182
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2183
</ul>
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2184
<h2>Changes to existing API:</h2>
3865
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2185
<ul>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2186
3982
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2187
<li> NetDevice::MakeMulticastAddress() was renamed to NetDevice::GetMulticast()
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2188
and the original GetMulticast() removed </li>
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2189
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2190
<li> Socket API changes:
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2191
<ul>
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2192
<li> return type of SetDataSentCallback () changed from bool to void </li>
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2193
<li> Socket::Listen() no longer takes a queueLimit argument</li>
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2194
</ul>
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2195
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2196
<li> As part of the Wifi Phy rework, there have been several API changes
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2197
at the low level and helper API level.  </li>
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2198
<ul>
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2199
<li>  At the helper API level, the WifiHelper was split to three classes: 
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2200
a WifiHelper, a YansWifiChannel helper, and a YansWifiPhy helper.  Some
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2201
functions like Ascii and Pcap tracing functions were moved from class
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2202
WifiHelper to class YansWifiPhyHelper. 
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2203
<li>  At the low-level API, there have been a number of changes to
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2204
make the Phy more modular:</li>
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2205
<ul>
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2206
<li> composite-propagation-loss-model.h is removed</li>
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2207
<li> DcfManager::NotifyCcaBusyStartNow() has changed name</li>
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2208
<li> fragmentation related functions (e.g. DcaTxop::GetNFragments()) have
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2209
changed API to account for some implementation changes</li>
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2210
<li> Interference helper and error rate model added </li>
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2211
<li> JakesPropagationLossModel::GetLoss() moved to PropagationLoss() class</li>
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2212
<li> base class WifiChannel made abstract </li>
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2213
<li> WifiNetDevice::SetChannel() removed </li>
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2214
<li> a WifiPhyState helper class added </li>
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2215
<li> addition of the YansWifiChannel and YansWifiPhy classes </li>
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2216
</ul>
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2217
</ul>
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2218
3865
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2219
<li>17-11-2008; changeset 
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2220
<a href="http://code.nsnam.org/ns-3-dev/rev/dacfd1f07538">dacfd1f07538</a></li>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2221
<ul>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2222
<li>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2223
Change attribute "RxErrorModel" to "ReceiveErrorModel" in CsmaNetDevice for 
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2224
consistency between devices.
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2225
</li>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2226
</ul>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2227
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2228
</ul>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2229
<h2>changed behavior:</h2>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2230
<ul>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2231
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2232
<li>17-11-2008; changeset 
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2233
<a href="http://code.nsnam.org/ns-3-dev/rev/ed0dfce40459">ed0dfce40459</a></li>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2234
<ul>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2235
<li>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2236
Relax reasonableness testing in Ipv4AddressHelper::SetBase to allow the 
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2237
assignment of /32 addresses.
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2238
</li>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2239
</ul>
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2240
3949
016c554c4f6d CHANGES.html for global routing supporting bridges
Craig Dowell <craigdo@ee.washington.edu>
parents: 3865
diff changeset
  2241
<li>17-11-2008; changeset 
016c554c4f6d CHANGES.html for global routing supporting bridges
Craig Dowell <craigdo@ee.washington.edu>
parents: 3865
diff changeset
  2242
<a href="http://code.nsnam.org/ns-3-dev/rev/756887a9bbea">756887a9bbea</a></li>
016c554c4f6d CHANGES.html for global routing supporting bridges
Craig Dowell <craigdo@ee.washington.edu>
parents: 3865
diff changeset
  2243
<ul>
016c554c4f6d CHANGES.html for global routing supporting bridges
Craig Dowell <craigdo@ee.washington.edu>
parents: 3865
diff changeset
  2244
<li>
016c554c4f6d CHANGES.html for global routing supporting bridges
Craig Dowell <craigdo@ee.washington.edu>
parents: 3865
diff changeset
  2245
Global routing supports bridge devices.
016c554c4f6d CHANGES.html for global routing supporting bridges
Craig Dowell <craigdo@ee.washington.edu>
parents: 3865
diff changeset
  2246
</li>
016c554c4f6d CHANGES.html for global routing supporting bridges
Craig Dowell <craigdo@ee.washington.edu>
parents: 3865
diff changeset
  2247
</ul>
3982
4f370a1b637c add some things to release notes and changes.html; revise README
Tom Henderson <tomh@tomh.org>
parents: 3949
diff changeset
  2248
</ul>
3949
016c554c4f6d CHANGES.html for global routing supporting bridges
Craig Dowell <craigdo@ee.washington.edu>
parents: 3865
diff changeset
  2249
3865
6647bcafbf3f overdue changes to CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3686
diff changeset
  2250
<hr>
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2251
<h1>Changes from ns-3.1 to ns-3.2</h1>
3593
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2252
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2253
<h2>New API:</h2>
3686
9e2dde61057c fix formatting
Tom Henderson <tomh@tomh.org>
parents: 3667
diff changeset
  2254
<ul>
3593
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2255
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2256
<li>26-08-2008; changeset 
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2257
<a href="http://code.nsnam.org/ns-3-dev/rev/5aa65b1ea001">5aa65b1ea001</a></li>
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2258
<ul>
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2259
<li>
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2260
Add multithreaded and real-time simulator implementation.  Allows for emulated
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2261
net devices running in threads other than the main simulation thread to schedule
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2262
events.  Allows for pacing the simulation clock at 1x real-time.
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2263
</li>
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2264
</ul>
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2265
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2266
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2267
<li>26-08-2008; changeset 
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2268
<a href="http://code.nsnam.org/ns-3-dev/rev/c69779f5e51e">c69779f5e51e</a></li>
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2269
<ul>
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2270
<li>
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2271
Add threading and synchronization primitives.  Enabling technology for 
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2272
multithreaded simulator implementation.
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2273
</li>
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2274
</ul>
dfd634417b8d update AUTHORS, CHANGES, RELEASE_NOTES for ns-3.2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3551
diff changeset
  2275
3686
9e2dde61057c fix formatting
Tom Henderson <tomh@tomh.org>
parents: 3667
diff changeset
  2276
</ul>
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2277
<h2>New API in existing classes:</h2>
3686
9e2dde61057c fix formatting
Tom Henderson <tomh@tomh.org>
parents: 3667
diff changeset
  2278
<ul>
3505
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2279
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2280
<li>01-08-2008; changeset 
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2281
<a href="http://code.nsnam.org/ns-3-dev/rev/a18520551cdf">a18520551cdf</a></li>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2282
<ul>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2283
<li>class ArpCache has two new attributes:  MaxRetries 
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2284
and a Drop trace.  It also has some new public methods but these are 
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2285
mostly for internal use.
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2286
</ul>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2287
</li>
3686
9e2dde61057c fix formatting
Tom Henderson <tomh@tomh.org>
parents: 3667
diff changeset
  2288
3505
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2289
</ul>
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2290
<h2>Changes to existing API:</h2>
3686
9e2dde61057c fix formatting
Tom Henderson <tomh@tomh.org>
parents: 3667
diff changeset
  2291
<ul>
3505
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2292
3667
ba90a28f8c59 prep for ns-3.2-RC2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3645
diff changeset
  2293
<li>05-09-2008; changeset 
ba90a28f8c59 prep for ns-3.2-RC2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3645
diff changeset
  2294
<a href="http://code.nsnam.org/ns-3-dev/rev/aa1fb0f43571">aa1fb0f43571</a></li>
ba90a28f8c59 prep for ns-3.2-RC2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3645
diff changeset
  2295
<ul>
ba90a28f8c59 prep for ns-3.2-RC2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3645
diff changeset
  2296
<li>
ba90a28f8c59 prep for ns-3.2-RC2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3645
diff changeset
  2297
Change naming of MTU and packet size attributes in CSMA and Point-to-Point devices<br>
ba90a28f8c59 prep for ns-3.2-RC2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3645
diff changeset
  2298
After much discussion it was decided that the preferred way to think about 
ba90a28f8c59 prep for ns-3.2-RC2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3645
diff changeset
  2299
the different senses of transmission units and encapsulations was to call the 
ba90a28f8c59 prep for ns-3.2-RC2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3645
diff changeset
  2300
MAC MTU simply MTU and to use the overall packet size as the PHY-level attribute
ba90a28f8c59 prep for ns-3.2-RC2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3645
diff changeset
  2301
of interest.  See the Doxygen of CsmaNetDevice::SetFrameSize and 
ba90a28f8c59 prep for ns-3.2-RC2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3645
diff changeset
  2302
PointToPointNetDevice::SetFrameSize for a detailed description.
ba90a28f8c59 prep for ns-3.2-RC2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3645
diff changeset
  2303
</li>
ba90a28f8c59 prep for ns-3.2-RC2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3645
diff changeset
  2304
</ul>
ba90a28f8c59 prep for ns-3.2-RC2
Craig Dowell <craigdo@ee.washington.edu>
parents: 3645
diff changeset
  2305
3551
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2306
<li>25-08-2008; changeset 
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2307
<a href="http://code.nsnam.org/ns-3-dev/rev/e5ab96db540e">e5ab96db540e</a></li>
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2308
<ul>
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2309
<li>
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2310
bug 273: constify packet pointers.<br>
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2311
The normal and the promiscuous receive callbacks of the NetDevice API
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2312
have been changed from:
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2313
<pre>
4639
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  2314
Callback&lt;bool,Ptr&lt;NetDevice&gt;,Ptr&lt;Packet&gt;,uint16_t,const Address &amp;&gt;
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  2315
Callback&lt;bool,Ptr&lt;NetDevice&gt;, Ptr&lt;Packet&gt;, uint16_t,
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  2316
         const Address &amp;, const Address &amp;, enum PacketType &gt;
3551
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2317
</pre>
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2318
to:
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2319
<pre>
4639
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  2320
Callback&lt;bool,Ptr&lt;NetDevice&gt;,Ptr&lt;const Packet&gt;,uint16_t,const Address &amp;&gt;
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  2321
Callback&lt;bool,Ptr&lt;NetDevice&gt;, Ptr&lt;const Packet&gt;, uint16_t,
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  2322
         const Address &amp;, const Address &amp;, enum PacketType &gt;
3551
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2323
</pre>
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2324
to avoid the kind of bugs reported in 
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2325
<a href="http://www.nsnam.org/bugzilla/show_bug.cgi?id=273">bug 273</a>.
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2326
Users who implement a subclass of the NetDevice base class need to change the signature
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2327
of their SetReceiveCallback and SetPromiscReceiveCallback methods.
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2328
</li>
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2329
</ul>
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2330
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2331
3508
7a3c6148c22d actually use CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3505
diff changeset
  2332
<li>04-08-2008; changeset 
7a3c6148c22d actually use CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3505
diff changeset
  2333
<a href="http://code.nsnam.org/ns-3-dev/rev/cba7b2b80fe8">cba7b2b80fe8</a></li>
7a3c6148c22d actually use CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3505
diff changeset
  2334
<ul>
7a3c6148c22d actually use CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3505
diff changeset
  2335
<li>
3551
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2336
Cleanup of MTU confusion and initialization in CsmaNetDevice<br>
3508
7a3c6148c22d actually use CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3505
diff changeset
  2337
The MTU of the CsmaNetDevice defaulted to 65535.  This did not correspond with
7a3c6148c22d actually use CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3505
diff changeset
  2338
the expected MTU found in Ethernet-like devices.  Also there was not clear 
7a3c6148c22d actually use CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3505
diff changeset
  2339
documentation regarding which MTU was being set.  There are two MTU here, one
7a3c6148c22d actually use CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3505
diff changeset
  2340
at the MAC level and one at the PHY level.  We split out the MTU setting to make
7a3c6148c22d actually use CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3505
diff changeset
  2341
this more clear and set the default PHY level MTU to 1500 to be more like
7a3c6148c22d actually use CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3505
diff changeset
  2342
Ethernet.  The encapsulation mode defaults to LLC/SNAP which then puts the
7a3c6148c22d actually use CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3505
diff changeset
  2343
MAC level MTU at 1492 by default.  We allow users to now set the encapsulation
7a3c6148c22d actually use CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3505
diff changeset
  2344
mode, MAC MTU and PHY MTU while keeping the three values consistent.  See the
7a3c6148c22d actually use CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3505
diff changeset
  2345
Doxygen of CsmaNetDevice::SetMaxPayloadLength for a detailed description of the
7a3c6148c22d actually use CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3505
diff changeset
  2346
issues and solution.
7a3c6148c22d actually use CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3505
diff changeset
  2347
</li>
7a3c6148c22d actually use CHANGES.html
Craig Dowell <craigdo@ee.washington.edu>
parents: 3505
diff changeset
  2348
</ul>
3551
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2349
3505
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2350
<li>21-07-2008; changeset 
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2351
<a href="
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2352
http://code.nsnam.org/ns-3-dev/rev/99698bc858e8">99698bc858e8</a></li>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2353
<ul>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2354
<li> class NetDevice has added a pure virtual method that
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2355
must be implemented by all subclasses:
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2356
<pre>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2357
virtual void SetPromiscReceiveCallback (PromiscReceiveCallback cb) = 0;
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2358
</pre>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2359
All NetDevices must support this method, and must call this callback
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2360
when processing packets in the receive direction (the appropriate place
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2361
to call this is device-dependent).  An approach to stub this out
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2362
temporarily, if you do not care about immediately enabling this
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2363
functionality, would be to add this to your device:
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2364
<pre>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2365
void
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2366
ExampleNetDevice::SetPromiscReceiveCallback
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2367
(NetDevice::PromiscReceiveCallback cb)
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2368
{ 
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2369
  NS_ASSERT_MSG (false, "No implementation yet for
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2370
SetPromiscReceiveCallback");
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2371
}
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2372
</pre>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2373
To implement this properly, consult the CsmaNetDevice for examples of
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2374
when the m_promiscRxCallback is called.
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2375
</li>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2376
</ul>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2377
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2378
<li>03-07-2008; changeset 
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2379
<a href="http://code.nsnam.org/ns-3-dev/rev/d5f8e5fae1c6">d5f8e5fae1c6</a></li>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2380
<ul>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2381
<li>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2382
Miscellaneous cleanup of Udp Helper API, to fix bug 234
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2383
<pre>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2384
class UdpEchoServerHelper
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2385
{
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2386
public:
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2387
- UdpEchoServerHelper ();
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2388
- void SetPort (uint16_t port); 
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2389
+ UdpEchoServerHelper (uint16_t port);
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2390
+ 
4639
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  2391
+ void SetAttribute (std::string name, const AttributeValue &amp;value);
3505
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2392
ApplicationContainer Install (NodeContainer c);
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2393
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2394
class UdpEchoClientHelper
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2395
{
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2396
public:
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2397
- UdpEchoClientHelper ();
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2398
+ UdpEchoClientHelper (Ipv4Address ip, uint16_t port);
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2399
- void SetRemote (Ipv4Address ip, uint16_t port);
4639
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  2400
- void SetAppAttribute (std::string name, const AttributeValue &amp;value);
34e6d141c227 escape html special characters
Andrey Hippo<ahippo@yandex.ru>
parents: 4629
diff changeset
  2401
+ void SetAttribute (std::string name, const AttributeValue &amp;value);
3505
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2402
ApplicationContainer Install (NodeContainer c);
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2403
</pre>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2404
</li>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2405
</ul>
3551
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2406
3505
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2407
<li>03-07-2008; changeset 
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2408
<a href="
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2409
http://code.nsnam.org/ns-3-dev/rev/3cdd9d60f7c7">3cdd9d60f7c7</a></li>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2410
<ul>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2411
<li>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2412
Rename all instances method names using "Set..Parameter" to "Set..Attribute"
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2413
(bug 232)
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2414
</li>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2415
<li> How to fix your code:  Any use of helper API that was using a method
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2416
"Set...Parameter()" should be changed to read "Set...Attribute()".  e.g.
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2417
<pre>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2418
- csma.SetChannelParameter ("DataRate", DataRateValue (5000000));
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2419
- csma.SetChannelParameter ("Delay", TimeValue (MilliSeconds (2)));
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2420
+ csma.SetChannelAttribute ("DataRate", DataRateValue (5000000));
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2421
+ csma.SetChannelAttribute ("Delay", TimeValue (MilliSeconds (2)));
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2422
</pre>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2423
</li>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2424
</ul>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2425
</li>
3686
9e2dde61057c fix formatting
Tom Henderson <tomh@tomh.org>
parents: 3667
diff changeset
  2426
3505
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2427
</ul>
4305
9ec113d84cc8 prettify CHANGES and add behavior changed section for ns-3.4
Craig Dowell <craigdo@ee.washington.edu>
parents: 4301
diff changeset
  2428
<h2>Changed behavior:</h2>
3505
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2429
<ul>
3645
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2430
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2431
<li>07-09-2008; changeset 
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2432
<a href="http://code.nsnam.org/ns-3-dev/rev/5d836ab1523b">5d836ab1523b</a></li>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2433
<ul>
3686
9e2dde61057c fix formatting
Tom Henderson <tomh@tomh.org>
parents: 3667
diff changeset
  2434
3645
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2435
<li>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2436
Implement a finite receive buffer for TCP<br>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2437
The native TCP model in TcpSocketImpl did not support a finite receive buffer.
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2438
This changeset adds the following functionality in this regard:
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2439
<ul>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2440
<li>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2441
Being able to set the receiver buffer size through the attributes system.
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2442
</li>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2443
<li>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2444
This receiver buffer size is now correctly exported in the TCP header as the
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2445
advertised window.  Prior to this changeset, the TCP header advertised window
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2446
was set to the maximum size of 2^16 bytes.
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2447
window
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2448
</li>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2449
<li>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2450
The aforementioned window size is correctly used for flow control, i.e. the
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2451
sending TCP will not send more data than available space in the receiver's
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2452
buffer.
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2453
</li>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2454
<li>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2455
In the case of a receiver window collapse, when a advertised zero-window
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2456
packet is received, the sender enters the persist probing state in which
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2457
it sends probe packets with one payload byte at exponentially backed-off
6273
8d70de29d514 spell check, mostly in comments.
Andrey Mazo <mazo@iitp.ru>
parents: 6184
diff changeset
  2458
intervals up to 60s.  The receiver will continue to send advertised 
3645
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2459
zero-window ACKs of the old data so long as the receiver buffer remains full.
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2460
When the receiver window clears up due to an application read, the TCP
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2461
will finally ACK the probe byte, and update its advertised window appropriately.
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2462
</li>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2463
</ul>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2464
See 
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2465
<a href="http://www.nsnam.org/bugzilla/show_bug.cgi?id=239"> bug 239 </a> for
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2466
more.
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2467
</li>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2468
</ul>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2469
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2470
<li>07-09-2008; changeset 
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2471
<a href="http://code.nsnam.org/ns-3-dev/rev/7afa66c2b291">7afa66c2b291</a></li>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2472
<ul>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2473
<li>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2474
Add correct FIN exchange behavior during TCP closedown<br>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2475
The behavior of the native TcpSocketImpl TCP model was such that the final
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2476
FIN exchange was not correct, i.e. calling Socket::Close didn't send a FIN
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2477
packet, and even if it had, the ACK never came back, and even if it had, the
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2478
ACK would have incorrect sequence number.  All these various problems have been
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2479
addressed by this changeset.  See 
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2480
<a href="http://www.nsnam.org/bugzilla/show_bug.cgi?id=242"> bug 242 </a> for
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2481
more.
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2482
</li>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2483
</ul>
5a0182408867 Update CHANGES.html to reflect the last two changesets
Raj Bhattacharjea <raj.b@gatech.edu>
parents: 3593
diff changeset
  2484
3505
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2485
<li> 28-07-2008; changeset 
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2486
<a href="http://code.nsnam.org/ns-3-dev/rev/6f68f1044df1">6f68f1044df1</a>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2487
<ul>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2488
<li>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2489
OLSR: HELLO messages hold time changed to 3*hello
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2490
interval from hello interval.  This is an important bug fix as
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2491
hold time == refresh time was never intentional, as it leads to
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2492
instability in neighbor detection.
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2493
</ul>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2494
</li>
3686
9e2dde61057c fix formatting
Tom Henderson <tomh@tomh.org>
parents: 3667
diff changeset
  2495
3505
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2496
</ul>
3551
fbf628eb3ca6 document API change
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3508
diff changeset
  2497
3505
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2498
</body>
16005bad2e0b Add CHANGES.html
Tom Henderson <tomh@tomh.org>
parents:
diff changeset
  2499
</html>