/net/wireless/ |
H A D | debugfs.c | 72 enum ieee80211_band band; local 81 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { 82 sband = wiphy->bands[band];
|
H A D | ibss.c | 105 rdev->wiphy.bands[params->chandef.chan->band]; 107 u32 flag = params->chandef.chan->band == IEEE80211_BAND_5GHZ ? 239 enum ieee80211_band band; local 251 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { 255 sband = rdev->wiphy.bands[band];
|
H A D | mesh.c | 131 enum ieee80211_band band; local 133 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { 138 sband = rdev->wiphy.bands[band]; 171 rdev->wiphy.bands[setup->chandef.chan->band];
|
H A D | core.c | 52 "Disable 40MHz support in the 2.4GHz band"); 490 enum ieee80211_band band; local 547 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { 548 sband = wiphy->bands[band]; 552 sband->band = band; 556 * on 60gHz band, there are no legacy rates, so 559 if (WARN_ON(band ! [all...] |
H A D | sme.c | 87 enum ieee80211_band band; local 91 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { 92 bands = wdev->wiphy->bands[band]; 101 request->rates[band] = (1 << bands->n_bitrates) - 1; 680 regulatory_hint_country_ie(wdev->wiphy, bss->channel->band,
|
H A D | wext-compat.c | 146 enum ieee80211_band band; local 218 for (band = 0; band < IEEE80211_NUM_BANDS; band ++) { 221 sband = wdev->wiphy->bands[band]; 268 enum ieee80211_band band = IEEE80211_BAND_2GHZ; local 272 band = IEEE80211_BAND_5GHZ; 273 return ieee80211_channel_to_frequency(freq->m, band); 1230 int band, ridx; local 1248 for (band [all...] |
H A D | scan.c | 874 freq = ieee80211_channel_to_frequency(channel_number, channel->band); 1114 enum ieee80211_band band; local 1158 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { 1161 if (!wiphy->bands[band]) 1164 for (j = 0; j < wiphy->bands[band]->n_channels; j++) { 1166 if (wiphy->bands[band]->channels[j].flags & 1176 int wiphy_freq = wiphy->bands[band]->channels[j].center_freq; 1190 creq->channels[i] = &wiphy->bands[band] [all...] |
H A D | util.c | 50 if (sband->band == IEEE80211_BAND_2GHZ) { 68 int ieee80211_channel_to_frequency(int chan, enum ieee80211_band band) argument 74 switch (band) { 107 else if (freq <= 45000) /* DMG band lower limit */ 119 enum ieee80211_band band; local 123 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { 124 sband = wiphy->bands[band]; 140 enum ieee80211_band band) 139 set_mandatory_flags_band(struct ieee80211_supported_band *sband, enum ieee80211_band band) argument 201 enum ieee80211_band band; local 1227 ieee80211_operating_class_to_band(u8 operating_class, enum ieee80211_band *band) argument 1539 enum ieee80211_band band; local [all...] |
H A D | reg.c | 682 * freq_in_rule_band - tells us if a frequency is in a frequency band 687 * a specific frequency's band. Bands are device specific and artificial 688 * definitions (the "2.4 GHz band", the "5 GHz band" and the "60GHz band"), 690 * part of a frequency's band if the start freq or end freq are off by more 692 * 60 GHz band. 702 * Pertaining to operation in a frequency band containing a channel 972 * was in center_freq's band, that's enough, so lets 1090 * about a band 1473 enum ieee80211_band band; local 1492 enum ieee80211_band band; local 1591 enum ieee80211_band band; local 2108 regulatory_hint_country_ie(struct wiphy *wiphy, enum ieee80211_band band, const u8 *country_ie, u8 country_ie_len) argument 2205 enum ieee80211_band band; local [all...] |
/net/mac80211/ |
H A D | vht.c | 361 enum ieee80211_band band, bool nss_only) 369 sband = local->hw.wiphy->bands[band]; 413 enum ieee80211_band band, bool nss_only) 416 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; 419 band, nss_only); 359 __ieee80211_vht_handle_opmode(struct ieee80211_sub_if_data *sdata, struct sta_info *sta, u8 opmode, enum ieee80211_band band, bool nss_only) argument 411 ieee80211_vht_handle_opmode(struct ieee80211_sub_if_data *sdata, struct sta_info *sta, u8 opmode, enum ieee80211_band band, bool nss_only) argument
|
H A D | main.c | 756 enum ieee80211_band band; local 813 * generic code guarantees at least one band, 821 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { 824 sband = local->hw.wiphy->bands[band]; 883 for (band = 0; band < IEEE80211_NUM_BANDS; band++) { 884 if (!local->hw.wiphy->bands[band]) [all...] |
H A D | rc80211_minstrel.c | 400 calc_rate_durations(enum ieee80211_band band, argument 408 d->perfect_tx_time = ieee80211_frame_duration(band, 1200, 411 d->ack_time = ieee80211_frame_duration(band, 10, 453 mi->sp_ack_dur = ieee80211_frame_duration(sband->band, 10, 470 if (!rate_supported(sta, sband->band, i)) 483 calc_rate_durations(sband->band, mr, &sband->bitrates[i],
|
H A D | tdls.c | 172 enum ieee80211_band band = ieee80211_get_sdata_band(sdata); local 191 ieee80211_add_srates_ie(sdata, skb, false, band); 192 ieee80211_add_ext_srates_ie(sdata, skb, false, band); 245 * single HT-cap, so use the current band for now. 247 sband = local->hw.wiphy->bands[band];
|
H A D | mesh_plink.c | 97 enum ieee80211_band band = ieee80211_get_sdata_band(sdata); local 98 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; 104 if (band == IEEE80211_BAND_5GHZ) { 108 } else if (band != IEEE80211_BAND_2GHZ || 109 (band == IEEE80211_BAND_2GHZ && 127 if (erp_rates & sta->sta.supp_rates[band]) 300 enum ieee80211_band band = ieee80211_get_sdata_band(sdata); local 310 if (ieee80211_add_srates_ie(sdata, skb, true, band) || 311 ieee80211_add_ext_srates_ie(sdata, skb, true, band) || 382 enum ieee80211_band band local [all...] |
H A D | scan.c | 154 local->hw.wiphy->bands[rx_status->band]; 248 bands_used |= BIT(req->channels[i]->band); 260 if (req->channels[i]->band != 266 bands_used |= BIT(req->channels[i]->band); 443 enum ieee80211_band band = local->hw.conf.chandef.chan->band; local 459 local->scan_req->rates[band], false, 498 if (bands_counted & BIT(req->channels[i]->band)) 500 bands_counted |= BIT(req->channels[i]->band); 711 /* advance state machine to next channel/band */ 884 enum ieee80211_band band; local [all...] |
H A D | ibss.c | 92 sband = local->hw.wiphy->bands[chandef->chan->band]; 128 if (sband->band == IEEE80211_BAND_2GHZ) { 341 sdata->vif.bss_conf.use_short_slot = chan->band == IEEE80211_BAND_5GHZ; 345 if (chan->band == IEEE80211_BAND_2GHZ && have_higher_than_11mbit) 427 sband = sdata->local->hw.wiphy->bands[cbss->channel->band]; 607 int band; local 634 band = chanctx_conf->def.chan->band; 647 sband = local->hw.wiphy->bands[band]; 648 sta->sta.supp_rates[band] 995 enum ieee80211_band band = rx_status->band; local 1166 int band; local [all...] |
H A D | mesh.c | 413 enum ieee80211_band band = ieee80211_get_sdata_band(sdata); local 417 sband = local->hw.wiphy->bands[band]; 454 sband = local->hw.wiphy->bands[channel->band]; 613 enum ieee80211_band band; local 622 band = chanctx_conf->def.chan->band; 701 if (ieee80211_add_srates_ie(sdata, skb, true, band) || 712 if (ieee80211_add_ext_srates_ie(sdata, skb, true, band) || 858 enum ieee80211_band band = ieee80211_get_sdata_band(sdata); local 877 err = ieee80211_parse_ch_switch_ie(sdata, elems, band, 1012 enum ieee80211_band band = rx_status->band; local [all...] |
H A D | cfg.c | 981 enum ieee80211_band band = ieee80211_get_sdata_band(sdata); local 984 sband = local->hw.wiphy->bands[band]; 1070 &sta->sta.supp_rates[band]); 1087 band, false); 1738 enum ieee80211_band band; local 1744 band = ieee80211_get_sdata_band(sdata); 1757 band == IEEE80211_BAND_5GHZ) { 1770 wiphy->bands[band], 2991 /* changes into another band are not supported */ 2992 if (sdata->u.ibss.chandef.chan->band ! 3384 enum ieee80211_band band; local [all...] |
H A D | tx.c | 70 sband = local->hw.wiphy->bands[info->band]; 143 switch (sband->band) { 179 dur = ieee80211_frame_duration(sband->band, 10, rate, erp, 188 dur += ieee80211_frame_duration(sband->band, next_frag_len, 666 sband = tx->local->hw.wiphy->bands[info->band]; 677 txrc.rate_idx_mask = tx->sdata->rc_rateidx_mask[info->band]; 683 if (tx->sdata->rc_has_mcs_mask[info->band]) 685 tx->sdata->rc_rateidx_mcs_mask[info->band]; 723 "%pM on %d GHz band\n", 725 info->band 1393 ieee80211_tx_prepare_skb(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct sk_buff *skb, int band, struct ieee80211_sta **sta) argument 1425 ieee80211_tx(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, bool txpending, enum ieee80211_band band) argument 1501 ieee80211_xmit(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, enum ieee80211_band band) argument 1823 enum ieee80211_band band; local 2562 enum ieee80211_band band; local 3021 __ieee80211_tx_skb_tid_band(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, int tid, enum ieee80211_band band) argument [all...] |
H A D | util.c | 110 int ieee80211_frame_duration(enum ieee80211_band band, size_t len, argument 128 if (band == IEEE80211_BAND_5GHZ || erp) { 180 enum ieee80211_band band, 198 dur = ieee80211_frame_duration(band, frame_len, rate->bitrate, erp, 217 sband = local->hw.wiphy->bands[frame_txctl->band]; 235 dur = ieee80211_frame_duration(sband->band, 10, bitrate, 238 dur += ieee80211_frame_duration(sband->band, frame_len, bitrate, 241 dur += ieee80211_frame_duration(sband->band, 10, bitrate, 261 sband = local->hw.wiphy->bands[frame_txctl->band]; 278 dur = ieee80211_frame_duration(sband->band, frame_le 178 ieee80211_generic_frame_duration(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum ieee80211_band band, size_t frame_len, struct ieee80211_rate *rate) argument 1249 ieee80211_build_preq_ies_band(struct ieee80211_local *local, u8 *buffer, size_t buffer_len, const u8 *ie, size_t ie_len, enum ieee80211_band band, u32 rate_mask, struct cfg80211_chan_def *chandef, size_t *offset) argument 1518 ieee80211_sta_get_rates(struct ieee80211_sub_if_data *sdata, struct ieee802_11_elems *elems, enum ieee80211_band band, u32 *basic_rates) argument 2297 ieee80211_add_srates_ie(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, bool need_basic, enum ieee80211_band band) argument 2342 ieee80211_add_ext_srates_ie(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, bool need_basic, enum ieee80211_band band) argument [all...] |
H A D | ieee80211_i.h | 890 enum ieee80211_band band = IEEE80211_BAND_2GHZ; local 896 band = chanctx_conf->def.chan->band; 899 return band; 1630 enum ieee80211_band band, bool nss_only); 1633 enum ieee80211_band band, bool nss_only); 1645 * @current_band: indicates the current band 1685 int ieee80211_frame_duration(enum ieee80211_band band, size_t len, 1694 enum ieee80211_band band); 1698 enum ieee80211_band band); 1701 ieee80211_tx_skb_tid_band(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, int tid, enum ieee80211_band band) argument [all...] |
/net/sched/ |
H A D | sch_multiq.c | 43 u32 band; local 59 band = skb_get_queue_mapping(skb); 61 if (band >= q->bands) 64 return q->queues[band]; 99 int band; local 101 for (band = 0; band < q->bands; band++) { 131 int band; local 133 for (band 157 int band; local 178 u16 band; local 190 int band; local 301 unsigned long band = arg - 1; local 320 unsigned long band = arg - 1; local 328 unsigned long band = TC_H_MIN(classid); local 373 int band; local [all...] |
H A D | sch_prio.c | 2 * net/sched/sch_prio.c Simple 3-band priority "scheduler". 37 u32 band = skb->priority; local 56 if (TC_H_MAJ(band)) 57 band = 0; 58 return q->queues[q->prio2band[band & TC_PRIO_MAX]]; 60 band = res.classid; 62 band = TC_H_MIN(band) - 1; 63 if (band >= q->bands) 66 return q->queues[band]; 266 unsigned long band = arg - 1; local 285 unsigned long band = arg - 1; local 293 unsigned long band = TC_H_MIN(classid); local [all...] |
H A D | sch_generic.c | 450 /* 3-band FIFO queue: old style, but should be a bit faster than 458 * - queues for the three band 467 * Convert a bitmap to the first band number where an skb is queued, where: 468 * bitmap=0 means there are no skbs on any band. 469 * bitmap=1 means there is an skb on band 0. 475 int band) 477 return priv->q + band; 483 int band = prio2band[skb->priority & TC_PRIO_MAX]; local 485 struct sk_buff_head *list = band2list(priv, band); 487 priv->bitmap |= (1 << band); 474 band2list(struct pfifo_fast_priv *priv, int band) argument 498 int band = bitmap2band[priv->bitmap]; local 517 int band = bitmap2band[priv->bitmap]; local [all...] |
/net/ |
H A D | socket.c | 1219 int sock_wake_async(struct socket *sock, int how, int band) argument 1242 kill_fasync(&wq->fasync_list, SIGIO, band); 1245 kill_fasync(&wq->fasync_list, SIGURG, band); 2415 /* Out of band data, return right away */
|