/linux-4.1.27/drivers/net/wireless/rtlwifi/ |
D | regd.c | 146 struct ieee80211_supported_band *sband; in _rtl_reg_apply_beaconing_flags() local 156 sband = wiphy->bands[band]; in _rtl_reg_apply_beaconing_flags() 158 for (i = 0; i < sband->n_channels; i++) { in _rtl_reg_apply_beaconing_flags() 159 ch = &sband->channels[i]; in _rtl_reg_apply_beaconing_flags() 197 struct ieee80211_supported_band *sband; in _rtl_reg_apply_active_scan_flags() local 203 sband = wiphy->bands[IEEE80211_BAND_2GHZ]; in _rtl_reg_apply_active_scan_flags() 210 ch = &sband->channels[11]; /* CH 12 */ in _rtl_reg_apply_active_scan_flags() 213 ch = &sband->channels[12]; /* CH 13 */ in _rtl_reg_apply_active_scan_flags() 226 ch = &sband->channels[11]; /* CH 12 */ in _rtl_reg_apply_active_scan_flags() 234 ch = &sband->channels[12]; /* CH 13 */ in _rtl_reg_apply_active_scan_flags() [all …]
|
D | rc.c | 192 struct ieee80211_supported_band *sband, in rtl_tx_status() argument 232 struct ieee80211_supported_band *sband, in rtl_rate_init() argument 239 struct ieee80211_supported_band *sband, in rtl_rate_update() argument
|
D | base.c | 325 struct ieee80211_supported_band *sband; in _rtl_init_mac80211() local 331 sband = &(rtlmac->bands[IEEE80211_BAND_2GHZ]); in _rtl_init_mac80211() 339 _rtl_init_hw_ht_capab(hw, &sband->ht_cap); in _rtl_init_mac80211() 342 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = sband; in _rtl_init_mac80211() 346 sband = &(rtlmac->bands[IEEE80211_BAND_5GHZ]); in _rtl_init_mac80211() 354 _rtl_init_hw_ht_capab(hw, &sband->ht_cap); in _rtl_init_mac80211() 356 _rtl_init_hw_vht_capab(hw, &sband->vht_cap); in _rtl_init_mac80211() 358 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = sband; in _rtl_init_mac80211() 362 sband = &(rtlmac->bands[IEEE80211_BAND_2GHZ]); in _rtl_init_mac80211() 371 _rtl_init_hw_ht_capab(hw, &sband->ht_cap); in _rtl_init_mac80211() [all …]
|
/linux-4.1.27/net/mac80211/ |
D | rate.c | 200 struct ieee80211_supported_band *sband) in rc_send_low_basicrate() argument 211 for (i = *idx + 1; i <= sband->n_bitrates; i++) { in rc_send_low_basicrate() 222 struct ieee80211_supported_band *sband, in __rate_control_send_low() argument 231 if ((sband->band == IEEE80211_BAND_2GHZ) && in __rate_control_send_low() 236 for (i = 0; i < sband->n_bitrates; i++) { in __rate_control_send_low() 240 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in __rate_control_send_low() 243 if (!rate_supported(sta, sband->band, i)) in __rate_control_send_low() 249 WARN_ON_ONCE(i == sband->n_bitrates); in __rate_control_send_low() 264 struct ieee80211_supported_band *sband = txrc->sband; in rate_control_send_low() local 270 __rate_control_send_low(txrc->hw, sband, pubsta, info, in rate_control_send_low() [all …]
|
D | rate.h | 33 struct ieee80211_supported_band *sband, in rate_control_tx_status() argument 46 ref->ops->tx_status(ref->priv, sband, ista, priv_sta, skb); in rate_control_tx_status() 48 ref->ops->tx_status_noskb(ref->priv, sband, ista, priv_sta, info); in rate_control_tx_status() 53 struct ieee80211_supported_band *sband, in rate_control_tx_status_noskb() argument 67 ref->ops->tx_status_noskb(ref->priv, sband, ista, priv_sta, info); in rate_control_tx_status_noskb() 76 struct ieee80211_supported_band *sband; in rate_control_rate_init() local 92 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init() 94 ref->ops->rate_init(ref->priv, sband, &chanctx_conf->def, ista, in rate_control_rate_init() 101 struct ieee80211_supported_band *sband, in rate_control_rate_update() argument 118 ref->ops->rate_update(ref->priv, sband, &chanctx_conf->def, in rate_control_rate_update()
|
D | rc80211_minstrel.c | 264 minstrel_tx_status(void *priv, struct ieee80211_supported_band *sband, in minstrel_tx_status() argument 478 minstrel_rate_init(void *priv, struct ieee80211_supported_band *sband, in minstrel_rate_init() argument 490 mi->lowest_rix = rate_lowest_index(sband, sta); in minstrel_rate_init() 491 ctl_rate = &sband->bitrates[mi->lowest_rix]; in minstrel_rate_init() 492 mi->sp_ack_dur = ieee80211_frame_duration(sband->band, 10, in minstrel_rate_init() 501 for (i = 0; i < sband->n_bitrates; i++) { in minstrel_rate_init() 509 if (!rate_supported(sta, sband->band, i)) in minstrel_rate_init() 511 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in minstrel_rate_init() 520 mr->bitrate = DIV_ROUND_UP(sband->bitrates[i].bitrate, in minstrel_rate_init() 522 calc_rate_durations(sband->band, mr, &sband->bitrates[i], in minstrel_rate_init() [all …]
|
D | ibss.c | 51 struct ieee80211_supported_band *sband; in ieee80211_ibss_build_presp() local 92 sband = local->hw.wiphy->bands[chandef->chan->band]; in ieee80211_ibss_build_presp() 99 for (i = 0; i < sband->n_bitrates; i++) { in ieee80211_ibss_build_presp() 100 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_ibss_build_presp() 102 if (sband->bitrates[i].bitrate > 110 && in ieee80211_ibss_build_presp() 112 for (ri = 0; ri < sband->n_bitrates; ri++) { in ieee80211_ibss_build_presp() 113 int rate = DIV_ROUND_UP(sband->bitrates[ri].bitrate, in ieee80211_ibss_build_presp() 128 if (sband->band == IEEE80211_BAND_2GHZ) { in ieee80211_ibss_build_presp() 156 for (; ri < sband->n_bitrates; ri++) { in ieee80211_ibss_build_presp() 157 int rate = DIV_ROUND_UP(sband->bitrates[ri].bitrate, in ieee80211_ibss_build_presp() [all …]
|
D | util.c | 215 struct ieee80211_supported_band *sband; in ieee80211_rts_duration() local 217 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_rts_duration() 221 rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx]; in ieee80211_rts_duration() 235 dur = ieee80211_frame_duration(sband->band, 10, bitrate, in ieee80211_rts_duration() 238 dur += ieee80211_frame_duration(sband->band, frame_len, bitrate, in ieee80211_rts_duration() 241 dur += ieee80211_frame_duration(sband->band, 10, bitrate, in ieee80211_rts_duration() 259 struct ieee80211_supported_band *sband; in ieee80211_ctstoself_duration() local 261 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_ctstoself_duration() 265 rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx]; in ieee80211_ctstoself_duration() 278 dur = ieee80211_frame_duration(sband->band, frame_len, bitrate, in ieee80211_ctstoself_duration() [all …]
|
D | rc80211_minstrel_ht.c | 698 minstrel_ht_tx_status(void *priv, struct ieee80211_supported_band *sband, in minstrel_ht_tx_status() argument 711 return mac80211_minstrel.tx_status_noskb(priv, sband, sta, in minstrel_ht_tx_status() 1065 struct ieee80211_supported_band *sband, in minstrel_ht_update_cck() argument 1070 if (sband->band != IEEE80211_BAND_2GHZ) in minstrel_ht_update_cck() 1079 if (!rate_supported(sta, sband->band, mp->cck_rates[i])) in minstrel_ht_update_cck() 1083 if (sband->bitrates[i].flags & IEEE80211_RATE_SHORT_PREAMBLE) in minstrel_ht_update_cck() 1091 minstrel_ht_update_caps(void *priv, struct ieee80211_supported_band *sband, in minstrel_ht_update_caps() argument 1126 ack_dur = ieee80211_frame_duration(sband->band, 10, 60, 1, 1, 0); in minstrel_ht_update_caps() 1127 mi->overhead = ieee80211_frame_duration(sband->band, 0, 60, 1, 1, 0); in minstrel_ht_update_caps() 1159 minstrel_ht_update_cck(mp, mi, sband, sta); in minstrel_ht_update_caps() [all …]
|
D | vht.c | 116 struct ieee80211_supported_band *sband, in ieee80211_vht_cap_ie_to_sta_vht_cap() argument 129 if (!vht_cap_ie || !sband->vht_cap.vht_supported) in ieee80211_vht_cap_ie_to_sta_vht_cap() 141 own_cap = sband->vht_cap; in ieee80211_vht_cap_ie_to_sta_vht_cap() 365 struct ieee80211_supported_band *sband; in __ieee80211_vht_handle_opmode() local 370 sband = local->hw.wiphy->bands[band]; in __ieee80211_vht_handle_opmode() 417 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; in ieee80211_vht_handle_opmode() local 423 rate_control_rate_update(local, sband, sta, changed); in ieee80211_vht_handle_opmode()
|
D | mlme.c | 151 struct ieee80211_supported_band *sband, in ieee80211_determine_chantype() argument 163 memcpy(&sta_ht_cap, &sband->ht_cap, sizeof(sta_ht_cap)); in ieee80211_determine_chantype() 224 if (!vht_oper || !sband->vht_cap.vht_supported) { in ieee80211_determine_chantype() 351 struct ieee80211_supported_band *sband; in ieee80211_config_bw() local 381 sband = local->hw.wiphy->bands[chan->band]; in ieee80211_config_bw() 384 flags = ieee80211_determine_chantype(sdata, sband, chan, in ieee80211_config_bw() 449 rate_control_rate_update(local, sband, sta, in ieee80211_config_bw() 463 rate_control_rate_update(local, sband, sta, in ieee80211_config_bw() 474 struct ieee80211_supported_band *sband, in ieee80211_add_ht_ie() argument 483 BUILD_BUG_ON(sizeof(ht_cap) != sizeof(sband->ht_cap)); in ieee80211_add_ht_ie() [all …]
|
D | status.c | 273 struct ieee80211_supported_band *sband, in ieee80211_add_tx_radiotap_header() argument 305 rate = sband->bitrates[info->status.rates[0].idx].bitrate; in ieee80211_add_tx_radiotap_header() 596 struct ieee80211_supported_band *sband; in ieee80211_tx_status_noskb() local 603 sband = hw->wiphy->bands[info->band]; in ieee80211_tx_status_noskb() 630 rate_control_tx_status_noskb(local, sband, sta, info); in ieee80211_tx_status_noskb() 654 struct ieee80211_supported_band *sband; in ieee80211_tx_status() local 673 sband = local->hw.wiphy->bands[info->band]; in ieee80211_tx_status() 765 rate_control_tx_status(local, sband, sta, skb); in ieee80211_tx_status() 864 ieee80211_add_tx_radiotap_header(local, sband, skb, retry_count, in ieee80211_tx_status()
|
D | ocb.c | 48 struct ieee80211_supported_band *sband; in ieee80211_ocb_rx_no_sta() local 81 sband = local->hw.wiphy->bands[band]; in ieee80211_ocb_rx_no_sta() 83 ieee80211_mandatory_rates(sband, scan_width); in ieee80211_ocb_rx_no_sta()
|
D | main.c | 865 struct ieee80211_supported_band *sband; in ieee80211_register_hw() local 867 sband = local->hw.wiphy->bands[band]; in ieee80211_register_hw() 868 if (!sband) in ieee80211_register_hw() 873 &sband->channels[0], in ieee80211_register_hw() 883 channels += sband->n_channels; in ieee80211_register_hw() 885 if (max_bitrates < sband->n_bitrates) in ieee80211_register_hw() 886 max_bitrates = sband->n_bitrates; in ieee80211_register_hw() 887 supp_ht = supp_ht || sband->ht_cap.ht_supported; in ieee80211_register_hw() 888 supp_vht = supp_vht || sband->vht_cap.vht_supported; in ieee80211_register_hw() 890 if (sband->ht_cap.ht_supported) in ieee80211_register_hw() [all …]
|
D | mesh_plink.c | 98 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; in mesh_set_short_slot_time() local 113 for (i = 0; i < sband->n_bitrates; i++) in mesh_set_short_slot_time() 114 if (sband->bitrates[i].flags & IEEE80211_RATE_ERP_G) in mesh_set_short_slot_time() 383 struct ieee80211_supported_band *sband; in mesh_sta_info_init() local 387 sband = local->hw.wiphy->bands[band]; in mesh_sta_info_init() 401 if (ieee80211_ht_cap_ie_to_sta_ht_cap(sdata, sband, in mesh_sta_info_init() 420 rate_control_rate_update(local, sband, sta, changed); in mesh_sta_info_init()
|
D | tx.c | 47 struct ieee80211_supported_band *sband; in ieee80211_duration() local 69 sband = local->hw.wiphy->bands[info->band]; in ieee80211_duration() 70 txrate = &sband->bitrates[tx->rate.idx]; in ieee80211_duration() 129 mrate = sband->bitrates[0].bitrate; in ieee80211_duration() 130 for (i = 0; i < sband->n_bitrates; i++) { in ieee80211_duration() 131 struct ieee80211_rate *r = &sband->bitrates[i]; in ieee80211_duration() 142 switch (sband->band) { in ieee80211_duration() 178 dur = ieee80211_frame_duration(sband->band, 10, rate, erp, in ieee80211_duration() 187 dur += ieee80211_frame_duration(sband->band, next_frag_len, in ieee80211_duration() 649 struct ieee80211_supported_band *sband; in ieee80211_tx_h_rate_ctrl() local [all …]
|
D | mesh.c | 418 struct ieee80211_supported_band *sband; in mesh_add_ht_cap_ie() local 421 sband = local->hw.wiphy->bands[band]; in mesh_add_ht_cap_ie() 422 if (!sband->ht_cap.ht_supported || in mesh_add_ht_cap_ie() 432 ieee80211_ie_build_ht_cap(pos, &sband->ht_cap, sband->ht_cap.cap); in mesh_add_ht_cap_ie() 445 struct ieee80211_supported_band *sband; in mesh_add_ht_oper_ie() local 458 sband = local->hw.wiphy->bands[channel->band]; in mesh_add_ht_oper_ie() 459 ht_cap = &sband->ht_cap; in mesh_add_ht_oper_ie()
|
D | ht.c | 131 struct ieee80211_supported_band *sband, in ieee80211_ht_cap_ie_to_sta_ht_cap() argument 144 if (!ht_cap_ie || !sband->ht_cap.ht_supported) in ieee80211_ht_cap_ie_to_sta_ht_cap() 149 own_cap = sband->ht_cap; in ieee80211_ht_cap_ie_to_sta_ht_cap()
|
D | rx.c | 2634 struct ieee80211_supported_band *sband; in ieee80211_rx_h_action() local 2657 sband = rx->local->hw.wiphy->bands[status->band]; in ieee80211_rx_h_action() 2659 rate_control_rate_update(local, sband, rx->sta, in ieee80211_rx_h_action() 2664 struct ieee80211_supported_band *sband; in ieee80211_rx_h_action() local 2686 sband = rx->local->hw.wiphy->bands[status->band]; in ieee80211_rx_h_action() 2688 rate_control_rate_update(local, sband, rx->sta, in ieee80211_rx_h_action() 3123 struct ieee80211_supported_band *sband; in ieee80211_rx_handlers_result() local 3128 sband = rx->local->hw.wiphy->bands[status->band]; in ieee80211_rx_handlers_result() 3131 rate = &sband->bitrates[status->rate_idx]; in ieee80211_rx_handlers_result() 3573 struct ieee80211_supported_band *sband; in ieee80211_rx() local [all …]
|
D | cfg.c | 453 struct ieee80211_supported_band *sband; in sta_set_rate_info_tx() local 457 sband = sta->local->hw.wiphy->bands[ in sta_set_rate_info_tx() 459 brate = sband->bitrates[rate->idx].bitrate; in sta_set_rate_info_tx() 486 struct ieee80211_supported_band *sband; in sta_set_rate_info_rx() local 490 sband = sta->local->hw.wiphy->bands[ in sta_set_rate_info_rx() 492 brate = sband->bitrates[sta->last_rx_rate_idx].bitrate; in sta_set_rate_info_rx() 1029 struct ieee80211_supported_band *sband; in sta_apply_parameters() local 1034 sband = local->hw.wiphy->bands[band]; in sta_apply_parameters() 1127 sband, params->supported_rates, in sta_apply_parameters() 1133 ieee80211_ht_cap_ie_to_sta_ht_cap(sdata, sband, in sta_apply_parameters() [all …]
|
D | iface.c | 1761 struct ieee80211_supported_band *sband; in ieee80211_if_add() local 1762 sband = local->hw.wiphy->bands[i]; in ieee80211_if_add() 1764 sband ? (1 << sband->n_bitrates) - 1 : 0; in ieee80211_if_add() 1765 if (sband) in ieee80211_if_add() 1767 sband->ht_cap.mcs.rx_mask, in ieee80211_if_add()
|
D | tdls.c | 301 struct ieee80211_supported_band *sband; in ieee80211_tdls_add_setup_start_ies() local 378 sband = local->hw.wiphy->bands[band]; in ieee80211_tdls_add_setup_start_ies() 379 memcpy(&ht_cap, &sband->ht_cap, sizeof(ht_cap)); in ieee80211_tdls_add_setup_start_ies() 436 memcpy(&vht_cap, &sband->vht_cap, sizeof(vht_cap)); in ieee80211_tdls_add_setup_start_ies()
|
D | ieee80211_i.h | 1655 struct ieee80211_supported_band *sband, 1706 struct ieee80211_supported_band *sband, 1976 const struct ieee80211_supported_band *sband,
|
D | scan.c | 153 struct ieee80211_supported_band *sband = in ieee80211_bss_info_update() local 158 &sband->bitrates[rx_status->rate_idx]; in ieee80211_bss_info_update()
|
D | sta_info.c | 375 struct ieee80211_supported_band *sband = in sta_info_alloc() local 377 u8 smps = (sband->ht_cap.cap & IEEE80211_HT_CAP_SM_PS) >> in sta_info_alloc()
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
D | cfp.c | 317 struct ieee80211_supported_band *sband; in mwifiex_get_cfp() local 325 sband = priv->wdev.wiphy->bands[IEEE80211_BAND_2GHZ]; in mwifiex_get_cfp() 327 sband = priv->wdev.wiphy->bands[IEEE80211_BAND_5GHZ]; in mwifiex_get_cfp() 329 if (!sband) { in mwifiex_get_cfp() 335 for (i = 0; i < sband->n_channels; i++) { in mwifiex_get_cfp() 336 ch = &sband->channels[i]; in mwifiex_get_cfp() 351 if (i == sband->n_channels) { in mwifiex_get_cfp() 396 struct ieee80211_supported_band *sband; in mwifiex_get_rates_from_cfg80211() local 400 sband = wiphy->bands[IEEE80211_BAND_5GHZ]; in mwifiex_get_rates_from_cfg80211() 401 if (WARN_ON_ONCE(!sband)) in mwifiex_get_rates_from_cfg80211() [all …]
|
D | 11h.c | 44 struct ieee80211_supported_band *sband; in mwifiex_11h_process_infra_join() local 52 sband = priv->wdev.wiphy->bands[radio_type]; in mwifiex_11h_process_infra_join() 70 ie_header->len = cpu_to_le16(2 * sband->n_channels + 2); in mwifiex_11h_process_infra_join() 73 *(*buffer)++ = 2 * sband->n_channels; in mwifiex_11h_process_infra_join() 74 for (i = 0; i < sband->n_channels; i++) { in mwifiex_11h_process_infra_join() 76 sband->channels[i].center_freq); in mwifiex_11h_process_infra_join()
|
D | 11n.c | 41 struct ieee80211_supported_band *sband = in mwifiex_fill_cap_info() local 44 if (WARN_ON_ONCE(!sband)) { in mwifiex_fill_cap_info() 50 (sband->ht_cap.ampdu_factor & in mwifiex_fill_cap_info() 52 ((sband->ht_cap.ampdu_density << in mwifiex_fill_cap_info() 56 memcpy((u8 *)&ht_cap->mcs, &sband->ht_cap.mcs, in mwifiex_fill_cap_info() 57 sizeof(sband->ht_cap.mcs)); in mwifiex_fill_cap_info() 60 (sband->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 && in mwifiex_fill_cap_info() 69 ht_cap->cap_info = cpu_to_le16(sband->ht_cap.cap); in mwifiex_fill_cap_info() 320 struct ieee80211_supported_band *sband; in mwifiex_cmd_append_11n_tlv() local 328 sband = priv->wdev.wiphy->bands[radio_type]; in mwifiex_cmd_append_11n_tlv() [all …]
|
D | scan.c | 492 struct ieee80211_supported_band *sband; in mwifiex_scan_create_channel_list() local 502 sband = priv->wdev.wiphy->bands[band]; in mwifiex_scan_create_channel_list() 504 for (i = 0; (i < sband->n_channels) ; i++) { in mwifiex_scan_create_channel_list() 505 ch = &sband->channels[i]; in mwifiex_scan_create_channel_list()
|
D | cfg80211.c | 432 struct ieee80211_supported_band *sband; in mwifiex_send_domain_info_cmd_fw() local 449 sband = wiphy->bands[band]; in mwifiex_send_domain_info_cmd_fw() 451 for (i = 0; i < sband->n_channels ; i++) { in mwifiex_send_domain_info_cmd_fw() 452 ch = &sband->channels[i]; in mwifiex_send_domain_info_cmd_fw()
|
/linux-4.1.27/net/wireless/ |
D | util.c | 21 ieee80211_get_response_rate(struct ieee80211_supported_band *sband, in ieee80211_get_response_rate() argument 24 struct ieee80211_rate *result = &sband->bitrates[0]; in ieee80211_get_response_rate() 27 for (i = 0; i < sband->n_bitrates; i++) { in ieee80211_get_response_rate() 30 if (sband->bitrates[i].bitrate > bitrate) in ieee80211_get_response_rate() 32 result = &sband->bitrates[i]; in ieee80211_get_response_rate() 39 u32 ieee80211_mandatory_rates(struct ieee80211_supported_band *sband, in ieee80211_mandatory_rates() argument 47 if (WARN_ON(!sband)) in ieee80211_mandatory_rates() 50 if (sband->band == IEEE80211_BAND_2GHZ) { in ieee80211_mandatory_rates() 60 bitrates = sband->bitrates; in ieee80211_mandatory_rates() 61 for (i = 0; i < sband->n_bitrates; i++) in ieee80211_mandatory_rates() [all …]
|
D | debugfs.c | 73 struct ieee80211_supported_band *sband; in ht40allow_map_read() local 82 sband = wiphy->bands[band]; in ht40allow_map_read() 83 if (!sband) in ht40allow_map_read() 85 for (i = 0; i < sband->n_channels; i++) in ht40allow_map_read() 86 offset += ht_print_chan(&sband->channels[i], in ht40allow_map_read()
|
D | mesh.c | 134 struct ieee80211_supported_band *sband; in __cfg80211_join_mesh() local 138 sband = rdev->wiphy.bands[band]; in __cfg80211_join_mesh() 139 if (!sband) in __cfg80211_join_mesh() 142 for (i = 0; i < sband->n_channels; i++) { in __cfg80211_join_mesh() 143 chan = &sband->channels[i]; in __cfg80211_join_mesh() 170 struct ieee80211_supported_band *sband = in __cfg80211_join_mesh() local 173 setup->basic_rates = ieee80211_mandatory_rates(sband, in __cfg80211_join_mesh()
|
D | core.c | 544 struct ieee80211_supported_band *sband; in wiphy_register() local 627 sband = wiphy->bands[band]; in wiphy_register() 628 if (!sband) in wiphy_register() 631 sband->band = band; in wiphy_register() 632 if (WARN_ON(!sband->n_channels)) in wiphy_register() 639 !sband->n_bitrates)) in wiphy_register() 649 sband->ht_cap.ht_supported) { in wiphy_register() 650 sband->ht_cap.cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40; in wiphy_register() 651 sband->ht_cap.cap &= ~IEEE80211_HT_CAP_SGI_40; in wiphy_register() 659 if (WARN_ON(sband->n_bitrates > 32)) in wiphy_register() [all …]
|
D | reg.c | 1244 struct ieee80211_supported_band *sband) in handle_band() argument 1248 if (!sband) in handle_band() 1251 for (i = 0; i < sband->n_channels; i++) in handle_band() 1252 handle_channel(wiphy, initiator, &sband->channels[i]); in handle_band() 1372 struct ieee80211_supported_band *sband; in handle_reg_beacon() local 1377 sband = wiphy->bands[reg_beacon->chan.band]; in handle_reg_beacon() 1378 chan = &sband->channels[chan_idx]; in handle_reg_beacon() 1414 struct ieee80211_supported_band *sband; in wiphy_update_new_beacon() local 1419 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_new_beacon() 1421 for (i = 0; i < sband->n_channels; i++) in wiphy_update_new_beacon() [all …]
|
D | wext-compat.c | 29 struct ieee80211_supported_band *sband; in cfg80211_wext_giwname() local 35 sband = wdev->wiphy->bands[IEEE80211_BAND_5GHZ]; in cfg80211_wext_giwname() 36 if (sband) { in cfg80211_wext_giwname() 38 is_ht |= sband->ht_cap.ht_supported; in cfg80211_wext_giwname() 41 sband = wdev->wiphy->bands[IEEE80211_BAND_2GHZ]; in cfg80211_wext_giwname() 42 if (sband) { in cfg80211_wext_giwname() 45 for (i = 0; i < sband->n_bitrates; i++) { in cfg80211_wext_giwname() 46 if (sband->bitrates[i].bitrate == 10) in cfg80211_wext_giwname() 48 if (sband->bitrates[i].bitrate == 60) in cfg80211_wext_giwname() 51 is_ht |= sband->ht_cap.ht_supported; in cfg80211_wext_giwname() [all …]
|
D | ibss.c | 104 struct ieee80211_supported_band *sband = in __cfg80211_join_ibss() local 111 for (j = 0; j < sband->n_bitrates; j++) { in __cfg80211_join_ibss() 112 if (sband->bitrates[j].flags & flag) in __cfg80211_join_ibss() 252 struct ieee80211_supported_band *sband; in cfg80211_ibss_wext_join() local 255 sband = rdev->wiphy.bands[band]; in cfg80211_ibss_wext_join() 256 if (!sband) in cfg80211_ibss_wext_join() 259 for (i = 0; i < sband->n_channels; i++) { in cfg80211_ibss_wext_join() 260 chan = &sband->channels[i]; in cfg80211_ibss_wext_join()
|
D | mlme.c | 672 struct ieee80211_supported_band *sband; in cfg80211_dfs_channels_update_work() local 686 sband = wiphy->bands[bandid]; in cfg80211_dfs_channels_update_work() 687 if (!sband) in cfg80211_dfs_channels_update_work() 690 for (i = 0; i < sband->n_channels; i++) { in cfg80211_dfs_channels_update_work() 691 c = &sband->channels[i]; in cfg80211_dfs_channels_update_work()
|
D | nl80211.c | 1130 struct ieee80211_supported_band *sband) in nl80211_send_band_rateinfo() argument 1137 if (sband->ht_cap.ht_supported && in nl80211_send_band_rateinfo() 1139 sizeof(sband->ht_cap.mcs), in nl80211_send_band_rateinfo() 1140 &sband->ht_cap.mcs) || in nl80211_send_band_rateinfo() 1142 sband->ht_cap.cap) || in nl80211_send_band_rateinfo() 1144 sband->ht_cap.ampdu_factor) || in nl80211_send_band_rateinfo() 1146 sband->ht_cap.ampdu_density))) in nl80211_send_band_rateinfo() 1150 if (sband->vht_cap.vht_supported && in nl80211_send_band_rateinfo() 1152 sizeof(sband->vht_cap.vht_mcs), in nl80211_send_band_rateinfo() 1153 &sband->vht_cap.vht_mcs) || in nl80211_send_band_rateinfo() [all …]
|
D | sme.c | 85 struct ieee80211_supported_band *sband = in cfg80211_conn_scan() local 88 if (!sband) { in cfg80211_conn_scan() 93 request->rates[band] = (1 << sband->n_bitrates) - 1; in cfg80211_conn_scan()
|
D | core.h | 461 int ieee80211_get_ratemask(struct ieee80211_supported_band *sband,
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/ |
D | channel.c | 635 struct ieee80211_supported_band *sband; in brcms_reg_apply_radar_flags() local 639 sband = wiphy->bands[IEEE80211_BAND_5GHZ]; in brcms_reg_apply_radar_flags() 640 if (!sband) in brcms_reg_apply_radar_flags() 643 for (i = 0; i < sband->n_channels; i++) { in brcms_reg_apply_radar_flags() 644 ch = &sband->channels[i]; in brcms_reg_apply_radar_flags() 664 struct ieee80211_supported_band *sband; in brcms_reg_apply_beaconing_flags() local 670 sband = wiphy->bands[band]; in brcms_reg_apply_beaconing_flags() 671 if (!sband) in brcms_reg_apply_beaconing_flags() 674 for (i = 0; i < sband->n_channels; i++) { in brcms_reg_apply_beaconing_flags() 675 ch = &sband->channels[i]; in brcms_reg_apply_beaconing_flags() [all …]
|
/linux-4.1.27/drivers/net/wireless/iwlegacy/ |
D | 3945-rs.c | 340 struct ieee80211_supported_band *sband; in il3945_rs_rate_init() local 349 sband = hw->wiphy->bands[conf->chandef.chan->band]; in il3945_rs_rate_init() 374 for (i = sband->n_bitrates - 1; i >= 0; i--) { in il3945_rs_rate_init() 375 if (sta->supp_rates[sband->band] & (1 << i)) { in il3945_rs_rate_init() 381 il->_3945.sta_supp_rates = sta->supp_rates[sband->band]; in il3945_rs_rate_init() 383 if (sband->band == IEEE80211_BAND_5GHZ) { in il3945_rs_rate_init() 445 il3945_rs_tx_status(void *il_rate, struct ieee80211_supported_band *sband, in il3945_rs_tx_status() argument 463 first_idx = sband->bitrates[info->status.rates[0].idx].hw_value; in il3945_rs_tx_status() 626 struct ieee80211_supported_band *sband = txrc->sband; in il3945_rs_get_rate() local 656 rate_mask = sta->supp_rates[sband->band]; in il3945_rs_get_rate() [all …]
|
D | 4965-rs.c | 806 il4965_rs_tx_status(void *il_r, struct ieee80211_supported_band *sband, in il4965_rs_tx_status() argument 988 if (sta->supp_rates[sband->band]) in il4965_rs_tx_status() 2204 struct ieee80211_supported_band *sband = txrc->sband; in il4965_rs_get_rate() local 2215 if (sband->band == IEEE80211_BAND_5GHZ && in il4965_rs_get_rate() 2261 (sband->band == IEEE80211_BAND_5GHZ && in il4965_rs_get_rate() 2263 rate_idx = rate_lowest_index(sband, sta); in il4965_rs_get_rate() 2265 else if (sband->band == IEEE80211_BAND_5GHZ) in il4965_rs_get_rate() 2298 struct ieee80211_supported_band *sband; in il4965_rs_rate_init() local 2302 sband = hw->wiphy->bands[conf->chandef.chan->band]; in il4965_rs_rate_init() 2312 lq_sta->supp_rates = sta->supp_rates[sband->band]; in il4965_rs_rate_init() [all …]
|
D | common.c | 3435 struct ieee80211_supported_band *sband; in il_init_geos() local 3464 sband = &il->bands[IEEE80211_BAND_5GHZ]; in il_init_geos() 3465 sband->channels = &channels[ARRAY_SIZE(il_eeprom_band_1)]; in il_init_geos() 3467 sband->bitrates = &rates[IL_FIRST_OFDM_RATE]; in il_init_geos() 3468 sband->n_bitrates = RATE_COUNT_LEGACY - IL_FIRST_OFDM_RATE; in il_init_geos() 3471 il_init_ht_hw_capab(il, &sband->ht_cap, IEEE80211_BAND_5GHZ); in il_init_geos() 3473 sband = &il->bands[IEEE80211_BAND_2GHZ]; in il_init_geos() 3474 sband->channels = channels; in il_init_geos() 3476 sband->bitrates = rates; in il_init_geos() 3477 sband->n_bitrates = RATE_COUNT_LEGACY; in il_init_geos() [all …]
|
D | 3945-mac.c | 1556 const struct ieee80211_supported_band *sband; in il3945_get_channels_for_scan() local 1562 sband = il_get_hw_mode(il, band); in il3945_get_channels_for_scan() 1563 if (!sband) in il3945_get_channels_for_scan()
|
D | 4965-mac.c | 773 const struct ieee80211_supported_band *sband; in il4965_get_channels_for_scan() local 780 sband = il_get_hw_mode(il, band); in il4965_get_channels_for_scan() 781 if (!sband) in il4965_get_channels_for_scan()
|
/linux-4.1.27/drivers/staging/vt6655/ |
D | dpc.c | 42 struct ieee80211_supported_band *sband; in vnt_rx_data() local 68 sband = hw->wiphy->bands[hw->conf.chandef.chan->band]; in vnt_rx_data() 77 for (ii = 0; ii < sband->n_bitrates; ii++) { in vnt_rx_data() 78 if (sband->bitrates[ii].hw_value == r) { in vnt_rx_data() 84 if (ii == sband->n_bitrates) { in vnt_rx_data()
|
/linux-4.1.27/drivers/staging/vt6656/ |
D | dpc.c | 43 struct ieee80211_supported_band *sband; in vnt_rx_data() local 100 sband = hw->wiphy->bands[hw->conf.chandef.chan->band]; in vnt_rx_data() 109 for (ii = 0; ii < sband->n_bitrates; ii++) { in vnt_rx_data() 110 if (sband->bitrates[ii].hw_value == r) { in vnt_rx_data() 116 if (ii == sband->n_bitrates) { in vnt_rx_data()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/ |
D | iwl-eeprom-parse.c | 710 struct ieee80211_supported_band *sband, in iwl_init_sband_channels() argument 719 sband->channels = &data->channels[idx]; in iwl_init_sband_channels() 726 sband->n_channels = n; in iwl_init_sband_channels() 814 struct ieee80211_supported_band *sband; in iwl_init_sbands() local 816 sband = &data->bands[IEEE80211_BAND_2GHZ]; in iwl_init_sbands() 817 sband->band = IEEE80211_BAND_2GHZ; in iwl_init_sbands() 818 sband->bitrates = &iwl_cfg80211_rates[RATES_24_OFFS]; in iwl_init_sbands() 819 sband->n_bitrates = N_RATES_24; in iwl_init_sbands() 820 n_used += iwl_init_sband_channels(data, sband, n_channels, in iwl_init_sbands() 822 iwl_init_ht_hw_capab(cfg, data, &sband->ht_cap, IEEE80211_BAND_2GHZ, in iwl_init_sbands() [all …]
|
D | iwl-nvm-parse.c | 412 struct ieee80211_supported_band *sband; in iwl_init_sbands() local 424 sband = &data->bands[IEEE80211_BAND_2GHZ]; in iwl_init_sbands() 425 sband->band = IEEE80211_BAND_2GHZ; in iwl_init_sbands() 426 sband->bitrates = &iwl_cfg80211_rates[RATES_24_OFFS]; in iwl_init_sbands() 427 sband->n_bitrates = N_RATES_24; in iwl_init_sbands() 428 n_used += iwl_init_sband_channels(data, sband, n_channels, in iwl_init_sbands() 430 iwl_init_ht_hw_capab(cfg, data, &sband->ht_cap, IEEE80211_BAND_2GHZ, in iwl_init_sbands() 433 sband = &data->bands[IEEE80211_BAND_5GHZ]; in iwl_init_sbands() 434 sband->band = IEEE80211_BAND_5GHZ; in iwl_init_sbands() 435 sband->bitrates = &iwl_cfg80211_rates[RATES_52_OFFS]; in iwl_init_sbands() [all …]
|
D | iwl-eeprom-parse.h | 135 struct ieee80211_supported_band *sband,
|
/linux-4.1.27/drivers/net/wireless/ath/ |
D | regd.c | 340 struct ieee80211_supported_band *sband; in ath_reg_apply_beaconing_flags() local 347 sband = wiphy->bands[band]; in ath_reg_apply_beaconing_flags() 348 for (i = 0; i < sband->n_channels; i++) { in ath_reg_apply_beaconing_flags() 349 ch = &sband->channels[i]; in ath_reg_apply_beaconing_flags() 375 struct ieee80211_supported_band *sband; in ath_reg_apply_ir_flags() local 377 sband = wiphy->bands[IEEE80211_BAND_2GHZ]; in ath_reg_apply_ir_flags() 378 if (!sband) in ath_reg_apply_ir_flags() 401 struct ieee80211_supported_band *sband; in ath_reg_apply_radar_flags() local 408 sband = wiphy->bands[IEEE80211_BAND_5GHZ]; in ath_reg_apply_radar_flags() 410 for (i = 0; i < sband->n_channels; i++) { in ath_reg_apply_radar_flags() [all …]
|
/linux-4.1.27/drivers/net/wireless/ath/ath5k/ |
D | base.c | 362 struct ieee80211_supported_band *sband; in ath5k_setup_bands() local 370 sband = &ah->sbands[IEEE80211_BAND_2GHZ]; in ath5k_setup_bands() 371 sband->band = IEEE80211_BAND_2GHZ; in ath5k_setup_bands() 372 sband->bitrates = &ah->rates[IEEE80211_BAND_2GHZ][0]; in ath5k_setup_bands() 376 memcpy(sband->bitrates, &ath5k_rates[0], in ath5k_setup_bands() 378 sband->n_bitrates = 12; in ath5k_setup_bands() 380 sband->channels = ah->channels; in ath5k_setup_bands() 381 sband->n_channels = ath5k_setup_channels(ah, sband->channels, in ath5k_setup_bands() 384 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = sband; in ath5k_setup_bands() 385 count_c = sband->n_channels; in ath5k_setup_bands() [all …]
|
D | qcu.c | 563 struct ieee80211_supported_band *sband; in ath5k_hw_set_ifs_intervals() local 615 sband = &ah->sbands[band]; in ath5k_hw_set_ifs_intervals() 617 for (i = 0; i < sband->n_bitrates; i++) { in ath5k_hw_set_ifs_intervals() 618 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ath5k_hw_set_ifs_intervals() 620 rate = &sband->bitrates[i]; in ath5k_hw_set_ifs_intervals()
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
D | common.c | 175 struct ieee80211_supported_band *sband; in ath9k_cmn_process_rate() local 181 sband = hw->wiphy->bands[band]; in ath9k_cmn_process_rate() 196 for (i = 0; i < sband->n_bitrates; i++) { in ath9k_cmn_process_rate() 197 if (sband->bitrates[i].hw_value == rx_stats->rs_rate) { in ath9k_cmn_process_rate() 201 if (sband->bitrates[i].hw_value_short == rx_stats->rs_rate) { in ath9k_cmn_process_rate()
|
D | channel.c | 106 struct ieee80211_supported_band *sband; in ath_chanctx_init() local 110 sband = &common->sbands[IEEE80211_BAND_2GHZ]; in ath_chanctx_init() 111 if (!sband->n_channels) in ath_chanctx_init() 112 sband = &common->sbands[IEEE80211_BAND_5GHZ]; in ath_chanctx_init() 114 chan = &sband->channels[0]; in ath_chanctx_init() 1305 struct ieee80211_supported_band *sband; in ath9k_offchannel_init() local 1309 sband = &common->sbands[IEEE80211_BAND_2GHZ]; in ath9k_offchannel_init() 1310 if (!sband->n_channels) in ath9k_offchannel_init() 1311 sband = &common->sbands[IEEE80211_BAND_5GHZ]; in ath9k_offchannel_init() 1313 chan = &sband->channels[0]; in ath9k_offchannel_init()
|
D | beacon.c | 79 struct ieee80211_supported_band *sband; in ath9k_beacon_setup() local 83 sband = &common->sbands[sc->cur_chandef.chan->band]; in ath9k_beacon_setup() 84 rate = sband->bitrates[rateidx].hw_value; in ath9k_beacon_setup() 86 rate |= sband->bitrates[rateidx].hw_value_short; in ath9k_beacon_setup()
|
D | main.c | 1911 struct ieee80211_supported_band *sband; in ath9k_get_survey() local 1922 sband = hw->wiphy->bands[IEEE80211_BAND_2GHZ]; in ath9k_get_survey() 1923 if (sband && idx >= sband->n_channels) { in ath9k_get_survey() 1924 idx -= sband->n_channels; in ath9k_get_survey() 1925 sband = NULL; in ath9k_get_survey() 1928 if (!sband) in ath9k_get_survey() 1929 sband = hw->wiphy->bands[IEEE80211_BAND_5GHZ]; in ath9k_get_survey() 1931 if (!sband || idx >= sband->n_channels) { in ath9k_get_survey() 1936 chan = &sband->channels[idx]; in ath9k_get_survey()
|
D | init.c | 693 struct ieee80211_supported_band *sband; in ath9k_init_band_txpower() local 700 sband = &common->sbands[band]; in ath9k_init_band_txpower() 701 for (i = 0; i < sband->n_channels; i++) { in ath9k_init_band_txpower() 702 chan = &sband->channels[i]; in ath9k_init_band_txpower()
|
D | htc_drv_main.c | 601 struct ieee80211_supported_band *sband; in ath9k_htc_setup_rate() local 605 sband = priv->hw->wiphy->bands[priv->hw->conf.chandef.chan->band]; in ath9k_htc_setup_rate() 607 for (i = 0, j = 0; i < sband->n_bitrates; i++) { in ath9k_htc_setup_rate() 608 if (sta->supp_rates[sband->band] & BIT(i)) { in ath9k_htc_setup_rate() 610 = (sband->bitrates[i].bitrate * 2) / 10; in ath9k_htc_setup_rate()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/ |
D | scan.c | 456 struct ieee80211_supported_band *sband = priv->hw->wiphy->bands[band]; in iwl_get_single_channel_number() local 460 for (i = 0; i < sband->n_channels; i++) { in iwl_get_single_channel_number() 464 busy = sband->channels[i].hw_value == in iwl_get_single_channel_number() 473 if (!(sband->channels[i].flags & IEEE80211_CHAN_DISABLED)) in iwl_get_single_channel_number() 474 return sband->channels[i].hw_value; in iwl_get_single_channel_number() 485 const struct ieee80211_supported_band *sband; in iwl_get_channel_for_reset_scan() local 488 sband = iwl_get_hw_mode(priv, band); in iwl_get_channel_for_reset_scan() 489 if (!sband) { in iwl_get_channel_for_reset_scan() 522 const struct ieee80211_supported_band *sband; in iwl_get_channels_for_scan() local 528 sband = iwl_get_hw_mode(priv, band); in iwl_get_channels_for_scan() [all …]
|
D | rs.c | 891 static void rs_tx_status(void *priv_r, struct ieee80211_supported_band *sband, in rs_tx_status() argument 1071 if (sta && sta->supp_rates[sband->band]) in rs_tx_status() 2720 struct ieee80211_supported_band *sband = txrc->sband; in rs_get_rate() local 2733 if ((sband->band == IEEE80211_BAND_5GHZ) && in rs_get_rate() 2775 ((sband->band == IEEE80211_BAND_5GHZ) && in rs_get_rate() 2777 rate_idx = rate_lowest_index(sband, sta); in rs_get_rate() 2779 else if (sband->band == IEEE80211_BAND_5GHZ) in rs_get_rate() 2811 struct ieee80211_supported_band *sband; in iwl_rs_rate_init() local 2816 sband = hw->wiphy->bands[conf->chandef.chan->band]; in iwl_rs_rate_init() 2826 lq_sta->supp_rates = sta->supp_rates[sband->band]; in iwl_rs_rate_init() [all …]
|
D | rxon.c | 947 struct ieee80211_supported_band *sband; in iwl_calc_basic_rates() local 951 sband = priv->hw->wiphy->bands[priv->hw->conf.chandef.chan->band]; in iwl_calc_basic_rates() 954 int hw = sband->bitrates[i].hw_value; in iwl_calc_basic_rates()
|
/linux-4.1.27/drivers/net/wireless/cw1200/ |
D | main.c | 320 struct ieee80211_supported_band *sband = hw->wiphy->bands[band]; in cw1200_init_common() local 321 if (!sband) in cw1200_init_common() 323 for (i = 0; i < sband->n_channels; i++) { in cw1200_init_common() 324 sband->channels[i].flags = 0; in cw1200_init_common() 325 sband->channels[i].max_antenna_gain = 0; in cw1200_init_common() 326 sband->channels[i].max_power = 30; in cw1200_init_common()
|
/linux-4.1.27/drivers/net/wireless/ |
D | mac80211_hwsim.c | 2428 struct ieee80211_supported_band *sband = &data->bands[band]; in mac80211_hwsim_new_radio() local 2431 sband->channels = data->channels_2ghz; in mac80211_hwsim_new_radio() 2432 sband->n_channels = ARRAY_SIZE(hwsim_channels_2ghz); in mac80211_hwsim_new_radio() 2433 sband->bitrates = data->rates; in mac80211_hwsim_new_radio() 2434 sband->n_bitrates = ARRAY_SIZE(hwsim_rates); in mac80211_hwsim_new_radio() 2437 sband->channels = data->channels_5ghz; in mac80211_hwsim_new_radio() 2438 sband->n_channels = ARRAY_SIZE(hwsim_channels_5ghz); in mac80211_hwsim_new_radio() 2439 sband->bitrates = data->rates + 4; in mac80211_hwsim_new_radio() 2440 sband->n_bitrates = ARRAY_SIZE(hwsim_rates) - 4; in mac80211_hwsim_new_radio() 2446 sband->ht_cap.ht_supported = true; in mac80211_hwsim_new_radio() [all …]
|
D | mwl8k.c | 3067 struct ieee80211_supported_band *sband; in freq_to_idx() local 3071 sband = priv->hw->wiphy->bands[band]; in freq_to_idx() 3072 if (!sband) in freq_to_idx() 3075 for (ch = 0; ch < sband->n_channels; ch++, idx++) in freq_to_idx() 3076 if (sband->channels[ch].center_freq == freq) in freq_to_idx() 5387 struct ieee80211_supported_band *sband; in mwl8k_get_survey() local 5390 sband = hw->wiphy->bands[IEEE80211_BAND_2GHZ]; in mwl8k_get_survey() 5392 if (sband && idx >= sband->n_channels) { in mwl8k_get_survey() 5393 idx -= sband->n_channels; in mwl8k_get_survey() 5394 sband = NULL; in mwl8k_get_survey() [all …]
|
/linux-4.1.27/include/net/ |
D | mac80211.h | 5065 struct ieee80211_supported_band *sband; member 5082 void (*rate_init)(void *priv, struct ieee80211_supported_band *sband, 5085 void (*rate_update)(void *priv, struct ieee80211_supported_band *sband, 5093 struct ieee80211_supported_band *sband, 5096 void (*tx_status)(void *priv, struct ieee80211_supported_band *sband, 5140 rate_lowest_index(struct ieee80211_supported_band *sband, in rate_lowest_index() argument 5145 for (i = 0; i < sband->n_bitrates; i++) in rate_lowest_index() 5146 if (rate_supported(sta, sband->band, i)) in rate_lowest_index() 5157 bool rate_usable_index_exists(struct ieee80211_supported_band *sband, in rate_usable_index_exists() argument 5162 for (i = 0; i < sband->n_bitrates; i++) in rate_usable_index_exists() [all …]
|
D | cfg80211.h | 3571 ieee80211_get_response_rate(struct ieee80211_supported_band *sband, 3582 u32 ieee80211_mandatory_rates(struct ieee80211_supported_band *sband,
|
/linux-4.1.27/drivers/net/wireless/rt2x00/ |
D | rt2x00dev.c | 640 struct ieee80211_supported_band *sband; in rt2x00lib_rxdone_read_signal() local 656 sband = &rt2x00dev->bands[rt2x00dev->curr_band]; in rt2x00lib_rxdone_read_signal() 657 for (i = 0; i < sband->n_bitrates; i++) { in rt2x00lib_rxdone_read_signal() 658 rate = rt2x00_get_rate(sband->bitrates[i].hw_value); in rt2x00lib_rxdone_read_signal()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
D | mac.c | 1450 const struct ieee80211_supported_band *sband; in ath10k_peer_assoc_h_rates() local 1457 sband = ar->hw->wiphy->bands[ar->hw->conf.chandef.chan->band]; in ath10k_peer_assoc_h_rates() 1459 rates = sband->bitrates; in ath10k_peer_assoc_h_rates() 4622 struct ieee80211_supported_band *sband; in ath10k_get_survey() local 4628 sband = hw->wiphy->bands[IEEE80211_BAND_2GHZ]; in ath10k_get_survey() 4629 if (sband && idx >= sband->n_channels) { in ath10k_get_survey() 4630 idx -= sband->n_channels; in ath10k_get_survey() 4631 sband = NULL; in ath10k_get_survey() 4634 if (!sband) in ath10k_get_survey() 4635 sband = hw->wiphy->bands[IEEE80211_BAND_5GHZ]; in ath10k_get_survey() [all …]
|
D | wmi.c | 1604 struct ieee80211_supported_band *sband; in freq_to_idx() local 1608 sband = ar->hw->wiphy->bands[band]; in freq_to_idx() 1609 if (!sband) in freq_to_idx() 1612 for (ch = 0; ch < sband->n_channels; ch++, idx++) in freq_to_idx() 1613 if (sband->channels[ch].center_freq == freq) in freq_to_idx()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
D | rs.c | 1331 struct ieee80211_supported_band *sband, in rs_mac80211_tx_status() argument 2813 struct ieee80211_supported_band *sband; in iwl_mvm_rs_rate_init() local 2819 sband = hw->wiphy->bands[band]; in iwl_mvm_rs_rate_init() 2838 lq_sta->band = sband->band; in iwl_mvm_rs_rate_init() 2842 supp = sta->supp_rates[sband->band]; in iwl_mvm_rs_rate_init() 2845 lq_sta->active_legacy_rate |= BIT(sband->bitrates[i].hw_value); in iwl_mvm_rs_rate_init() 2890 struct ieee80211_supported_band *sband, in rs_rate_update() argument 2907 iwl_mvm_rs_rate_init(mvm, sta, sband->band, false); in rs_rate_update() 3714 struct ieee80211_supported_band *sband, in rs_rate_init_stub() argument
|
D | mac-ctxt.c | 528 struct ieee80211_supported_band *sband; in iwl_mvm_ack_rates() local 536 sband = mvm->hw->wiphy->bands[band]; in iwl_mvm_ack_rates() 539 int hw = sband->bitrates[i].hw_value; in iwl_mvm_ack_rates()
|
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
D | wmi.c | 2004 struct ieee80211_supported_band *sband; in ath6kl_wmi_beginscan_cmd() local 2047 sband = ar->wiphy->bands[band]; in ath6kl_wmi_beginscan_cmd() 2049 if (!sband) in ath6kl_wmi_beginscan_cmd() 2059 for (i = 0; i < sband->n_bitrates; i++) { in ath6kl_wmi_beginscan_cmd() 2063 (u8) (sband->bitrates[i].bitrate / 5); in ath6kl_wmi_beginscan_cmd()
|
/linux-4.1.27/drivers/net/wireless/b43legacy/ |
D | main.c | 2796 struct ieee80211_supported_band *sband = in b43legacy_update_basic_rates() local 2802 for (i = 0; i < sband->n_bitrates; i++) { in b43legacy_update_basic_rates() 2803 rate = &sband->bitrates[i]; in b43legacy_update_basic_rates() 2817 rate = ieee80211_get_response_rate(sband, brates, rate->bitrate); in b43legacy_update_basic_rates()
|
/linux-4.1.27/drivers/net/wireless/b43/ |
D | main.c | 4072 struct ieee80211_supported_band *sband = in b43_update_basic_rates() local 4078 for (i = 0; i < sband->n_bitrates; i++) { in b43_update_basic_rates() 4079 rate = &sband->bitrates[i]; in b43_update_basic_rates() 4093 rate = ieee80211_get_response_rate(sband, brates, rate->bitrate); in b43_update_basic_rates()
|