Constantly use MHz instead of Mhz.
Pointed out by: N.J. Mann <njm at njm.me.uk>
This commit is contained in:
parent
77b9efed7b
commit
8dc8c1f7e3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=219606
@ -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 */
|
||||
|
@ -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) &&
|
||||
|
Loading…
Reference in New Issue
Block a user