LEFT | RIGHT |
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) 2005,2006 INRIA | 3 * Copyright (c) 2005,2006 INRIA |
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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 */ | 152 */ |
153 double GetBandBandwidth (void) const; | 153 double GetBandBandwidth (void) const; |
154 | 154 |
155 /** | 155 /** |
156 * \param currentChannelWidth channel width of the current transmission (MHz) | 156 * \param currentChannelWidth channel width of the current transmission (MHz) |
157 * \return the width of the guard band (MHz) | 157 * \return the width of the guard band (MHz) |
158 * | 158 * |
159 * Note: in order to properly model out of band transmissions for OFDM, the gu
ard | 159 * Note: in order to properly model out of band transmissions for OFDM, the gu
ard |
160 * band has been configured so as to expand the modeled spectrum up to the | 160 * band has been configured so as to expand the modeled spectrum up to the |
161 * outermost referenced point in "Transmit spectrum mask" sections' PSDs of | 161 * outermost referenced point in "Transmit spectrum mask" sections' PSDs of |
162 * each PHY specification of 802.11-2016 standard. It thus ultimately correspo
nds | 162 * each PHY specification of 802.11-2016 standard, when possible. It can thus
ultimately |
163 * to the current channel bandwidth (which can be different from devices max | 163 * correspond to the currently considered channel bandwidth (which can be diff
erent from |
164 * channel width). | 164 * supported channel width) if this bandwidth is not above the standard specif
ic limitation. |
| 165 * This limitation has been added so as to constrain out of band transmission
modeling |
| 166 * to the immediately neighboring (non-overlapping) channels. |
165 */ | 167 */ |
166 uint8_t GetGuardBandwidth (uint8_t currentChannelWidth) const; | 168 uint8_t GetGuardBandwidth (uint8_t currentChannelWidth) const; |
167 | 169 |
168 /** | 170 /** |
169 * Callback invoked when the Phy model starts to process a signal | 171 * Callback invoked when the Phy model starts to process a signal |
170 * | 172 * |
171 * \param signalType Whether signal is WiFi (true) or foreign (false) | 173 * \param signalType Whether signal is WiFi (true) or foreign (false) |
172 * \param senderNodeId Node Id of the sender of the signal | 174 * \param senderNodeId Node Id of the sender of the signal |
173 * \param rxPower received signal power (dBm) | 175 * \param rxPower received signal power (dBm) |
174 * \param duration Signal duration | 176 * \param duration Signal duration |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 Ptr<AntennaModel> m_antenna; //!< antenna model | 221 Ptr<AntennaModel> m_antenna; //!< antenna model |
220 mutable Ptr<const SpectrumModel> m_rxSpectrumModel; //!< receive spectrum mode
l | 222 mutable Ptr<const SpectrumModel> m_rxSpectrumModel; //!< receive spectrum mode
l |
221 bool m_disableWifiReception; //!< forces this Phy to fail to sync on
any signal | 223 bool m_disableWifiReception; //!< forces this Phy to fail to sync on
any signal |
222 TracedCallback<bool, uint32_t, double, Time> m_signalCb; //!< Signal callback | 224 TracedCallback<bool, uint32_t, double, Time> m_signalCb; //!< Signal callback |
223 | 225 |
224 }; | 226 }; |
225 | 227 |
226 } //namespace ns3 | 228 } //namespace ns3 |
227 | 229 |
228 #endif /* SPECTRUM_WIFI_PHY_H */ | 230 #endif /* SPECTRUM_WIFI_PHY_H */ |
LEFT | RIGHT |