> -----Message d'origine----- > De : steve.derosier@xxxxxxxxx [mailto:steve.derosier@xxxxxxxxx] De > la part de Steve deRosier > Envoyé : mercredi 14 février 2018 19:16 > À : Jean Pierre TOSONI > Cc : Kalle Valo; linux-wireless@xxxxxxxxxxxxxxx; ath9k- > devel@xxxxxxxxxxxxxxxx > Objet : Re: [PATCH v2] ath9k: mark RSSI as invalid if frame received > during channel setup > > On Wed, Feb 14, 2018 at 8:26 AM, Jean Pierre TOSONI > <jp.tosoni@xxxxxxxxx> wrote: > > ath9k returns a wrong RSSI value for frames received in a 30ms > time > > window after a channel change. The correct value is typically 10dB > > below the returned value. > > > > This was found with a Atheros AR9300 Rev:3 chip (WLE350NX / > JWX6083 > > cards), during offchannel scans. > > > > Is this true for ALL ath9k chips or only for the specific device? If > it's not generally true, we shouldn't be adding code that applies to > all. Perhaps a quirk or keyed to a specific chip id or DT entry or > other way to guard it? You are right. On my hardware I could only try these two PCIe cards which use the same chip. But I cannot be sure it applies to other ath9k. Should I check the PCI product ID? > > - Steve