Home
last modified time | relevance | path

Searched refs:bands (Results 1 – 25 of 38) 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()
155 opt.replace_params.bands = qopt->bands; in prio_offload()
174 for (prio = 0; prio < q->bands; prio++) in prio_destroy()
183 int oldbands = q->bands, i; in prio_tune()
190 if (qopt->bands > TCQ_PRIO_BANDS || qopt->bands < 2) in prio_tune()
194 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()
166 for (band = 0; band < q->bands; band++) in multiq_destroy()
187 qopt->bands = qdisc_dev(sch)->real_num_tx_queues; in multiq_tune()
189 removed = kmalloc(sizeof(*removed) * (q->max_bands - q->bands), in multiq_tune()
[all …]
Dsch_generic.c758 struct tc_prio_qopt opt = { .bands = PFIFO_FAST_BANDS }; in pfifo_fast_dump()
818 struct skb_array *bands[PFIFO_FAST_BANDS]; in pfifo_fast_change_tx_queue_len() local
824 bands[prio] = q; in pfifo_fast_change_tx_queue_len()
827 return skb_array_resize_multiple(bands, PFIFO_FAST_BANDS, new_len, in pfifo_fast_change_tx_queue_len()
/net/openvswitch/
Dmeter.c131 band = meter->bands; in ovs_meter_cmd_reply_stats()
206 meter = kzalloc(struct_size(meter, bands, n_bands), GFP_KERNEL); in dp_meter_create()
222 band = meter->bands; in dp_meter_create()
500 band = &meter->bands[i]; in ovs_meter_execute()
517 band = &meter->bands[band_exceeded_max]; in ovs_meter_execute()
Dmeter.h42 struct dp_meter_band bands[]; member
/net/wireless/
Dmesh.c139 sband = rdev->wiphy.bands[band]; in __cfg80211_join_mesh()
172 rdev->wiphy.bands[setup->chandef.chan->band]; in __cfg80211_join_mesh()
Dsme.c90 wdev->wiphy->bands[band]; in cfg80211_conn_scan()
101 struct ieee80211_supported_band *bands; in cfg80211_conn_scan() local
105 bands = wdev->wiphy->bands[band]; in cfg80211_conn_scan()
106 if (!bands) in cfg80211_conn_scan()
108 for (j = 0; j < bands->n_channels; j++) { in cfg80211_conn_scan()
109 channel = &bands->channels[j]; in cfg80211_conn_scan()
114 request->rates[band] = (1 << bands->n_bitrates) - 1; in cfg80211_conn_scan()
Dreg.c1941 sband = wiphy->bands[reg_beacon->chan.band]; in handle_reg_beacon()
1979 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_new_beacon()
1982 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_new_beacon()
1998 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_beacon_reg()
2000 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_beacon_reg()
2033 struct ieee80211_supported_band *sband = wiphy->bands[channel->band]; in reg_process_ht_flags_channel()
2106 reg_process_ht_flags_band(wiphy, wiphy->bands[band]); in reg_process_ht_flags()
2247 handle_band(wiphy, initiator, wiphy->bands[band]); in wiphy_update_regulatory()
2357 if (!wiphy->bands[band]) in wiphy_apply_custom_regulatory()
2359 handle_band_custom(wiphy, wiphy->bands[band], regd); in wiphy_apply_custom_regulatory()
[all …]
Dof.c52 struct ieee80211_supported_band *sband = wiphy->bands[band]; in wiphy_freq_limits_apply()
Ddebugfs.c80 sband = wiphy->bands[band]; in ht40allow_map_read()
Dutil.c146 sband = wiphy->bands[band]; in ieee80211_get_channel_khz()
227 if (wiphy->bands[band]) in ieee80211_set_bitrate_flags()
228 set_mandatory_flags_band(wiphy->bands[band]); in ieee80211_set_bitrate_flags()
1960 if (wiphy->bands[band]) in ieee80211_get_num_supported_channels()
1961 n_channels += wiphy->bands[band]->n_channels; in ieee80211_get_num_supported_channels()
Dibss.c119 sband = rdev->wiphy.bands[band]; in __cfg80211_join_ibss()
257 sband = rdev->wiphy.bands[band]; in cfg80211_ibss_wext_join()
Dchan.c896 ht_cap = &wiphy->bands[chandef->chan->band]->ht_cap; in cfg80211_chandef_usable()
897 vht_cap = &wiphy->bands[chandef->chan->band]->vht_cap; in cfg80211_chandef_usable()
898 edmg_cap = &wiphy->bands[chandef->chan->band]->edmg_cap; in cfg80211_chandef_usable()
Dscan.c2241 if (!wiphy->bands[band]) in cfg80211_wext_siwscan()
2244 for (j = 0; j < wiphy->bands[band]->n_channels; j++) { in cfg80211_wext_siwscan()
2246 if (wiphy->bands[band]->channels[j].flags & in cfg80211_wext_siwscan()
2256 int wiphy_freq = wiphy->bands[band]->channels[j].center_freq; in cfg80211_wext_siwscan()
2270 creq->channels[i] = &wiphy->bands[band]->channels[j]; in cfg80211_wext_siwscan()
2299 if (wiphy->bands[i]) in cfg80211_wext_siwscan()
2300 creq->rates[i] = (1 << wiphy->bands[i]->n_bitrates) - 1; in cfg80211_wext_siwscan()
Dnl80211.c2167 sband = rdev->wiphy.bands[band]; in nl80211_send_wiphy()
4426 sband = rdev->wiphy.bands[i]; in nl80211_parse_tx_bitrate_mask()
4457 sband = rdev->wiphy.bands[band]; in nl80211_parse_tx_bitrate_mask()
4501 if (!(rdev->wiphy.bands[band]->ht_cap.ht_supported || in nl80211_parse_tx_bitrate_mask()
4502 rdev->wiphy.bands[band]->vht_cap.vht_supported)) in nl80211_parse_tx_bitrate_mask()
4983 if (params.pbss && !rdev->wiphy.bands[NL80211_BAND_60GHZ]) in nl80211_start_ap()
7522 return b < NUM_NL80211_BANDS && wiphy->bands[b]; in is_band_valid()
7825 if (!wiphy->bands[band]) in nl80211_trigger_scan()
7827 for (j = 0; j < wiphy->bands[band]->n_channels; j++) { in nl80211_trigger_scan()
7830 chan = &wiphy->bands[band]->channels[j]; in nl80211_trigger_scan()
[all …]
Dtrace.h2045 __field(u8, bands);
2051 __entry->bands = conf->bands;
2056 __entry->bands)
2067 __field(u8, bands);
2074 __entry->bands = conf->bands;
2080 __entry->bands, __entry->changes)
/net/mac80211/
Dmain.c952 sband = local->hw.wiphy->bands[band]; in ieee80211_register_hw()
1035 if (!local->hw.wiphy->bands[band]) in ieee80211_register_hw()
1233 sband = local->hw.wiphy->bands[band]; in ieee80211_register_hw()
1255 local->hw.wiphy->bands[band] = sband; in ieee80211_register_hw()
1407 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()
1145 if (!local->hw.wiphy->bands[band]) in ieee80211_request_ibss_scan()
1148 max_n = local->hw.wiphy->bands[band]->n_channels; in ieee80211_request_ibss_scan()
1151 &local->hw.wiphy->bands[band]->channels[i]; in ieee80211_request_ibss_scan()
1278 if (local->hw.wiphy->bands[i]) { in __ieee80211_request_sched_scan_start()
Dtrace.h1793 __field(u8, bands)
1800 __entry->bands = conf->bands;
1807 __entry->bands
1844 __field(u8, bands)
1852 __entry->bands = conf->bands;
1860 __entry->bands, __entry->changes
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()
657 sband = local->hw.wiphy->bands[band]; in ieee80211_ibss_add_sta()
1008 sband = local->hw.wiphy->bands[band]; in ieee80211_update_sta_info()
1247 sband = local->hw.wiphy->bands[band]; in ieee80211_ibss_rx_no_sta()
1808 sband = local->hw.wiphy->bands[params->chandef.chan->band]; in ieee80211_ibss_join()
Drate.c52 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init()
274 sband = local->hw.wiphy->bands[band]; in ieee80211_check_rate_mask()
857 sband = sdata->local->hw.wiphy->bands[info->band]; in ieee80211_get_tx_rates()
Docb.c76 sband = local->hw.wiphy->bands[band]; in ieee80211_ocb_rx_no_sta()
Dstatus.c882 sband = local->hw.wiphy->bands[info->band]; in __ieee80211_tx_status()
1113 sband = hw->wiphy->bands[info->band]; in ieee80211_tx_status_ext()
1166 struct ieee80211_supported_band *sband = hw->wiphy->bands[info->band]; in ieee80211_tx_rate_update()
Dutil.c167 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_rts_duration()
211 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_ctstoself_duration()
1674 sband = local->hw.wiphy->bands[band]; in ieee80211_build_preq_ies_band()
1962 sband = sdata->local->hw.wiphy->bands[band]; in ieee80211_sta_get_rates()
3078 vht_cap = hw->wiphy->bands[chandef->chan->band]->vht_cap.cap; in ieee80211_chandef_vht_oper()
3188 sband = local->hw.wiphy->bands[band]; in ieee80211_add_srates_ie()
3233 sband = local->hw.wiphy->bands[band]; in ieee80211_add_ext_srates_ie()
3356 sband = local->hw.wiphy->bands[status->band]; in ieee80211_calculate_rx_timestamp()
Dsta_info.c429 if (!hw->wiphy->bands[i]) in sta_info_alloc()
455 for (r = 0; r < hw->wiphy->bands[i]->n_bitrates; r++) { in sta_info_alloc()
458 rate = &hw->wiphy->bands[i]->bitrates[r]; in sta_info_alloc()
2099 sband = local->hw.wiphy->bands[band]; in sta_stats_decode_rate()

12