Home
last modified time | relevance | path

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

/net/mac80211/
Dscan.c342 for (i = 0; i < req->n_channels; i++) { in ieee80211_prep_hw_scan()
347 n_chans = req->n_channels; in ieee80211_prep_hw_scan()
355 for (i = 0; i < req->n_channels; i++) { in ieee80211_prep_hw_scan()
369 local->hw_scan_req->req.n_channels = n_chans; in ieee80211_prep_hw_scan()
698 for (i = 0; i < req->n_channels; i++) { in __ieee80211_start_scan()
710 req->n_channels) + in __ieee80211_start_scan()
721 local->hw_scan_req->req.n_channels = req->n_channels; in __ieee80211_start_scan()
725 req->n_channels * sizeof(req->channels[0]); in __ieee80211_start_scan()
760 } else if ((req->n_channels == 1) && in __ieee80211_start_scan()
1089 if (local->scan_channel_idx >= scan_req->n_channels) { in ieee80211_scan_work()
[all …]
Dmain.c1093 for (i = 0; i < sband->n_channels; i++) in ieee80211_register_hw()
1098 if (i == sband->n_channels) in ieee80211_register_hw()
1111 channels += sband->n_channels; in ieee80211_register_hw()
Dvht.c138 for (i = 0; i < sband->n_channels; i++) { in ieee80211_vht_cap_ie_to_sta_vht_cap()
Dmlme.c1113 pos = skb_put(skb, 2 * sband->n_channels + 2); in ieee80211_assoc_link_elems()
1115 *pos++ = 2 * sband->n_channels; in ieee80211_assoc_link_elems()
1116 for (i = 0; i < sband->n_channels; i++) { in ieee80211_assoc_link_elems()
1429 size += 2 + 2 * sband->n_channels; in ieee80211_send_assoc()
4994 for (i = 0; i < sband->n_channels; i++) { in ieee80211_prep_channel()
Dieee80211_i.h1938 unsigned int n_channels);
Dutil.c2080 for (i = 0; i < sband->n_channels; i++) { in ieee80211_build_preq_ies_band()
/net/wireless/
Dscan.c792 u32 n_channels = request->n_channels; in cfg80211_scan_req_add_chan() local
796 for (i = 0; i < n_channels; i++) { in cfg80211_scan_req_add_chan()
804 request->channels[n_channels] = chan; in cfg80211_scan_req_add_chan()
807 n_channels; in cfg80211_scan_req_add_chan()
809 request->n_channels++; in cfg80211_scan_req_add_chan()
848 int n_channels, count = 0, err; in cfg80211_scan_6ghz() local
865 n_channels = rdev->wiphy.bands[NL80211_BAND_6GHZ]->n_channels; in cfg80211_scan_6ghz()
919 size = struct_size(request, channels, n_channels); in cfg80211_scan_6ghz()
934 request->n_channels = 0; in cfg80211_scan_6ghz()
976 for (i = 0; i < rdev_req->n_channels; i++) { in cfg80211_scan_6ghz()
[all …]
Dsme.c68 int n_channels, err; in cfg80211_conn_scan() local
76 n_channels = 1; in cfg80211_conn_scan()
78 n_channels = ieee80211_get_num_supported_channels(wdev->wiphy); in cfg80211_conn_scan()
81 sizeof(request->channels[0]) * n_channels, in cfg80211_conn_scan()
107 for (j = 0; j < bands->n_channels; j++) { in cfg80211_conn_scan()
115 n_channels = i; in cfg80211_conn_scan()
117 request->n_channels = n_channels; in cfg80211_conn_scan()
118 request->ssids = (void *)&request->channels[n_channels]; in cfg80211_conn_scan()
Dof.c57 for (i = 0; i < sband->n_channels; i++) { in wiphy_freq_limits_apply()
Ddebugfs.c81 for (i = 0; i < sband->n_channels; i++) in ht40allow_map_read()
Dreg.c2060 for (i = 0; i < sband->n_channels; i++) in handle_band()
2236 for (i = 0; i < sband->n_channels; i++) in wiphy_update_new_beacon()
2253 for (i = 0; i < sband->n_channels; i++) in wiphy_update_beacon_reg()
2300 for (i = 0; i < sband->n_channels; i++) { in reg_process_ht_flags_channel()
2346 for (i = 0; i < sband->n_channels; i++) in reg_process_ht_flags_band()
2624 for (i = 0; i < sband->n_channels; i++) in handle_band_custom()
3005 for (i = 0; i < dst_sband->n_channels; i++) { in wiphy_share_dfs_chan_state()
3007 for (j = 0; j < src_sband->n_channels; j++) { in wiphy_share_dfs_chan_state()
3470 for (i = 0; i < sband->n_channels; i++) { in restore_custom_reg_settings()
Dutil.c175 for (i = 0; i < sband->n_channels; i++) { in ieee80211_get_channel_khz()
2383 unsigned int n_channels = 0; in ieee80211_get_num_supported_channels() local
2387 n_channels += wiphy->bands[band]->n_channels; in ieee80211_get_num_supported_channels()
2389 return n_channels; in ieee80211_get_num_supported_channels()
Dmesh.c148 for (i = 0; i < sband->n_channels; i++) { in __cfg80211_join_mesh()
Dnl80211.c2589 i < sband->n_channels; in nl80211_send_wiphy()
2607 if (i < sband->n_channels) in nl80211_send_wiphy()
8929 int n_channels = 0, tmp1, tmp2; in validate_scan_freqs() local
8936 n_channels++; in validate_scan_freqs()
8952 return n_channels; in validate_scan_freqs()
9200 int err, tmp, n_ssids = 0, n_channels, i; in nl80211_trigger_scan() local
9225 n_channels = validate_scan_freqs(scan_freqs); in nl80211_trigger_scan()
9226 if (!n_channels) in nl80211_trigger_scan()
9229 n_channels = ieee80211_get_num_supported_channels(wiphy); in nl80211_trigger_scan()
9247 size = struct_size(request, channels, n_channels); in nl80211_trigger_scan()
[all …]
Dibss.c259 for (i = 0; i < sband->n_channels; i++) { in cfg80211_ibss_wext_join()
Dcore.c834 if (WARN_ON(!sband->n_channels)) in wiphy_register()
870 for (i = 0; i < sband->n_channels; i++) { in wiphy_register()
Dchan.c1497 for (chanidx = 0; chanidx < sband->n_channels; chanidx++) { in cfg80211_any_usable_channels()
Dmlme.c920 for (i = 0; i < sband->n_channels; i++) { in cfg80211_dfs_channels_update_work()
Dwext-compat.c198 for (i = 0; i < sband->n_channels && c < IW_MAX_FREQUENCIES; i++) { in cfg80211_wext_giwrange()
Dtrace.h3498 __field(u32, n_channels)