Home
last modified time | relevance | path

Searched refs:bands (Results 1 – 25 of 42) sorted by relevance

12

/net/sched/
Dsch_prio.c22 int bands; member
62 if (band >= q->bands) in prio_classify()
102 for (prio = 0; prio < q->bands; prio++) { in prio_peek()
116 for (prio = 0; prio < q->bands; prio++) { in prio_dequeue()
136 for (prio = 0; prio < q->bands; prio++) in prio_reset()
153 opt.replace_params.bands = qopt->bands; in prio_offload()
172 for (prio = 0; prio < q->bands; prio++) in prio_destroy()
181 int oldbands = q->bands, i; in prio_tune()
188 if (qopt->bands > TCQ_PRIO_BANDS || qopt->bands < 2) in prio_tune()
192 if (qopt->priomap[i] >= qopt->bands) in prio_tune()
[all …]
Dsch_multiq.c20 u16 bands; member
53 if (band >= q->bands) in multiq_classify()
94 for (band = 0; band < q->bands; band++) { in multiq_dequeue()
97 if (q->curband >= q->bands) in multiq_dequeue()
126 for (band = 0; band < q->bands; band++) { in multiq_peek()
129 if (curband >= q->bands) in multiq_peek()
153 for (band = 0; band < q->bands; band++) in multiq_reset()
165 for (band = 0; band < q->bands; band++) in multiq_destroy()
186 qopt->bands = qdisc_dev(sch)->real_num_tx_queues; in multiq_tune()
188 removed = kmalloc(sizeof(*removed) * (q->max_bands - q->bands), in multiq_tune()
[all …]
Dsch_generic.c780 struct tc_prio_qopt opt = { .bands = PFIFO_FAST_BANDS }; in pfifo_fast_dump()
840 struct skb_array *bands[PFIFO_FAST_BANDS]; in pfifo_fast_change_tx_queue_len() local
846 bands[prio] = q; in pfifo_fast_change_tx_queue_len()
849 return skb_array_resize_multiple(bands, PFIFO_FAST_BANDS, new_len, in pfifo_fast_change_tx_queue_len()
/net/openvswitch/
Dmeter.c257 band = meter->bands; in ovs_meter_cmd_reply_stats()
347 meter = kzalloc(struct_size(meter, bands, n_bands), GFP_KERNEL); in dp_meter_create()
363 band = meter->bands; in dp_meter_create()
653 band = &meter->bands[i]; in ovs_meter_execute()
670 band = &meter->bands[band_exceeded_max]; in ovs_meter_execute()
Dmeter.h42 struct dp_meter_band bands[]; member
/net/wireless/
Dmesh.c144 sband = rdev->wiphy.bands[band]; in __cfg80211_join_mesh()
177 rdev->wiphy.bands[setup->chandef.chan->band]; in __cfg80211_join_mesh()
Dreg.c2198 sband = wiphy->bands[reg_beacon->chan.band]; in handle_reg_beacon()
2236 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_new_beacon()
2239 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_new_beacon()
2255 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_beacon_reg()
2257 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_beacon_reg()
2290 struct ieee80211_supported_band *sband = wiphy->bands[channel->band]; in reg_process_ht_flags_channel()
2363 reg_process_ht_flags_band(wiphy, wiphy->bands[band]); in reg_process_ht_flags()
2535 handle_band(wiphy, initiator, wiphy->bands[band]); in wiphy_update_regulatory()
2646 if (!wiphy->bands[band]) in wiphy_apply_custom_regulatory()
2648 handle_band_custom(wiphy, wiphy->bands[band], regd); in wiphy_apply_custom_regulatory()
[all …]
Dsme.c89 wdev->wiphy->bands[band]; in cfg80211_conn_scan()
100 struct ieee80211_supported_band *bands; in cfg80211_conn_scan() local
104 bands = wdev->wiphy->bands[band]; in cfg80211_conn_scan()
105 if (!bands) in cfg80211_conn_scan()
107 for (j = 0; j < bands->n_channels; j++) { in cfg80211_conn_scan()
108 channel = &bands->channels[j]; in cfg80211_conn_scan()
113 request->rates[band] = (1 << bands->n_bitrates) - 1; in cfg80211_conn_scan()
Dchan.c1057 ht_cap = &wiphy->bands[chandef->chan->band]->ht_cap; in cfg80211_chandef_usable()
1058 vht_cap = &wiphy->bands[chandef->chan->band]->vht_cap; in cfg80211_chandef_usable()
1059 edmg_cap = &wiphy->bands[chandef->chan->band]->edmg_cap; in cfg80211_chandef_usable()
1161 sband = wiphy->bands[NL80211_BAND_6GHZ]; in cfg80211_chandef_usable()
1411 struct ieee80211_supported_band *sband = wiphy->bands[idx]; in cfg80211_any_usable_channels()
Dof.c52 struct ieee80211_supported_band *sband = wiphy->bands[band]; in wiphy_freq_limits_apply()
Ddebugfs.c78 sband = wiphy->bands[band]; in ht40allow_map_read()
Dscan.c780 if (!rdev->wiphy.bands[NL80211_BAND_6GHZ]) in cfg80211_scan_6ghz()
783 iftd = ieee80211_get_sband_iftype_data(rdev->wiphy.bands[NL80211_BAND_6GHZ], in cfg80211_scan_6ghz()
788 n_channels = rdev->wiphy.bands[NL80211_BAND_6GHZ]->n_channels; in cfg80211_scan_6ghz()
2808 if (!wiphy->bands[band]) in cfg80211_wext_siwscan()
2811 for (j = 0; j < wiphy->bands[band]->n_channels; j++) { in cfg80211_wext_siwscan()
2813 if (wiphy->bands[band]->channels[j].flags & in cfg80211_wext_siwscan()
2823 int wiphy_freq = wiphy->bands[band]->channels[j].center_freq; in cfg80211_wext_siwscan()
2837 creq->channels[i] = &wiphy->bands[band]->channels[j]; in cfg80211_wext_siwscan()
2866 if (wiphy->bands[i]) in cfg80211_wext_siwscan()
2867 creq->rates[i] = (1 << wiphy->bands[i]->n_bitrates) - 1; in cfg80211_wext_siwscan()
Dibss.c120 sband = rdev->wiphy.bands[band]; in __cfg80211_join_ibss()
256 sband = rdev->wiphy.bands[band]; in cfg80211_ibss_wext_join()
Dutil.c176 sband = wiphy->bands[band]; in ieee80211_get_channel_khz()
264 if (wiphy->bands[band]) in ieee80211_set_bitrate_flags()
265 set_mandatory_flags_band(wiphy->bands[band]); in ieee80211_set_bitrate_flags()
2193 if (wiphy->bands[band]) in ieee80211_get_num_supported_channels()
2194 n_channels += wiphy->bands[band]->n_channels; in ieee80211_get_num_supported_channels()
Dnl80211.c2522 sband = rdev->wiphy.bands[band]; in nl80211_send_wiphy()
5132 sband = rdev->wiphy.bands[i]; in nl80211_parse_tx_bitrate_mask()
5172 sband = rdev->wiphy.bands[band]; in nl80211_parse_tx_bitrate_mask()
5231 if (!(rdev->wiphy.bands[band]->ht_cap.ht_supported || in nl80211_parse_tx_bitrate_mask()
5232 rdev->wiphy.bands[band]->vht_cap.vht_supported || in nl80211_parse_tx_bitrate_mask()
6004 if (params->pbss && !rdev->wiphy.bands[NL80211_BAND_60GHZ]) { in nl80211_start_ap()
8724 return b < NUM_NL80211_BANDS && wiphy->bands[b]; in is_band_valid()
9060 if (!wiphy->bands[band]) in nl80211_trigger_scan()
9062 for (j = 0; j < wiphy->bands[band]->n_channels; j++) { in nl80211_trigger_scan()
9065 chan = &wiphy->bands[band]->channels[j]; in nl80211_trigger_scan()
[all …]
/net/mac80211/
Dmain.c984 sband = local->hw.wiphy->bands[band]; in ieee80211_register_hw()
1077 if (!local->hw.wiphy->bands[band]) in ieee80211_register_hw()
1273 sband = local->hw.wiphy->bands[band]; in ieee80211_register_hw()
1295 local->hw.wiphy->bands[band] = sband; in ieee80211_register_hw()
1447 kfree(local->hw.wiphy->bands[band]); in ieee80211_free_hw()
Dscan.c129 local->hw.wiphy->bands[rx_status->band]; in ieee80211_update_bss_from_elems()
1195 if (!local->hw.wiphy->bands[band] || in ieee80211_request_ibss_scan()
1199 max_n = local->hw.wiphy->bands[band]->n_channels; in ieee80211_request_ibss_scan()
1202 &local->hw.wiphy->bands[band]->channels[i]; in ieee80211_request_ibss_scan()
1329 if (local->hw.wiphy->bands[i]) { in __ieee80211_request_sched_scan_start()
Dairtime.c486 sband = hw->wiphy->bands[status->band]; in ieee80211_calc_rx_airtime()
513 struct ieee80211_supported_band *sband = hw->wiphy->bands[band]; in ieee80211_fill_rate_info()
704 sband = hw->wiphy->bands[band]; in ieee80211_calc_expected_tx_airtime()
Dibss.c93 sband = local->hw.wiphy->bands[chandef->chan->band]; in ieee80211_ibss_build_presp()
444 sband = sdata->local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_sta_join_ibss()
643 sband = local->hw.wiphy->bands[band]; in ieee80211_ibss_add_sta()
999 sband = local->hw.wiphy->bands[band]; in ieee80211_update_sta_info()
1241 sband = local->hw.wiphy->bands[band]; in ieee80211_ibss_rx_no_sta()
1812 sband = local->hw.wiphy->bands[params->chandef.chan->band]; in ieee80211_ibss_join()
Dtrace.h1840 __field(u8, bands)
1847 __entry->bands = conf->bands;
1854 __entry->bands
1891 __field(u8, bands)
1899 __entry->bands = conf->bands;
1907 __entry->bands, __entry->changes
Drate.c52 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init()
286 sband = local->hw.wiphy->bands[band]; in ieee80211_check_rate_mask()
878 sband = sdata->local->hw.wiphy->bands[info->band]; in ieee80211_get_tx_rates()
Dutil.c218 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_rts_duration()
262 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_ctstoself_duration()
1802 sband = local->hw.wiphy->bands[band]; in ieee80211_build_preq_ies_band()
1975 sband6 = local->hw.wiphy->bands[NL80211_BAND_6GHZ]; in ieee80211_build_preq_ies_band()
2103 sband = sdata->local->hw.wiphy->bands[band]; in ieee80211_sta_get_rates()
3006 sband = sdata->local->hw.wiphy->bands[NL80211_BAND_6GHZ]; in ieee80211_ie_build_he_6ghz_cap()
3298 vht_cap = hw->wiphy->bands[chandef->chan->band]->vht_cap.cap; in ieee80211_chandef_vht_oper()
3419 sband = local->hw.wiphy->bands[NL80211_BAND_6GHZ]; in ieee80211_chandef_he_6ghz_oper()
3588 sband = local->hw.wiphy->bands[band]; in ieee80211_add_srates_ie()
3633 sband = local->hw.wiphy->bands[band]; in ieee80211_add_ext_srates_ie()
[all …]
Docb.c76 sband = local->hw.wiphy->bands[band]; in ieee80211_ocb_rx_no_sta()
Dstatus.c909 sband = local->hw.wiphy->bands[info->band]; in __ieee80211_tx_status()
1133 sband = hw->wiphy->bands[info->band]; in ieee80211_tx_status_ext()
1225 struct ieee80211_supported_band *sband = hw->wiphy->bands[info->band]; in ieee80211_tx_rate_update()
Drc80211_minstrel_ht.c1742 sband = hw->wiphy->bands[i]; in minstrel_ht_alloc_sta()
1786 sband = mp->hw->wiphy->bands[NL80211_BAND_2GHZ]; in minstrel_ht_init_cck_rates()
1805 sband = mp->hw->wiphy->bands[band]; in minstrel_ht_init_ofdm_rates()
1848 for (i = 0; i < ARRAY_SIZE(mp->hw->wiphy->bands); i++) in minstrel_ht_alloc()

12