-/* $OpenBSD: ifconfig.c,v 1.293 2015/01/06 21:26:46 stsp Exp $ */
+/* $OpenBSD: ifconfig.c,v 1.294 2015/01/09 20:34:21 sthen Exp $ */
/* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */
/*
if (nr.nr_max_rssi)
printf(" %u%%", IEEE80211_NODEREQ_RSSI(&nr));
else
- printf(" %udB", nr.nr_rssi);
+ printf(" %ddBm", nr.nr_rssi);
}
}
if (nr->nr_max_rssi)
printf("%u%% ", IEEE80211_NODEREQ_RSSI(nr));
else
- printf("%udB ", nr->nr_rssi);
+ printf("%ddBm ", nr->nr_rssi);
if (nr->nr_pwrsave)
printf("powersave ");
-/* $OpenBSD: ieee80211_ioctl.h,v 1.20 2014/08/24 18:01:27 zhuk Exp $ */
+/* $OpenBSD: ieee80211_ioctl.h,v 1.21 2015/01/09 20:34:21 sthen Exp $ */
/* $NetBSD: ieee80211_ioctl.h,v 1.7 2004/04/30 22:51:04 dyoung Exp $ */
/*-
u_int8_t nr_rates[IEEE80211_RATE_MAXSIZE]; /* rate set */
/* Node status information */
- u_int8_t nr_rssi; /* received signal strength */
- u_int8_t nr_max_rssi; /* maximum rssi */
+ int8_t nr_rssi; /* received signal strength */
+ int8_t nr_max_rssi; /* maximum rssi */
u_int8_t nr_tstamp[8]; /* from last received beacon */
u_int16_t nr_intval; /* beacon interval */
u_int16_t nr_capinfo; /* capabilities */