View Issue Details

IDProjectCategoryView StatusLast Update
0001939GNUnetWLAN transportpublic2012-06-02 19:15
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PriorityhighSeveritytweakReproducibilityN/A
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.3Fixed in Version0.9.3 
Summary0001939: code cleanup required
DescriptionThe WLAN plugin needs a code review; the sub-directory wlan/ should be removed, headers inlined and especially the SUID processes deserve a good review.
TagsNo tags attached.

Relationships

parent of 0001982 closedDavid Brodski implicit declaration of function 'htole16' 

Activities

Christian Grothoff

2011-12-11 16:31

manager   ~0005040

Open issues:
1) 'struct ieee80211_frame' is defined *differently* in different c files
2) not everything in 'gnunet-transport-wlan-helper.c' is documented,
3) IPC Message structs are not nicely defined (lots of headers+ptr-arithmetic,
   'struct Radiotap_rx' and 'struct Radiotap_Send' should likely be
   embedded in some larger structs). Protocol between helper and plugin
   should be documented!
4) some fields in 'struct Radiotap_rx' are never set; virtually all are
   never used (!)
5) 'struct ieee80211_radiotap_header' and 'struct ieee80211_frame' are
   confusing (names are not great, can we simplify?); naming conventions
   are not followed here either.
6) unnamed constants (i.e. '31' -- is that the same as 'RADIOTAP_EXT' or is it a different 31)?
7) use of 'int' vs. 'unsigned int' types does not seem to be consistent
8) Overall, gnunet-transport-wlan-helper.c is not ready for audit yet

Christian Grothoff

2012-03-14 16:03

manager   ~0005609

(1) is fixed in SVN 20495. Also, (3) is now fixed in one direction.

Christian Grothoff

2012-03-16 16:34

manager   ~0005620

(3) is fixed in SVN 20574.

Christian Grothoff

2012-03-16 21:53

manager   ~0005621

As of 20581, I consider the WLAN helper to be clean code. More testing might be good, though...

Issue History

Date Modified Username Field Change
2011-11-22 20:04 Christian Grothoff New Issue
2011-11-22 20:04 Christian Grothoff Status new => assigned
2011-11-22 20:04 Christian Grothoff Assigned To => David Brodski
2011-11-22 20:17 Christian Grothoff Assigned To David Brodski =>
2011-11-22 20:17 Christian Grothoff Status assigned => confirmed
2011-11-22 20:45 Christian Grothoff Severity feature => tweak
2011-12-01 10:05 Christian Grothoff Assigned To => Christian Grothoff
2011-12-01 10:05 Christian Grothoff Target Version => 0.9.1
2011-12-08 16:52 Christian Grothoff Relationship added parent of 0001982
2011-12-11 16:31 Christian Grothoff Note Added: 0005040
2011-12-19 22:45 Christian Grothoff Target Version 0.9.1 => 0.9.2
2012-01-22 21:21 Christian Grothoff Target Version 0.9.2 => 0.9.3
2012-02-28 18:42 Christian Grothoff Status confirmed => assigned
2012-03-05 01:48 Christian Grothoff Priority normal => high
2012-03-14 16:03 Christian Grothoff Note Added: 0005609
2012-03-16 16:34 Christian Grothoff Note Added: 0005620
2012-03-16 21:53 Christian Grothoff Note Added: 0005621
2012-03-16 21:53 Christian Grothoff Status assigned => resolved
2012-03-16 21:53 Christian Grothoff Fixed in Version => 0.9.3
2012-03-16 21:53 Christian Grothoff Resolution open => fixed
2012-06-02 19:15 Christian Grothoff Status resolved => closed