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) 2008,2009 IITP RAS | 3 * Copyright (c) 2008,2009 IITP RAS |
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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 m_stationManager.Set (n0, v0); | 158 m_stationManager.Set (n0, v0); |
159 m_stationManager.Set (n1, v1); | 159 m_stationManager.Set (n1, v1); |
160 m_stationManager.Set (n2, v2); | 160 m_stationManager.Set (n2, v2); |
161 m_stationManager.Set (n3, v3); | 161 m_stationManager.Set (n3, v3); |
162 m_stationManager.Set (n4, v4); | 162 m_stationManager.Set (n4, v4); |
163 m_stationManager.Set (n5, v5); | 163 m_stationManager.Set (n5, v5); |
164 m_stationManager.Set (n6, v6); | 164 m_stationManager.Set (n6, v6); |
165 m_stationManager.Set (n7, v7); | 165 m_stationManager.Set (n7, v7); |
166 } | 166 } |
167 void· | 167 void· |
168 MeshHelper::SetStandard (enum WifiPhyStandard standard) | 168 MeshHelper::SetStandard (WifiPhyStandard standard) |
169 { | 169 { |
170 m_standard = standard; | 170 m_standard = standard; |
171 } | 171 } |
172 | 172 |
173 Ptr<WifiNetDevice> | 173 Ptr<WifiNetDevice> |
174 MeshHelper::CreateInterface (const WifiPhyHelper &phyHelper, Ptr<Node> node, uin
t16_t channelId) const | 174 MeshHelper::CreateInterface (const WifiPhyHelper &phyHelper, Ptr<Node> node, uin
t16_t channelId) const |
175 { | 175 { |
176 Ptr<WifiNetDevice> device = CreateObject<WifiNetDevice> (); | 176 Ptr<WifiNetDevice> device = CreateObject<WifiNetDevice> (); |
177 | 177 |
178 Ptr<MeshWifiInterfaceMac> mac = m_mac.Create<MeshWifiInterfaceMac> (); | 178 Ptr<MeshWifiInterfaceMac> mac = m_mac.Create<MeshWifiInterfaceMac> (); |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 currentStream += bk_edcaTxopN->AssignStreams (currentStream); | 271 currentStream += bk_edcaTxopN->AssignStreams (currentStream); |
272 } | 272 } |
273 } | 273 } |
274 } | 274 } |
275 } | 275 } |
276 return (currentStream - stream); | 276 return (currentStream - stream); |
277 } | 277 } |
278 | 278 |
279 } // namespace ns3 | 279 } // namespace ns3 |
280 | 280 |
LEFT | RIGHT |