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) 2006, 2009 INRIA | 3 * Copyright (c) 2006, 2009 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 "ns3/log.h" | 23 #include "ns3/log.h" |
24 #include "ns3/pointer.h" | 24 #include "ns3/simulator.h" |
| 25 #include "ns3/random-variable-stream.h" |
25 #include "edca-txop-n.h" | 26 #include "edca-txop-n.h" |
26 #include "dcf-manager.h" | 27 #include "dcf-manager.h" |
27 #include "dcf-state.h" | 28 #include "dcf-state.h" |
28 #include "mac-tx-middle.h" | 29 #include "mac-tx-middle.h" |
| 30 #include "mgt-headers.h" |
29 #include "wifi-mac-trailer.h" | 31 #include "wifi-mac-trailer.h" |
30 #include "wifi-mac-queue.h" | 32 #include "wifi-mac-queue.h" |
| 33 #include "mac-low.h" |
31 #include "qos-blocked-destinations.h" | 34 #include "qos-blocked-destinations.h" |
32 #include "ns3/simulator.h" | 35 #include "wifi-remote-station-manager.h" |
| 36 #include "msdu-aggregator.h" |
| 37 #include "mpdu-aggregator.h" |
| 38 #include "ctrl-headers.h" |
33 | 39 |
34 #undef NS_LOG_APPEND_CONTEXT | 40 #undef NS_LOG_APPEND_CONTEXT |
35 #define NS_LOG_APPEND_CONTEXT if (m_low != 0) { std::clog << "[mac=" << m_low->G
etAddress () << "] "; } | 41 #define NS_LOG_APPEND_CONTEXT if (m_low != 0) { std::clog << "[mac=" << m_low->G
etAddress () << "] "; } |
36 | 42 |
37 namespace ns3 { | 43 namespace ns3 { |
38 | 44 |
39 NS_LOG_COMPONENT_DEFINE ("EdcaTxopN"); | 45 NS_LOG_COMPONENT_DEFINE ("EdcaTxopN"); |
40 | 46 |
41 NS_OBJECT_ENSURE_REGISTERED (EdcaTxopN); | 47 NS_OBJECT_ENSURE_REGISTERED (EdcaTxopN); |
42 | 48 |
(...skipping 1516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1559 } | 1565 } |
1560 } | 1566 } |
1561 | 1567 |
1562 bool | 1568 bool |
1563 EdcaTxopN::IsEdca () | 1569 EdcaTxopN::IsEdca () |
1564 { | 1570 { |
1565 return true; | 1571 return true; |
1566 } | 1572 } |
1567 | 1573 |
1568 } //namespace ns3 | 1574 } //namespace ns3 |
OLD | NEW |