[Ns-bugs] [Bug 543] New: noiseFloor -> noiseFigure

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Wed Apr 8 06:06:22 PDT 2009


http://www.nsnam.org/bugzilla/show_bug.cgi?id=543

           Summary: noiseFloor -> noiseFigure
           Product: ns-3
           Version: ns-3-dev
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: P5
         Component: wifi
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: nbaldo at cttc.es
   Estimated Hours: 0.0


Created an attachment (id=416)
 --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=416)
noiseFloor -> noiseFigure

In the current wifi code there are several variables and methods which are
named after the term "noise floor". Given the way these variable are used (see
in particular InterferenceHelper::CalculateSnr()), it is evident that these
variables actually refer to the well-established concept of "noise figure"[1]. 

Moreover, InterferenceHelper::m_noiseFloorW is definitly misnamed, since from
the way this variable is used in InterferenceHelper::CalculateSnr() it is clear
that the variable is dimensionless, not in W. 

The attached patches introduces a more correct naming. Functionality is not
affected (i.e., the way the variables are used does not change, and the default
value of the associated attribute remains the same).

[1] http://en.wikipedia.org/wiki/Noise_figure


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Ns-bugs mailing list