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) 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 m_txop->NotifyOff (); | 241 m_txop->NotifyOff (); |
242 } | 242 } |
243 | 243 |
244 void | 244 void |
245 DcfState::NotifyWakeUp (void) | 245 DcfState::NotifyWakeUp (void) |
246 { | 246 { |
247 NS_LOG_FUNCTION (this); | 247 NS_LOG_FUNCTION (this); |
248 m_txop->NotifyWakeUp (); | 248 m_txop->NotifyWakeUp (); |
249 } | 249 } |
250 | 250 |
| 251 void |
| 252 DcfState::NotifyOn (void) |
| 253 { |
| 254 NS_LOG_FUNCTION (this); |
| 255 m_txop->NotifyOn (); |
| 256 } |
| 257 |
251 bool | 258 bool |
252 DcfState::IsEdca (void) const | 259 DcfState::IsEdca (void) const |
253 { | 260 { |
254 NS_LOG_FUNCTION (this); | 261 NS_LOG_FUNCTION (this); |
255 return m_txop->IsQosTxop (); | 262 return m_txop->IsQosTxop (); |
256 } | 263 } |
257 | 264 |
258 } //namespace ns3 | 265 } //namespace ns3 |
LEFT | RIGHT |