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) 2009 INRIA, UDcast | 3 * Copyright (c) 2009 INRIA, UDcast |
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 */ | 95 */ |
96 EventId GetDsaAckTimeoutEvent (void) const; | 96 EventId GetDsaAckTimeoutEvent (void) const; |
97 /** | 97 /** |
98 * \brief allocate service flows | 98 * \brief allocate service flows |
99 * \param dsaReq the DSA request | 99 * \param dsaReq the DSA request |
100 * \param cid the connection identifier | 100 * \param cid the connection identifier |
101 */ | 101 */ |
102 void AllocateServiceFlows (const DsaReq &dsaReq, Cid cid); | 102 void AllocateServiceFlows (const DsaReq &dsaReq, Cid cid); |
103 /** | 103 /** |
104 * \brief add a multicast service flow | 104 * \brief add a multicast service flow |
| 105 * \param sf the service flow |
| 106 * \param modulation the wimax phy modulation type |
105 */ | 107 */ |
106 void AddMulticastServiceFlow (ServiceFlow sf, enum WimaxPhy::ModulationType mo
dulation); | 108 void AddMulticastServiceFlow (ServiceFlow sf, enum WimaxPhy::ModulationType mo
dulation); |
107 /** | 109 /** |
108 * \brief process a DSA-ACK message | 110 * \brief process a DSA-ACK message |
109 * \param dsaAck the message to process | 111 * \param dsaAck the message to process |
110 * \param cid the identifier of the connection on which the message was receiv
ed | 112 * \param cid the identifier of the connection on which the message was receiv
ed |
111 */ | 113 */ |
112 void ProcessDsaAck (const DsaAck &dsaAck, Cid cid); | 114 void ProcessDsaAck (const DsaAck &dsaAck, Cid cid); |
113 | 115 |
114 /** | 116 /** |
(...skipping 11 matching lines...) Expand all Loading... |
126 * \param transactionId transaction ID | 128 * \param transactionId transaction ID |
127 * \return the DSA response | 129 * \return the DSA response |
128 */ | 130 */ |
129 DsaRsp CreateDsaRsp (const ServiceFlow *serviceFlow, uint16_t transactionId); | 131 DsaRsp CreateDsaRsp (const ServiceFlow *serviceFlow, uint16_t transactionId); |
130 /** | 132 /** |
131 * \return the maximum DSA response retries | 133 * \return the maximum DSA response retries |
132 */ | 134 */ |
133 uint8_t GetMaxDsaRspRetries (void) const; | 135 uint8_t GetMaxDsaRspRetries (void) const; |
134 /** | 136 /** |
135 * Create DSA response function | 137 * Create DSA response function |
| 138 * \param serviceFlow service flow |
| 139 * \param cid the identifier of the connection on which the message was receiv
ed |
136 */ | 140 */ |
137 void ScheduleDsaRsp (ServiceFlow *serviceFlow, Cid cid); | 141 void ScheduleDsaRsp (ServiceFlow *serviceFlow, Cid cid); |
138 Ptr<WimaxNetDevice> m_device; ///< the device | 142 Ptr<WimaxNetDevice> m_device; ///< the device |
139 uint32_t m_sfidIndex; ///< SFID index | 143 uint32_t m_sfidIndex; ///< SFID index |
140 uint8_t m_maxDsaRspRetries; ///< maximum number of DSA response retries | 144 uint8_t m_maxDsaRspRetries; ///< maximum number of DSA response retries |
141 EventId m_dsaAckTimeoutEvent; ///< DSA ack timeout event | 145 EventId m_dsaAckTimeoutEvent; ///< DSA ack timeout event |
142 Cid m_inuseScheduleDsaRspCid; ///< in use schedule DSA response CID | 146 Cid m_inuseScheduleDsaRspCid; ///< in use schedule DSA response CID |
143 }; | 147 }; |
144 | 148 |
145 } // namespace ns3 | 149 } // namespace ns3 |
146 | 150 |
147 #endif /* BS_SERVICE_FLOW_MANAGER_H */ | 151 #endif /* BS_SERVICE_FLOW_MANAGER_H */ |
OLD | NEW |