Searched refs:hwinfo (Results 1 – 6 of 6) sorted by relevance
348 sc->hwinfo = zalloc(sizeof(*sc->hwinfo)); in ath5k_probe()349 if (!sc->hwinfo) { in ath5k_probe()355 sc->hwinfo->flags = NET80211_HW_RX_HAS_FCS; in ath5k_probe()356 sc->hwinfo->signal_type = NET80211_SIGNAL_DB; in ath5k_probe()357 sc->hwinfo->signal_max = 40; /* 35dB should give perfect 54Mbps */ in ath5k_probe()358 sc->hwinfo->channel_change_time = 5000; in ath5k_probe()436 free(sc->hwinfo); in ath5k_probe()453 free(sc->hwinfo); in ath5k_remove()508 ret = ath5k_eeprom_read_mac(ah, sc->hwinfo->hwaddr); in ath5k_attach()518 ret = net80211_register(sc->dev, &ath5k_ops, sc->hwinfo); in ath5k_attach()[all …]
93 struct net80211_hw_info *hwinfo; member
172 for (i = 0; i < sc->hwinfo->nr_rates[NET80211_BAND_2GHZ]; i++) { in ath5k_hw_write_rate_duration()176 rate = sc->hwinfo->rates[NET80211_BAND_2GHZ][i]; in ath5k_hw_write_rate_duration()
662 struct net80211_hw_info *hwinfo; in rtl818x_probe() local664 hwinfo = zalloc(sizeof(*hwinfo)); in rtl818x_probe()665 if (!hwinfo) { in rtl818x_probe()712 hwinfo->bands = NET80211_BAND_BIT_2GHZ; in rtl818x_probe()713 hwinfo->flags = NET80211_HW_RX_HAS_FCS; in rtl818x_probe()714 hwinfo->signal_type = NET80211_SIGNAL_ARBITRARY; in rtl818x_probe()715 hwinfo->signal_max = 65; in rtl818x_probe()716 hwinfo->channel_change_time = 1000; in rtl818x_probe()718 memcpy(hwinfo->rates[NET80211_BAND_2GHZ], rtl818x_rates, in rtl818x_probe()722 hwinfo->modes = NET80211_MODE_B | NET80211_MODE_G; in rtl818x_probe()[all …]
123 def hwinfo(device): function145 return [(d, describe(d), hwinfo(d)) for d in devices]
19 def hwinfo(device):