Bugzilla – Full Text Bug Listing |
Summary: | noiseFloor -> noiseFigure | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Nicola Baldo <nicola> |
Component: | wifi | Assignee: | ns-bugs <ns-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mathieu.lacage, timo.bingmann |
Priority: | P5 | Keywords: | patch |
Version: | ns-3-dev | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | noiseFloor -> noiseFigure |
Description
Nicola Baldo
2009-04-08 09:06:22 UTC
Sorry, but I disagreed: The signal argument to the CalculateSnr() function is in watt. To get snr (in plain-ratio) noise and interference are in watt as well. (In reply to comment #1) > Sorry, but I disagreed: > The signal argument to the CalculateSnr() function is in watt. > To get snr (in plain-ratio) noise and interference are in watt as well. > please note that the "noiseFloor" variable which is declared locally within the body of InterferenceHelper::CalculateSnr() is indeed in W, and since it represents the power of noise it makes sense to name it "noise floor". For this reason, the proposed patch leaves it with the same name. On the other hand, the variable InterferenceHelper::m_noiseFloorW, which actually refers to the noise figure, is not in W, it is dimensionless. Okay thanks, yes now I see you changed the RxNoise of YansWifiPhy. This is indeed a dimensionless multiplier. I mixed it up with the noiseFloor in CalculateSnr(). I fully agree, and also stumbled on that previously. ok for me: can you add a comment somewhere with a link to a definition of "noise figure" ? Maybe somehing like a decent reference paper or wikipedia link ? Anyway, feel free to commit yourself if you have commit powers: let me know if you don't have them. (In reply to comment #4) > ok for me: can you add a comment somewhere with a link to a definition of > "noise figure" ? Maybe somehing like a decent reference paper or wikipedia link > ? I already included the definition of noise figure as reported by wikipedia. I put it into the description of the RxNoiseFigure attribute in YansWifiPhy::GetTypeId(). Is that sufficient? > > Anyway, feel free to commit yourself if you have commit powers: let me know if > you don't have them. > I don't have commit powers, otherwise I would be glad to commit it by myself. committed (changeset 56a5bf298339) |