Skip to contentSkip to conversation

IWL3945 always reports noise levels of -127

DISCUSSION Maxim Levitsky 3 participants 11 messages May 1, 2009 – May 10, 2009

lore
Share & tools
lore
#0 lore raw

This is minor, and qute old issue, but botting in ubuntu kernel, 'fixes' it so it must be a regression.

Sorry for not reporting this earlier.

Best regards,
Maxim Levitsky

#1 lore raw

When one of our devices cannot figure out what the actual noise level is, it reports -127.

Newer devices are better at old devices at figuring noise level. IIRC, 3945 cannot figure noise for CCK signals, and may not be possible with OFDM as well.

-- Ben --

Quoted 31 lines

-----Original Message-----
From: Maxim Levitsky [mailto:[email protected]]
Sent: Friday, May 01, 2009 5:31 PM
To: iwlwifi maling list
Cc: linux-wireless
Subject: [ipw3945-devel] IWL3945 always reports noise levels of -127

This is minor, and qute old issue, but botting in ubuntu kernel, 'fixes'
it so it must be a regression.

Sorry for not reporting this earlier.

Best regards,
Maxim Levitsky

---------------------------------------------------------------
---------------
Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Ipw3945-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/ipw3945-devel

#2 lore raw
Quoted 3 lines · Ben M

When one of our devices cannot figure out what the actual noise level is, it reports -127.

Newer devices are better at old devices at figuring noise level. IIRC, 3945 cannot figure noise for CCK signals, and may not be possible with OFDM as well.

Why then it did work on older kernel ?
(and noise levels seemed to be correct)

Regards,
Maxim Levitsky

#3 lore raw
Quoted 12 lines

-----Original Message-----
From: Maxim Levitsky [mailto:[email protected]]
Sent: Monday, May 04, 2009 3:04 PM
To: Cahill, Ben M
Cc: iwlwifi maling list; linux-wireless
Subject: RE: [ipw3945-devel] IWL3945 always reports noise levels of -127

Quoted 1 line · Ben M

When one of our devices cannot figure out what the actual

Quoted 8 lines

noise level is, it reports -127.

Quoted 2 lines

Newer devices are better at old devices at figuring noise

level. IIRC, 3945 cannot figure noise for CCK signals, and may not be possible with OFDM as well.

Why then it did work on older kernel ?
(and noise levels seemed to be correct)

Hmmm, good point, and I don't know the answer! :-(

Guess it deserves a bugzilla.

Would you be willing to look in the source to see if you can figure out why? Looks like a search for "noise" in iwl-3945.c will lead in the right direction.

-- Ben --

Quoted 5 lines

Regards,
Maxim Levitsky

#4 lore raw
Quoted 20 lines · Ben M
Quoted 11 lines

-----Original Message-----
From: Maxim Levitsky [mailto:[email protected]]
Sent: Monday, May 04, 2009 3:04 PM
To: Cahill, Ben M
Cc: iwlwifi maling list; linux-wireless
Subject: RE: [ipw3945-devel] IWL3945 always reports noise levels of -127

Quoted 1 line · Ben M

When one of our devices cannot figure out what the actual

Quoted 8 lines

noise level is, it reports -127.

Quoted 2 lines

Newer devices are better at old devices at figuring noise

level. IIRC, 3945 cannot figure noise for CCK signals, and may not be possible with OFDM as well.

Why then it did work on older kernel ?
(and noise levels seemed to be correct)

Quoted 7 lines

Hmmm, good point, and I don't know the answer! :-(

Guess it deserves a bugzilla.

Would you be willing to look in the source to see if you can figure out why? Looks like a search for "noise" in iwl-3945.c will lead in the right direction.

-- Ben --

Indeed I'll do.
One thing I need to check is whether this is related to firmware, as there was a switch to newer one.
Anyway I'll see what I can do there.

I already did look at source, and I didn't yet find anything suspicios, I guess few printk won't hurt there.

Thanks,
Maxim Levitsky

#5 lore raw
In reply to Cahill, Ben M
Quoted 13 lines · Ben M
Quoted 13 lines

-----Original Message-----
From: Maxim Levitsky [mailto:[email protected]]
Sent: Monday, May 04, 2009 3:04 PM
To: Cahill, Ben M
Cc: iwlwifi maling list; linux-wireless
Subject: RE: [ipw3945-devel] IWL3945 always reports noise levels of -127

Quoted 1 line · Ben M

When one of our devices cannot figure out what the actual

noise level is, it reports -127.

Quoted 1 line
Quoted 9 lines
Quoted 6 lines
Quoted 1 line

Newer devices are better at old devices at figuring noise

level. IIRC, 3945 cannot figure noise for CCK signals, and may not be possible with OFDM as well.

Why then it did work on older kernel ?
(and noise levels seemed to be correct)

Hmmm, good point, and I don't know the answer! :-(

And I do know it now (this is what I suspected...) This is firmware issue.

I forced the driver to use older firmware iwlwifi-3945-1.ucode, and noise levels are back.

Regards,
Maxim Levitsky

#6 lore raw
Quoted 21 lines · Maxim Levitsky
Quoted 20 lines · Ben M
Quoted 19 lines

-----Original Message-----
From: Maxim Levitsky [mailto:[email protected]]
Sent: Monday, May 04, 2009 3:04 PM
To: Cahill, Ben M
Cc: iwlwifi maling list; linux-wireless
Subject: RE: [ipw3945-devel] IWL3945 always reports noise levels of -127

Quoted 1 line · Ben M

When one of our devices cannot figure out what the actual

noise level is, it reports -127.

Quoted 2 lines

Newer devices are better at old devices at figuring noise

level. IIRC, 3945 cannot figure noise for CCK signals, and may not be possible with OFDM as well.

Why then it did work on older kernel ?
(and noise levels seemed to be correct)

Quoted 8 lines
Quoted 2 lines

Hmmm, good point, and I don't know the answer! :-(

And I do know it now (this is what I suspected...) This is firmware issue.

I forced the driver to use older firmware iwlwifi-3945-1.ucode, and noise levels are back.

Indeed old microcode reports values like that:
rssi:017 agc:000 sig_avg:5437 noise_diff:580

New microcode reports this instead:
rssi:018 agc:000 sig_avg:140 noise_diff:000

noise_diff is always zero now, and range for sig_avg changed.

I also noticed that with older firmware I couldn't set the tx speed Thus what recently fixed it was a firmware update!
(But in both cases OFDM rated were used)

Thats all nothing to debug any more here.

Best regards,
Maxim Levitsky

#7 lore raw

Excellent information. Thank you.

We just issued new 3945 uCode within the past week or two ... Is that also showing the problem (noise_diff = 0)?

-- Ben --

Quoted 61 lines

-----Original Message-----
From: Maxim Levitsky [mailto:[email protected]]
Sent: Tuesday, May 05, 2009 12:17 PM
To: Cahill, Ben M
Cc: iwlwifi maling list; linux-wireless
Subject: RE: [ipw3945-devel] IWL3945 always reports noise levels of -127

Quoted 21 lines · Maxim Levitsky
Quoted 20 lines · Ben M
Quoted 19 lines

-----Original Message-----
From: Maxim Levitsky [mailto:[email protected]]
Sent: Monday, May 04, 2009 3:04 PM
To: Cahill, Ben M
Cc: iwlwifi maling list; linux-wireless
Subject: RE: [ipw3945-devel] IWL3945 always reports noise levels of -127

Quoted 1 line · Ben M

When one of our devices cannot figure out what the actual

noise level is, it reports -127.

Quoted 2 lines

Newer devices are better at old devices at figuring noise

level. IIRC, 3945 cannot figure noise for CCK signals, and may not be possible with OFDM as well.

Why then it did work on older kernel ?
(and noise levels seemed to be correct)

Quoted 8 lines
Quoted 2 lines

Hmmm, good point, and I don't know the answer! :-(

And I do know it now (this is what I suspected...) This is firmware issue.

I forced the driver to use older firmware iwlwifi-3945-1.ucode, and noise levels are back.

Indeed old microcode reports values like that:
rssi:017 agc:000 sig_avg:5437 noise_diff:580

New microcode reports this instead:
rssi:018 agc:000 sig_avg:140 noise_diff:000

noise_diff is always zero now, and range for sig_avg changed.

I also noticed that with older firmware I couldn't set the tx speed Thus what recently fixed it was a firmware update!
(But in both cases OFDM rated were used)

Thats all nothing to debug any more here.

Best regards,
Maxim Levitsky

#8 lore raw
Quoted 4 lines · Ben M

Excellent information. Thank you.

We just issued new 3945 uCode within the past week or two ... Is that also showing the problem (noise_diff = 0)?

Yes, I have just installed it to be sure.
Exactly same looking output.

Best regards,
Maxim Levitsky

#9 lore raw

Maxim,

Quoted 8 lines · Maxim Levitsky
Quoted 4 lines · Ben M

Excellent information. Thank you.

We just issued new 3945 uCode within the past week or two ... Is that also showing the problem (noise_diff = 0)?

Yes, I have just installed it to be sure.
Exactly same looking output.

This will take some coordination to resolve. Could you please open a new bug at http://www.intellinuxwireless.org/bugzilla/ ?

Thank you

Reinette

#10 lore raw
Quoted 12 lines · reinette chatre

Maxim,

Quoted 8 lines · Maxim Levitsky
Quoted 4 lines · Ben M

Excellent information. Thank you.

We just issued new 3945 uCode within the past week or two ... Is that also showing the problem (noise_diff = 0)?

Yes, I have just installed it to be sure.
Exactly same looking output.

Quoted 7 lines

This will take some coordination to resolve. Could you please open a new bug at http://www.intellinuxwireless.org/bugzilla/ ?

Thank you

Reinette

Done.

http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1993

Best regards,
Maxim Levitsky