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) 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 */ | 102 */ |
103 void StartTx (Ptr<Packet> packet, WifiTxVector txVector, Time txDuration); | 103 void StartTx (Ptr<Packet> packet, WifiTxVector txVector, Time txDuration); |
104 /** | 104 /** |
105 * Get the center frequency of the channel corresponding the current TxVector
rather than | 105 * Get the center frequency of the channel corresponding the current TxVector
rather than |
106 * that of the supported channel width. | 106 * that of the supported channel width. |
107 * Consider that this "primary channel" is on the lower part for the time bein
g. | 107 * Consider that this "primary channel" is on the lower part for the time bein
g. |
108 * | 108 * |
109 * \param txVector the TXVECTOR that has the channel width that is to be used | 109 * \param txVector the TXVECTOR that has the channel width that is to be used |
110 * \return the center frequency corresponding to the channel width to be used | 110 * \return the center frequency corresponding to the channel width to be used |
111 */ | 111 */ |
112 uint32_t GetCenterFrequencyForChannelWidth (WifiTxVector txVector) const; | 112 uint16_t GetCenterFrequencyForChannelWidth (WifiTxVector txVector) const; |
113 | 113 |
114 /** | 114 /** |
115 * Method to encapsulate the creation of the WifiSpectrumPhyInterface | 115 * Method to encapsulate the creation of the WifiSpectrumPhyInterface |
116 * object (used to bind the WifiSpectrumPhy to a SpectrumChannel) and | 116 * object (used to bind the WifiSpectrumPhy to a SpectrumChannel) and |
117 * to link it to this SpectrumWifiPhy instance | 117 * to link it to this SpectrumWifiPhy instance |
118 * | 118 * |
119 * \param device pointer to the NetDevice object including this new object | 119 * \param device pointer to the NetDevice object including this new object |
120 */ | 120 */ |
121 void CreateWifiSpectrumPhyInterface (Ptr<NetDevice> device); | 121 void CreateWifiSpectrumPhyInterface (Ptr<NetDevice> device); |
122 /** | 122 /** |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 Ptr<AntennaModel> m_antenna; //!< antenna model | 216 Ptr<AntennaModel> m_antenna; //!< antenna model |
217 mutable Ptr<const SpectrumModel> m_rxSpectrumModel; //!< receive spectrum mode
l | 217 mutable Ptr<const SpectrumModel> m_rxSpectrumModel; //!< receive spectrum mode
l |
218 bool m_disableWifiReception; //!< forces this Phy to fail to sync on
any signal | 218 bool m_disableWifiReception; //!< forces this Phy to fail to sync on
any signal |
219 TracedCallback<bool, uint32_t, double, Time> m_signalCb; //!< Signal callback | 219 TracedCallback<bool, uint32_t, double, Time> m_signalCb; //!< Signal callback |
220 | 220 |
221 }; | 221 }; |
222 | 222 |
223 } //namespace ns3 | 223 } //namespace ns3 |
224 | 224 |
225 #endif /* SPECTRUM_WIFI_PHY_H */ | 225 #endif /* SPECTRUM_WIFI_PHY_H */ |
LEFT | RIGHT |