OLD | NEW |
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 INRIA | 3 * Copyright (c) 2008 INRIA |
4 * Copyright (c) 2009 MIRKO BANCHI | 4 * Copyright (c) 2009 MIRKO BANCHI |
5 * | 5 * |
6 * This program is free software; you can redistribute it and/or modify | 6 * This program is free software; you can redistribute it and/or modify |
7 * it under the terms of the GNU General Public License version 2 as | 7 * it under the terms of the GNU General Public License version 2 as |
8 * published by the Free Software Foundation; | 8 * published by the Free Software Foundation; |
9 * | 9 * |
10 * This program is distributed in the hope that it will be useful, | 10 * This program is distributed in the hope that it will be useful, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 * GNU General Public License for more details. | 13 * GNU General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU General Public License | 15 * You should have received a copy of the GNU General Public License |
16 * along with this program; if not, write to the Free Software | 16 * along with this program; if not, write to the Free Software |
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 * | 18 * |
19 * Authors: Mathieu Lacage <mathieu.lacage@sophia.inria.fr> | 19 * Authors: Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
20 * Mirko Banchi <mk.banchi@gmail.com> | 20 * Mirko Banchi <mk.banchi@gmail.com> |
21 */ | 21 */ |
22 | 22 |
23 #include "wifi-helper.h" | |
24 #include "ns3/wifi-net-device.h" | 23 #include "ns3/wifi-net-device.h" |
25 #include "ns3/minstrel-wifi-manager.h" | 24 #include "ns3/minstrel-wifi-manager.h" |
26 #include "ns3/minstrel-ht-wifi-manager.h" | 25 #include "ns3/minstrel-ht-wifi-manager.h" |
27 #include "ns3/ap-wifi-mac.h" | 26 #include "ns3/ap-wifi-mac.h" |
28 #include "ns3/ampdu-subframe-header.h" | 27 #include "ns3/ampdu-subframe-header.h" |
| 28 #include "ns3/mobility-model.h" |
29 #include "ns3/log.h" | 29 #include "ns3/log.h" |
30 #include "ns3/pointer.h" | 30 #include "ns3/pointer.h" |
31 #include "ns3/radiotap-header.h" | 31 #include "ns3/radiotap-header.h" |
32 #include "ns3/config.h" | 32 #include "ns3/config.h" |
33 #include "ns3/names.h" | 33 #include "ns3/names.h" |
| 34 #include "wifi-helper.h" |
34 | 35 |
35 namespace ns3 { | 36 namespace ns3 { |
36 | 37 |
37 NS_LOG_COMPONENT_DEFINE ("WifiHelper"); | 38 NS_LOG_COMPONENT_DEFINE ("WifiHelper"); |
38 | 39 |
39 /** | 40 /** |
40 * ASCII trace Phy transmit sink with context | 41 * ASCII trace Phy transmit sink with context |
41 * \param stream the output stream | 42 * \param stream the output stream |
42 * \param context the context name | 43 * \param context the context name |
43 * \param p the packet | 44 * \param p the packet |
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
887 { | 888 { |
888 currentStream += apmac->AssignStreams (currentStream); | 889 currentStream += apmac->AssignStreams (currentStream); |
889 } | 890 } |
890 } | 891 } |
891 } | 892 } |
892 } | 893 } |
893 return (currentStream - stream); | 894 return (currentStream - stream); |
894 } | 895 } |
895 | 896 |
896 } //namespace ns3 | 897 } //namespace ns3 |
OLD | NEW |