Index: sys/dev/usb/wlan/if_urtwn.c =================================================================== --- sys/dev/usb/wlan/if_urtwn.c +++ sys/dev/usb/wlan/if_urtwn.c @@ -228,7 +228,9 @@ static void urtwn_watchdog(void *); static void urtwn_update_avgrssi(struct urtwn_softc *, int, int8_t); static int8_t urtwn_get_rssi(struct urtwn_softc *, int, void *); +#if 0 static int8_t urtwn_r88e_get_rssi(struct urtwn_softc *, int, void *); +#endif static int urtwn_tx_start(struct urtwn_softc *, struct ieee80211_node *, struct mbuf *, struct urtwn_data *); @@ -667,9 +669,11 @@ /* Get RSSI from PHY status descriptor if present. */ if (infosz != 0 && (rxdw0 & R92C_RXDW0_PHYST)) { +#if 0 if (sc->chip & URTWN_CHIP_88E) rssi = urtwn_r88e_get_rssi(sc, rate, &stat[1]); else +#endif rssi = urtwn_get_rssi(sc, rate, &stat[1]); /* Update our average RSSI. */ urtwn_update_avgrssi(sc, rate, rssi); @@ -1707,6 +1711,7 @@ return (rssi); } +#if 0 static int8_t urtwn_r88e_get_rssi(struct urtwn_softc *sc, int rate, void *physt) { @@ -1757,7 +1762,7 @@ } return (rssi); } - +#endif static int urtwn_tx_start(struct urtwn_softc *sc, struct ieee80211_node *ni,