View | Details | Raw Unified | Return to bug 958
Collapse All | Expand All

(-)a/src/devices/wifi/wifi-net-device.h (-2 / +5 lines)
 Lines 104-111    Link Here 
104
104
105
private:
105
private:
106
106
107
  // This value conforms to the 802.11 specification
107
  /*
108
  static const uint16_t MAX_MSDU_SIZE = 2304;
108
   * 802.11 specifies 2304 as maximum MSDU size, but in this context 
109
   * it is used without the 8-byte LLC header which is added later-on
110
   */
111
  static const uint16_t MAX_MSDU_SIZE = 2296;
109
112
110
  virtual void DoDispose (void);
113
  virtual void DoDispose (void);
111
  virtual void DoStart (void);
114
  virtual void DoStart (void);
(-)a/src/devices/wifi/wifi-remote-station-manager.cc (-4 / +5 lines)
 Lines 152-165    Link Here 
152
                   MakeUintegerAccessor (&WifiRemoteStationManager::m_maxSlrc),
152
                   MakeUintegerAccessor (&WifiRemoteStationManager::m_maxSlrc),
153
                   MakeUintegerChecker<uint32_t> ())
153
                   MakeUintegerChecker<uint32_t> ())
154
    .AddAttribute ("RtsCtsThreshold", "If a data packet is bigger than this value, we use an RTS/CTS handshake"
154
    .AddAttribute ("RtsCtsThreshold", "If a data packet is bigger than this value, we use an RTS/CTS handshake"
155
                   " before sending the data. This value will not have any effect on some rate control algorithms.",
155
                   " before sending the data. This value will not have any effect on some rate control algorithms."
156
                   UintegerValue (1500),
156
                   " It is used after WifiNetDevice adds an 8-byte LLC header.",
157
                   UintegerValue (1508),
157
                   MakeUintegerAccessor (&WifiRemoteStationManager::m_rtsCtsThreshold),
158
                   MakeUintegerAccessor (&WifiRemoteStationManager::m_rtsCtsThreshold),
158
                   MakeUintegerChecker<uint32_t> ())
159
                   MakeUintegerChecker<uint32_t> ())
159
    .AddAttribute ("FragmentationThreshold", "If a data packet is bigger than this value, we fragment it such that"
160
    .AddAttribute ("FragmentationThreshold", "If a data packet is bigger than this value, we fragment it such that"
160
                   " the size of the fragments are equal or smaller than this value. This value will not have any effect"
161
                   " the size of the fragments are equal or smaller than this value. This value will not have any effect"
161
                   " on some rate control algorithms.",
162
                   " on some rate control algorithms. It is used after WifiNetDevice adds an 8-byte LLC header.",
162
                   UintegerValue (1500),
163
                   UintegerValue (1508),
163
                   MakeUintegerAccessor (&WifiRemoteStationManager::m_fragmentationThreshold),
164
                   MakeUintegerAccessor (&WifiRemoteStationManager::m_fragmentationThreshold),
164
                   MakeUintegerChecker<uint32_t> ())
165
                   MakeUintegerChecker<uint32_t> ())
165
    .AddAttribute ("NonUnicastMode", "Wifi mode used for non-unicast transmissions.",
166
    .AddAttribute ("NonUnicastMode", "Wifi mode used for non-unicast transmissions.",

Return to bug 958