Lines Matching refs:hwinfo
662 struct net80211_hw_info *hwinfo; in rtl818x_probe() local
664 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()
723 hwinfo->nr_rates[NET80211_BAND_2GHZ] = RTL818X_NR_RATES; in rtl818x_probe()
725 hwinfo->modes = NET80211_MODE_B; in rtl818x_probe()
726 hwinfo->nr_rates[NET80211_BAND_2GHZ] = RTL818X_NR_B_RATES; in rtl818x_probe()
782 nvs_read(&priv->eeprom.nvs, 0x7, hwinfo->hwaddr, 6); in rtl818x_probe()
804 err = net80211_register(dev, &rtl818x_operations, hwinfo); in rtl818x_probe()
810 free(hwinfo); in rtl818x_probe()
820 free(hwinfo); in rtl818x_probe()