Commit Graph

11696 Commits

Author SHA1 Message Date
Alexander Krotov
38868191c0 Add missing cstring include
Required for strncpy on Alpine Linux.
2020-03-25 15:49:49 +03:00
Alexander Krotov
8f08321277 Use only standard stdint types (without u_ prefix) 2020-03-25 15:48:40 +03:00
Tommaso Pecorella
a594f16550 internet and sixlowpan: optimization to fragment timeout processing 2020-03-24 21:24:21 +00:00
Sébastien Deronne
005eab8429 wifi: Move operator << for WifiPhyState to its header file 2020-03-24 09:14:20 +01:00
Sébastien Deronne
1c35166949 wifi: Replace C-style casts in rate managers 2020-03-22 22:51:33 +01:00
Tommaso Pecorella
c508f469b7 netanim: remove unnecessary dependency 2020-03-19 16:35:30 +00:00
Tom Henderson
885c5168bb netanim: Remove tabs and other whitespace issues 2020-03-13 14:38:09 -07:00
tommasozugno
3a2fe9726b three-gpp-plm-test: do not use buildings 2020-03-13 11:33:42 +01:00
tommasozugno
ede5358693 AlwaysLosCCM and NeverLosCCM derive from ChannelConditionModel 2020-03-13 11:33:42 +01:00
Peter D. Barnes, Jr
f9b25ac56a core: CommandLine Callback typedef 2020-03-12 17:50:40 -07:00
Mohit P. Tahiliani
04d1553499 wifi: Minor improvements and fix typos 2020-03-12 22:13:31 +05:30
Tommaso Zugno
b8c935ca9c Integration of the 3GPP TR 38.901 pathloss and channel condition model (GSoC 2019) (1/2)
In particular, this commit contains:

* a new abstract class ChannelConditionModel, which provides the base for the
 implementation of specific channel condition models. The main method is
 GetChannelCondition (mm a, mm b), which determines the channel condition
 based on the tx and rx mobility models and returns it as a pointer to an
 object of type ChannelCondition
* the implementation of the subclasses ThreeGppRMaChannelConditionModel,
 ThreeGppUMaChannelConditionModel, ThreeGppUMiStreetCanyonChannelConditionModel,
 ThreeGppIndoorMixedOfficeChannelConditionModel,
 ThreeGppIndoorOpenOfficeChannelConditionModel, which inherits from
 ChannelConditionModel and statistically determines the LOS/NLOS state based on
 the specification in 3GPP TR 38.901
* the implementation of the subclass BuildingsChannelConditionModel, which
 inherits from ChannelConditionModel and determines the LOS/NLOS state based
 on the buildings deployed in the scenario. It has been adapted from the
 mmwave module.
* new classes which extends the PropagationLossModel interface and implements
 the pathloss models defined in 3GPP TR 38.901
 (ThreeGppRmaPropagationLossModel, ThreeGppUmaPropagationLossModel,
 ThreeGppUmiStreeCanyonPropagationLossModel,
 ThreeGppIndoorOfficePropagationLossModel). The main method is DoCalcRxPower
 (txPow, mm a, mm b), which applies the pathloss model taking into account the
 LOS/NLOS channel state and then returns the received power. To retrieve the
 channel state, they interface with the class ChannelConditionModel through
 the method GetChannelCondition (mm a, mm b)
* documentation and test cases for all the new classes
2020-03-12 14:34:22 +01:00
Tom Henderson
8f1bc91395 stats: fix forward declaration 2020-03-11 20:07:35 -07:00
Tommaso Pecorella
57aabffff0 stats: add missing template required by clang-11 2020-03-10 16:41:21 +00:00
ZorazeAli
a41a60d9c8 lte: Rescan bindings 2020-03-10 14:11:40 +01:00
Natale Patriciello
48272070cd lte: Move ComponentCarrierBaseStation implementation into ComponentCarrier file 2020-03-10 14:11:40 +01:00
Natale Patriciello
a6765843e3 lte: Use uint16_t instead of uint8_t for bandwidth 2020-03-10 14:11:40 +01:00
N
a9491c47ae app: E2E stats header
Right now, there is no way of extracting e2e statistics without using flow monitor. This patch enables, with an attribute, the possibility of adding a particular header to the outgoing packets, that will be read from PacketSink. The header contains Sequence, Size, and Timestamp, and therefore at the reception, it is possible to measure throughput and per-packet delay.
2020-03-09 10:39:45 +00:00
Natale Patriciello
1453620d60 stats: SqliteDataOutput uses SqliteOutput as backend 2020-03-09 10:08:42 +01:00
Natale Patriciello
4b1e3516cc stats: Added sqlite output interface
The new class can used as a C++ interface towards the SQlite library.
It should support all the major version of the library.
2020-03-09 10:08:42 +01:00
Sébastien Deronne
7eb4227ef1 wifi: Fix ReportAmpduTxStatus called two times when BAR is explicitely sent upon missed BACK (initial patch from Stefano Avallone) 2020-03-08 08:40:29 +00:00
Tom Henderson
1ede250807 lr-wpan: Rescan APIs 2020-03-05 21:52:59 -08:00
Alberto Gallegos Ramonet
c2054cb25b lr-wpan: Beacon Enabled Mode Direct transmissions 2020-03-06 00:35:40 +01:00
Tom Henderson
2fde925da7 various doxygen updates 2020-03-04 13:43:20 -08:00
Rediet
b278e6be20 wifi: Fix valgrind issues with Tx power computation
Two root causes: uninitialized WifiPhy::m_powerRestricted and WifiTxVector::m_powerLevel
2020-03-04 11:30:37 -08:00
Stefano Avallone
75ace4cf4d wifi: Rescan python bindings 2020-03-03 11:00:45 +01:00
Stefano Avallone
d30a72552a wifi: Fix valgrind issues with wifi-phy-thresholds 2020-03-03 11:00:21 +01:00
Stefano Avallone
5fc00356cf network: Move MaxSize attribute from QueueBase to derived classes 2020-03-02 16:34:44 +01:00
Stefano Avallone
d1d8558d65 wifi: Update backoff before checking for immediate access 2020-03-02 16:00:11 +01:00
Sébastien Deronne
bdf4fafe5c wifi: WifiNetDevice::DoInitialize should check whether objects exists in order to permit to test PHY transmissions without any MAC layer 2020-02-29 17:02:47 +01:00
Sébastien Deronne
f019509b51 wifi: Rename WifiPhy::SendPacket to WifiPhy::Send 2020-02-29 17:02:47 +01:00
Sébastien Deronne
09f2beab45 wifi: Remove unused WifiMacTrailer 2020-02-29 17:02:47 +01:00
Rediet
c81abe28ca wifi: Remove MpduType from CalculateTxDuration arguments 2020-02-29 17:02:43 +01:00
Stefano Avallone
3efa548e87 wifi: Get the WifiMode object corresponding to a given MCS value 2020-02-29 16:58:49 +01:00
Sébastien Deronne
9fc403480d wifi: Store frequency and channel width in WifiPpdu in order to avoid passing them to retrieve the TxVector and the TxDuration 2020-02-29 16:56:03 +01:00
Sébastien Deronne
5650d548df wifi: Replace storage of WifiMode by ModulationClass in WifiPpdu 2020-02-29 16:56:03 +01:00
Sébastien Deronne
cc0e561843 wifi: Get rid of m_totalAmpduSize and m_totalAmpduNumSymbols in WifiPhy 2020-02-29 16:56:03 +01:00
Sébastien Deronne
63296ae216 wifi: Rework functions to get PHY preamble and header duration to look first at the preamble type 2020-02-29 16:56:03 +01:00
Sébastien Deronne
c5f0b33667 wifi: Remove stored PPDU duration in WifiPpdu 2020-02-29 16:56:03 +01:00
Sébastien Deronne
e3f1480ee5 wifi: Remove storage of TXVECTOR in WifiPpdu 2020-02-29 16:56:03 +01:00
Sébastien Deronne
f1aa8d3a7f wifi: Store PHY headers in WifiPpdu 2020-02-29 16:56:03 +01:00
Rediet
840609cc6e netanim: Fetch PSDU in WifiPhyTxBeginTrace to add ByteTag
Otherwise the underlying packet was not longer modified following commit 07bb29ba
2020-02-29 16:56:03 +01:00
Rediet
8f130f9234 wifi: Define new TraceSource handing over PSDU
Only used for Tx PSDU begin trace for the time being
2020-02-29 16:56:03 +01:00
Rediet
f4d1dd4806 wifi: Pass around WifiPpdu and temporarily disable PHY headers
Netanim tag issue will be solved in next commits (crashing tests since byte tags
not found in copied packet, packet copied for building MPDU)
2020-02-29 16:56:03 +01:00
Stefano Avallone
a71eb6df29 wifi: Stations keep the AID received in MGT_ASSOC_RESPONSE 2020-02-29 16:56:03 +01:00
Tommaso Pecorella
8d4297f245 core: Make Watchdog safe to delete 2020-02-27 08:49:12 +00:00
SaiMyGuy (GCI 2019)
ca10f1c560 doc: add \file to src/topology-read files 2020-02-25 13:15:09 -08:00
hax0kartik (GCI 2019)
8142c6e4d0 doc: add \file to src/bridge files 2020-02-24 16:00:02 -08:00
Tom Henderson
858dc55557 traffic-control: (merges !120) More thorough testing of CoDel arithmetic 2020-02-23 21:14:06 -08:00
Tom Henderson
be11a079ce traffic-control: Update API for CoDel to better support testing 2020-02-23 21:14:06 -08:00