dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2008 Free Software Foundation, Inc. |
| 3 | * |
Pau Espin Pedrol | 21d03d3 | 2019-07-22 12:05:52 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-3.0+ |
| 5 | * |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 6 | * This software is distributed under the terms of the GNU Public License. |
| 7 | * See the COPYING file in the main directory for details. |
| 8 | * |
| 9 | * This use of this software may be subject to additional restrictions. |
| 10 | * See the LEGAL file in the main directory for details. |
| 11 | |
| 12 | This program is free software: you can redistribute it and/or modify |
| 13 | it under the terms of the GNU General Public License as published by |
| 14 | the Free Software Foundation, either version 3 of the License, or |
| 15 | (at your option) any later version. |
| 16 | |
| 17 | This program is distributed in the hope that it will be useful, |
| 18 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | GNU General Public License for more details. |
| 21 | |
| 22 | You should have received a copy of the GNU General Public License |
| 23 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 24 | |
| 25 | */ |
| 26 | |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 27 | #include "radioInterface.h" |
| 28 | #include "Interthread.h" |
| 29 | #include "GSMCommon.h" |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 30 | |
| 31 | #include <sys/types.h> |
| 32 | #include <sys/socket.h> |
| 33 | |
Pau Espin Pedrol | efac20b | 2018-02-21 14:59:19 +0100 | [diff] [blame] | 34 | extern "C" { |
Pau Espin Pedrol | db936b9 | 2018-09-03 16:50:49 +0200 | [diff] [blame] | 35 | #include <osmocom/core/signal.h> |
Pau Espin Pedrol | efac20b | 2018-02-21 14:59:19 +0100 | [diff] [blame] | 36 | #include "config_defs.h" |
| 37 | } |
| 38 | |
Thomas Tsou | f078273 | 2013-10-29 15:55:47 -0400 | [diff] [blame] | 39 | class Transceiver; |
| 40 | |
| 41 | /** Channel descriptor for transceiver object and channel number pair */ |
Pau Espin Pedrol | 720b912 | 2019-07-22 18:10:52 +0200 | [diff] [blame] | 42 | struct TrxChanThParams { |
| 43 | Transceiver *trx; |
| 44 | size_t num; |
Thomas Tsou | f078273 | 2013-10-29 15:55:47 -0400 | [diff] [blame] | 45 | }; |
| 46 | |
| 47 | /** Internal transceiver state variables */ |
| 48 | struct TransceiverState { |
| 49 | TransceiverState(); |
| 50 | ~TransceiverState(); |
| 51 | |
| 52 | /* Initialize a multiframe slot in the filler table */ |
Pau Espin Pedrol | efac20b | 2018-02-21 14:59:19 +0100 | [diff] [blame] | 53 | bool init(FillerType filler, size_t sps, float scale, size_t rtsc, unsigned rach_delay); |
Thomas Tsou | f078273 | 2013-10-29 15:55:47 -0400 | [diff] [blame] | 54 | |
| 55 | int chanType[8]; |
| 56 | |
| 57 | /* Last timestamp of each timeslot's channel estimate */ |
| 58 | GSM::Time chanEstimateTime[8]; |
| 59 | |
| 60 | /* The filler table */ |
| 61 | signalVector *fillerTable[102][8]; |
| 62 | int fillerModulus[8]; |
Thomas Tsou | 15d743e | 2014-01-25 02:34:03 -0500 | [diff] [blame] | 63 | bool mRetrans; |
Thomas Tsou | f078273 | 2013-10-29 15:55:47 -0400 | [diff] [blame] | 64 | |
| 65 | /* Most recent channel estimate of all timeslots */ |
| 66 | signalVector *chanResponse[8]; |
| 67 | |
| 68 | /* Most recent DFE feedback filter of all timeslots */ |
| 69 | signalVector *DFEForward[8]; |
| 70 | signalVector *DFEFeedback[8]; |
| 71 | |
| 72 | /* Most recent SNR, timing, and channel amplitude estimates */ |
| 73 | float SNRestimate[8]; |
| 74 | float chanRespOffset[8]; |
| 75 | complex chanRespAmplitude[8]; |
Thomas Tsou | a0179e3 | 2013-11-14 15:52:04 -0500 | [diff] [blame] | 76 | |
| 77 | /* Received noise energy levels */ |
| 78 | float mNoiseLev; |
| 79 | noiseVector mNoises; |
Tom Tsou | a4d1a41 | 2014-11-25 15:46:56 -0800 | [diff] [blame] | 80 | |
| 81 | /* Shadowed downlink attenuation */ |
| 82 | int mPower; |
Thomas Tsou | f078273 | 2013-10-29 15:55:47 -0400 | [diff] [blame] | 83 | }; |
| 84 | |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 85 | /** The Transceiver class, responsible for physical layer of basestation */ |
| 86 | class Transceiver { |
Tom Tsou | 64ad712 | 2015-05-19 18:26:31 -0700 | [diff] [blame] | 87 | public: |
Pau Espin Pedrol | 7c405a0 | 2017-07-04 16:24:06 +0200 | [diff] [blame] | 88 | /** Transceiver constructor |
Tom Tsou | 64ad712 | 2015-05-19 18:26:31 -0700 | [diff] [blame] | 89 | @param wBasePort base port number of UDP sockets |
Pau Espin Pedrol | 8c80095 | 2017-08-16 16:53:23 +0200 | [diff] [blame] | 90 | @param TRXAddress IP address of the TRX, as a string |
| 91 | @param GSMcoreAddress IP address of the GSM core, as a string |
Tom Tsou | 64ad712 | 2015-05-19 18:26:31 -0700 | [diff] [blame] | 92 | @param wSPS number of samples per GSM symbol |
| 93 | @param wTransmitLatency initial setting of transmit latency |
| 94 | @param radioInterface associated radioInterface object |
| 95 | */ |
| 96 | Transceiver(int wBasePort, |
Alexander Chemeris | e8905a0 | 2015-06-03 23:47:56 -0400 | [diff] [blame] | 97 | const char *TRXAddress, |
Pau Espin Pedrol | 8c80095 | 2017-08-16 16:53:23 +0200 | [diff] [blame] | 98 | const char *GSMcoreAddress, |
Tom Tsou | 5cd70dc | 2016-03-06 01:28:40 -0800 | [diff] [blame] | 99 | size_t tx_sps, size_t rx_sps, size_t chans, |
Alexander Chemeris | e8905a0 | 2015-06-03 23:47:56 -0400 | [diff] [blame] | 100 | GSM::Time wTransmitLatency, |
| 101 | RadioInterface *wRadioInterface, |
Eric Wild | ac0487e | 2019-06-17 13:02:44 +0200 | [diff] [blame] | 102 | double wRssiOffset, int stackSize); |
Tom Tsou | 64ad712 | 2015-05-19 18:26:31 -0700 | [diff] [blame] | 103 | |
| 104 | /** Destructor */ |
| 105 | ~Transceiver(); |
| 106 | |
| 107 | /** Start the control loop */ |
Vadim Yanitskiy | a8b3565 | 2018-10-22 02:52:18 +0200 | [diff] [blame] | 108 | bool init(FillerType filler, size_t rtsc, unsigned rach_delay, |
| 109 | bool edge, bool ext_rach); |
Tom Tsou | 64ad712 | 2015-05-19 18:26:31 -0700 | [diff] [blame] | 110 | |
| 111 | /** attach the radioInterface receive FIFO */ |
| 112 | bool receiveFIFO(VectorFIFO *wFIFO, size_t chan) |
| 113 | { |
| 114 | if (chan >= mReceiveFIFO.size()) |
| 115 | return false; |
| 116 | |
| 117 | mReceiveFIFO[chan] = wFIFO; |
| 118 | return true; |
| 119 | } |
| 120 | |
| 121 | /** accessor for number of channels */ |
| 122 | size_t numChans() const { return mChans; }; |
| 123 | |
| 124 | /** Codes for channel combinations */ |
| 125 | typedef enum { |
| 126 | FILL, ///< Channel is transmitted, but unused |
| 127 | I, ///< TCH/FS |
| 128 | II, ///< TCH/HS, idle every other slot |
| 129 | III, ///< TCH/HS |
| 130 | IV, ///< FCCH+SCH+CCCH+BCCH, uplink RACH |
| 131 | V, ///< FCCH+SCH+CCCH+BCCH+SDCCH/4+SACCH/4, uplink RACH+SDCCH/4 |
| 132 | VI, ///< CCCH+BCCH, uplink RACH |
| 133 | VII, ///< SDCCH/8 + SACCH/8 |
| 134 | VIII, ///< TCH/F + FACCH/F + SACCH/M |
| 135 | IX, ///< TCH/F + SACCH/M |
| 136 | X, ///< TCH/FD + SACCH/MD |
| 137 | XI, ///< PBCCH+PCCCH+PDTCH+PACCH+PTCCH |
| 138 | XII, ///< PCCCH+PDTCH+PACCH+PTCCH |
| 139 | XIII, ///< PDTCH+PACCH+PTCCH |
| 140 | NONE, ///< Channel is inactive, default |
| 141 | LOOPBACK ///< similar go VII, used in loopback testing |
| 142 | } ChannelCombination; |
| 143 | |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 144 | private: |
Thomas Tsou | d647ec5 | 2013-10-29 15:17:34 -0400 | [diff] [blame] | 145 | int mBasePort; |
Pau Espin Pedrol | 8c80095 | 2017-08-16 16:53:23 +0200 | [diff] [blame] | 146 | std::string mLocalAddr; |
| 147 | std::string mRemoteAddr; |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 148 | |
Pau Espin Pedrol | b9d2515 | 2019-07-01 19:03:49 +0200 | [diff] [blame] | 149 | std::vector<int> mDataSockets; ///< socket for writing to/reading from GSM core |
| 150 | std::vector<int> mCtrlSockets; ///< socket for writing/reading control commands from GSM core |
| 151 | int mClockSocket; ///< socket for writing clock updates to GSM core |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 152 | |
Thomas Tsou | 204a9f1 | 2013-10-29 18:34:16 -0400 | [diff] [blame] | 153 | std::vector<VectorQueue> mTxPriorityQueues; ///< priority queue of transmit bursts received from GSM core |
| 154 | std::vector<VectorFIFO *> mReceiveFIFO; ///< radioInterface FIFO of receive bursts |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 155 | |
Thomas Tsou | 204a9f1 | 2013-10-29 18:34:16 -0400 | [diff] [blame] | 156 | std::vector<Thread *> mRxServiceLoopThreads; ///< thread to pull bursts into receive FIFO |
| 157 | Thread *mRxLowerLoopThread; ///< thread to pull bursts into receive FIFO |
| 158 | Thread *mTxLowerLoopThread; ///< thread to push bursts into transmit FIFO |
| 159 | std::vector<Thread *> mControlServiceLoopThreads; ///< thread to process control messages from GSM core |
| 160 | std::vector<Thread *> mTxPriorityQueueServiceLoopThreads; ///< thread to process transmit bursts from GSM core |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 161 | |
Tom Tsou | eb54bdd | 2014-11-25 16:06:32 -0800 | [diff] [blame] | 162 | GSM::Time mTransmitLatency; ///< latency between basestation clock and transmit deadline clock |
| 163 | GSM::Time mLatencyUpdateTime; ///< last time latency was updated |
Pau Espin Pedrol | 7c405a0 | 2017-07-04 16:24:06 +0200 | [diff] [blame] | 164 | GSM::Time mTransmitDeadlineClock; ///< deadline for pushing bursts into transmit FIFO |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 165 | GSM::Time mLastClockUpdateTime; ///< last time clock update was sent up to core |
| 166 | |
| 167 | RadioInterface *mRadioInterface; ///< associated radioInterface object |
| 168 | double txFullScale; ///< full scale input to radio |
| 169 | double rxFullScale; ///< full scale output to radio |
| 170 | |
Alexander Chemeris | e8905a0 | 2015-06-03 23:47:56 -0400 | [diff] [blame] | 171 | double rssiOffset; ///< RSSI to dBm conversion offset |
Eric Wild | ac0487e | 2019-06-17 13:02:44 +0200 | [diff] [blame] | 172 | int stackSize; ///< stack size for threads, 0 = OS default |
Alexander Chemeris | e8905a0 | 2015-06-03 23:47:56 -0400 | [diff] [blame] | 173 | |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 174 | /** modulate and add a burst to the transmit queue */ |
Thomas Tsou | a2fe91a | 2013-11-13 22:48:11 -0500 | [diff] [blame] | 175 | void addRadioVector(size_t chan, BitVector &bits, |
Thomas Tsou | 204a9f1 | 2013-10-29 18:34:16 -0400 | [diff] [blame] | 176 | int RSSI, GSM::Time &wTime); |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 177 | |
Thomas Tsou | 15d743e | 2014-01-25 02:34:03 -0500 | [diff] [blame] | 178 | /** Update filler table */ |
| 179 | void updateFillerTable(size_t chan, radioVector *burst); |
| 180 | |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 181 | /** Push modulated burst into transmit FIFO corresponding to a particular timestamp */ |
| 182 | void pushRadioVector(GSM::Time &nowTime); |
| 183 | |
Thomas Tsou | 204a9f1 | 2013-10-29 18:34:16 -0400 | [diff] [blame] | 184 | /** Pull and demodulate a burst from the receive FIFO */ |
Pau Espin Pedrol | 923b4bc | 2019-09-06 15:01:26 +0200 | [diff] [blame] | 185 | int pullRadioVector(size_t chan, struct trx_ul_burst_ind *ind); |
Thomas Tsou | 204a9f1 | 2013-10-29 18:34:16 -0400 | [diff] [blame] | 186 | |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 187 | /** Set modulus for specific timeslot */ |
Thomas Tsou | 204a9f1 | 2013-10-29 18:34:16 -0400 | [diff] [blame] | 188 | void setModulus(size_t timeslot, size_t chan); |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 189 | |
| 190 | /** return the expected burst type for the specified timestamp */ |
Thomas Tsou | 204a9f1 | 2013-10-29 18:34:16 -0400 | [diff] [blame] | 191 | CorrType expectedCorrType(GSM::Time currTime, size_t chan); |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 192 | |
| 193 | /** send messages over the clock socket */ |
Pau Espin Pedrol | 76ff96e | 2019-08-26 12:05:48 +0200 | [diff] [blame] | 194 | bool writeClockInterface(void); |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 195 | |
Thomas Tsou | c1f7c42 | 2013-10-11 13:49:55 -0400 | [diff] [blame] | 196 | int mSPSTx; ///< number of samples per Tx symbol |
| 197 | int mSPSRx; ///< number of samples per Rx symbol |
Thomas Tsou | 204a9f1 | 2013-10-29 18:34:16 -0400 | [diff] [blame] | 198 | size_t mChans; |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 199 | |
Vadim Yanitskiy | a8b3565 | 2018-10-22 02:52:18 +0200 | [diff] [blame] | 200 | bool mExtRACH; |
Tom Tsou | 64464e6 | 2016-07-01 03:46:46 -0700 | [diff] [blame] | 201 | bool mEdge; |
Alexander Chemeris | 3722920 | 2015-06-20 01:37:54 +0300 | [diff] [blame] | 202 | bool mOn; ///< flag to indicate that transceiver is powered on |
Pau Espin Pedrol | 934da48 | 2017-07-04 16:25:20 +0200 | [diff] [blame] | 203 | bool mForceClockInterface; ///< flag to indicate whether IND CLOCK shall be sent unconditionally after transceiver is started |
Alexander Chemeris | 5a06806 | 2015-06-20 01:38:47 +0300 | [diff] [blame] | 204 | bool mHandover[8][8]; ///< expect handover to the timeslot/subslot |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 205 | double mTxFreq; ///< the transmit frequency |
| 206 | double mRxFreq; ///< the receive frequency |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 207 | unsigned mTSC; ///< the midamble sequence code |
Alexander Chemeris | 78d1fc9 | 2016-03-19 21:16:22 +0300 | [diff] [blame] | 208 | unsigned mMaxExpectedDelayAB; ///< maximum expected time-of-arrival offset in GSM symbols for Access Bursts (RACH) |
| 209 | unsigned mMaxExpectedDelayNB; ///< maximum expected time-of-arrival offset in GSM symbols for Normal Bursts |
Alexander Chemeris | e692ce9 | 2015-06-12 00:15:31 -0400 | [diff] [blame] | 210 | unsigned mWriteBurstToDiskMask; ///< debug: bitmask to indicate which timeslots to dump to disk |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 211 | |
Pau Espin Pedrol | c3325b9 | 2019-07-22 17:47:02 +0200 | [diff] [blame] | 212 | std::vector<unsigned> mVersionTRXD; ///< Format version to use for TRXD protocol communication, per channel |
Thomas Tsou | 204a9f1 | 2013-10-29 18:34:16 -0400 | [diff] [blame] | 213 | std::vector<TransceiverState> mStates; |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 214 | |
Tom Tsou | eb54bdd | 2014-11-25 16:06:32 -0800 | [diff] [blame] | 215 | /** Start and stop I/O threads through the control socket API */ |
| 216 | bool start(); |
| 217 | void stop(); |
| 218 | |
Martin Hauke | 066fd04 | 2019-10-13 19:08:00 +0200 | [diff] [blame] | 219 | /** Protect destructor accessible stop call */ |
Tom Tsou | eb54bdd | 2014-11-25 16:06:32 -0800 | [diff] [blame] | 220 | Mutex mLock; |
| 221 | |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 222 | protected: |
Thomas Tsou | 204a9f1 | 2013-10-29 18:34:16 -0400 | [diff] [blame] | 223 | /** drive lower receive I/O and burst generation */ |
Pau Espin Pedrol | 76ff96e | 2019-08-26 12:05:48 +0200 | [diff] [blame] | 224 | bool driveReceiveRadio(); |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 225 | |
Thomas Tsou | 204a9f1 | 2013-10-29 18:34:16 -0400 | [diff] [blame] | 226 | /** drive demodulation of GSM bursts */ |
Pau Espin Pedrol | 76ff96e | 2019-08-26 12:05:48 +0200 | [diff] [blame] | 227 | bool driveReceiveFIFO(size_t chan); |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 228 | |
| 229 | /** drive transmission of GSM bursts */ |
Thomas Tsou | 204a9f1 | 2013-10-29 18:34:16 -0400 | [diff] [blame] | 230 | void driveTxFIFO(); |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 231 | |
| 232 | /** drive handling of control messages from GSM core */ |
Pau Espin Pedrol | 76ff96e | 2019-08-26 12:05:48 +0200 | [diff] [blame] | 233 | bool driveControl(size_t chan); |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 234 | |
| 235 | /** |
| 236 | drive modulation and sorting of GSM bursts from GSM core |
| 237 | @return true if a burst was transferred successfully |
| 238 | */ |
Thomas Tsou | 204a9f1 | 2013-10-29 18:34:16 -0400 | [diff] [blame] | 239 | bool driveTxPriorityQueue(size_t chan); |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 240 | |
Pau Espin Pedrol | 720b912 | 2019-07-22 18:10:52 +0200 | [diff] [blame] | 241 | friend void *RxUpperLoopAdapter(TrxChanThParams *params); |
| 242 | friend void *TxUpperLoopAdapter(TrxChanThParams *params); |
| 243 | friend void *RxLowerLoopAdapter(Transceiver *transceiver); |
| 244 | friend void *TxLowerLoopAdapter(Transceiver *transceiver); |
| 245 | friend void *ControlServiceLoopAdapter(TrxChanThParams *params); |
Thomas Tsou | 204a9f1 | 2013-10-29 18:34:16 -0400 | [diff] [blame] | 246 | |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 247 | |
| 248 | void reset(); |
kurtis.heimerl | 6b495a5 | 2011-11-26 03:17:21 +0000 | [diff] [blame] | 249 | |
Pau Espin Pedrol | 607a414 | 2019-07-01 13:56:17 +0200 | [diff] [blame] | 250 | void logRxBurst(size_t chan, const struct trx_ul_burst_ind *bi); |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 251 | }; |
| 252 | |
Pau Espin Pedrol | 720b912 | 2019-07-22 18:10:52 +0200 | [diff] [blame] | 253 | void *RxUpperLoopAdapter(TrxChanThParams *params); |
Thomas Tsou | 204a9f1 | 2013-10-29 18:34:16 -0400 | [diff] [blame] | 254 | |
Thomas Tsou | 92c16df | 2013-09-28 18:04:19 -0400 | [diff] [blame] | 255 | /** Main drive threads */ |
Pau Espin Pedrol | 720b912 | 2019-07-22 18:10:52 +0200 | [diff] [blame] | 256 | void *RxLowerLoopAdapter(Transceiver *transceiver); |
| 257 | void *TxLowerLoopAdapter(Transceiver *transceiver); |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 258 | |
| 259 | /** control message handler thread loop */ |
Pau Espin Pedrol | 720b912 | 2019-07-22 18:10:52 +0200 | [diff] [blame] | 260 | void *ControlServiceLoopAdapter(TrxChanThParams *params); |
dburgess | b3a0ca4 | 2011-10-12 07:44:40 +0000 | [diff] [blame] | 261 | |
| 262 | /** transmit queueing thread loop */ |
Pau Espin Pedrol | 720b912 | 2019-07-22 18:10:52 +0200 | [diff] [blame] | 263 | void *TxUpperLoopAdapter(TrxChanThParams *params); |