Searched refs:spt_band (Results 1 – 1 of 1) sorted by relevance
117 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local130 spt_band = rtw_zmalloc(sizeof(struct ieee80211_supported_band) + in rtw_spt_band_alloc()133 if (!spt_band) in rtw_spt_band_alloc()136 …spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band)+sizeof(struct ieee80211_support… in rtw_spt_band_alloc()137 …spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels)+sizeof(struct ieee80211_… in rtw_spt_band_alloc()138 spt_band->band = band; in rtw_spt_band_alloc()139 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()140 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()144 rtw_2g_channels_init(spt_band->channels); in rtw_spt_band_alloc()145 rtw_2g_rates_init(spt_band->bitrates); in rtw_spt_band_alloc()[all …]