Searched refs:spt_band (Results 1 – 1 of 1) sorted by relevance
119 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local132 spt_band = rtw_zmalloc(sizeof(struct ieee80211_supported_band) + in rtw_spt_band_alloc()135 if (!spt_band) in rtw_spt_band_alloc()138 …spt_band->channels = (struct ieee80211_channel*)(((u8 *)spt_band)+sizeof(struct ieee80211_supporte… in rtw_spt_band_alloc()139 …spt_band->bitrates = (struct ieee80211_rate*)(((u8 *)spt_band->channels)+sizeof(struct ieee80211_c… in rtw_spt_band_alloc()140 spt_band->band = band; in rtw_spt_band_alloc()141 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()142 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()146 rtw_2g_channels_init(spt_band->channels); in rtw_spt_band_alloc()147 rtw_2g_rates_init(spt_band->bitrates); in rtw_spt_band_alloc()[all …]