Commit Graph

15517 Commits

Author SHA1 Message Date
Gabriel Arrobo
0ef0690969 build (fixes #360): Search relative path for bindings in src and contrib dir 2021-04-12 15:36:42 -07:00
Rediet (Orange)
32cd83f526 propagation: use sublist in docs for 3GPP models
Lists were merged in 7ac8b0e767
2021-04-12 09:51:07 +00:00
Tommaso Pecorella
7ac8b0e767 propagation: fix documentation warnings 2021-04-12 08:20:27 +00:00
Alexander Krotov
885a7be175 wifi: add missing override annotation to all rate-control classes 2021-04-11 09:08:13 +00:00
Alexander Krotov
503823e2d6 wifi: add virtual WifiRemoteStationManager::AssignStreams
This allows WifiHelper::AssignStreams to call WifiRemoteStationManager::AssignStreams directly without attempting dynamic casts to MinstrelWifiManager, MinstrelHtWifiManager and ThompsonSamplingWifiManager.
2021-04-11 09:08:13 +00:00
Sébastien Deronne
503426c4e9 wifi: Move coding rates to wifi-phy-common.h and fix some typos 2021-04-11 10:40:31 +02:00
Tom Henderson
f3c82116fa spectrum: Update Python bindings 2021-04-10 18:59:00 -07:00
Tom Henderson
cdd959504a antenna: Update Python bindings 2021-04-10 18:59:00 -07:00
Mattia Lecci
2cfcebe0d0 antenna: (merges !481) Update antenna module
- Introduce PhasedArrayModel
- Use the new PhasedArrayModel framework across modules (e.g., 3gpp channel model)
- Improve Angles class. Furthermore, Angles has been translated from elevation to inclination and from degrees to radians
- Update antenna module doc
- Fix random angle generation for the 3gpp channel model. Specifically, cluster and sub-cluster angles might be generated with inclination angles outside the inclination range [0, pi], and have now been fixed.
2021-04-10 18:59:00 -07:00
Tommaso Pecorella
8d4e5772c8 internet: (fixes #385) IPv6 NA are now sent directly by the NetDevice 2021-04-10 01:38:42 +00:00
Tommaso Pecorella
707a929eb2 antenna: fix html doc warnings 2021-04-10 00:07:34 +00:00
Tommaso Pecorella
99da1479a5 traffic-control: fix html doc warnings 2021-04-09 17:34:03 +02:00
Tommaso Pecorella
c525229be8 wifi: Correct Sphinx table formatting in wifi-user.rst 2021-04-09 14:13:53 +02:00
Rediet
36718e2789 wifi: Fix non cited reference in wifi-design.rst 2021-04-09 14:12:08 +02:00
Stefano Avallone
d0d1ac62e9 wifi: Move assert to correct position
When an HT station sends a (HR-)DSSS PPDU, the bandwidth used by the PPDU (22 MHz)
may exceed the channel width (20 MHz). This assert was intended to check that the
width of the primary channel used to transmit a PPDU does not exceed the width of
the operating channel, hence this check does not apply to (HR-)DSSS PPDUs.
2021-04-07 17:20:11 +02:00
Rediet (Orange)
4e55de1437 wifi: Fix failing model documentation pipeline
From 1d1c98ab6e
2021-04-07 12:44:12 +00:00
Rediet
44cdbe0bc8 wifi: fix wifi-inter-bss (#371) 2021-04-07 10:29:03 +02:00
Rediet
d9cdb952ff wifi: Make use of HeConfiguration::GetBssColor rather than passing through attribute system
Suggestion from Stefano. Faster and more straightforward method.
2021-04-07 10:29:03 +02:00
Rediet
3cf6492a23 wifi: PPDUs with BSS color 0 should not be filtered out 2021-04-07 10:29:03 +02:00
Rediet
d5d687e701 wifi: Restrict power only upon first TB PPDU
Otherwise power restricted would not be cleared after end of PPDU
2021-04-07 10:29:03 +02:00
Rediet
903a61198a wifi: Drop instead of abort when PPDU is filtered
Otherwise there were some issues with OBSS-PD based CCA reset.
2021-04-07 10:28:49 +02:00
Ameya Deshpande
705ad52930 network: (fixes #372) Remove std::unary_function
Remove `std::unary_function` usage from `Ipv*AddressHash`.
Use std::hash instead of class Hash (in ns-3). This is because
speed is more important than cryptographic robustness.

Signed-off-by: Ameya Deshpande <ameyanrd@outlook.com>
2021-04-06 13:38:17 +00:00
Alexander Krotov
1d1c98ab6e wifi: add ThompsonSamplingWifiManager 2021-04-06 16:12:12 +03:00
Stefano Avallone
80c3fda5b0 wifi: Cancel preamble reception before transmitting 2021-04-06 07:59:40 +00:00
Stefano Avallone
09896fe2b1 wifi,wave: Rescan python bindings 2021-04-05 20:29:00 +02:00
Stefano Avallone
88b4bc94ba wifi: Move SendAddBaResponse to the HT FEM
All the related methods are already there.
2021-04-05 17:21:10 +00:00
Stefano Avallone
12cd5774b2 wifi: Have WifiRemoteStationManager methods handle MU transmissions 2021-04-05 17:21:10 +00:00
Stefano Avallone
f3bccfd4c9 wifi: Pass RxSignalInfo object to EndReceiveAmpdu 2021-04-05 17:21:10 +00:00
Stefano Avallone
abfc498495 wifi: Move enum TypeOfStation to WifiMac
It makes little sense to be held by QosTxop
2021-04-05 17:21:10 +00:00
Stefano Avallone
f1fad1a6ba wifi: Add PHY methods to ease the handling of UL frames 2021-04-05 17:21:10 +00:00
Stefano Avallone
a4976853d3 wifi: Add a method to compute the MU-BAR size 2021-04-05 17:21:10 +00:00
Stefano Avallone
2816aae35a wifi: Define ack methods for DL OFDMA transmissions 2021-04-05 17:21:10 +00:00
Stefano Avallone
e71a0167d4 wifi: BlockAckManager also stores MU-BAR Trigger Frames 2021-04-05 17:21:10 +00:00
Tommaso Pecorella
3f10d20f39 internet: (fixes #376) remove sgi::hash_map 2021-04-04 01:36:26 +02:00
Ameya Deshpande
815fba9c73 nix-vector-routing: (fixes #373) Remove sub struct Ipv4AddressHash
`Ipv4NixVectorRouting::Ipv4AddressHash` should be removed
in favor of class `Ipv4AddressHash`. Struct `Ipv4AddressHash`
under Ipv4NixVectorRouting is redundant with class
`Ipv4AddressHash`.

Signed-off-by: Ameya Deshpande <ameyanrd@outlook.com>
2021-04-01 23:46:10 +00:00
Stefano Avallone
f920aad547 wifi,wave: Rescan python bindings 2021-03-31 14:53:20 +00:00
Stefano Avallone
bc9ddaa453 wifi: Improve tracing of ACKed/NACKed MPDUs 2021-03-31 14:53:20 +00:00
Stefano Avallone
76b650dae6 wifi: Improve tracing of dropped MPDUs 2021-03-31 14:53:20 +00:00
Stefano Avallone
816bdb8d5b wifi: Add trace sources for MAC timeout events 2021-03-31 14:53:20 +00:00
Stefano Avallone
2c0b3bfb07 wifi: Add more arguments to methods handling timeout events 2021-03-31 14:53:20 +00:00
Stefano Avallone
ced0a2e349 doc: Update wifi documentation 2021-03-31 14:53:20 +00:00
Alberto Gallegos
74532df514 lr-wpan: IFS bug fix (it also solves #238) 2021-03-31 10:51:03 +00:00
Ameya Deshpande
894d786e24 nix-routing: Print Routing Path
- Add a public function `Ipv4NixVectorRouting::PrintRoutingPath`
  It takes source node pointer, destination IPv4 address, the
  OutputStreamWrapper and Time unit as input.

- Add `Ipv4NixVectorHelper::PrintRoutingPathAt` which will help
  to schedule the printing time. Also, it exposes the function
  with the helper class (which is more user-friendly)

- Overwrite the existing `nix-simple.cc` UDP Echo program with
  the PrintRoutingPath implementation.

Sample Output for `src/nix-vector-routing/examples/nix-simple.cc`:

```
Time: +0s, Nix Routing
Route Path: (Node 0 to Node 3, Nix Vector: 101)
10.1.4.1 (Node 0)   ---->   10.1.4.2 (Node 2)
10.1.3.1 (Node 2)   ---->   10.1.3.2 (Node 3)

Time: +2s, Nix Routing
Route Path: (Node 1 to Node 3, Nix Vector: 101)
10.1.2.1 (Node 1)   ---->   10.1.2.2 (Node 2)
10.1.3.1 (Node 2)   ---->   10.1.3.2 (Node 3)

Time: +5s, Nix Routing
Route Path: (Node 2 to Node 0, Nix Vector: 10)
10.1.4.2 (Node 2)   ---->   10.1.4.1 (Node 0)

Time: +6s, Nix Routing
Route Path: (Node 1 to Node 1, Nix Vector: )
10.1.1.2 (Node 1)   ---->   10.1.1.2 (Node 1)
```

Signed-off-by: Ameya Deshpande <ameyanrd@outlook.com>
2021-03-29 13:16:41 +00:00
Stefano Avallone
b8a96f327e wifi: Improve retrieval of association ID from MAC address 2021-03-27 14:42:52 +00:00
Stefano Avallone
a76d15f4b7 wifi: Add a unit test for transmissions over different primary channels 2021-03-27 14:42:52 +00:00
Stefano Avallone
9a6c7eb80c wifi: Fix computation of the band overlapping the center 26-tone RU in 80 MHz channel 2021-03-27 14:42:52 +00:00
Stefano Avallone
fd50c93505 wifi: Do not receive PPDUs that do not overlap with primary20 channel
Unless they are HE TB PPDUs
2021-03-27 14:42:52 +00:00
Stefano Avallone
06c8623a09 wifi: Evaluate SIG-A for all HE PPDU types
With the contribution of Rediet.
Note that the wifi-inter-bss has been disabled because it needs to be fixed.
2021-03-27 14:42:52 +00:00
Stefano Avallone
5e424589d0 wifi: Extend ConvertHeRuSubcarriers to support different primary20 configurations 2021-03-27 14:42:52 +00:00
Stefano Avallone
d536bc6494 wifi: Compute spectrum bands corresponding to primary channels 2021-03-27 14:42:52 +00:00