Commit Graph

11590 Commits

Author SHA1 Message Date
Tom Henderson
65b2e8d837 bug 1482: avoid newlines in mesh header Print() methods; implement additional Print() methods; additional cleanup of header-related code 2015-08-17 14:31:07 -07:00
Tom Henderson
7e6ca121d6 bug 1482: split PeerLinkFrameStart header into different header types, avoiding the need to set the header type before deserializing 2015-08-17 14:29:51 -07:00
Tom Henderson
134aadf85e move definition of Wifi information element IDs from mesh to wifi module; implement more fully the WifiInformationElementVector header class 2015-08-17 14:29:32 -07:00
Tom Henderson
34b3521638 update test vectors for mesh header changes from bug 1901 patches 2015-08-17 14:02:17 -07:00
Tom Henderson
a9196fc0c6 bug 1901: set MeshControlPresent flag in the QoS Control field 2015-08-17 13:45:08 -07:00
Tom Henderson
a7cb5fb195 bug 1901: set mesh frames to type QOSDATA 2015-08-17 13:44:25 -07:00
Sébastien Deronne
fee54949b1 update RELEASE_NOTES 2015-08-15 19:30:10 +02:00
Vedran Miletić
3a690bd071 Detect gccxml using CastXML wrapper in waf configure 2015-08-15 17:14:51 +02:00
Sébastien Deronne
56dbc49aa3 Add utest for Bug 730 2015-08-15 13:15:03 +02:00
Sébastien Deronne
bc4d797dbf Bug 730 [wifi] - Enabling fragmentation at run-time breaks simulation (patch from Christian Facchini) 2015-08-15 13:14:14 +02:00
Tom Henderson
95ffc4d89b rescan bindings 2015-08-14 08:00:38 -07:00
Tom Henderson
c67535dc7a fix typo 2015-08-13 19:53:56 -07:00
Peter D. Barnes, Jr.
de61c2f689 GetDevice() should be const. 2015-08-13 12:10:01 -07:00
Peter D. Barnes, Jr.
d81c292aba Remove obsolete struct, never invoked. 2015-07-29 12:44:41 -07:00
Tom Henderson
6db467ef95 update test documentation 2015-08-13 11:08:56 -07:00
Tom Henderson
2704990f20 fix mesh doxygen 2015-08-13 10:24:42 -07:00
Tom Henderson
04a0f64427 fix typo 2015-08-13 09:20:55 -07:00
Tom Henderson
686844f601 add missing author 2015-08-13 09:19:58 -07:00
Sébastien Deronne
1723645d4e rescan bindings 2015-08-09 21:17:18 +02:00
Sébastien Deronne
c66070b52c cleanup 2015-08-09 20:50:54 +02:00
Sébastien Deronne
3f1a93b68b [network] Rebuild python bindings 2015-08-09 20:29:17 +02:00
Alexander Krotov
292979e742 Removed GetCurrentStartOffset and GetCurrentEndOffset 2015-07-26 19:44:31 +03:00
Alexander Krotov
7fb26bfe59 Make ByteTagList offsets relative to packet start 2015-07-26 19:44:32 +03:00
Alexander Krotov
19488ad7aa Factor ByteTagList::Adjust out of ByteTagList::AddAt{Start,End} 2015-08-08 23:33:55 +03:00
Alexander Krotov
0afb4dcc80 Optimize ByteTagList adjustment 2015-08-08 23:13:40 +03:00
Alexander Krotov
a32da6615b Byte tags benchmark 2015-08-08 18:21:45 +03:00
Alexander Krotov
57fa7f7b9b Use CommandLine to parse arguments in Packet benchmark 2015-08-08 21:45:16 +03:00
Mathieu Lacage
2e0d44a130 make minimum number of iterations 1 to avoid changing command-line behavior 2015-08-07 02:50:14 -04:00
Alexander Krotov
35f4c249d4 Optimize ByteTagList by tracking byte tags boundaries
This patch restores performance to the level nearly equal to that before
recent bugfixing, as was checked by running utils/bench-packets.
2015-07-26 19:44:33 +03:00
Mathieu Lacage
a623762bd9 merge 2015-08-07 02:47:25 -04:00
Tom Henderson
8509f28877 rescan network bindings 2015-08-06 11:15:42 -07:00
Mathieu Lacage
6c4f5c7c79 run the benchmark over multiple iterations to minimize variance 2015-08-06 05:15:51 -04:00
Alexander Krotov
ded303057a When data is written with WriteU64, it should be tested with ReadU64,
not ReadLsbtohU64.
2015-08-02 20:44:01 +03:00
Alexander Krotov
b62cf68711 Make Buffer::CreateFullCopy private 2015-08-02 19:26:37 +03:00
Alexander Krotov
01983101a6 Fragmentation and concatenation benchmark 2015-08-02 19:26:35 +03:00
Alexander Krotov
6250c61bcf Optimize Buffer::Iterator::CheckNoZero 2015-07-26 19:44:29 +03:00
Mathieu Lacage
fd74ac7616 remove un-needed return value 2015-08-05 15:20:10 -04:00
Mathieu Lacage
3ae948f663 ByteTagList::AddAtEnd/AddAtStart must be called unconditionally to ensure that newly-added bytes are not tagged when 1. Packet::AddByteTag, 2. Packet::RemoveHeader, 3. Packet.AddHEader 2015-08-05 15:11:19 -04:00
Alexander Krotov
b0577a2eac Add "unfixable" ByteTagList test case
This test case creates empty packet, removes last 50 bytes and
adds them back.

As packet is empty initially, no bytes are marked dirty.  Therefore,
Buffer::AddAtEnd returns false, indicating that added bytes were not used
before.  However, it does not know if they were tagged with byte tags.

This bug is not so easy to fix as Buffer does not have enough information
to return true in Buffer::AddAtEnd when it should.
2015-07-26 19:44:31 +03:00
Alexander Krotov
8f515dcc03 Add failing PaddingAtEnd test case 2015-07-26 19:44:30 +03:00
Alexander Krotov
def03785bf Add ByteTagList tests, 3 out of 4 failing 2015-07-26 19:44:29 +03:00
Alina Quereilhac
47d54736d4 bug 2119: Fixing memory leaks in FdNetDevice test with DefaultSimulatorImpl due to non-executed events when simulation ends 2015-08-04 22:45:54 +02:00
Sébastien Deronne
8c21bdae76 add missing mac-tx-middle.h in wifi wscript 2015-08-01 19:48:14 +02:00
Tom Henderson
dabdc5f45b remove debugging statement introduced in changeset 11540:29d2c2f5c2cf 2015-07-31 12:58:40 -07:00
Peter D. Barnes, Jr.
f7311ec17a Build profile macros 2015-07-28 16:33:35 -07:00
Sébastien Deronne
62eb723a6b fix incorrect NAV duration (reported by Xiaowen Wang) 2015-07-28 19:55:54 +02:00
Alexander Krotov
e5697f0c2c Remove ByteTagList::IsDirty{Start,End}
These functions are only used once and do not save time.  Both functions
iterate over the whole list just to prevent iterating over the whole list
if they return false. As traversing the list is required in any case,
these functions can be removed.
2015-07-26 19:44:06 +03:00
Tommaso Pecorella
9b2f73e9ae Bug 2148 - Ipv6Interface::SetUp doesn't re-create the Link-Local addresses 2015-07-24 08:59:57 +02:00
Gustavo Carneiro
1ad026d2bd Update to get pybindgen from github, with new version scheme 2015-07-26 14:01:43 +01:00
Tommaso Pecorella
871b92f377 [Doxygen] update sixlowpan in/out params 2015-07-25 23:55:40 +02:00