| /linux/net/mac80211/tests/ |
| H A D | util.c | 224 struct ieee80211_supported_band *sband; in t_sdata_init() local 226 sband = t_sdata->wiphy->bands[band]; in t_sdata_init() 227 sband->band = band; in t_sdata_init() 229 sband->bitrates = in t_sdata_init() 231 sband->n_bitrates = ARRAY_SIZE(bitrates); in t_sdata_init() 236 sband->channels = kmemdup(channels_2ghz, in t_sdata_init() 239 sband->n_channels = ARRAY_SIZE(channels_2ghz); in t_sdata_init() 240 sband->bitrates = kmemdup(bitrates, in t_sdata_init() 243 sband->n_bitrates = ARRAY_SIZE(bitrates); in t_sdata_init() 246 sband->channels = kmemdup(channels_5ghz, in t_sdata_init() [all …]
|
| /linux/net/mac80211/ |
| H A D | rate.c | 38 struct ieee80211_supported_band *sband; in rate_control_rate_init() local 56 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init() 59 if (sband->band == NL80211_BAND_S1GHZ) { in rate_control_rate_init() 66 ref->ops->rate_init(ref->priv, sband, &chanctx_conf->def, ista, in rate_control_rate_init() 94 struct ieee80211_supported_band *sband; in rate_control_tx_status() 102 sband = local->hw.wiphy->bands[st->info->band]; in rate_control_tx_status() 106 ref->ops->tx_status_ext(ref->priv, sband, priv_sta, st); in rate_control_tx_status() 108 ref->ops->tx_status(ref->priv, sband, st->sta, priv_sta, st->skb); in rate_control_tx_status() 116 struct ieee80211_supported_band *sband, 136 ref->ops->rate_update(ref->priv, sband, in rate_control_rate_update() 96 struct ieee80211_supported_band *sband; rate_control_tx_status() local 118 rate_control_rate_update(struct ieee80211_local * local,struct ieee80211_supported_band * sband,struct link_sta_info * link_sta,u32 changed) rate_control_rate_update() argument 300 struct ieee80211_supported_band *sband; ieee80211_check_rate_mask() local 340 rc_send_low_basicrate(struct ieee80211_tx_rate * rate,u32 basic_rates,struct ieee80211_supported_band * sband) rc_send_low_basicrate() argument 369 __rate_control_send_low(struct ieee80211_hw * hw,struct ieee80211_supported_band * sband,struct ieee80211_sta * sta,struct ieee80211_tx_info * info,u32 rate_mask) __rate_control_send_low() argument 420 struct ieee80211_supported_band *sband = txrc->sband; rate_control_send_low() local 555 rate_idx_match_mask(s8 * rate_idx,u16 * rate_flags,struct ieee80211_supported_band * sband,enum nl80211_chan_width chan_width,u32 mask,u8 mcs_mask[IEEE80211_HT_MCS_MASK_LEN],u16 vht_mask[NL80211_VHT_NSS_MAX]) rate_idx_match_mask() argument 640 rate_fixup_ratelist(struct ieee80211_vif * vif,struct ieee80211_supported_band * sband,struct ieee80211_tx_info * info,struct ieee80211_tx_rate * rates,int max_rates) rate_fixup_ratelist() argument 781 rate_control_cap_mask(struct ieee80211_sub_if_data * sdata,struct ieee80211_supported_band * sband,struct ieee80211_sta * sta,u32 * mask,u8 mcs_mask[IEEE80211_HT_MCS_MASK_LEN],u16 vht_mask[NL80211_VHT_NSS_MAX]) rate_control_cap_mask() argument 827 rate_control_apply_mask_ratetbl(struct sta_info * sta,struct ieee80211_supported_band * sband,struct ieee80211_sta_rates * rates) rate_control_apply_mask_ratetbl() argument 853 rate_control_apply_mask(struct ieee80211_sub_if_data * sdata,struct ieee80211_sta * sta,struct ieee80211_supported_band * sband,struct ieee80211_tx_rate * rates,int max_rates) rate_control_apply_mask() argument 898 struct ieee80211_supported_band *sband; ieee80211_get_tx_rates() local 976 struct ieee80211_supported_band *sband; rate_control_set_rates() local [all...] |
| H A D | mesh.c | 68 struct ieee80211_supported_band *sband; in mesh_matches_local() local 93 sband = ieee80211_get_sband(sdata); in mesh_matches_local() 94 if (!sband) in mesh_matches_local() 97 ieee80211_sta_get_rates(sdata, ie, sband->band, in mesh_matches_local() 430 struct ieee80211_supported_band *sband; in mesh_add_ht_cap_ie() local 433 sband = ieee80211_get_sband(sdata); in mesh_add_ht_cap_ie() 434 if (!sband) in mesh_add_ht_cap_ie() 438 if (sband->band == NL80211_BAND_6GHZ) in mesh_add_ht_cap_ie() 441 if (!sband->ht_cap.ht_supported || in mesh_add_ht_cap_ie() 449 ieee80211_ie_build_ht_cap(pos, &sband in mesh_add_ht_cap_ie() 462 struct ieee80211_supported_band *sband; mesh_add_ht_oper_ie() local 502 struct ieee80211_supported_band *sband; mesh_add_vht_cap_ie() local 534 struct ieee80211_supported_band *sband; mesh_add_vht_oper_ie() local 573 struct ieee80211_supported_band *sband; mesh_add_he_cap_ie() local 591 struct ieee80211_supported_band *sband; mesh_add_he_oper_ie() local 622 struct ieee80211_supported_band *sband; mesh_add_he_6ghz_cap_ie() local 645 struct ieee80211_supported_band *sband; mesh_add_eht_cap_ie() local 662 struct ieee80211_supported_band *sband; mesh_add_eht_oper_ie() local 723 struct ieee80211_supported_band *sband; ieee80211_mesh_update_bss_params() local 960 const struct ieee80211_supported_band *sband; ieee80211_mesh_build_beacon() local 1283 struct ieee80211_supported_band *sband; ieee80211_mesh_process_chnswitch() local [all...] |
| H A D | util.c | 210 struct ieee80211_supported_band *sband; in ieee80211_rts_duration() local 212 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_rts_duration() 216 rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx]; in ieee80211_rts_duration() 229 dur = ieee80211_frame_duration(sband->band, 10, bitrate, in ieee80211_rts_duration() 232 dur += ieee80211_frame_duration(sband->band, frame_len, bitrate, in ieee80211_rts_duration() 235 dur += ieee80211_frame_duration(sband->band, 10, bitrate, in ieee80211_rts_duration() 253 struct ieee80211_supported_band *sband; in ieee80211_ctstoself_duration() local 255 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_ctstoself_duration() 259 rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx]; in ieee80211_ctstoself_duration() 271 dur = ieee80211_frame_duration(sband in ieee80211_ctstoself_duration() 1268 struct ieee80211_supported_band *sband; ieee80211_put_preq_ies_band() local 1591 struct ieee80211_supported_band *sband; ieee80211_sta_get_rates() local 2571 struct ieee80211_supported_band *sband; ieee80211_ie_len_he_cap() local 2640 ieee80211_put_he_cap(struct sk_buff * skb,struct ieee80211_sub_if_data * sdata,const struct ieee80211_supported_band * sband,const struct ieee80211_conn_settings * conn) ieee80211_put_he_cap() argument 2727 struct ieee80211_supported_band *sband; ieee80211_put_he_6ghz_cap() local 3411 ieee80211_put_srates_elem(struct sk_buff * skb,const struct ieee80211_supported_band * sband,u32 basic_rates,u32 masked_rates,u8 element_id) ieee80211_put_srates_elem() argument 3619 struct ieee80211_supported_band *sband; ieee80211_calculate_rx_timestamp() local 4493 struct ieee80211_supported_band *sband; ieee80211_ie_len_eht_cap() local 4520 ieee80211_put_eht_cap(struct sk_buff * skb,struct ieee80211_sub_if_data * sdata,const struct ieee80211_supported_band * sband,const struct ieee80211_conn_settings * conn) ieee80211_put_eht_cap() argument 4613 ieee80211_put_uhr_cap(struct sk_buff * skb,struct ieee80211_sub_if_data * sdata,const struct ieee80211_supported_band * sband) ieee80211_put_uhr_cap() argument [all...] |
| H A D | tdls.c | 54 struct ieee80211_supported_band *sband = ieee80211_get_link_sband(link); in ieee80211_tdls_add_ext_capab() local 55 bool vht = sband && sband->vht_cap.vht_supported; in ieee80211_tdls_add_ext_capab() 187 struct ieee80211_supported_band *sband; in ieee80211_get_tdls_sta_capab() local 193 sband = ieee80211_get_link_sband(link); in ieee80211_get_tdls_sta_capab() 195 if (sband && sband->band == NL80211_BAND_2GHZ) { in ieee80211_get_tdls_sta_capab() 375 struct ieee80211_supported_band *sband; in ieee80211_tdls_add_setup_start_ies() 385 sband = ieee80211_get_link_sband(link); in ieee80211_tdls_add_setup_start_ies() 386 if (WARN_ON_ONCE(!sband)) in ieee80211_tdls_add_setup_start_ies() 371 struct ieee80211_supported_band *sband; ieee80211_tdls_add_setup_start_ies() local 601 struct ieee80211_supported_band *sband; ieee80211_tdls_add_setup_cfm_ies() local 1319 struct ieee80211_supported_band *sband; iee80211_tdls_recalc_chanctx() local [all...] |
| H A D | airtime.c | 589 struct ieee80211_supported_band *sband; in ieee80211_calc_rx_airtime() local 602 sband = hw->wiphy->bands[status->band]; in ieee80211_calc_rx_airtime() 603 if (!sband || status->rate_idx >= sband->n_bitrates) in ieee80211_calc_rx_airtime() 606 rate = &sband->bitrates[status->rate_idx]; in ieee80211_calc_rx_airtime() 629 struct ieee80211_supported_band *sband = hw->wiphy->bands[band]; in ieee80211_fill_rate_info() local 632 if (!ri || !sband) in ieee80211_fill_rate_info() 666 for (i = 0; i < sband->n_bitrates; i++) { in ieee80211_fill_rate_info() 667 if (ri->legacy != sband->bitrates[i].bitrate) in ieee80211_fill_rate_info() 761 struct ieee80211_supported_band *sband; in ieee80211_calc_expected_tx_airtime() local 827 sband = hw->wiphy->bands[band]; in ieee80211_calc_expected_tx_airtime() [all …]
|
| H A D | mlme.c | 203 struct ieee80211_supported_band *sband = in ieee80211_determine_ap_chan() 222 if (sband->band == NL80211_BAND_S1GHZ) { in ieee80211_determine_ap_chan() 234 if (sband->band == NL80211_BAND_6GHZ) { in ieee80211_determine_ap_chan() 339 if (sband->band == NL80211_BAND_5GHZ) in ieee80211_determine_ap_chan() 342 } else if (sband->band == NL80211_BAND_2GHZ) { in ieee80211_determine_ap_chan() 437 uhr_cap = ieee80211_get_uhr_iftype_cap_vif(sband, &sdata->vif); in ieee80211_verify_sta_ht_mcs_support() 541 struct ieee80211_supported_band *sband, 547 if (sband->band == NL80211_BAND_6GHZ) in ieee80211_verify_peer_he_mcs_support() 553 memcpy(&sta_ht_cap, &sband->ht_cap, sizeof(sta_ht_cap)); in ieee80211_verify_peer_he_mcs_support() 589 struct ieee80211_supported_band *sband, in ieee80211_verify_peer_he_mcs_support() 166 struct ieee80211_supported_band *sband = ieee80211_determine_ap_chan() local 425 ieee80211_verify_sta_ht_mcs_support(struct ieee80211_sub_if_data * sdata,struct ieee80211_supported_band * sband,const struct ieee80211_ht_operation * ht_op) ieee80211_verify_sta_ht_mcs_support() argument 473 ieee80211_verify_sta_vht_mcs_support(struct ieee80211_sub_if_data * sdata,int link_id,struct ieee80211_supported_band * sband,const struct ieee80211_vht_operation * vht_op) ieee80211_verify_sta_vht_mcs_support() argument 629 ieee80211_verify_sta_he_mcs_support(struct ieee80211_sub_if_data * sdata,struct ieee80211_supported_band * sband,const struct ieee80211_he_operation * he_op) ieee80211_verify_sta_he_mcs_support() argument 745 ieee80211_verify_sta_eht_mcs_support(struct ieee80211_sub_if_data * sdata,struct ieee80211_supported_band * sband,const struct ieee80211_eht_operation * eht_op) ieee80211_verify_sta_eht_mcs_support() argument 789 ieee80211_get_rates(struct ieee80211_supported_band * sband,const u8 * supp_rates,unsigned int supp_rates_len,const u8 * ext_supp_rates,unsigned int ext_supp_rates_len,u32 * rates,u32 * basic_rates,unsigned long * unknown_rates_selectors,bool * have_higher_than_11mbit,int * min_rate,int * min_rate_index) ieee80211_get_rates() argument 1093 struct ieee80211_supported_band *sband; ieee80211_determine_chan_mode() local 1476 ieee80211_add_ht_ie(struct ieee80211_sub_if_data * sdata,struct sk_buff * skb,u8 ap_ht_param,struct ieee80211_supported_band * sband,struct ieee80211_channel * channel,enum ieee80211_smps_mode smps,const struct ieee80211_conn_settings * conn) ieee80211_add_ht_ie() argument 1551 ieee80211_add_vht_ie(struct ieee80211_sub_if_data * sdata,struct sk_buff * skb,struct ieee80211_supported_band * sband,struct ieee80211_vht_cap * ap_vht_cap,const struct ieee80211_conn_settings * conn) ieee80211_add_vht_ie() argument 1632 ieee80211_assoc_add_rates(struct ieee80211_local * local,struct sk_buff * skb,enum nl80211_chan_width width,struct ieee80211_supported_band * sband,struct ieee80211_mgd_assoc_data * assoc_data) ieee80211_assoc_add_rates() argument 1828 struct ieee80211_supported_band *sband; ieee80211_add_link_elems() local 2196 struct ieee80211_supported_band *sband; ieee80211_link_common_elems_size() local 3928 struct ieee80211_supported_band *sband; ieee80211_handle_bss_capability() local 5255 ieee80211_twt_req_supported(struct ieee80211_sub_if_data * sdata,struct ieee80211_supported_band * sband,const struct link_sta_info * link_sta,const struct ieee802_11_elems * elems) ieee80211_twt_req_supported() argument 5276 ieee80211_recalc_twt_req(struct ieee80211_sub_if_data * sdata,struct ieee80211_supported_band * sband,struct ieee80211_link_data * link,struct link_sta_info * link_sta,struct ieee802_11_elems * elems) ieee80211_recalc_twt_req() argument 5292 ieee80211_twt_bcast_support(struct ieee80211_sub_if_data * sdata,struct ieee80211_bss_conf * bss_conf,struct ieee80211_supported_band * sband,struct link_sta_info * link_sta) ieee80211_twt_bcast_support() argument 5410 struct ieee80211_supported_band *sband; ieee80211_assoc_config_link() local 5835 struct ieee80211_supported_band *sband; ieee80211_mgd_setup_link_sta() local 5986 ieee80211_determine_our_sta_mode(struct ieee80211_sub_if_data * sdata,struct ieee80211_supported_band * sband,struct cfg80211_assoc_request * req,bool wmm_used,int link_id,struct ieee80211_conn_settings * conn) ieee80211_determine_our_sta_mode() argument 6206 ieee80211_determine_our_sta_mode_auth(struct ieee80211_sub_if_data * sdata,struct ieee80211_supported_band * sband,struct cfg80211_auth_request * req,bool wmm_used,struct ieee80211_conn_settings * conn) ieee80211_determine_our_sta_mode_auth() argument 6218 ieee80211_determine_our_sta_mode_assoc(struct ieee80211_sub_if_data * sdata,struct ieee80211_supported_band * sband,struct cfg80211_assoc_request * req,bool wmm_used,int link_id,struct ieee80211_conn_settings * conn) ieee80211_determine_our_sta_mode_assoc() argument 7593 struct ieee80211_supported_band *sband; ieee80211_rx_mgmt_beacon() local 9436 struct ieee80211_supported_band *sband; ieee80211_mgd_auth() local 9647 struct ieee80211_supported_band *sband; ieee80211_setup_assoc_link() local 9764 struct ieee80211_supported_band *sband; ieee80211_mgd_get_ap_ht_vht_capa() local 9963 struct ieee80211_supported_band *sband; ieee80211_mgd_assoc() local 10022 struct ieee80211_supported_band *sband; ieee80211_mgd_assoc() local 10951 struct ieee80211_supported_band *sband; ieee80211_mgd_assoc_ml_reconf() local [all...] |
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| H A D | channel.c | 633 struct ieee80211_supported_band *sband; in brcms_reg_apply_radar_flags() local 637 sband = wiphy->bands[NL80211_BAND_5GHZ]; in brcms_reg_apply_radar_flags() 638 if (!sband) in brcms_reg_apply_radar_flags() 641 for (i = 0; i < sband->n_channels; i++) { in brcms_reg_apply_radar_flags() 642 ch = &sband->channels[i]; in brcms_reg_apply_radar_flags() 661 struct ieee80211_supported_band *sband; in brcms_reg_apply_beaconing_flags() local 667 sband = wiphy->bands[band]; in brcms_reg_apply_beaconing_flags() 668 if (!sband) in brcms_reg_apply_beaconing_flags() 671 for (i = 0; i < sband->n_channels; i++) { in brcms_reg_apply_beaconing_flags() 672 ch = &sband->channels[i]; in brcms_reg_apply_beaconing_flags() [all …]
|
| /linux/drivers/net/wireless/mediatek/mt76/mt76x0/ |
| H A D | init.c | 217 struct ieee80211_supported_band *sband) in mt76x0_init_txpower() argument 224 for (i = 0; i < sband->n_channels; i++) { in mt76x0_init_txpower() 225 chan = &sband->channels[i]; in mt76x0_init_txpower() 252 struct ieee80211_supported_band *sband; in mt76x0_register_device() local 254 sband = &dev->mphy.sband_5g.sband; in mt76x0_register_device() 255 sband->vht_cap.cap &= ~IEEE80211_VHT_CAP_RXLDPC; in mt76x0_register_device() 256 mt76x0_init_txpower(dev, sband); in mt76x0_register_device() 260 mt76x0_init_txpower(dev, &dev->mphy.sband_2g.sband); in mt76x0_register_device()
|
| /linux/net/wireless/ |
| H A D | mesh.c | 143 struct ieee80211_supported_band *sband; in __cfg80211_join_mesh() local 147 sband = rdev->wiphy.bands[band]; in __cfg80211_join_mesh() 148 if (!sband) in __cfg80211_join_mesh() 151 for (i = 0; i < sband->n_channels; i++) { in __cfg80211_join_mesh() 152 chan = &sband->channels[i]; in __cfg80211_join_mesh() 178 struct ieee80211_supported_band *sband = in __cfg80211_join_mesh() local 191 for (i = 0; i < sband->n_bitrates; i++) { in __cfg80211_join_mesh() 192 if (sband->bitrates[i].bitrate == 10) { in __cfg80211_join_mesh() 198 setup->basic_rates = ieee80211_mandatory_rates(sband); in __cfg80211_join_mesh()
|
| H A D | of.c | 41 struct ieee80211_supported_band *sband = wiphy->bands[band]; in wiphy_freq_limits_apply() 43 if (!sband) in wiphy_freq_limits_apply() 46 for (i = 0; i < sband->n_channels; i++) { in wiphy_freq_limits_apply() 47 struct ieee80211_channel *chan = &sband->channels[i]; in wiphy_freq_limits_apply() 52 struct ieee80211_supported_band *sband = wiphy->bands[band]; wiphy_freq_limits_apply() local
|
| H A D | util.c | 28 ieee80211_get_response_rate(struct ieee80211_supported_band *sband, in ieee80211_get_response_rate() argument 31 struct ieee80211_rate *result = &sband->bitrates[0]; in ieee80211_get_response_rate() 34 for (i = 0; i < sband->n_bitrates; i++) { in ieee80211_get_response_rate() 37 if (sband->bitrates[i].bitrate > bitrate) in ieee80211_get_response_rate() 39 result = &sband->bitrates[i]; in ieee80211_get_response_rate() 46 u32 ieee80211_mandatory_rates(struct ieee80211_supported_band *sband) in ieee80211_mandatory_rates() argument 53 if (WARN_ON(!sband)) in ieee80211_mandatory_rates() 56 if (sband->band == NL80211_BAND_2GHZ) in ieee80211_mandatory_rates() 61 bitrates = sband->bitrates; in ieee80211_mandatory_rates() 62 for (i = 0; i < sband in ieee80211_mandatory_rates() 139 struct ieee80211_supported_band *sband; ieee80211_get_channel_khz() local 160 set_mandatory_flags_band(struct ieee80211_supported_band * sband) set_mandatory_flags_band() argument 2603 ieee80211_get_ratemask(struct ieee80211_supported_band * sband,const u8 * rates,unsigned int n_rates,u32 * mask) ieee80211_get_ratemask() argument [all...] |
| H A D | ibss.c | 109 struct ieee80211_supported_band *sband; in __cfg80211_join_ibss() local 121 sband = rdev->wiphy.bands[band]; in __cfg80211_join_ibss() 122 for (j = 0; j < sband->n_bitrates; j++) { in __cfg80211_join_ibss() 123 if (sband->bitrates[j].flags & flag) in __cfg80211_join_ibss() 232 struct ieee80211_supported_band *sband; in cfg80211_ibss_wext_join() local 235 sband = rdev->wiphy.bands[band]; in cfg80211_ibss_wext_join() 236 if (!sband) in cfg80211_ibss_wext_join() 239 for (i = 0; i < sband->n_channels; i++) { in cfg80211_ibss_wext_join() 240 chan = &sband->channels[i]; in cfg80211_ibss_wext_join()
|
| H A D | debugfs.c | 92 struct ieee80211_supported_band *sband; in ht40allow_map_read() 100 sband = wiphy->bands[band]; 101 if (!sband) 103 for (i = 0; i < sband->n_channels; i++) in cfg80211_debugfs_rdev_add() 104 offset += ht_print_chan(&sband->channels[i], in cfg80211_debugfs_rdev_add() 71 struct ieee80211_supported_band *sband; ht40allow_map_read() local
|
| H A D | core.c | 855 struct ieee80211_supported_band *sband; in wiphy_register() 996 sband = wiphy->bands[band]; in wiphy_register() 997 if (!sband) in wiphy_register() 1000 sband->band = band; in wiphy_register() 1001 if (WARN_ON(!sband->n_channels)) in wiphy_register() 1009 !sband->n_bitrates)) in wiphy_register() 1013 (sband->ht_cap.ht_supported || in wiphy_register() 1014 sband->vht_cap.vht_supported))) in wiphy_register() 1019 * modify the sband's ht data even if the driver uses a in wiphy_register() 1024 sband in wiphy_register() 812 struct ieee80211_supported_band *sband; wiphy_register() local [all...] |
| /linux/drivers/staging/rtl8723bs/os_dep/ |
| H A D | wifi_regd.c | 51 struct ieee80211_supported_band *sband; in _rtw_reg_apply_flags() local 59 sband = wiphy->bands[i]; in _rtw_reg_apply_flags() 61 if (sband) { in _rtw_reg_apply_flags() 62 for (j = 0; j < sband->n_channels; j++) { in _rtw_reg_apply_flags() 63 ch = &sband->channels[j]; in _rtw_reg_apply_flags()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | iface.c | 127 const struct ieee80211_supported_band *sband; in iwl_mld_mac_wifi_gen_sta_iter() 135 sband = mld->hw->wiphy->bands[NL80211_BAND_2GHZ]; in iwl_mld_mac_wifi_gen_sta_iter() 136 own_he_cap = ieee80211_get_he_iftype_cap_vif(sband, vif); in iwl_mld_mac_wifi_gen_sta_iter() 763 struct ieee80211_supported_band *sband; 800 sband = mld->wiphy->bands[NL80211_BAND_2GHZ]; 802 WARN_ON(!sband->ht_cap.ht_supported); 803 WARN_ON(!(sband->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40)); 804 sband->ht_cap.cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40; 806 he_cap = ieee80211_get_he_iftype_cap_vif(sband, vif); 825 struct ieee80211_supported_band *sband; 106 const struct ieee80211_supported_band *sband; iwl_mld_is_nic_ack_enabled() local 642 struct ieee80211_supported_band *sband; iwl_mld_handle_datapath_monitor_notif() local 704 struct ieee80211_supported_band *sband; iwl_mld_reset_cca_40mhz_workaround() local [all...] |
| /linux/drivers/net/wireless/ath/ |
| H A D | regd.c | 344 struct ieee80211_supported_band *sband; in ath_reg_apply_beaconing_flags() local 351 sband = wiphy->bands[band]; in ath_reg_apply_beaconing_flags() 352 for (i = 0; i < sband->n_channels; i++) { in ath_reg_apply_beaconing_flags() 353 ch = &sband->channels[i]; in ath_reg_apply_beaconing_flags() 380 struct ieee80211_supported_band *sband; in ath_reg_apply_ir_flags() local 382 sband = wiphy->bands[NL80211_BAND_2GHZ]; in ath_reg_apply_ir_flags() 383 if (!sband) in ath_reg_apply_ir_flags() 407 struct ieee80211_supported_band *sband; in ath_reg_apply_radar_flags() local 414 sband = wiphy->bands[NL80211_BAND_5GHZ]; in ath_reg_apply_radar_flags() 416 for (i = 0; i < sband->n_channels; i++) { in ath_reg_apply_radar_flags() [all …]
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | 11h.c | 32 struct ieee80211_supported_band *sband; in mwifiex_11h_process_infra_join() local 40 sband = priv->wdev.wiphy->bands[radio_type]; in mwifiex_11h_process_infra_join() 58 ie_header->len = cpu_to_le16(2 * sband->n_channels + 2); in mwifiex_11h_process_infra_join() 61 *(*buffer)++ = 2 * sband->n_channels; in mwifiex_11h_process_infra_join() 62 for (i = 0; i < sband->n_channels; i++) { in mwifiex_11h_process_infra_join() 64 sband->channels[i].center_freq); in mwifiex_11h_process_infra_join()
|
| H A D | 11n.c | 29 struct ieee80211_supported_band *sband = in mwifiex_fill_cap_info() local 32 if (WARN_ON_ONCE(!sband)) { in mwifiex_fill_cap_info() 38 (sband->ht_cap.ampdu_factor & in mwifiex_fill_cap_info() 40 ((sband->ht_cap.ampdu_density << in mwifiex_fill_cap_info() 44 memcpy((u8 *)&ht_cap->mcs, &sband->ht_cap.mcs, in mwifiex_fill_cap_info() 45 sizeof(sband->ht_cap.mcs)); in mwifiex_fill_cap_info() 48 (sband->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 && in mwifiex_fill_cap_info() 57 ht_cap->cap_info = cpu_to_le16(sband->ht_cap.cap); in mwifiex_fill_cap_info() 309 struct ieee80211_supported_band *sband; in mwifiex_cmd_append_11n_tlv() local 317 sband = priv->wdev.wiphy->bands[radio_type]; in mwifiex_cmd_append_11n_tlv() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | eeprom.c | 1032 struct ieee80211_supported_band *sband; in iwl_init_sbands() local 1034 sband = &data->bands[NL80211_BAND_2GHZ]; in iwl_init_sbands() 1035 sband->band = NL80211_BAND_2GHZ; in iwl_init_sbands() 1036 sband->bitrates = &iwl_cfg80211_rates[RATES_24_OFFS]; in iwl_init_sbands() 1037 sband->n_bitrates = N_RATES_24; in iwl_init_sbands() 1038 n_used += iwl_init_sband_channels(data, sband, n_channels, in iwl_init_sbands() 1040 iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_2GHZ, in iwl_init_sbands() 1043 sband = &data->bands[NL80211_BAND_5GHZ]; in iwl_init_sbands() 1044 sband->band = NL80211_BAND_5GHZ; in iwl_init_sbands() 1045 sband->bitrates = &iwl_cfg80211_rates[RATES_52_OFFS]; in iwl_init_sbands() [all …]
|
| H A D | scan.c | 429 struct ieee80211_supported_band *sband = priv->hw->wiphy->bands[band]; in iwl_get_single_channel_number() local 433 for (i = 0; i < sband->n_channels; i++) { in iwl_get_single_channel_number() 437 busy = sband->channels[i].hw_value == in iwl_get_single_channel_number() 446 if (!(sband->channels[i].flags & IEEE80211_CHAN_DISABLED)) in iwl_get_single_channel_number() 447 return sband->channels[i].hw_value; in iwl_get_single_channel_number() 458 const struct ieee80211_supported_band *sband; in iwl_get_channel_for_reset_scan() local 461 sband = iwl_get_hw_mode(priv, band); in iwl_get_channel_for_reset_scan() 462 if (!sband) { in iwl_get_channel_for_reset_scan() 495 const struct ieee80211_supported_band *sband; in iwl_get_channels_for_scan() local 501 sband = iwl_get_hw_mode(priv, band); in iwl_get_channels_for_scan() [all …]
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | base.c | 361 struct ieee80211_supported_band *sband; in ath5k_setup_bands() local 369 sband = &ah->sbands[NL80211_BAND_2GHZ]; in ath5k_setup_bands() 370 sband->band = NL80211_BAND_2GHZ; in ath5k_setup_bands() 371 sband->bitrates = &ah->rates[NL80211_BAND_2GHZ][0]; in ath5k_setup_bands() 375 memcpy(sband->bitrates, &ath5k_rates[0], in ath5k_setup_bands() 377 sband->n_bitrates = 12; in ath5k_setup_bands() 379 sband->channels = ah->channels; in ath5k_setup_bands() 380 sband->n_channels = ath5k_setup_channels(ah, sband->channels, in ath5k_setup_bands() 383 hw->wiphy->bands[NL80211_BAND_2GHZ] = sband; in ath5k_setup_bands() [all...] |
| /linux/drivers/net/wireless/mediatek/mt76/mt7925/ |
| H A D | mac.c | 251 struct ieee80211_supported_band *sband, in mt7925_mac_fill_rx_rate() argument 277 i = mt76_get_rate(&dev->mt76, sband, i, cck); in mt7925_mac_fill_rx_rate() 369 struct ieee80211_supported_band *sband; in mt7925_mac_fill_rx() 411 sband = &mphy->sband_5g.sband; in mt7925_mac_fill_rx() 414 sband = &mphy->sband_6g.sband; in mt7925_mac_fill_rx() 417 sband = &mphy->sband_2g.sband; in mt7925_mac_fill_rx() 421 if (!sband in mt7925_mac_fill_rx() 364 struct ieee80211_supported_band *sband; mt7925_mac_fill_rx() local 899 struct ieee80211_supported_band *sband; mt7925_mac_add_txs_skb() local [all...] |
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | regd.c | 281 struct ieee80211_supported_band *sband; in rtw_regd_apply_hw_cap_flags() local 290 sband = wiphy->bands[NL80211_BAND_2GHZ]; in rtw_regd_apply_hw_cap_flags() 291 if (!sband) in rtw_regd_apply_hw_cap_flags() 294 for (i = 0; i < sband->n_channels; i++) { in rtw_regd_apply_hw_cap_flags() 295 ch = &sband->channels[i]; in rtw_regd_apply_hw_cap_flags() 300 sband = wiphy->bands[NL80211_BAND_5GHZ]; in rtw_regd_apply_hw_cap_flags() 301 if (!sband) in rtw_regd_apply_hw_cap_flags() 304 for (i = 0; i < sband->n_channels; i++) { in rtw_regd_apply_hw_cap_flags() 305 ch = &sband->channels[i]; in rtw_regd_apply_hw_cap_flags()
|