Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/dev/usb Fix scaling of rssi to wifi stack.
details: https://anonhg.NetBSD.org/src-all/rev/b958b901da1b
branches: trunk
changeset: 369385:b958b901da1b
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Thu Jul 21 16:59:33 2022 +1000
description:
Fix scaling of rssi to wifi stack.
Tested on 88CUS 92C and 92EU variants.
diffstat:
sys/dev/usb/if_urtwn.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 091d810f7567 -r b958b901da1b sys/dev/usb/if_urtwn.c
--- a/sys/dev/usb/if_urtwn.c Thu Jul 21 16:58:28 2022 +1000
+++ b/sys/dev/usb/if_urtwn.c Thu Jul 21 16:59:33 2022 +1000
@@ -2226,7 +2226,7 @@
/* pass net load up the stack */
usbwifi_enqueue(&sc->sc_uw, (uint8_t *)&stat[1] + infosz,
- pktlen, rssi+90, 0, 0, 0);
+ pktlen, rssi + 150, 0, 0, 0);
}
static void
Home |
Main Index |
Thread Index |
Old Index