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

Issue 898045: ns-3: Extract WifiInformationElement(Vector) core to wifi module (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years ago by Dean
Modified:
13 years, 10 months ago
Reviewers:
Nicola Baldo, and.kirill, andreev
CC:
ns-3-reviews_googlegroups.com
Visibility:
Public.

Description

This patch aims to bring the core of the current WifiInformationElement and WifiInformationElementVector classes into the wifi module, where they can then enjoy greater use (currently they are in the mesh module and contain mesh-specific aspects). It is proposed code for Bug 881 in the ns-3 Bugzilla module. The latest patch is based on ns-3-dev changeset 6360:d8975477ff6a.

Patch Set 1 : Draft 1 of the patch #

Patch Set 2 : Draft 2 of patch set (addressing comments from Mathieu) #

Total comments: 7

Patch Set 3 : Draft 3 of patch set (addressing comments from Nicola) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -180 lines) Patch
M src/devices/mesh/dot11s/ie-dot11s-beacon-timing.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/devices/mesh/dot11s/ie-dot11s-beacon-timing.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/devices/mesh/dot11s/ie-dot11s-configuration.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/devices/mesh/dot11s/ie-dot11s-configuration.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/devices/mesh/dot11s/ie-dot11s-id.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/devices/mesh/dot11s/ie-dot11s-id.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/devices/mesh/dot11s/ie-dot11s-metric-report.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/devices/mesh/dot11s/ie-dot11s-metric-report.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/devices/mesh/dot11s/ie-dot11s-peer-management.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/devices/mesh/dot11s/ie-dot11s-peer-management.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/devices/mesh/dot11s/ie-dot11s-peering-protocol.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/devices/mesh/dot11s/ie-dot11s-peering-protocol.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/devices/mesh/dot11s/ie-dot11s-perr.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/devices/mesh/dot11s/ie-dot11s-perr.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/devices/mesh/dot11s/ie-dot11s-prep.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/devices/mesh/dot11s/ie-dot11s-prep.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/devices/mesh/dot11s/ie-dot11s-preq.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/devices/mesh/dot11s/ie-dot11s-preq.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/devices/mesh/dot11s/ie-dot11s-rann.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/devices/mesh/dot11s/ie-dot11s-rann.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/devices/mesh/dot11s/peer-link-frame.cc View 2 5 chunks +8 lines, -17 lines 0 comments Download
M src/devices/mesh/mesh-information-element.h View 1 2 1 chunk +23 lines, -23 lines 0 comments Download
M src/devices/wifi/mgt-headers.cc View 7 chunks +14 lines, -14 lines 0 comments Download
M src/devices/wifi/ssid.h View 2 3 chunks +7 lines, -5 lines 0 comments Download
M src/devices/wifi/ssid.cc View 2 3 chunks +19 lines, -30 lines 0 comments Download
M src/devices/wifi/supported-rates.h View 2 2 chunks +7 lines, -4 lines 0 comments Download
M src/devices/wifi/supported-rates.cc View 2 2 chunks +17 lines, -18 lines 0 comments Download
M src/devices/wifi/wifi-information-element.h View 1 2 3 chunks +68 lines, -43 lines 0 comments Download
M src/devices/wifi/wifi-information-element.cc View 1 2 1 chunk +54 lines, -0 lines 0 comments Download
M src/devices/wifi/wifi-information-element-vector.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/devices/wifi/wifi-information-element-vector.cc View 1 2 2 chunks +2 lines, -5 lines 0 comments Download

Messages

Total messages: 6
Nicola Baldo
The patch is ok for me, I only have a few minor comments (see below). ...
13 years, 10 months ago (2010-06-21 23:09:07 UTC) #1
Dean
Nicola, Thanks for your comments. I have addressed them in the updated patch available on ...
13 years, 10 months ago (2010-06-22 13:21:54 UTC) #2
Nicola Baldo
http://codereview.appspot.com/898045/diff/7001/5037 File src/devices/wifi/wifi-information-element.h (right): http://codereview.appspot.com/898045/diff/7001/5037#newcode137 src/devices/wifi/wifi-information-element.h:137: Buffer::Iterator DeserializeIE (Buffer::Iterator i); Thank for your explanation, now ...
13 years, 10 months ago (2010-06-23 01:08:33 UTC) #3
and.kirill
Thank you for your work. I have some minor comments: Adding two methods for (de)serialization ...
13 years, 10 months ago (2010-06-25 08:01:22 UTC) #4
Dean
Kirill, Thanks for the review. > Adding two methods for (de)serialization has resolved a problem ...
13 years, 10 months ago (2010-06-25 09:54:41 UTC) #5
and.kirill
13 years, 10 months ago (2010-06-25 10:05:11 UTC) #6
2010/6/25  <deanarm@gmail.com>:
> Kirill,
>
> Thanks for the review.
>
>> Adding two methods for (de)serialization has resolved a problem with
>
> adding a
>>
>> single IE inside management frame (peer-link-frame has become better).
>
> Just to confirm...this is a comment, right - you are not requesting any
> change, are you?
>


This is a comment only, nothing to do:)


>> Also I agree, that "#define" is now better than a enum, so you must
>
> not have a
>>
>> huge enum and change it when a draft standard is approved. But may be
>
> it is
>>
>> worth to add somewhere in comments, that conflicts may occur and
>
> developer of
>>
>> new wifi-module should pay attention to this.
>
> Okay. So will you be happy if I put some text warning developers of this
> danger in the comment preceding the #defines in
> wifi-information-element.h?
>


Yes, maybe comment is needed where you define WifiElementId as uint8_t.


> If you can give a couple of answers to the affirmative, then I'll update
> the patch and merge it.
>
> Thanks,
> Dean.
>
> http://codereview.appspot.com/898045/show
>



-- 
Regards, Kirill Andreev
Wireless Software R&D Group,
IITP RAS
Sign in to reply to this message.

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