Searched refs:spt_band (Results 1 – 1 of 1) sorted by relevance
112 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local122 spt_band = rtw_zmalloc(sizeof(struct ieee80211_supported_band) + in rtw_spt_band_alloc()125 if (!spt_band) in rtw_spt_band_alloc()128 …spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc()129 …spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee8021… in rtw_spt_band_alloc()130 spt_band->band = band; in rtw_spt_band_alloc()131 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()132 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()135 rtw_2g_channels_init(spt_band->channels); in rtw_spt_band_alloc()136 rtw_2g_rates_init(spt_band->bitrates); in rtw_spt_band_alloc()[all …]