Commit Graph

341 Commits

Author SHA1 Message Date
Eduardo Almeida
85ade4e18d Fix Doxygen comment formatting and typos 2022-10-16 14:49:21 +01:00
Eduardo Almeida
95e95f8904 Fix clang-tidy warnings in brite, click, mpi, openflow, p2p, visualizer 2022-10-14 16:58:17 +00:00
Eduardo Almeida
dfc6fb9d2d Remove emacs comment from C++ files 2022-10-14 14:13:12 +00:00
Eduardo Almeida
e25ff966fe Apply clang-format to codebase 2022-10-07 20:08:35 +00:00
Eduardo Almeida
ebb596910c Fix remaining clang-tidy warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
1b78ecc117 Fix clang-tidy readability-braces-around-statements warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
f87b53bbc5 Fix clang-tidy modernize-use-emplace warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
4af0fe4b85 Fix clang-tidy modernize-use-nullptr warnings 2022-10-07 11:48:10 +00:00
Eduardo Almeida
be07b6487a Fix clang-tidy modernize-use-override warnings 2022-10-07 11:48:10 +00:00
Eduardo Almeida
6bb6383562 Fix clang-tidy modernize-redundant-void-arg warnings 2022-10-07 11:48:10 +00:00
Stefano Avallone
ce590ad057 wifi: WifiMac can receive pointers to const WifiMpdu 2022-09-25 14:17:15 +00:00
Stefano Avallone
def20b0276 wifi: Use 16 bits to represent the size of Information fields
...to support fragmentation of IEs that do not fit in 254/255 bytes
2022-09-19 16:10:07 +02:00
Stefano Avallone
e2ece0fc98 wifi: Make Extended Supported Rates IE optional in mgt frames 2022-09-19 16:10:07 +02:00
Stefano Avallone
932c017e3d wifi: Prohibit (de)serializing the Information field of IEs directly
Use the methods to (de)serialize the whole IE instead.
2022-09-19 16:10:07 +02:00
Stefano Avallone
800b30728e wifi: Rename WifiMacQueueItem as WifiMpdu 2022-09-11 13:03:30 +00:00
Stefano Avallone
4e70063f8c wifi: Rework wifi MAC queues
Also, add a First Come First Serve wifi MAC queue scheduler
2022-09-11 13:03:30 +00:00
Tommaso Pecorella
832405f4a5 Fix trailing whitespaces 2022-09-04 21:53:48 +02:00
Peter D. Barnes, Jr
d635a72cbc Use variadic argument lists in various Helpers.
QosWaveMacHelper::SetType() and NqosWaveMacHelper::SetType() were
virtual, but then they can't be templated to handle variadic
argument lists.  The base class is not virtual, and nothing derives from
these classes, so virtual doesn't seem to be required.
2022-09-04 12:01:11 -07:00
Tommaso Pecorella
606eb84448 doc: fix doxygen in various examples 2022-08-30 20:30:42 +00:00
Peter D. Barnes, Jr
e461e54d5a Update Ptr validity checks to new Ptr<>::operator bool 2022-08-18 08:59:30 -07:00
Stefano Avallone
49d710fabe wifi: Pass allowed TX width to GetDataTxVector() 2022-08-17 16:47:27 +00:00
Stefano Avallone
29749c21b0 wifi: Pass link ID to WifiMac::Receive() 2022-08-04 22:09:38 +02:00
Stefano Avallone
422f24bfd0 wifi: Extend helpers to support multi-link devices 2022-08-04 22:09:37 +02:00
Stefano Avallone
7dce23fbd3 wifi: Align TXOP limit for VI and VO to 802.11-2020 2022-08-04 22:09:37 +02:00
Gabriel Ferreira
c5d0c8efb4 bindings: remove pybindgen bindings sources 2022-08-01 21:24:02 +00:00
Stefano Avallone
9e7796616a wifi: Txop can get a pointer to ChannelAccessManager from WifiMac 2022-07-11 15:29:36 +00:00
Tommaso Pecorella
79eb65efbb mesh: update regression test traces 2022-07-02 23:21:09 +00:00
Stefano Avallone
c5f1e6e067 wifi: WifiMac can create multiple FrameExchangeManagers and ChannelAccessManagers 2022-06-22 10:02:41 +02:00
Stefano Avallone
cf0b4ee0a8 wifi: Move creation of ChannelAccessManager to WifiMac::ConfigureStandard()
11be MLDs require as many ChannelAccessManager objects as the number of
links (PHY objects).
2022-06-22 10:02:41 +02:00
Stefano Avallone
d916f75ea4 wifi: MAC configuration requires the PHY to be setup
This should be expected because some MAC parameters depend on PHY.
Also, for 11be multi-link devices, the number of FEMs to create
depend on the number of PHY objects.
2022-06-22 10:02:41 +02:00
Tommaso Pecorella
e0f20a49c0 network: (fixes #611) Reset MAC address allocation pool between runs 2022-06-07 22:04:12 +00:00
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07:00
Eduardo Almeida
e9c98de72c Mark more deleted copy constructors and operator= with delete keyword (fixes #279) 2022-06-04 20:40:44 +01:00
Stefano Avallone
4be4ab41dd Rescan python bindings 2022-05-25 15:37:49 +02:00
Tom Henderson
a614114865 bindings: Rescan all APIs 2022-04-18 15:30:35 -07:00
Tom Henderson
c78ae3cc48 mesh: Remove forward declaration (for bindings) 2022-04-18 13:39:38 -07:00
Tom Henderson
9ac351202b doc: Replace occurrences of sphinx.ext.pngmath 2022-04-17 15:25:43 -07:00
Tom Henderson
c7fc6b5430 mesh: (fixes #478, #472) Add forwarding delay; update examples, tests 2022-04-10 19:31:11 -07:00
Tom Henderson
eb99d8b36a mesh: Avoid non-ASCII characters in log output 2022-04-10 19:31:11 -07:00
Gabriel Ferreira
e32c177e45 build: remove waf files, tests and references 2022-02-21 22:08:45 -03:00
Tom Henderson
5367f1fed7 bindings: Rescan APIs of most modules 2022-02-16 15:59:27 -08:00
Gabriel Ferreira
41aacec626 build: CMake refactoring
Includes:
- refactor build_lib and build_lib_example macros
    - unify src and contrib macros
    - replace macro with function not to leak definitions
    - parse list of arguments
- different cmake-format file for modules to list one item per line
2022-01-28 10:20:18 -03:00
Tom Henderson
69d5a80687 wifi,wave,mesh,dsr: Update Python bindings 2022-01-09 15:22:40 -08:00
Sébastien Deronne
e605c7e54c mesh: Add EnableLogComponents in MeshHelper 2022-01-09 17:41:25 +01:00
Sébastien Deronne
3fec6c013d wifi: merge RegularWifiMac and WifiMac 2022-01-09 17:14:04 +01:00
Stefano Avallone
5d7acdcf19 wifi: QosTxop skips frames that cannot be forwarded to the destination 2022-01-08 19:23:12 +01:00
Stefano Avallone
2a1d009116 wifi: Separate wifi standard and PHY band 2022-01-08 19:23:12 +01:00
Stefano Avallone
44771472ec wifi: MAC configures PHY dependent parameters when setting the PHY
This is in preparation for the removal of the band from the wifi standard.
2022-01-08 19:23:11 +01:00
Tom Henderson
aad79536bf bindings: Rescan all APIs 2021-12-18 16:41:52 -08:00
Stefano Avallone
bd7ebdd4cf wifi: Switch to the new PHY methods to set the operating channel 2021-12-07 09:45:04 +01:00