Commit Graph

15504 Commits

Author SHA1 Message Date
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
Stefano Avallone
7330485a80 wifi: Introduce the concept of primary20 channel 2021-03-27 14:42:52 +00:00
Sebastien Deronne
2c46620d3e wifi: Add methods to check if a TxVector is DL/UL MU 2021-03-27 14:42:52 +00:00
Rediet
34de93aed5 wifi: Add AID to MAC address conversion accessors to ApWifiMac 2021-03-27 14:42:52 +00:00
Stefano Avallone
74be3d506d wifi: Add header for Trigger Frames 2021-03-27 14:42:52 +00:00
Stefano Avallone
2b0d4ef3de wifi: Add HeConfiguration methods to set/get the BSS color 2021-03-27 14:42:52 +00:00
ZakariaHelalArzoo
8cd99af142 point-to-point: (fixes #236) add packet payload comparison to the test 2021-03-27 11:52:48 +00:00
Tom Henderson
380c8548a0 doc: Update ns-3 version in tutorial examples 2021-03-23 21:14:33 -07:00
Tom Henderson
80e0dd0482 doc: Installation path cannot contain spaces 2021-03-23 20:53:08 -07:00
Tom Henderson
ae712c1165 doc: Fix broken cross-reference 2021-03-23 20:42:01 -07:00
Tom Henderson
692b9c9dbf internet: Update Python bindings 2021-03-19 07:50:07 -07:00
Tom Henderson
5155713aac documentation: Update Python chapter of manual 2021-03-19 07:42:45 -07:00
Tom Henderson
3fa06d0b31 wifi: Provide documentation reference 2021-03-19 07:42:10 -07:00
Tom Henderson
cf5ec034a9 internet: Fix documentation typos 2021-03-19 06:09:25 -07:00