spt_band 117 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct ieee80211_supported_band *spt_band = NULL; spt_band 130 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c spt_band = rtw_zmalloc(sizeof(struct ieee80211_supported_band) + spt_band 133 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!spt_band) spt_band 136 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c spt_band->channels = (struct ieee80211_channel*)(((u8 *)spt_band)+sizeof(struct ieee80211_supported_band)); spt_band 137 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c spt_band->bitrates = (struct ieee80211_rate*)(((u8 *)spt_band->channels)+sizeof(struct ieee80211_channel)*n_channels); spt_band 138 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c spt_band->band = band; spt_band 139 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c spt_band->n_channels = n_channels; spt_band 140 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c spt_band->n_bitrates = n_bitrates; spt_band 144 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_2g_channels_init(spt_band->channels); spt_band 145 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c rtw_2g_rates_init(spt_band->bitrates); spt_band 152 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c return spt_band; spt_band 155 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c static void rtw_spt_band_free(struct ieee80211_supported_band *spt_band) spt_band 159 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!spt_band) spt_band 162 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (spt_band->band == NL80211_BAND_2GHZ) spt_band 168 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c kfree((u8 *)spt_band);