Home
last modified time | relevance | path

Searched refs:n_channels (Results 1 – 25 of 43) sorted by relevance

12

/device/board/unionman/unionpi_tiger/kernel/hdf/wifi/rtl8822cs/hdf/
Dwal_mac80211.c190 for (loop = 0; loop < currentBand->n_channels; loop++) { in GetChannelByFreq()
304 for (loop = 0; loop < currentBand->n_channels; loop++) { in WalGetChannel()
621 max5GChNum = min(band5g->n_channels, WIFI_5G_CHANNEL_NUMS); in WalGetValidFreqsWithBand()
715 if (band->n_channels > WIFI_MAX_CHANNEL_NUM) in WalGet2GCapability()
716 band->n_channels = WIFI_MAX_CHANNEL_NUM; in WalGet2GCapability()
719 OsalMemCalloc(sizeof(struct WlanBand) + (sizeof(struct WlanChannel) * band->n_channels)); in WalGet2GCapability()
725 hwCapability->bands[IEEE80211_BAND_2GHZ]->channelCount = band->n_channels; in WalGet2GCapability()
727 for (loop = 0; loop < band->n_channels; loop++) { in WalGet2GCapability()
743 if (band5g->n_channels > WIFI_MAX_CHANNEL_NUM) in WalGet5GCapability()
744 band5g->n_channels = WIFI_MAX_CHANNEL_NUM; in WalGet5GCapability()
[all …]
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/dm/
Dbta_dm_sco.c65 UINT32 n_channels; /* number of channels (i.e. mono(1), stereo(2)...) */ member
562 void BTA_DmPcmInitSamples (UINT32 src_sps, UINT32 bits, UINT32 n_channels) in BTA_DmPcmInitSamples() argument
573 p_cb->n_channels = n_channels; in BTA_DmPcmInitSamples()
588 APPL_TRACE_DEBUG("bta_dm_pcm_init_samples: n_channels = %d bits = %d", n_channels, bits); in BTA_DmPcmInitSamples()
590 if (n_channels == 1) { in BTA_DmPcmInitSamples()
616 p_cb->bits, p_cb->n_channels, p_cb->sample_size); in BTA_DmPcmInitSamples()
618 divisor %d", p_cb->can_be_filtered, p_cb->n_channels, p_cb->divisor); in BTA_DmPcmInitSamples()
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Dwl_cfgscan.c931 u32 n_channels = 0; in wl_cfgscan_populate_scan_channels() local
934 if (!request || !request->n_channels) { in wl_cfgscan_populate_scan_channels()
939 n_channels = request->n_channels; in wl_cfgscan_populate_scan_channels()
940 for (i = 0; i < n_channels; i++) { in wl_cfgscan_populate_scan_channels()
1050 u32 n_channels = 0; in wl_scan_prep() local
1121 ("n_channels:%d n_ssids:%d\n", request->n_channels, request->n_ssids)); in wl_scan_prep()
1128 n_channels = 1; in wl_scan_prep()
1129 if ((n_channels > 0) && chan_list) { in wl_scan_prep()
1130 if (len >= (scan_param_size + (n_channels * sizeof(u16)))) { in wl_scan_prep()
1132 n_channels); in wl_scan_prep()
[all …]
Dwl_roam.c148 static bool is_duplicated_channel(const chanspec_t *channels, int n_channels, in is_duplicated_channel() argument
153 for (i = 0; i < n_channels; i++) { in is_duplicated_channel()
162 int get_roam_channel_list(int target_chan, chanspec_t *channels, int n_channels, in get_roam_channel_list() argument
196 if (n >= n_channels) { in get_roam_channel_list()
Dwl_escan.c722 u32 n_channels = 0; in wl_escan_prep() local
791 n_channels = dtoh32(list->count); in wl_escan_prep()
794 if (n_channels > 0) { in wl_escan_prep()
795 for (i = 0; i < n_channels; i++) { in wl_escan_prep()
820 n_channels = j; in wl_escan_prep()
857 if (n_ssids || n_channels) { in wl_escan_prep()
859 (n_channels & WL_SCAN_PARAMS_COUNT_MASK)); in wl_escan_prep()
931 u32 n_channels = 0; in wl_escan_set_scan() local
981 n_channels = dtoh32(list->count); in wl_escan_set_scan()
985 params_size += sizeof(u16) * (n_channels + 1); in wl_escan_set_scan()
[all …]
Dwl_iapsta.h233 u32 channel, u32 n_channels);
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/
Dscan.c361 for (i = 0; i < req->n_channels; i++) { in ieee80211_prep_hw_scan()
366 n_chans = req->n_channels; in ieee80211_prep_hw_scan()
374 for (i = 0; i < req->n_channels; i++) { in ieee80211_prep_hw_scan()
388 local->hw_scan_req->req.n_channels = n_chans; in ieee80211_prep_hw_scan()
730 for (i = 0; i < req->n_channels; i++) { in __ieee80211_start_scan()
742 req->n_channels * sizeof(req->channels[0]) + in __ieee80211_start_scan()
751 req->n_channels * sizeof(req->channels[0]); in __ieee80211_start_scan()
782 } else if ((req->n_channels == 1) && in __ieee80211_start_scan()
1108 if (local->scan_channel_idx >= scan_req->n_channels) { in ieee80211_scan_work()
1156 unsigned int n_channels, in ieee80211_request_ibss_scan() argument
[all …]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dwl_cfgscan.c906 u32 n_channels = 0; in wl_cfgscan_populate_scan_channels() local
909 if (!request || !request->n_channels) { in wl_cfgscan_populate_scan_channels()
914 n_channels = request->n_channels; in wl_cfgscan_populate_scan_channels()
915 for (i = 0; i < n_channels; i++) { in wl_cfgscan_populate_scan_channels()
1022 u32 n_channels = 0; in wl_scan_prep() local
1090 WL_INFORM(("n_channels:%d n_ssids:%d\n", request->n_channels, request->n_ssids)); in wl_scan_prep()
1094 if ((request->n_channels > 0) && chan_list) { in wl_scan_prep()
1095 if (len >= (scan_param_size + (request->n_channels * sizeof(u16)))) { in wl_scan_prep()
1097 chan_list, request, &n_channels); in wl_scan_prep()
1098 cur_offset += (n_channels * (sizeof(u16))); in wl_scan_prep()
[all …]
Dwl_roam.c146 static bool is_duplicated_channel(const chanspec_t *channels, int n_channels, chanspec_t new) in is_duplicated_channel() argument
150 for (i = 0; i < n_channels; i++) { in is_duplicated_channel()
159 chanspec_t *channels, int n_channels, const wlc_ssid_t *ssid, int ioctl_ver) in get_roam_channel_list() argument
191 if (n >= n_channels) { in get_roam_channel_list()
Dwl_escan.c688 u32 n_channels = 0; in wl_escan_prep() local
748 n_channels = dtoh32(list->count); in wl_escan_prep()
751 if (n_channels > 0) { in wl_escan_prep()
752 for (i = 0; i < n_channels; i++) { in wl_escan_prep()
809 if (n_ssids || n_channels) { in wl_escan_prep()
812 (n_channels & WL_SCAN_PARAMS_COUNT_MASK)); in wl_escan_prep()
885 u32 n_channels = 0; in wl_escan_set_scan() local
927 n_channels = dtoh32(list->count); in wl_escan_set_scan()
931 params_size += sizeof(u16) * (n_channels + 1); in wl_escan_set_scan()
933 params_size += sizeof(u16) * n_channels; in wl_escan_set_scan()
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/hdf/
Dhdf_comm.c137 max5GChNum = min(band5g->n_channels, WIFI_24G_CHANNEL_NUMS); in Bdh6Fband()
182 (sizeof(struct WlanChannel) * band->n_channels)); in Bdh6Ghcap()
192 hwCapability->bands[IEEE80211_BAND_2GHZ]->channelCount = band->n_channels; in Bdh6Ghcap()
193 for (loop = 0; loop < band->n_channels; loop++) { in Bdh6Ghcap()
212 (sizeof(struct WlanChannel) * band5g->n_channels)); in Bdh6Ghcap()
220 band5g->n_channels; in Bdh6Ghcap()
221 for (loop = 0; loop < band5g->n_channels; loop++) { in Bdh6Ghcap()
668 for (loop = 0; loop < (int32_t)wiphy->bands[band]->n_channels; in WifiScanSetChannel()
703 request->n_channels = count; in WifiScanSetChannel()
Dhdf_mac80211_sta.c52 for (loop = 0; loop < currentBand->n_channels; loop++) { in GetChannelByFreq()
211 for (loop = 0; loop < currentBand->n_channels; loop++) { in WalGetChannel()
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dwl_cfgscan.c142 int n_channels, const wlc_ssid_t *ssid, int ioctl_ver);
1538 struct ieee80211_channel **channels, u32 n_channels, in wl_cfgscan_populate_scan_channels() argument
1550 if (!channels || !n_channels) { in wl_cfgscan_populate_scan_channels()
1565 for (i = 0; i < n_channels; i++) { in wl_cfgscan_populate_scan_channels()
1700 u32 n_channels = 0; in wl_scan_prep() local
1768 WL_INFORM(("n_channels:%d n_ssids:%d\n", request->n_channels, request->n_ssids)); in wl_scan_prep()
1772 if ((request->n_channels > 0) && chan_list) { in wl_scan_prep()
1773 if (len >= (scan_param_size + (request->n_channels * sizeof(u16)))) { in wl_scan_prep()
1775 request->channels, request->n_channels, in wl_scan_prep()
1776 chan_list, &n_channels, true, false); in wl_scan_prep()
[all …]
Dwl_escan.c686 u32 n_channels = 0; in wl_escan_prep() local
746 n_channels = dtoh32(list->count); in wl_escan_prep()
749 if (n_channels > 0) { in wl_escan_prep()
750 for (i = 0; i < n_channels; i++) { in wl_escan_prep()
807 if (n_ssids || n_channels) { in wl_escan_prep()
810 (n_channels & WL_SCAN_PARAMS_COUNT_MASK)); in wl_escan_prep()
883 u32 n_channels = 0; in wl_escan_set_scan() local
925 n_channels = dtoh32(list->count); in wl_escan_set_scan()
929 params_size += sizeof(u16) * (n_channels + 1); in wl_escan_set_scan()
931 params_size += sizeof(u16) * n_channels; in wl_escan_set_scan()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Dwl_escan.c898 u32 n_channels = 0; in wl_escan_prep() local
925 n_channels = dtoh32(list->count); in wl_escan_prep()
928 if (n_channels > 0) { in wl_escan_prep()
929 for (i = 0; i < n_channels; i++) { in wl_escan_prep()
959 offset = offsetof(wl_scan_params_t, channel_list) + n_channels * sizeof(u16); in wl_escan_prep()
978 (n_channels & WL_SCAN_PARAMS_COUNT_MASK)); in wl_escan_prep()
1057 u32 n_channels = 0; in wl_escan_set_scan() local
1118 n_channels = dtoh32(list->count); in wl_escan_set_scan()
1122 params_size += sizeof(u16) * (n_channels + 1); in wl_escan_set_scan()
1124 params_size += sizeof(u16) * n_channels; in wl_escan_set_scan()
/device/board/osware/imx8mm/drivers/wifi/ap6212/hdfadapter/
Dhdf_mac80211.c144 for (loop = 0; loop < currentBand->n_channels; loop++) { in GetChannelByFreq()
170 for (loop = 0; loop < currentBand->n_channels; loop++) { in WalGetChannel()
454 … OsalMemCalloc(sizeof(struct WlanBand) + (sizeof(struct WlanChannel) * band->n_channels)); in WalGetHwCapability()
462 hwCapability->bands[IEEE80211_BAND_2GHZ]->channelCount = band->n_channels; in WalGetHwCapability()
463 for (loop = 0; loop < band->n_channels; loop++) { in WalGetHwCapability()
731 for (loop = 0; loop < (int32_t)wiphy->bands[band]->n_channels; loop++) { in WalBuildChannelInfo()
753 (*request)->n_channels = count; in WalBuildChannelInfo()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/
Dwal_mac80211.c127 for (loop = 0; loop < currentBand->n_channels; loop++) { in GetChannelByFreq()
150 for (loop = 0; loop < (int32_t)wiphy->bands[band]->n_channels; loop++) { in WifiScanSetChannel()
173 request->n_channels = count; in WifiScanSetChannel()
259 for (loop = 0; loop < currentBand->n_channels; loop++) { in WalGetChannel()
803 … OsalMemCalloc(sizeof(struct WlanBand) + (sizeof(struct WlanChannel) * band->n_channels)); in WalGetHwCapability()
811 hwCapability->bands[IEEE80211_BAND_2GHZ]->channelCount = band->n_channels; in WalGetHwCapability()
812 for (loop = 0; loop < band->n_channels; loop++) { in WalGetHwCapability()
Dwal_scan.c302 if (request->n_channels == 0) { in wal_set_scan_channel()
307 scan_param->pul_channels_2_g = (hi_u32 *)oal_memalloc(request->n_channels * sizeof(hi_u32)); in wal_set_scan_channel()
313 for (loop = 0; loop < request->n_channels; loop++) { in wal_set_scan_channel()
/device/board/isoftstone/zhiyuan/kernel/hdf/driver/wifi/xr829_hdfadapter/
Dhdf_mac80211.c143 for (loop = 0; loop < currentBand->n_channels; loop++) { in GetChannelByFreq()
169 for (loop = 0; loop < currentBand->n_channels; loop++) { in WalGetChannel()
558 … OsalMemCalloc(sizeof(struct WlanBand) + (sizeof(struct WlanChannel) * band->n_channels)); in WalGetHwCapability()
566 hwCapability->bands[IEEE80211_BAND_2GHZ]->channelCount = band->n_channels; in WalGetHwCapability()
567 for (loop = 0; loop < band->n_channels; loop++) { in WalGetHwCapability()
892 for (loop = 0; loop < (int32_t)wiphy->bands[band]->n_channels; loop++) { in WalStartScan()
914 request->n_channels = count; in WalStartScan()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/wlan/
Dscan.c210 req->n_channels, req->n_ssids); in xradio_hw_scan()
258 for (i = 0; i < req->n_channels; i++) { in xradio_hw_scan()
283 hw_priv->num_2g_channels = req->n_channels; in xradio_hw_scan()
285 hw_priv->num_5g_channels = req->n_channels; in xradio_hw_scan()
357 hw_priv->scan.end = &req->channels[req->n_channels]; in xradio_hw_scan()
479 hw_priv->scan.end = &req->channels[req->n_channels]; in xradio_hw_sched_scan_start()
Ditp.c660 wiphy->bands[itp->band]->n_channels) in xradio_itp_handle()
697 wiphy->bands[itp->band]->n_channels) in xradio_itp_handle()
Dmain.c187 .n_channels = ARRAY_SIZE(xradio_2ghz_chantable),
228 .n_channels = ARRAY_SIZE(xradio_5ghz_chantable),
759 for (i = 0; i < sband->n_channels; i++) { in xradio_init_common()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/
Dwifi_regd.c197 for (j = 0; j < sband->n_channels; j++) { in rtw_regd_disable_no_20mhz_chs()
263 for (j = 0; j < sband->n_channels; j++) { in rtw_regd_overide_flags()
355 for (j = 0; j < wiphy->bands[i]->n_channels; j++) { in rtw_os_init_channel_set()
Dioctl_cfg80211.c44 for (loop = 0; loop < (int32_t)wiphy->bands[band]->n_channels; loop++) { in WifiScanSetChannel()
77 request->n_channels = count; in WifiScanSetChannel()
628 int n_channels, n_bitrates; in rtw_spt_band_alloc() local
634 n_channels = MAX_CHANNEL_NUM_2G; in rtw_spt_band_alloc()
637 n_channels = MAX_CHANNEL_NUM_5G; in rtw_spt_band_alloc()
644 + sizeof(struct ieee80211_channel) * n_channels in rtw_spt_band_alloc()
651 …ruct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee80211_channel) * n_channels); in rtw_spt_band_alloc()
653 spt_band->n_channels = n_channels; in rtw_spt_band_alloc()
3102 || scan_req->n_channels != 1 in rtw_cfg80211_is_target_wps_scan()
3484 if (request->n_channels == 3 && in cfg80211_rtw_scan()
[all …]
/device/board/hihope/rk3568/wifi/bcmdhd_wifi6/hdfadapt/
Dhdf_bdh_mac80211.c397 max5GChNum = min(band5g->n_channels, WIFI_24G_CHANNEL_NUMS); in Bdh6Fband()
418 … OsalMemCalloc(sizeof(struct WlanBand) + (sizeof(struct WlanChannel) * band->n_channels)); in FillBdhBandInfo()
427 hwCapability->bands[bnum]->channelCount = band->n_channels; in FillBdhBandInfo()
428 for (loop = 0; loop < band->n_channels; loop++) { in FillBdhBandInfo()
647 for (loop = 0; loop < currentBand->n_channels; loop++) { in GetChannelByFreq()
732 for (loop = 0; loop < (int32_t)wiphy->bands[band]->n_channels; loop++) { in FillAllValidChannels()
778 request->n_channels = count; in WifiScanSetChannel()
931 for (loop = 0; loop < currentBand->n_channels; loop++) { in WalGetChannel()

12