mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 10:52:50 +00:00
MFC r343980:
ifconfig(8): display 802.11n rates correctly for 'roam:rate' parameter
This commit is contained in:
parent
737bef022c
commit
a658d1b889
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=344196
@ -4557,7 +4557,9 @@ end:
|
||||
LINE_CHECK("roam:rssi %u.5", rp->rssi/2);
|
||||
else
|
||||
LINE_CHECK("roam:rssi %u", rp->rssi/2);
|
||||
LINE_CHECK("roam:rate %u", rp->rate/2);
|
||||
LINE_CHECK("roam:rate %s%u",
|
||||
(rp->rate & IEEE80211_RATE_MCS) ? "MCS " : "",
|
||||
get_rate_value(rp->rate));
|
||||
} else {
|
||||
LINE_BREAK();
|
||||
list_roam(s);
|
||||
|
Loading…
Reference in New Issue
Block a user