From 8c8af78cb57c479efaa6eedb94eb72a8d9171c96 Mon Sep 17 00:00:00 2001 From: Stefano Avallone Date: Sun, 28 Apr 2024 22:21:41 +0200 Subject: [PATCH] wifi: Restore ASCII diagram in TXOP test after clang format --- src/wifi/test/wifi-txop-test.cc | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/src/wifi/test/wifi-txop-test.cc b/src/wifi/test/wifi-txop-test.cc index 614c7bbe4..87b1a2bdb 100644 --- a/src/wifi/test/wifi-txop-test.cc +++ b/src/wifi/test/wifi-txop-test.cc @@ -475,21 +475,20 @@ WifiTxopTest::CheckResults() * fails. Also, verify that a CF-end frame is sent if enough time remains in the TXOP. * The destination of failed frames is put in square brackets below. * - * |---NAV-----till end TXOP--------->| - * | |----NAV--till end TXOP---->| - * | | |---------------------------NAV---------------------------------->| | | | - * |--------------------------NAV---------------------------->| | | | | - * |------------------------NAV----------------------->| | | | | | - * |-------------NAV--------------->| Start| | Start| | | | - * |----------NAV----------->| TXOP | | TXOP | | | Ack | | - * |-------NAV------->| | | | | | | | Timeout | | | - * |---NAV---->| - * |---| |---|-backoff->|---| |---| |---| |-PIFS or->|---| |---| |---| |---| - * |-----| |QoS| |Ack| |QoS| |Ack| |QoS| |-backoff->|QoS| |Ack| |QoS| |Ack| - * |CFend| - * ---------------------------------------------------------------------------------------------------- - * From: AP STA1 AP STA1 AP AP STA2 AP STA3 AP - * To: STA1 [AP] STA1 AP [STA2] STA2 AP STA3 AP all + * |--NAV----till end TXOP-------->| + * | |---NAV--till end TXOP--->| + * | | |-------------------------NAV------------------------------>| + * | | | |------------------------NAV------------------------->| + * | | | | |-----------------------NAV-------------------->| + * | | | | | |-----------NAV------------->| + * Start| | Start| | | | |--------NAV---------->| + * TXOP | | TXOP | | | Ack | | |------NAV------>| + * | | | | | | | Timeout | | | |---NAV--->| + * |---| |---|-backoff->|---| |---| |---| |-PIFS or->|---| |---| |---| |---| |-----| + * |QoS| |Ack| |QoS| |Ack| |QoS| |-backoff->|QoS| |Ack| |QoS| |Ack| |CFend| + * -------------------------------------------------------------------------------------------- + * From: AP STA1 AP STA1 AP AP STA2 AP STA3 AP + * To: STA1 [AP] STA1 AP [STA2] STA2 AP STA3 AP all */ // We expect 25 frames to be transmitted if SingleRtsPerTxop is false and 22 frames (2 RTS