Commit Graph

15816 Commits

Author SHA1 Message Date
Alexander Krotov
ae87cd35f9 network: Move empty zero area to the end of buffer if needed
If the first buffer has empty zero area, it can
be moved to the end of the buffer and concatenated to the
zero area of the added buffer instead of falling back
to the slow path.
2021-09-13 10:29:49 -07:00
Tom Henderson
310052adab tcp: Add logging to tcp-validation example 2021-09-13 09:23:57 -07:00
Aditya Chirania
3eecf5162c tcp: (fixes #407) Align TcpCubic::GetSsThresh() with Linux 2021-09-13 09:12:52 +05:30
Tommaso Pecorella
7cd03652e1 flow-monitor: Fix time parsing in flowmon-parse-results.py 2021-09-12 16:19:14 +00:00
Tom Henderson
4b2f77e114 wifi: Fix trace source documentation strings 2021-09-10 17:26:07 -07:00
Tommaso Pecorella
65b1e59ccf applications: (fixes #449, #453) add correct receiving address to PacketSink traces for UDP. 2021-09-10 18:09:50 +00:00
Tom Henderson
11e5476566 bindings: Remove stale file
This file predates the modular Python bindings code and is no longer used.
2021-09-09 17:44:26 -07:00
Gabriel Ferreira
bc42c61530 network: simplify CheckNoZero 2021-09-09 16:46:34 -07:00
Tom Henderson
9b1d79dc51 nix-vector-routing: Update copyright information 2021-09-09 14:39:40 -07:00
Szymon Szott
f9cb9342ce Update wifi-spectrum-saturation-example.cc -- fix description of default distance value (from 50 to 1 m) to conform to the code 2021-09-08 15:03:40 +00:00
Tom Henderson
0ec69bda85 wifi: Rescan python bindings 2021-09-07 17:06:27 -07:00
Stefano Avallone
5729302d28 wifi: (Qos)Txop does not need to hold a pointer to WifiRemoteStationManager 2021-09-06 14:07:15 +02:00
Stefano Avallone
c9f52ab17f wifi: Move NotifyInternalCollision to FEM 2021-09-06 14:07:15 +02:00
Stefano Avallone
3c7cb72d61 mesh: A mesh STA is a QoS STA 2021-09-06 14:07:15 +02:00
Stefano Avallone
60f18a068f wifi: RxSignalInfo generated for an MPDU (part of A-MPDU) must contain per-MPDU SNR 2021-09-06 14:06:24 +02:00
Stefano Avallone
90f1f2d824 wifi: Set the Queue Size subfield of the QoS Control field 2021-09-06 13:50:31 +02:00
Stefano Avallone
847c88d392 wifi: BlockAckManager does not need to hold a pointer to WifiRemoteStationManager 2021-09-06 13:15:05 +02:00
Stefano Avallone
a826d8a447 wifi: WifiHelper creates the PHY before the MAC
Besides being more natural, it allows the MAC helper to create
a Protection/Ack Manager for every FrameExchangeManager in case
of multi-link devices.
2021-09-06 13:15:05 +02:00
Gabriel Arrobo
02c20072bc antenna: Avoid multiple cosine and sine computations for the same angle(s) 2021-09-05 15:56:41 +00:00
Tommaso Pecorella
dbb8b67ad8 core (fixes #452) Add TracedCallback::IsEmpty 2021-09-01 04:13:57 +02:00
Tommaso Pecorella
73a14518e7 core: (fixes #444) Remove Pareto::Mean attribute 2021-08-30 20:57:24 +00:00
cbowers1020
b529897c6c Fix Duplicate detection for ipv4 l3 multicast 2021-08-30 19:52:04 +00:00
Ameya Deshpande
d1636bbb52 nix-vector-routing: (fixes #450) Avoid recalculation if path doesn't exist
Signed-off-by: Ameya Deshpande <ameyanrd@outlook.com>
2021-08-30 19:48:54 +00:00
Ameya Deshpande
58aa7cd91c nix-vector-routing: (fixes #448) Fix NMS examples
Signed-off-by: Ameya Deshpande <ameyanrd@outlook.com>
2021-08-30 19:17:57 +02:00
Gabriel Ferreira
442536cd8b wimax: fix wrong downcast 2021-08-27 14:16:08 +00:00
Tommaso Pecorella
4aef3a52c1 config-store: (fixes #443) do not save obsolete attributes 2021-08-27 12:54:58 +00:00
Ameya Deshpande
7be87100a9 nix-vector-routing: Handle Multiple Wifi connections with same channel object
Signed-off-by: Ameya Deshpande <ameyanrd@outlook.com>
2021-08-26 21:09:11 +00:00
Davide Magrin
2d512ad14b wifi: Always track interference when not locking on PPDU
This commit ensures the PPDU that is being received and we cannot lock
on is added as interference. Previously, this did not happen when the
PPDU was too weak to process, or when it was using a modulation that was
not supported.

This commit also de-comments TestUnsupportedModulationReception in
the wifi-phy-reception test suite, which failed before this commit and
does not fail on this commit.
2021-08-26 16:31:25 +00:00
Davide Magrin
269b0b9d82 wifi: Add test for reception of unsupported modulation 2021-08-26 16:31:25 +00:00
Davide Magrin
a559501068 wifi: Always use SwitchMaybeToCcaBusy instead of MaybeCcaBusyDuration
The two functions had the same implementation. This commit removes
MaybeCcaBusyDuration, and only uses SwitchMaybeToCcaBusy instead.
2021-08-26 16:31:25 +00:00
Gabriel Ferreira
22346169fb applications: cache peer address string in UdpClient 2021-08-24 12:35:30 -03:00
Tommaso Pecorella
6ed23c3ae1 core: (fixes #445) update doc for Timer::State 2021-08-23 19:52:57 +00:00
Alexander Krotov
dedcbd8c1e Implement BlockAckManager::DoDispose ()
Nullify all Ptr's there to remove possible circular references.

Do not set m_queue Ptr in the destructor, it is destroyed anyway.
2021-08-23 18:00:03 +03:00
Tom Henderson
24d671704a spectrum: Avoid possible use of null pointer 2021-08-21 18:02:01 -07:00
Gabriel Arrobo
d53ea68bc2 utils: Improve Python style concerning unused variables and return values 2021-08-21 11:00:24 -07:00
Tom Henderson
162b924130 doc: Remove sudo from command (reported by Gabriel Arrobo) 2021-08-20 14:42:44 -07:00
Tom Henderson
7f90de5f31 core: Fix two typos (reported by Gabriel Arrobo) 2021-08-20 14:40:41 -07:00
Ameya Deshpande
3563510a82 nix-vector-routing: Update CHANGES.html and RELEASE_NOTES
Add the change to the existing APIs instead of new

Signed-off-by: Ameya Deshpande <ameyanrd@outlook.com>
2021-08-20 14:31:00 -07:00
yousukeayada
b7629ca90c wifi: Modify a tiny typo 2021-08-19 12:17:43 +00:00
Michael Scoggin
0f3fbffcd7 core: (merges !621) Add DistanceSquared and LengthSquared methods to Vectors
Complements existing methods to avoid unnecessary square roots in some cases
2021-08-18 20:56:40 -07:00
Michael Scoggin
a02b47a08a core: (merges !620) add operator to ptr to facilitate std alg 2021-08-18 16:22:55 -07:00
Tommaso Pecorella
892cfc0315 build: add header deprecation functionality 2021-08-18 18:37:41 +00:00
Tommaso Pecorella
5e73802488 fd-net-device: (fixes #441) Fix double dequeue on device stop 2021-08-18 17:24:51 +00:00
Davide Magrin
4996d4f7a9 wifi: Make MultiUserScheduler return SU_TX if STA is not HE 2021-08-18 14:45:19 +00:00
Stefano Avallone
ed7ecfe002 wifi: MACaddress-to-AID mapping is held by the WifiRemoteStationManager 2021-08-18 14:41:24 +00:00
Sharan Naribole
52f1a7b7d8 wifi: WifiRemoteStationManager uses hash tables instead of vectors 2021-08-18 14:41:24 +00:00
Gabriel Ferreira
2e5cb463a8 wifi: inline TtlExceeded 2021-08-18 14:39:45 +00:00
Gabriel Ferreira
9617bd2e4d wifi: reuse Simulator::Now in WifiMacQueue 2021-08-18 14:39:45 +00:00
Tommaso Pecorella
bbd1d576bc build: update deprecated defs in contrib wscript 2021-08-14 15:24:47 +00:00
Tommaso Pecorella
a3349a598c fd-net-device: (fixes
#434) fix memory leak when device stops
2021-08-13 23:43:54 +00:00