Home
last modified time | relevance | path

Searched refs:spt_band (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/staging/rtl8723bs/os_dep/
H A Dioctl_cfg80211.c113 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local
123 spt_band = rtw_zmalloc(sizeof(struct ieee80211_supported_band) + in rtw_spt_band_alloc()
126 if (!spt_band) in rtw_spt_band_alloc()
129spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc()
130spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee8021… in rtw_spt_band_alloc()
131 spt_band->band = band; in rtw_spt_band_alloc()
132 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()
133 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()
136 rtw_2g_channels_init(spt_band->channels); in rtw_spt_band_alloc()
137 rtw_2g_rates_init(spt_band->bitrates); in rtw_spt_band_alloc()
[all …]