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() local123 alloc_sz = sizeof(*spt_band); in rtw_spt_band_alloc()126 spt_band = kzalloc(alloc_sz, GFP_KERNEL); in rtw_spt_band_alloc()127 if (!spt_band) in rtw_spt_band_alloc()130 …spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc()131 …spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee8021… in rtw_spt_band_alloc()132 spt_band->band = band; in rtw_spt_band_alloc()133 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()134 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()137 rtw_2g_channels_init(spt_band->channels); in rtw_spt_band_alloc()[all …]