RSSI incorrect for 9560
cowpod opened this issue · 6 comments
Network is shown as full strength, but after connection the RSSI is -256.
[previous/irrelevant: connecting to a repeater sometimes shows both networks, one super weak and one "full strength"]
Tried fix-scan.zip from #15, and latest scan commit; it pops up faster, but still same issue.
MacOS 10.15.6
Intel Wireless 9560
usr-sse2/itlwm, Black80211
Edited (a lot) for accuracy
Same issue, same hardware, same OS, but not on a repeated network. I turned the wifi on and off a few times to see if it persisted, so that's what the log.txt attached reflects.
log.txt
My guess is that itlwm::getRSSI() needs to be changed to:
int itlwm::getRSSI() {
struct ieee80211_node *bss = com.sc_ic.ic_bss;
return bss->ni_rssi
}
ni_rssi is what is returned to HeliPort, and that is accurate. I can't get Black80211 to start though to test.
My guess is that itlwm::getRSSI() needs to be changed to:
int itlwm::getRSSI() { struct ieee80211_node *bss = com.sc_ic.ic_bss; return bss->ni_rssi }
ni_rssi is what is returned to HeliPort, and that is accurate. I can't get Black80211 to start though to test.
I can confirm that this patch solves the issue on the same hardware.
It works perfectly here!
Can we get someone with a 8560 to test to make sure nothing broke? (i'll be able to test again within a few days)
Still works on 8265, merged to master.