| /OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/os_dep/ |
| H A D | ioctl_cfg80211.c | 117 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() 136 …spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band)+sizeof(struct ieee80211_support… in rtw_spt_band_alloc() 137 …spt_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 D | ioctl_cfg80211.c | 221 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() 247 …spt_band->channels = (struct ieee80211_channel*)(((u8*)spt_band)+sizeof(struct ieee80211_supported… in rtw_spt_band_alloc() 248 …spt_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 D | ioctl_cfg80211.c | 203 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() 223 …spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc() 224 …spt_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 D | ioctl_cfg80211.c | 221 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() 247 …spt_band->channels = (struct ieee80211_channel*)(((u8*)spt_band)+sizeof(struct ieee80211_supported… in rtw_spt_band_alloc() 248 …spt_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 D | ioctl_cfg80211.c | 216 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() 236 …spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc() 237 …spt_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 D | ioctl_cfg80211.c | 554 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() 580 …spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc() 581 …spt_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 D | ioctl_cfg80211.c | 562 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() 588 …spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc() 589 …spt_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 D | ioctl_cfg80211.c | 469 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() 489 …spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc() 490 …spt_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 D | ioctl_cfg80211.c | 500 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() 520 …spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc() 521 …spt_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 D | ioctl_cfg80211.c | 492 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() 512 …spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc() 513 …spt_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 D | ioctl_cfg80211.c | 504 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() 524 …spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc() 525 …spt_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 D | ioctl_cfg80211.c | 514 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() 534 …spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc() 535 …spt_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 D | ioctl_cfg80211.c | 514 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() 534 …spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc() 535 …spt_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 D | ioctl_cfg80211.c | 515 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() 535 …spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc() 536 …spt_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 D | ioctl_cfg80211.c | 562 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() 585 …spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc() 586 …spt_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 D | ioctl_cfg80211.c | 564 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() 587 …spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc() 588 …spt_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 D | ioctl_cfg80211.c | 529 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() 549 …spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc() 550 …spt_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 D | ioctl_cfg80211.c | 530 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() 550 …spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc() 551 …spt_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 D | ioctl_cfg80211.c | 514 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() 534 …spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_suppo… in rtw_spt_band_alloc() 535 …spt_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 …]
|