On Tue, 17 Dec 2019 at 10:29, Tom Psyborg <pozega.tomislav@xxxxxxxxx> wrote: > > On 17/12/2019, Ben Greear <greearb@xxxxxxxxxxxxxxx> wrote: > > On 12/17/19 8:23 AM, Justin Capella wrote: > >> I believe someone recently submitted a patch that defined noise floors > >> per band (2/5). > > > > I looked at using the real noise floor. Our radio was reporting a noise > > floor of around -102, > > where the hard-coded default is -95. This of course would make the reported > > RSSI lower by 7db > > in that case. I am not sure that is correct. > > > > Hi > > I am getting similar NF values with all my ath10k devices, I thought > default was changed since ath9k from -95 to -115 just like in the > vendor driver? There were some discussions about it on mailing list. > On some channels (5Ghz) the value goes down to about -107, even saw > -110 once. IIRC they're /not/ calibrated dBm values. They're just internal noise floor calibration values derived from the internal ADC reads when you kick off a NF cal. Then everything is relative to this NF value. This is one of the many, many reasons things get gunked up when you start seeing higher noise floor values; since a lot of things internally are/were related to what the currently calibrated NF value is, a too-high NF sample value would result in quite exciting things in the PHY like "this channel never drops below CCA"... -adrian