Commit Graph

19048 Commits

Author SHA1 Message Date
Gabriel Ferreira
62ab4ade42 wifi: prevent static initialization order issue with m_staticPhyEntities
Co-authored-by: Stefano Avallone <stavallo@gmail.com>
2021-11-24 11:05:53 -03:00
Stefano Avallone
942f57c762 bindings: Use C++17 to scan bindings, too 2021-11-21 20:39:10 +01:00
Stefano Avallone
a6281448bd traffic-control: Fix doxygen warnings 2021-11-19 14:32:36 +01:00
Eduardo Almeida
574b8b6c64 build: Remove duplicate header checking 2021-11-18 11:59:57 -08:00
Eduardo Almeida
b73323471b test: Remove duplicate config test case 2021-11-18 11:57:00 -08:00
Tom Henderson
49d6754d42 doc: Update coding style 2021-11-18 11:54:22 -08:00
Eduardo Almeida
a6a97ab571 propagation: Mark inherited functions with override keyword 2021-11-18 11:30:00 -08:00
Tom Henderson
9c0d3e8556 wifi,wave,mesh: Rescan python bindings 2021-11-18 08:06:44 -08:00
Stefano Avallone
db6b804b58 wifi: NetDevice pointed to by WifiMac is a WifiNetDevice 2021-11-17 12:33:39 +01:00
Stefano Avallone
239459cbb3 wifi: Remove unnecessary dynamic casts to WifiNetDevice 2021-11-17 12:33:39 +01:00
Stefano Avallone
1be4f3ae27 wifi: NetDevice pointed to by WifiPhy is a WifiNetDevice 2021-11-17 12:33:35 +01:00
Stefano Avallone
2c66c3bd68 wifi: Remove unnecessary includes from wifi-phy.cc 2021-11-16 15:51:28 +01:00
Tom Henderson
99aaa35231 wifi: Rescan python bindings 2021-11-15 12:32:37 -08:00
Sébastien Deronne
9ee287e1bc wifi: Improve constants in TableBasedErrorRateModel 2021-11-14 18:07:14 +00:00
Sébastien Deronne
737c32654d wifi: Cleanup rate control managers and use TXVECTOR to determine the data rate when it is not limited to non-HT 2021-11-14 18:07:14 +00:00
Sébastien Deronne
794d02e07e wifi: Rework WifiMode callbacks 2021-11-14 18:07:14 +00:00
Gabriel Arrobo
6a83a7be6b Add "${workspaceFolder}" to environment 2021-11-12 09:53:04 -08:00
Gabriel Arrobo
419c59fd84 Change to "false" due to problems when using ssh sessions 2021-11-12 09:49:42 -08:00
Peter D. Barnes, Jr
6e5f36a795 doc: (fixes #469) Add license to file.
This is based on the following email exchange with the author of this
file:

From: Konstantin Yagola info@spicebrains.com
Subject: Re: License for Simple Javascript Drop-Down Menu v2.0
Date: November 6, 2021 at 12:50 PM
To: Barnes, Peter D. barnes26@llnl.gov
Hi Peter,

> Please let me know if this is acceptable.

acceptable.

-K.

On 05.11.2021 23:38, Barnes, Peter D. wrote:
> Hello Konstantin,
>
> I apologize but I have led you astray.  Apparently the license I suggested
> is not appropriate for source code.  An appropriate software license would
> be the “modified BSD (3 clause) license”, which is here:
> https://directory.fsf.org/wiki/License:BSD-3-Clause
>
> Please let me know if this is acceptable.
>
> Thanks again for your help in resolving this.
> Peter
>
> On Oct 13, 2021, at 9:15 AM, Konstantin Yagola <info@spicebrains.com> wrote:
>>
>> Hello Barnes,
>>
>> You are right, I'm not familiar with licensing )
>> This is old not complicated script, so you may maintain it based on fair use.
>> If you think "CC BY-SA 4.0” suits best - then ok.
>>
>> -Kind regards,
>> -K Y.
>>
>> On 12.10.2021 1:55, Barnes, Peter D. wrote:
>>> Hello Folks,
>>>
>>> I am one of the maintainers for the ns-3 Simulator project:
>>> https://www.nsnam.org
>>>
>>> It has come to my attention that we are using your Simple Javascript
>>> Drop-Down Menu v2.0, but the use license is not clear.
>>>
>>> Our use is here:
>>> https://gitlab.com/nsnam/ns-3-dev/-/blob/master/doc/ns3_html_theme/static/drop-down-menu.js
>>>
>>> As requested on your page, we have given attribution to your page.
>>> However, since the javascript is copyrighted, there should be a
>>> statement of licensing terms, or reference to a standard license.
>>>
>>> Could you please advise us of the license terms?  If you are not familiar
>>>  with licensing, perhaps you would consider one of the well-known Creative
>>> Commons licenses?  They have a short form which can help you pick one
>>> to meet your needs:
>>> https://chooser-beta.creativecommons.org
>>>
>>> Given  your encouraging statement
>>>
>>>> That's it! All you have to do now is add some hover styles and make it
>>>> your own. Enjoy!
>>>> If you want to use this script on your page, please place link to
>>>> http://javascript-array.com at one of your pages.
>>>
>>> might I suggest "CC BY-SA 4.0”.
>>>
>>> Please let me know if that is acceptable, or if you choose another license,
>>> and I will update our file to reflect that.
>>>
>>> Thanks,
>>> Peter
2021-11-11 18:03:46 +00:00
Stefano Avallone
9db5a061f4 wifi: (fixes #480) Call ReportDataFailed only for failed non-group Data frames
As a result of an internal collision, the transmission of any type
of frame may fail (in the bug report, it was a Beacon frame)
2021-11-10 17:44:50 +01:00
Tom Henderson
dbaa3d3a86 wifi: Rescan python bindings 2021-11-09 11:51:35 -08:00
Sharan Naribole
6394a30aa9 wifi: (fixes #459) Fix HeCapabilities IEEE 802.11ax-compliance 2021-11-08 09:21:46 +00:00
Eduardo Almeida
5dc117216a Fix doxygen warning 2021-11-04 14:19:29 -07:00
Eduardo Almeida
a2efceffb2 Simplify trivial bool statements 2021-11-04 14:19:29 -07:00
Greg Steinbrecher
161c4fa2ce internet: read correct bits when deserializing IPv6 flow label
On line 153, `m_flowLabel` is OR-ed into the LSBs of `vTcFl`, which is then written with `WriteHtonU32` into the buffer. On line 169, `vTcFl` is read out using `ReadNtohU32`, so the byte order should be the same as it was on line 153. However, currently `m_flowLabel` is being assigned the value of `vTcFl` masked by `0xfff00000`.

This commit changes line 177 to read the correct set of 20 bits to recover the original flow label.

One question: Right now, `SetFlowLabel` (and the other setters) don't check that the value is in range, and Serialize doesn't mask them. Should this be fixed? Right now, a large flow label would clobber the traffic class and version fields.
2021-11-04 06:52:21 -07:00
Tom Henderson
80134a570d Update references to RELEASE_NOTES 2021-11-03 18:01:13 -07:00
Eduardo Almeida
cc9b568374 Add Markdown extension (.md) to RELEASE_NOTES 2021-11-03 17:50:51 -07:00
Stefano Avallone
d10e28b16f wifi: Be more robust against invalidation of iterators 2021-11-03 09:57:55 +01:00
Stefano Avallone
cdbd6a286f wifi: Fixup commit aba62274 2021-11-03 09:42:47 +01:00
Eduardo Almeida
2421656133 fd-net-device (Fix 539218e5): Add missing include removed by accident 2021-10-30 12:56:28 +01:00
Davide Magrin
0b3c2b3fd2 wifi: Initialize WifiUlMuMultiStaBa as MULTI_STA
This commit changes the constructor of WifiUlMuMultiStaBa to directly
initialize the baType to BlockAckType::MULTI_STA. This prevents the
creation of an element in bitmapLen (which happens when the BlockAckType
is set to BASIC, the default baType).
2021-10-29 19:15:09 +02:00
Tom Henderson
6b0aaf94c0 documentation: Add contributing guide to 'waf sphinx' command 2021-10-27 18:33:26 -07:00
Tommaso Pecorella
4895deeefd internet: further fixes to Doxygen description of callback signatures 2021-10-28 01:34:28 +02:00
Gard Spreemann
f9ac0f0382 Correct typos in Doxygen description of callback signatures 2021-10-27 23:13:32 +00:00
Tom Henderson
e3590d611a documentation: Add contributing guide 2021-10-27 07:32:11 -07:00
Stefano Avallone
70adab8d72 wifi: (fixes #475) Ask the correct EDCAF to prepare a BAR following a DL MU PPDU 2021-10-26 19:06:53 +02:00
Eduardo Almeida
539218e593 fd-net-device: Remove unnecessary includes 2021-10-25 11:01:20 +00:00
Tommaso Pecorella
998166a95d fd-net-device: fix doxygen warnings 2021-10-24 17:14:57 +02:00
Tommaso Pecorella
d1169d40ad core: fix some doxygen warnings 2021-10-24 17:14:32 +02:00
Tom Henderson
41217eb018 build: (fixes #461) Avoid period character in executable names
Fix is due to Tommaso Pecorella; the issue affects certain macOS systems
2021-10-22 17:01:42 -07:00
Tom Henderson
e844dfd1d7 wifi: (fixes #473) Discard preamble state for truncated TX or device in OFF 2021-10-22 14:34:25 -07:00
Ameya Deshpande
97d5f8d069 nix-vector-routing: Fix documentation
- The examples section formatting is fixed
- NMS image is shown properly
- Correct backward header compatibility note with
  header deprecation note.

Signed-off-by: Ameya Deshpande <ameyanrd@outlook.com>
2021-10-22 17:07:33 +00:00
Tom Henderson
1516b8891d internet: Update Python bindings 2021-10-21 16:18:13 -07:00
Tommaso Pecorella
22ca1d332d internet: (fixes #431) ICMPv6 error messages carry packet metadata 2021-10-20 22:21:31 +00:00
Stefano Avallone
34663dbfd3 wifi: Rescan python bindings 2021-10-20 15:38:12 +02:00
Stefano Avallone
aba6227449 wifi: Iterate over the in-flight MPDUs in reverse order
A newly added MPDU is likely to have a Sequence Number higher than the
previous ones, hence it likely has to be inserted at the end of the list.
2021-10-20 12:13:50 +02:00
Stefano Avallone
cf8ef91a29 wifi: Do not check lifetime expiration when dequeuing frames
Frames are dequeued when they have been acknowledged, dropped
or are going to be replaced by other frames. In all such cases,
it is not needed to check for lifetime expiration. This check instead
causes troubles when the lifetime of a frame expires while receiving
the acknowledgment (a BAR may be scheduled unnecessarily).
2021-10-20 12:13:50 +02:00
Stefano Avallone
3ad1dde7a1 wifi: Make WifiMacQueue::Insert private
Also, reduce the usage of WifiMacQueue::PushFront. The goal is to
only allow enqueuing packets at the end of the wifi MAC queue, in
view of the introduction of a wifi MAC queue scheduler.
2021-10-19 20:10:25 +02:00
Stefano Avallone
dae6bbca5b wifi: Iterators to queued items are not exposed by WifiMacQueueItem 2021-10-19 20:10:25 +02:00
Stefano Avallone
b8bc106706 wifi: Remove unused global empty wifi MAC queue 2021-10-19 20:10:25 +02:00