Changeset View
Changeset View
Standalone View
Standalone View
sys/net80211/ieee80211_phy.c
Show First 20 Lines • Show All 363 Lines • ▼ Show 20 Lines | static struct ieee80211_rate_table * const ratetables[] = { | ||||
&ieee80211_11b_table | &ieee80211_11b_table | ||||
}; | }; | ||||
int i; | int i; | ||||
for (i = 0; i < nitems(ratetables); ++i) | for (i = 0; i < nitems(ratetables); ++i) | ||||
ieee80211_setup_ratetable(ratetables[i]); | ieee80211_setup_ratetable(ratetables[i]); | ||||
} | } | ||||
SYSINIT(wlan_phy, SI_SUB_DRIVERS, SI_ORDER_FIRST, ieee80211_phy_init, NULL); | SYSINIT(wlan_phy, SI_SUB_DRIVERS, SI_ORDER_FIRST, ieee80211_phy_init); | ||||
const struct ieee80211_rate_table * | const struct ieee80211_rate_table * | ||||
ieee80211_get_ratetable(struct ieee80211_channel *c) | ieee80211_get_ratetable(struct ieee80211_channel *c) | ||||
{ | { | ||||
const struct ieee80211_rate_table *rt; | const struct ieee80211_rate_table *rt; | ||||
/* XXX HT */ | /* XXX HT */ | ||||
if (IEEE80211_IS_CHAN_HALF(c)) | if (IEEE80211_IS_CHAN_HALF(c)) | ||||
▲ Show 20 Lines • Show All 245 Lines • Show Last 20 Lines |