LEFT | RIGHT |
(no file at all) | |
1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2016 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) | 3 * Copyright (c) 2016 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 /** | 51 /** |
52 * Constructor of test case | 52 * Constructor of test case |
53 * | 53 * |
54 * \param nUser number of users | 54 * \param nUser number of users |
55 * \param dist the distance | 55 * \param dist the distance |
56 * \param dlbandwidth the DL bandwidth | 56 * \param dlbandwidth the DL bandwidth |
57 * \param ulBandwidth the UL badnwidth | 57 * \param ulBandwidth the UL badnwidth |
58 * \param numberOfComponentCarriers number of component carriers to be used in
test configuration | 58 * \param numberOfComponentCarriers number of component carriers to be used in
test configuration |
59 */ | 59 */ |
60 CarrierAggregationTestCase (uint16_t nUser, uint16_t dist, uint32_t dlbandwidt
h, uint32_t ulBandwidth, uint32_t numberOfComponentCarriers); | 60 CarrierAggregationTestCase (uint16_t nUser, uint16_t dist, uint8_t dlbandwidth
, uint8_t ulBandwidth, uint32_t numberOfComponentCarriers); |
61 virtual ~CarrierAggregationTestCase (); | 61 virtual ~CarrierAggregationTestCase (); |
62 /** | 62 /** |
63 * DL Scheduling function that is used in this test as callback function of DL
scheduling trace | 63 * DL Scheduling function that is used in this test as callback function of DL
scheduling trace |
64 * \param dlInfo the DL scheduling callback info | 64 * \param dlInfo the DL scheduling callback info |
65 */ | 65 */ |
66 void DlScheduling (DlSchedulingCallbackInfo dlInfo); | 66 void DlScheduling (DlSchedulingCallbackInfo dlInfo); |
67 /** | 67 /** |
68 * UL Scheduling function that is used in this test as callback function of UL
sceduling trace | 68 * UL Scheduling function that is used in this test as callback function of UL
sceduling trace |
69 * \param frameNo the frame number | 69 * \param frameNo the frame number |
70 * \param subframeNo the subframe number | 70 * \param subframeNo the subframe number |
(...skipping 16 matching lines...) Expand all Loading... |
87 * \param dist the distance | 87 * \param dist the distance |
88 * \param dlBandwidth the DL bandwidth | 88 * \param dlBandwidth the DL bandwidth |
89 * \param ulBandwidth the UL badnwidth | 89 * \param ulBandwidth the UL badnwidth |
90 * \param numberOfComponentCarriers number of component carriers | 90 * \param numberOfComponentCarriers number of component carriers |
91 * \returns the test name | 91 * \returns the test name |
92 */··· | 92 */··· |
93 static std::string BuildNameString (uint16_t nUser, uint16_t dist, uint32_t d
lBandwidth, uint32_t ulBandwidth, uint32_t numberOfComponentCarriers); | 93 static std::string BuildNameString (uint16_t nUser, uint16_t dist, uint32_t d
lBandwidth, uint32_t ulBandwidth, uint32_t numberOfComponentCarriers); |
94 | 94 |
95 uint16_t m_nUser; ///< the number of users | 95 uint16_t m_nUser; ///< the number of users |
96 uint16_t m_dist; ///< the distance | 96 uint16_t m_dist; ///< the distance |
97 uint32_t m_dlBandwidth; ///< DL bandwidth | 97 uint8_t m_dlBandwidth; ///< DL bandwidth |
98 uint32_t m_ulBandwidth; ///< UL bandwidth | 98 uint8_t m_ulBandwidth; ///< UL bandwidth |
99 uint32_t m_numberOfComponentCarriers; ///< number of component carriers | 99 uint32_t m_numberOfComponentCarriers; ///< number of component carriers |
100 | 100 |
101 std::map <uint8_t, uint32_t> m_ccDownlinkTraffic; ///< CC DL traffic | 101 std::map <uint8_t, uint32_t> m_ccDownlinkTraffic; ///< CC DL traffic |
102 std::map <uint8_t, uint32_t> m_ccUplinkTraffic; ///< CC UL traffic | 102 std::map <uint8_t, uint32_t> m_ccUplinkTraffic; ///< CC UL traffic |
103 uint64_t m_dlThroughput; ///< DL throughput | 103 uint64_t m_dlThroughput; ///< DL throughput |
104 uint64_t m_ulThroughput; ///< UL throughput | 104 uint64_t m_ulThroughput; ///< UL throughput |
105 double m_statsDuration; ///< stats duration | 105 double m_statsDuration; ///< stats duration |
106 }; | 106 }; |
107 | 107 |
108 | 108 |
109 | 109 |
110 /** | 110 /** |
111 * \ingroup wifi-test | 111 * \ingroup wifi-test |
112 * \ingroup tests | 112 * \ingroup tests |
113 * | 113 * |
114 * \brief Test Carrier Aggregation Suite | 114 * \brief Test Carrier Aggregation Suite |
115 */ | 115 */ |
116 class TestCarrierAggregationSuite : public TestSuite | 116 class TestCarrierAggregationSuite : public TestSuite |
117 { | 117 { |
118 public: | 118 public: |
119 TestCarrierAggregationSuite (); | 119 TestCarrierAggregationSuite (); |
120 }; | 120 }; |
121 | 121 |
122 #endif /* TEST_CARRIER_AGGREGATION_H */ | 122 #endif /* TEST_CARRIER_AGGREGATION_H */ |
LEFT | RIGHT |