Home
last modified time | relevance | path

Searched refs:basic_rates (Results 1 – 15 of 15) sorted by relevance

/net/mac80211/
Drate.c279 u32 user_mask, basic_rates = link->conf->basic_rates; in ieee80211_check_rate_mask() local
291 if (WARN_ON_ONCE(!basic_rates)) in ieee80211_check_rate_mask()
297 if (user_mask & basic_rates) in ieee80211_check_rate_mask()
302 basic_rates, user_mask, band); in ieee80211_check_rate_mask()
317 u32 basic_rates, in rc_send_low_basicrate() argument
329 if (basic_rates == 0) in rc_send_low_basicrate()
333 if (basic_rates & (1 << rate->idx)) in rc_send_low_basicrate()
337 if (basic_rates & (1 << i)) { in rc_send_low_basicrate()
423 txrc->bss_conf->basic_rates, in rate_control_send_low()
635 u32 basic_rates = vif->bss_conf.basic_rates; in rate_fixup_ratelist() local
[all …]
Dibss.c39 const int beacon_int, const u32 basic_rates, in ieee80211_ibss_build_presp() argument
120 if (basic_rates & BIT(ri)) in ieee80211_ibss_build_presp()
164 if (basic_rates & BIT(ri)) in ieee80211_ibss_build_presp()
221 const u32 basic_rates, in __ieee80211_sta_join_ibss() argument
316 presp = ieee80211_ibss_build_presp(sdata, beacon_int, basic_rates, in __ieee80211_sta_join_ibss()
327 sdata->vif.bss_conf.basic_rates = basic_rates; in __ieee80211_sta_join_ibss()
400 u32 basic_rates; in ieee80211_sta_join_ibss() local
444 basic_rates = 0; in ieee80211_sta_join_ibss()
460 basic_rates |= BIT(j); in ieee80211_sta_join_ibss()
474 basic_rates, in ieee80211_sta_join_ibss()
[all …]
Dairtime.c637 u32 basic_rates; in ieee80211_calc_expected_tx_airtime() local
703 basic_rates = vif->bss_conf.basic_rates; in ieee80211_calc_expected_tx_airtime()
706 rateidx = basic_rates ? ffs(basic_rates) - 1 : 0; in ieee80211_calc_expected_tx_airtime()
Dutil.c2263 enum nl80211_band band, u32 *basic_rates) in ieee80211_sta_get_rates() argument
2306 if (basic_rates && is_basic) in ieee80211_sta_get_rates()
2307 *basic_rates |= BIT(j); in ieee80211_sta_get_rates()
4052 u32 basic_rates = sdata->vif.bss_conf.basic_rates; in ieee80211_add_srates_ie() local
4078 if (need_basic && basic_rates & BIT(i)) in ieee80211_add_srates_ie()
4096 u32 basic_rates = sdata->vif.bss_conf.basic_rates; in ieee80211_add_ext_srates_ie() local
4127 if (need_basic && basic_rates & BIT(i)) in ieee80211_add_ext_srates_ie()
Dmesh.c64 u32 basic_rates = 0; in mesh_matches_local() local
93 &basic_rates); in mesh_matches_local()
95 if (sdata->vif.bss_conf.basic_rates != basic_rates) in mesh_matches_local()
Dmesh_plink.c425 u32 rates, basic_rates = 0, changed = 0; in mesh_sta_info_init() local
433 &basic_rates); in mesh_sta_info_init()
Dcfg.c2495 sdata->vif.bss_conf.basic_rates = setup->basic_rates; in copy_mesh_setup()
2697 if (params->basic_rates) { in ieee80211_change_bss()
2700 params->basic_rates, in ieee80211_change_bss()
2702 &link->conf->basic_rates)) in ieee80211_change_bss()
3360 u32 basic_rates = sdata->vif.bss_conf.basic_rates; in ieee80211_set_bitrate_mask() local
3363 if (!(mask->control[band].legacy & basic_rates)) in ieee80211_set_bitrate_mask()
Dtrace.h471 __field(u32, basic_rates)
500 __entry->basic_rates = link_conf->basic_rates;
Dmlme.c3895 u32 *rates, u32 *basic_rates, in ieee80211_get_rates() argument
3934 *basic_rates |= BIT(j); in ieee80211_get_rates()
4395 u32 rates = 0, basic_rates = 0; in ieee80211_mgd_setup_link_sta() local
4414 &rates, &basic_rates, &have_higher_than_11mbit, in ieee80211_mgd_setup_link_sta()
4430 } else if (!basic_rates) { in ieee80211_mgd_setup_link_sta()
4432 basic_rates = BIT(min_rate_index); in ieee80211_mgd_setup_link_sta()
4440 link->conf->basic_rates = basic_rates; in ieee80211_mgd_setup_link_sta()
Dieee80211_i.h565 u32 basic_rates; member
2472 enum nl80211_band band, u32 *basic_rates);
Dtx.c145 if (tx->sdata->vif.bss_conf.basic_rates & BIT(i)) in ieee80211_duration()
/net/wireless/
Dmesh.c174 if (!setup->basic_rates) { in __cfg80211_join_mesh()
190 setup->basic_rates = BIT(i); in __cfg80211_join_mesh()
195 setup->basic_rates = ieee80211_mandatory_rates(sband); in __cfg80211_join_mesh()
Dibss.c101 if (!params->basic_rates) { in __cfg80211_join_ibss()
122 params->basic_rates |= BIT(j); in __cfg80211_join_ibss()
Dutil.c29 u32 basic_rates, int bitrate) in ieee80211_get_response_rate() argument
35 if (!(basic_rates & BIT(i))) in ieee80211_get_response_rate()
Dnl80211.c8065 params.basic_rates = in nl80211_set_bss()
11523 &ibss.basic_rates); in nl80211_join_ibss()
13200 &setup.basic_rates); in nl80211_join_mesh()