Commit Graph

16935 Commits

Author SHA1 Message Date
Eduardo Almeida
2ce78604b9 ci: Rename "coding-style" stage to "code-linting" 2022-10-06 21:12:15 +00:00
Eduardo Almeida
d0fe6b613c ci: Add clang-tidy CI job 2022-10-06 21:12:15 +00:00
Eduardo Almeida
a1ca545eea Add .clang-tidy file 2022-10-06 21:12:15 +00:00
Stefano Avallone
ae984bcf48 wifi: Improve doxygen of GetMldAddress() 2022-10-06 23:00:22 +02:00
Eduardo Almeida
0c73646d9f lte: Do not import std::vector to namespace 2022-10-06 20:41:07 +00:00
Eduardo Almeida
4c318dde52 Fix missing includes 2022-10-06 20:41:07 +00:00
Eduardo Almeida
371bb9e6f0 Convert tabs to spaces in Python scripts 2022-10-06 20:41:07 +00:00
Eduardo Almeida
6854e62de8 Convert tabs to spaces in files largely copied from elsewhere 2022-10-06 20:41:07 +00:00
Eduardo Almeida
3e39cb0724 Fix formatting of some files before clang-format application 2022-10-06 20:41:07 +00:00
Eduardo Almeida
fcb90b1ef6 Add clang-format guards to protect code formatting 2022-10-06 20:38:36 +00:00
Eduardo Almeida
3d9e2d39b7 doc: Convert tabs to spaces 2022-10-06 19:49:38 +00:00
Tom Henderson
c72bdf2c37 doc: Update enhancements.rst 2022-10-06 19:49:37 +00:00
Eduardo Almeida
7279f9c135 doc: Update coding style documentation to the new ns-3 style 2022-10-06 19:49:37 +00:00
Eduardo Almeida
b284ccb9c8 ci: Format gitlab-ci-doc.yml 2022-10-06 19:49:37 +00:00
Eduardo Almeida
aa09261539 ci: Move "coding-style" stage to after "build" stage 2022-10-06 19:49:37 +00:00
Eduardo Almeida
4a32ceb29c ci: Add "check-style-clang-format" job
- Remove old "trailing-whitespace" job that is no longer used.
- Remove unnecessary .base-coding-style job from coding-style stage.
2022-10-06 19:49:37 +00:00
Tom Henderson
e34d22bf4b utils: Update "create-module.py" to new coding style 2022-10-06 19:49:37 +00:00
Eduardo Almeida
abe2b2a388 utils: Add new "check-style-clang-format.py"
- Remove deprecated scripts "trim-trailing-whitespace.py" and "check-style.py".
- Remove deprecated "utils.h".
2022-10-06 19:49:37 +00:00
Eduardo Almeida
731d12b355 editorconfig: Change indent_size of source code to 4 spaces 2022-10-06 19:49:37 +00:00
Eduardo Almeida
063a1cd6f0 editorconfig: Remove wscript and unify ns3 with *.py 2022-10-06 19:49:37 +00:00
Eduardo Almeida
e99d0a8550 Add new .clang-format with Microsoft base style 2022-10-06 19:49:37 +00:00
Eduardo Almeida
39cc8431e1 examples: Initialize vectors with braces instead of = 2022-10-06 20:45:41 +01:00
Tom Henderson
71b5f9f21f lte: Fix random variable streams for lte-handover-failure tests 2022-10-06 11:53:50 -07:00
Tom Henderson
13d25c908d lte: Run utils/trim-trailing-whitespace.py on handover failure changes 2022-10-06 11:32:39 -07:00
Tom Henderson
7db7394ebb lte: Extend lena-x2-handover.cc for HO failure traces 2022-10-06 11:32:39 -07:00
Tom Henderson
1e28b3d227 lte: Document changes related to LTE handover failure 2022-10-06 11:32:39 -07:00
Sachin Nayak
0dbe96f62d lte: Handover failure test suite and related code 2022-10-06 11:32:39 -07:00
Sachin Nayak
af1739551c lte: Add four handover failure trace sources to LteEnbRrc
Split HandoverFailure trace into four traces
1. HandoverFailureNoPreamble trace due to non-allocation of non-contention
   based preamble at eNB for UE to handover due max count reached.
2. HandoverFailureMaxRach trace fired upon handover failure due to max
   RACH attempts from UE to target eNB.
3. HandoverFailureLeaving trace fired upon handover failure due to
   handover leaving timeout at source eNB.
4. HandoverFailureJoining trace fired upon handover failure due to
   handover joining timeout at target eNB.

Also, corrected spelling of UeManger to UeManager in several places
2022-10-06 11:32:39 -07:00
ZorazeAli
8cd9fc9718 lte: Do cell selection after RACH failure during HO
During the HO, when the RACH failure due to the maximum number of re-attempts is reached the UE request the target eNB to deletes its context, and switches to IDLE_START to do cell selection again. The target eNB sends handover preparation failure to the source eNB upon receiving the context removal request from the UE.
2022-10-06 11:32:39 -07:00
ZorazeAli
58c493e92b lte: Handle handover leaving timeout
Upon HO leaving timeout, the source eNB sends the HO cancel message to the target eNB, and releases the resources towards a UE by sending the RRC connection release msg in an ideal way irrespective of the RRC protocol used; and also requests the core network to delete that UE.
2022-10-06 11:32:39 -07:00
ZorazeAli
4de9269e2e lte: Handle handover joining timeout
Upon HO joining timeout, the target eNB sends the HO preparation failure message to the source eNB and deletes the UE context. On the other hand, the source eNB after receiving this msg releases the resources towards a UE by sending the RRC connection release msg in an ideal way irrespective of the RRC protocol used; and also requests the core network to delete that UE.
2022-10-06 11:32:39 -07:00
ZorazeAli
bc47595f5b lte: Trigger HO failure if eNB can not allocate non-contention based preamble 2022-10-06 11:32:39 -07:00
ZorazeAli
f69fda69e6 lte: Extend EPC X2 interface to send handover cancel message 2022-10-06 11:32:39 -07:00
ZorazeAli
84b4e82757 lte: Add EpcX2HandoverCancelHeader 2022-10-06 11:32:39 -07:00
Sébastien Deronne
e3ae60fceb wifi: Fix Doxygen warnings 2022-10-06 18:23:24 +02:00
Gabriel Ferreira
a087a9e564 core: do not reset the resolution during PeekResolution 2022-10-06 16:20:45 +00:00
Tommaso Pecorella
81be5b4f32 lr-wpan: (fixes #765) Fix PAN compression 2022-10-06 18:18:06 +02:00
Eduardo Almeida
b2af8bbe48 wifi, lte, dsr, examples: Optimize vector initialization 2022-10-06 11:20:57 +00:00
Eduardo Almeida
e807d729db Update RELEASE_NOTES.md 2022-10-06 10:56:47 +00:00
Eduardo Almeida
bdf80a8f85 Fix clang-tidy bugprone-too-small-loop-variable warnings (fixes #758) 2022-10-06 10:56:47 +00:00
Katerina Koutlia
d2294f4522 propagation: Address review comments 2022-10-05 21:11:26 -07:00
Biljana Bojovic
fdbc601115 propagation: Add possibility to determine the O2I condition based on the UE height
propagation: Clean NS_UNUSED, whitespaces and fix doxygen
2022-10-05 21:11:13 -07:00
Katerina Koutlia
a9daf34daa channel-condition-model: Calculate new 02I losses only when channel condition changes 2022-10-05 21:11:07 -07:00
Katerina Koutlia
7846b267c6 channel-condition-model: Add high penetration losses and threshold attribute to 3gpp propagation loss models 2022-10-05 21:10:20 -07:00
Katerina Koutlia
4b7e13c3d5 propagation: Fix breakpoint distance calculation and set O2iThreshold to 0 2022-10-05 21:09:43 -07:00
Biljana Bojovic
29aa3d1a36 propagation: Add 02i losses and attribute for o2i conditions 2022-10-05 21:07:23 -07:00
Sébastien Deronne
ad046b1146 wifi: Add missing log to HePhy::SwitchMaybeToCcaBusy 2022-10-05 20:57:10 +02:00
Sébastien Deronne
aef4d69bd8 wifi: Cleanup unused assert 2022-10-05 20:56:30 +02:00
Sébastien Deronne
82aea5c6c1 wifi: Fix small typos in PHY OFDMA tests 2022-10-05 20:56:30 +02:00
Sébastien Deronne
da5f141e92 wifi: Allow to set empty list of punctured channels 2022-10-05 20:54:43 +02:00