Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/os_dep/
H A Dioctl_cfg80211.c117 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local
130 spt_band = rtw_zmalloc(sizeof(struct ieee80211_supported_band) + in rtw_spt_band_alloc()
133 if (!spt_band) in rtw_spt_band_alloc()
136spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band)+sizeof(struct ieee80211_support… in rtw_spt_band_alloc()
137spt_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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/os_dep/linux/
H A Dioctl_cfg80211.c221 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local
239 spt_band = (struct ieee80211_supported_band *)rtw_zmalloc( in rtw_spt_band_alloc()
244 if(!spt_band) in rtw_spt_band_alloc()
247spt_band->channels = (struct ieee80211_channel*)(((u8*)spt_band)+sizeof(struct ieee80211_supported… in rtw_spt_band_alloc()
248spt_band->bitrates= (struct ieee80211_rate*)(((u8*)spt_band->channels)+sizeof(struct ieee80211_cha… in rtw_spt_band_alloc()
249 spt_band->band = band; in rtw_spt_band_alloc()
250 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()
251 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()
255 rtw_2g_channels_init(spt_band->channels); in rtw_spt_band_alloc()
256 rtw_2g_rates_init(spt_band->bitrates); in rtw_spt_band_alloc()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/os_dep/linux/
H A Dioctl_cfg80211.c203 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local
215 spt_band = (struct ieee80211_supported_band *)rtw_zmalloc( in rtw_spt_band_alloc()
220 if (!spt_band) in rtw_spt_band_alloc()
223spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc()
224spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee8021… in rtw_spt_band_alloc()
225 spt_band->band = band; in rtw_spt_band_alloc()
226 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()
227 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()
230 rtw_2g_channels_init(spt_band->channels); in rtw_spt_band_alloc()
231 rtw_2g_rates_init(spt_band->bitrates); in rtw_spt_band_alloc()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/os_dep/linux/
H A Dioctl_cfg80211.c221 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local
239 spt_band = (struct ieee80211_supported_band *)rtw_zmalloc( in rtw_spt_band_alloc()
244 if(!spt_band) in rtw_spt_band_alloc()
247spt_band->channels = (struct ieee80211_channel*)(((u8*)spt_band)+sizeof(struct ieee80211_supported… in rtw_spt_band_alloc()
248spt_band->bitrates= (struct ieee80211_rate*)(((u8*)spt_band->channels)+sizeof(struct ieee80211_cha… in rtw_spt_band_alloc()
249 spt_band->band = band; in rtw_spt_band_alloc()
250 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()
251 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()
255 rtw_2g_channels_init(spt_band->channels); in rtw_spt_band_alloc()
256 rtw_2g_rates_init(spt_band->bitrates); in rtw_spt_band_alloc()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/os_dep/linux/
H A Dioctl_cfg80211.c216 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local
228 spt_band = (struct ieee80211_supported_band *)rtw_zmalloc( in rtw_spt_band_alloc()
233 if (!spt_band) in rtw_spt_band_alloc()
236spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc()
237spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee8021… in rtw_spt_band_alloc()
238 spt_band->band = band; in rtw_spt_band_alloc()
239 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()
240 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()
243 rtw_2g_channels_init(spt_band->channels); in rtw_spt_band_alloc()
244 rtw_2g_rates_init(spt_band->bitrates); in rtw_spt_band_alloc()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/os_dep/linux/
H A Dioctl_cfg80211.c554 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local
569 spt_band = (struct ieee80211_supported_band *)rtw_zmalloc( in rtw_spt_band_alloc()
577 if (!spt_band) in rtw_spt_band_alloc()
580spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc()
581spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee8021… in rtw_spt_band_alloc()
582 spt_band->band = rtw_band_to_nl80211_band(band); in rtw_spt_band_alloc()
583 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()
584 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()
586 spt_band->iftype_data = (struct ieee80211_sband_iftype_data *)(((u8 *)spt_band->bitrates) in rtw_spt_band_alloc()
588 spt_band->n_iftype_data = 0; in rtw_spt_band_alloc()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/linux/
H A Dioctl_cfg80211.c562 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local
577 spt_band = (struct ieee80211_supported_band *)rtw_zmalloc( in rtw_spt_band_alloc()
585 if (!spt_band) in rtw_spt_band_alloc()
588spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc()
589spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee8021… in rtw_spt_band_alloc()
590 spt_band->band = rtw_band_to_nl80211_band(band); in rtw_spt_band_alloc()
591 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()
592 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()
594 spt_band->iftype_data = (struct ieee80211_sband_iftype_data *)(((u8 *)spt_band->bitrates) in rtw_spt_band_alloc()
596 spt_band->n_iftype_data = 0; in rtw_spt_band_alloc()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/os_dep/linux/
H A Dioctl_cfg80211.c469 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local
481 spt_band = (struct ieee80211_supported_band *)rtw_zmalloc( in rtw_spt_band_alloc()
486 if (!spt_band) in rtw_spt_band_alloc()
489spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc()
490spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee8021… in rtw_spt_band_alloc()
491 spt_band->band = rtw_band_to_nl80211_band(band); in rtw_spt_band_alloc()
492 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()
493 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()
496 rtw_2g_channels_init(spt_band->channels); in rtw_spt_band_alloc()
497 rtw_2g_rates_init(spt_band->bitrates); in rtw_spt_band_alloc()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/os_dep/linux/
H A Dioctl_cfg80211.c500 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local
512 spt_band = (struct ieee80211_supported_band *)rtw_zmalloc( in rtw_spt_band_alloc()
517 if (!spt_band) in rtw_spt_band_alloc()
520spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc()
521spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee8021… in rtw_spt_band_alloc()
522 spt_band->band = rtw_band_to_nl80211_band(band); in rtw_spt_band_alloc()
523 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()
524 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()
527 rtw_2g_channels_init(spt_band->channels); in rtw_spt_band_alloc()
528 rtw_2g_rates_init(spt_band->bitrates); in rtw_spt_band_alloc()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/os_dep/linux/
H A Dioctl_cfg80211.c492 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local
504 spt_band = (struct ieee80211_supported_band *)rtw_zmalloc( in rtw_spt_band_alloc()
509 if (!spt_band) in rtw_spt_band_alloc()
512spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc()
513spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee8021… in rtw_spt_band_alloc()
514 spt_band->band = rtw_band_to_nl80211_band(band); in rtw_spt_band_alloc()
515 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()
516 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()
519 rtw_2g_channels_init(spt_band->channels); in rtw_spt_band_alloc()
520 rtw_2g_rates_init(spt_band->bitrates); in rtw_spt_band_alloc()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/os_dep/linux/
H A Dioctl_cfg80211.c504 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local
516 spt_band = (struct ieee80211_supported_band *)rtw_zmalloc( in rtw_spt_band_alloc()
521 if (!spt_band) in rtw_spt_band_alloc()
524spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc()
525spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee8021… in rtw_spt_band_alloc()
526 spt_band->band = rtw_band_to_nl80211_band(band); in rtw_spt_band_alloc()
527 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()
528 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()
531 rtw_2g_channels_init(spt_band->channels); in rtw_spt_band_alloc()
532 rtw_2g_rates_init(spt_band->bitrates); in rtw_spt_band_alloc()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/os_dep/linux/
H A Dioctl_cfg80211.c514 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local
526 spt_band = (struct ieee80211_supported_band *)rtw_zmalloc( in rtw_spt_band_alloc()
531 if (!spt_band) in rtw_spt_band_alloc()
534spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc()
535spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee8021… in rtw_spt_band_alloc()
536 spt_band->band = rtw_band_to_nl80211_band(band); in rtw_spt_band_alloc()
537 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()
538 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()
541 rtw_2g_channels_init(spt_band->channels); in rtw_spt_band_alloc()
542 rtw_2g_rates_init(spt_band->bitrates); in rtw_spt_band_alloc()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/os_dep/linux/
H A Dioctl_cfg80211.c514 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local
526 spt_band = (struct ieee80211_supported_band *)rtw_zmalloc( in rtw_spt_band_alloc()
531 if (!spt_band) in rtw_spt_band_alloc()
534spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc()
535spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee8021… in rtw_spt_band_alloc()
536 spt_band->band = rtw_band_to_nl80211_band(band); in rtw_spt_band_alloc()
537 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()
538 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()
541 return spt_band; in rtw_spt_band_alloc()
544 void rtw_spt_band_free(struct ieee80211_supported_band *spt_band) in rtw_spt_band_free() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/os_dep/linux/
H A Dioctl_cfg80211.c515 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local
527 spt_band = (struct ieee80211_supported_band *)rtw_zmalloc( in rtw_spt_band_alloc()
532 if (!spt_band) in rtw_spt_band_alloc()
535spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc()
536spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee8021… in rtw_spt_band_alloc()
537 spt_band->band = rtw_band_to_nl80211_band(band); in rtw_spt_band_alloc()
538 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()
539 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()
542 return spt_band; in rtw_spt_band_alloc()
545 void rtw_spt_band_free(struct ieee80211_supported_band *spt_band) in rtw_spt_band_free() argument
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/os_dep/linux/
H A Dioctl_cfg80211.c562 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local
577 spt_band = (struct ieee80211_supported_band *)rtw_zmalloc( in rtw_spt_band_alloc()
582 if (!spt_band) in rtw_spt_band_alloc()
585spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc()
586spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee8021… in rtw_spt_band_alloc()
587 spt_band->band = rtw_band_to_nl80211_band(band); in rtw_spt_band_alloc()
588 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()
589 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()
592 return spt_band; in rtw_spt_band_alloc()
595 void rtw_spt_band_free(struct ieee80211_supported_band *spt_band) in rtw_spt_band_free() argument
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/os_dep/linux/
H A Dioctl_cfg80211.c564 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local
579 spt_band = (struct ieee80211_supported_band *)rtw_zmalloc( in rtw_spt_band_alloc()
584 if (!spt_band) in rtw_spt_band_alloc()
587spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc()
588spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee8021… in rtw_spt_band_alloc()
589 spt_band->band = rtw_band_to_nl80211_band(band); in rtw_spt_band_alloc()
590 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()
591 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()
594 return spt_band; in rtw_spt_band_alloc()
597 void rtw_spt_band_free(struct ieee80211_supported_band *spt_band) in rtw_spt_band_free() argument
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/os_dep/linux/
H A Dioctl_cfg80211.c529 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local
541 spt_band = (struct ieee80211_supported_band *)rtw_zmalloc( in rtw_spt_band_alloc()
546 if (!spt_band) in rtw_spt_band_alloc()
549spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc()
550spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee8021… in rtw_spt_band_alloc()
551 spt_band->band = rtw_band_to_nl80211_band(band); in rtw_spt_band_alloc()
552 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()
553 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()
556 return spt_band; in rtw_spt_band_alloc()
559 void rtw_spt_band_free(struct ieee80211_supported_band *spt_band) in rtw_spt_band_free() argument
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/os_dep/linux/
H A Dioctl_cfg80211.c530 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local
542 spt_band = (struct ieee80211_supported_band *)rtw_zmalloc( in rtw_spt_band_alloc()
547 if (!spt_band) in rtw_spt_band_alloc()
550spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc()
551spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee8021… in rtw_spt_band_alloc()
552 spt_band->band = rtw_band_to_nl80211_band(band); in rtw_spt_band_alloc()
553 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()
554 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()
557 return spt_band; in rtw_spt_band_alloc()
560 void rtw_spt_band_free(struct ieee80211_supported_band *spt_band) in rtw_spt_band_free() argument
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/os_dep/linux/
H A Dioctl_cfg80211.c514 struct ieee80211_supported_band *spt_band = NULL; in rtw_spt_band_alloc() local
526 spt_band = (struct ieee80211_supported_band *)rtw_zmalloc( in rtw_spt_band_alloc()
531 if (!spt_band) in rtw_spt_band_alloc()
534spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc()
535spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee8021… in rtw_spt_band_alloc()
536 spt_band->band = rtw_band_to_nl80211_band(band); in rtw_spt_band_alloc()
537 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()
538 spt_band->n_bitrates = n_bitrates; in rtw_spt_band_alloc()
541 return spt_band; in rtw_spt_band_alloc()
544 void rtw_spt_band_free(struct ieee80211_supported_band *spt_band) in rtw_spt_band_free() argument
[all …]