LEFT | RIGHT |
(no file at all) | |
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, |
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 /** | 441 /** |
442 * Assign a fixed random variable stream number to the random variables | 442 * Assign a fixed random variable stream number to the random variables |
443 * used by this model. Return the number of streams (possibly zero) that | 443 * used by this model. Return the number of streams (possibly zero) that |
444 * have been assigned. | 444 * have been assigned. |
445 * | 445 * |
446 * \param stream first stream index to use | 446 * \param stream first stream index to use |
447 * \return the number of stream indices assigned by this model | 447 * \return the number of stream indices assigned by this model |
448 */ | 448 */ |
449 int64_t AssignStreams (int64_t stream); | 449 int64_t AssignStreams (int64_t stream); |
450 | 450 |
| 451 bool GetNeedToWake (void); |
| 452 |
451 private: | 453 private: |
452 void DoInitialize (); | 454 void DoInitialize (); |
453 /** | 455 /** |
454 * This functions are used only to correctly set addresses in a-msdu subframe. | 456 * This functions are used only to correctly set addresses in a-msdu subframe. |
455 * If aggregating sta is a STA (in an infrastructured network): | 457 * If aggregating sta is a STA (in an infrastructured network): |
456 * SA = Address2 | 458 * SA = Address2 |
457 * DA = Address3 | 459 * DA = Address3 |
458 * If aggregating sta is an AP | 460 * If aggregating sta is an AP |
459 * SA = Address3 | 461 * SA = Address3 |
460 * DA = Address1 | 462 * DA = Address1 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 BlockAckManager *m_baManager; | 537 BlockAckManager *m_baManager; |
536 /* | 538 /* |
537 * Represents the minimum number of packets for use of block ack. | 539 * Represents the minimum number of packets for use of block ack. |
538 */ | 540 */ |
539 uint8_t m_blockAckThreshold; | 541 uint8_t m_blockAckThreshold; |
540 enum BlockAckType m_blockAckType; | 542 enum BlockAckType m_blockAckType; |
541 Time m_currentPacketTimestamp; | 543 Time m_currentPacketTimestamp; |
542 uint16_t m_blockAckInactivityTimeout; | 544 uint16_t m_blockAckInactivityTimeout; |
543 struct Bar m_currentBar; | 545 struct Bar m_currentBar; |
544 bool m_ampduExist; | 546 bool m_ampduExist; |
| 547 |
| 548 bool m_needToWake; |
545 }; | 549 }; |
546 | 550 |
547 } // namespace ns3 | 551 } // namespace ns3 |
548 | 552 |
549 #endif /* EDCA_TXOP_N_H */ | 553 #endif /* EDCA_TXOP_N_H */ |
LEFT | RIGHT |