Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(541)

Issue 855042: ns-3: Correct selection of Wi-Fi control response rates (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 1 month ago by Dean
Modified:
13 years, 10 months ago
CC:
ns-3-reviews_googlegroups.com
Visibility:
Public.

Description

This patch aims to address Bug 853 in the ns-3 Bugzilla module. The patch modifies the GetControlAnswerMode() method of class WifiRemoteStationManager to correctly identify rates within the same modulation class as the received frame, and then adds a search for a suitable mandatory rate in the case where no suitable (per IEEE 802.11-2007, Section 9.6) basic rate has been found. Note that this change exposes issues in some of the test and example code that uses the Wi-Fi models. These issues are addressed in a separate changelist (which is also available for review here as Issue 861041)

Patch Set 1 #

Total comments: 4

Patch Set 2 : Draft 2 of patch set #

Total comments: 1

Patch Set 3 : Draft 3 of patch set (don't move GetMode and GetNModes to WifiPhy) #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+229 lines, -108 lines) Patch
M src/devices/wifi/wifi-mode.h View 1 chunk +9 lines, -0 lines 0 comments Download
M src/devices/wifi/wifi-phy.h View 2 1 chunk +29 lines, -1 line 0 comments Download
M src/devices/wifi/wifi-remote-station-manager.h View 1 5 chunks +21 lines, -9 lines 0 comments Download
M src/devices/wifi/wifi-remote-station-manager.cc View 1 5 chunks +103 lines, -42 lines 1 comment Download
M src/devices/wifi/yans-wifi-phy.h View 2 2 chunks +15 lines, -4 lines 0 comments Download
M src/devices/wifi/yans-wifi-phy.cc View 2 9 chunks +52 lines, -52 lines 0 comments Download

Messages

Total messages: 8
Nicola Baldo
Hi Dean, I am not sure whether I understand exactly your point, so I'll try ...
13 years, 10 months ago (2010-06-22 13:47:39 UTC) #1
Dean
Nicola, Thanks for looking at this. > I am not sure whether I understand exactly ...
13 years, 10 months ago (2010-06-22 14:15:20 UTC) #2
Dean
On 2010/06/22 14:15:20, Dean wrote: > Okay. So for avoidance of doubt, you are saying ...
13 years, 10 months ago (2010-06-22 14:33:45 UTC) #3
Dean
I've extrapolated a bit from the comments received on this so far in the updated ...
13 years, 10 months ago (2010-06-22 16:27:28 UTC) #4
nbaldo_cttc.es
Hi Dean, thank you very much for your effort in addressing this issue. Please find ...
13 years, 10 months ago (2010-06-22 20:14:27 UTC) #5
Dean
Nicola, Thanks for your notes. On 2010/06/22 20:14:27, nbaldo_cttc.es wrote: > > I've moved YansWifiPhy::m_modes ...
13 years, 10 months ago (2010-06-22 21:00:14 UTC) #6
Nicola Baldo
The patch is almost ok now, just some minor comments. You have my +1 to ...
13 years, 10 months ago (2010-06-23 01:01:00 UTC) #7
Dean
13 years, 10 months ago (2010-06-23 08:24:38 UTC) #8
Nicola,

Thanks for your comments. I've just pushed the updated code, but to provide
direct response to your comments...

> http://codereview.appspot.com/855042/diff/6001/7005#newcode460
> src/devices/wifi/wifi-remote-station-manager.h:460: WifiModeList m_modes;
> this is the OperationalRateSet, am I right? If so, maybe it would be better to
> change the name to reflect this.

Done.

> http://codereview.appspot.com/855042/diff/9003/10003
> File src/devices/wifi/wifi-remote-station-manager.cc (right):
> 
> http://codereview.appspot.com/855042/diff/9003/10003#newcode594
> src/devices/wifi/wifi-remote-station-manager.cc:594: *
> here you should briefly mention what you said in your email about the
existence
> of devices that do not support all mandatory rates.

I've added this to the comment for YansWifiPhy::m_deviceRateSet, as that seemed
a better place to have it - the point, after all, is that we need to remind
developers to avoid the assumption that this (and the derived
OperationalRateSet) will include all mandatory rates for a given
(standard-defined) PHY.

Regards,
Dean.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b