View Issue Details

IDProjectCategoryView StatusLast Update
0001939GNUnettransport servicepublic2024-05-03 12:00
ReporterChristian Grothoff Assigned ToChristian Grothoff Due Date
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 15: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 15:03

manager   ~0005609

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

Christian Grothoff

2012-03-16 15:34

manager   ~0005620

(3) is fixed in SVN 20574.

Christian Grothoff

2012-03-16 20:53

manager   ~0005621

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

Issue History

Date ModifiedUsernameFieldChange
2011-11-22 19:04Christian GrothoffNew Issue
2011-11-22 19:04Christian GrothoffStatusnew => assigned
2011-11-22 19:04Christian GrothoffAssigned To => David Brodski
2011-11-22 19:17Christian GrothoffAssigned ToDavid Brodski =>
2011-11-22 19:17Christian GrothoffStatusassigned => confirmed
2011-11-22 19:45Christian GrothoffSeverityfeature => tweak
2011-12-01 09:05Christian GrothoffAssigned To => Christian Grothoff
2011-12-01 09:05Christian GrothoffTarget Version => 0.9.1
2011-12-08 15:52Christian GrothoffRelationship addedparent of 0001982
2011-12-11 15:31Christian GrothoffNote Added: 0005040
2011-12-19 21:45Christian GrothoffTarget Version0.9.1 => 0.9.2
2012-01-22 20:21Christian GrothoffTarget Version0.9.2 => 0.9.3
2012-02-28 17:42Christian GrothoffStatusconfirmed => assigned
2012-03-05 00:48Christian GrothoffPrioritynormal => high
2012-03-14 15:03Christian GrothoffNote Added: 0005609
2012-03-16 15:34Christian GrothoffNote Added: 0005620
2012-03-16 20:53Christian GrothoffNote Added: 0005621
2012-03-16 20:53Christian GrothoffStatusassigned => resolved
2012-03-16 20:53Christian GrothoffFixed in Version => 0.9.3
2012-03-16 20:53Christian GrothoffResolutionopen => fixed
2012-06-02 17:15Christian GrothoffStatusresolved => closed
2024-05-03 12:00Christian GrothoffCategoryWLAN transport => transport service