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 * | 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 |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 * GNU General Public License for more details. | 12 * GNU General Public License for more details. |
13 * | 13 * |
14 * You should have received a copy of the GNU General Public License | 14 * You should have received a copy of the GNU General Public License |
15 * along with this program; if not, write to the Free Software | 15 * along with this program; if not, write to the Free Software |
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
17 * | 17 * |
18 * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr> | 18 * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
19 */ | 19 */ |
20 | 20 |
21 #include "regular-wifi-mac.h" | |
22 #include "ns3/log.h" | 21 #include "ns3/log.h" |
23 #include "ns3/pointer.h" | 22 #include "ns3/pointer.h" |
| 23 #include "ns3/packet.h" |
| 24 #include "regular-wifi-mac.h" |
| 25 #include "wifi-phy.h" |
24 #include "mac-rx-middle.h" | 26 #include "mac-rx-middle.h" |
25 #include "mac-tx-middle.h" | 27 #include "mac-tx-middle.h" |
26 #include "mac-low.h" | 28 #include "mac-low.h" |
27 #include "dcf-manager.h" | 29 #include "dcf-manager.h" |
28 #include "msdu-aggregator.h" | 30 #include "msdu-aggregator.h" |
29 #include "mpdu-aggregator.h" | 31 #include "mpdu-aggregator.h" |
30 #include "wifi-utils.h" | 32 #include "wifi-utils.h" |
| 33 #include "mgt-headers.h" |
| 34 #include "amsdu-subframe-header.h" |
| 35 #include "wifi-remote-station-manager.h" |
31 | 36 |
32 namespace ns3 { | 37 namespace ns3 { |
33 | 38 |
34 NS_LOG_COMPONENT_DEFINE ("RegularWifiMac"); | 39 NS_LOG_COMPONENT_DEFINE ("RegularWifiMac"); |
35 | 40 |
36 NS_OBJECT_ENSURE_REGISTERED (RegularWifiMac); | 41 NS_OBJECT_ENSURE_REGISTERED (RegularWifiMac); |
37 | 42 |
38 RegularWifiMac::RegularWifiMac () | 43 RegularWifiMac::RegularWifiMac () |
39 : m_htSupported (0), | 44 : m_htSupported (0), |
40 m_vhtSupported (0), | 45 m_vhtSupported (0), |
(...skipping 1361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1402 { | 1407 { |
1403 NS_LOG_FUNCTION (this); | 1408 NS_LOG_FUNCTION (this); |
1404 for (EdcaQueues::const_iterator i = m_edca.begin (); i != m_edca.end (); ++i) | 1409 for (EdcaQueues::const_iterator i = m_edca.begin (); i != m_edca.end (); ++i) |
1405 { | 1410 { |
1406 i->second->SetMsduAggregator (0); | 1411 i->second->SetMsduAggregator (0); |
1407 i->second->SetMpduAggregator (0); | 1412 i->second->SetMpduAggregator (0); |
1408 } | 1413 } |
1409 } | 1414 } |
1410 | 1415 |
1411 } //namespace ns3 | 1416 } //namespace ns3 |
OLD | NEW |