Left: | ||
Right: |
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) 2005,2006,2007 INRIA | 3 * Copyright (c) 2005,2006,2007 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 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1069 uint32_t GetShortRetryCount (const WifiRemoteStation *station) const; | 1069 uint32_t GetShortRetryCount (const WifiRemoteStation *station) const; |
1070 /** | 1070 /** |
1071 * Return the preamble to be used for the transmission. | 1071 * Return the preamble to be used for the transmission. |
1072 * | 1072 * |
1073 * \param mode the mode selected for the transmission | 1073 * \param mode the mode selected for the transmission |
1074 * \param dest address of the recipient | 1074 * \param dest address of the recipient |
1075 * | 1075 * |
1076 * \return the preamble to be used for the transmission | 1076 * \return the preamble to be used for the transmission |
1077 */ | 1077 */ |
1078 WifiPreamble GetPreambleForTransmission (WifiMode mode, Mac48Address dest); | 1078 WifiPreamble GetPreambleForTransmission (WifiMode mode, Mac48Address dest); |
1079 /** | |
1080 * Return the channel width that corresponds to the selected mode (instead of | |
1081 * letting the PHY's default channel width). This is especially useful when us ing | |
1082 * non-HT modes with HT/VHT/HE capable stations (with default width above 20 M Hz). | |
1083 * | |
1084 * \param mode selected WifiMode | |
1085 * \param maxSupportedChannelWidth maximum channel width supported by the PHY layer | |
1086 * \return channel width adapted to the selected mode | |
1087 */ | |
1088 static uint8_t GetChannelWidthForTransmission (WifiMode mode, uint8_t maxSuppo rtedChannelWidth); | |
S. Deronne
2018/02/24 09:57:29
already pushed to ns-3-dev
Rediet
2018/02/26 16:22:35
Acknowledged.
| |
1079 | 1089 |
1080 /** | 1090 /** |
1081 * Return the WifiPhy. | 1091 * Return the WifiPhy. |
1082 * | 1092 * |
1083 * \return WifiPhy | 1093 * \return WifiPhy |
1084 */ | 1094 */ |
1085 Ptr<WifiPhy> GetPhy (void) const; | 1095 Ptr<WifiPhy> GetPhy (void) const; |
1086 /** | 1096 /** |
1087 * Return the WifiMac. | 1097 * Return the WifiMac. |
1088 * | 1098 * |
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1596 virtual ~WifiRemoteStation (); | 1606 virtual ~WifiRemoteStation (); |
1597 WifiRemoteStationState *m_state; //!< Remote station state | 1607 WifiRemoteStationState *m_state; //!< Remote station state |
1598 uint32_t m_ssrc; //!< STA short retry count | 1608 uint32_t m_ssrc; //!< STA short retry count |
1599 uint32_t m_slrc; //!< STA long retry count | 1609 uint32_t m_slrc; //!< STA long retry count |
1600 uint8_t m_tid; //!< traffic ID | 1610 uint8_t m_tid; //!< traffic ID |
1601 }; | 1611 }; |
1602 | 1612 |
1603 } //namespace ns3 | 1613 } //namespace ns3 |
1604 | 1614 |
1605 #endif /* WIFI_REMOTE_STATION_MANAGER_H */ | 1615 #endif /* WIFI_REMOTE_STATION_MANAGER_H */ |
OLD | NEW |