diff options
author | bschmidt <bschmidt@FreeBSD.org> | 2011-03-13 13:05:50 +0000 |
---|---|---|
committer | bschmidt <bschmidt@FreeBSD.org> | 2011-03-13 13:05:50 +0000 |
commit | ae697aa085888b5269bcc3d2a8871d2244cef639 (patch) | |
tree | a8dfcadda885a02568e0da02eff1e93744db1307 /sys/net80211 | |
parent | f90fad94e2ec9dfbc2a662976f25512bc7625bcb (diff) | |
download | FreeBSD-src-ae697aa085888b5269bcc3d2a8871d2244cef639.zip FreeBSD-src-ae697aa085888b5269bcc3d2a8871d2244cef639.tar.gz |
Constantly use MHz instead of Mhz.
Pointed out by: N.J. Mann <njm at njm.me.uk>
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/_ieee80211.h | 2 | ||||
-rw-r--r-- | sys/net80211/ieee80211_ht.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/net80211/_ieee80211.h b/sys/net80211/_ieee80211.h index d700358..08267d7 100644 --- a/sys/net80211/_ieee80211.h +++ b/sys/net80211/_ieee80211.h @@ -133,7 +133,7 @@ enum ieee80211_roamingmode { */ struct ieee80211_channel { uint32_t ic_flags; /* see below */ - uint16_t ic_freq; /* setting in Mhz */ + uint16_t ic_freq; /* setting in MHz */ uint8_t ic_ieee; /* IEEE channel number */ int8_t ic_maxregpower; /* maximum regulatory tx power in dBm */ int8_t ic_maxpower; /* maximum tx power in .5 dBm */ diff --git a/sys/net80211/ieee80211_ht.c b/sys/net80211/ieee80211_ht.c index 958a8c6..8c4d7d3 100644 --- a/sys/net80211/ieee80211_ht.c +++ b/sys/net80211/ieee80211_ht.c @@ -380,19 +380,19 @@ ht_announce(struct ieee80211com *ic, int mode) struct ifnet *ifp = ic->ic_ifp; const char *modestr = ieee80211_phymode_name[mode]; - if_printf(ifp, "%s MCS 20Mhz\n", modestr); + if_printf(ifp, "%s MCS 20MHz\n", modestr); ht_rateprint(ic, mode, 0); if (ic->ic_htcaps & IEEE80211_HTCAP_SHORTGI20) { - if_printf(ifp, "%s MCS 20Mhz SGI\n", modestr); + if_printf(ifp, "%s MCS 20MHz SGI\n", modestr); ht_rateprint(ic, mode, 1); } if (ic->ic_htcaps & IEEE80211_HTCAP_CHWIDTH40) { - if_printf(ifp, "%s MCS 40Mhz:\n", modestr); + if_printf(ifp, "%s MCS 40MHz:\n", modestr); ht_rateprint(ic, mode, 2); } if ((ic->ic_htcaps & IEEE80211_HTCAP_CHWIDTH40) && (ic->ic_htcaps & IEEE80211_HTCAP_SHORTGI40)) { - if_printf(ifp, "%s MCS 40Mhz SGI:\n", modestr); + if_printf(ifp, "%s MCS 40MHz SGI:\n", modestr); ht_rateprint(ic, mode, 3); } } @@ -1563,7 +1563,7 @@ ieee80211_ht_updatehtcap(struct ieee80211_node *ni, const uint8_t *htcapie) htcap_update_shortgi(ni); /* NB: honor operating mode constraint */ - /* XXX 40 MHZ intolerant */ + /* XXX 40 MHz intolerant */ htflags = (vap->iv_flags_ht & IEEE80211_FHT_HT) ? IEEE80211_CHAN_HT20 : 0; if ((ni->ni_htcap & IEEE80211_HTCAP_CHWIDTH40) && |