• Home
  • Raw
  • Download

Lines Matching refs:chandef

119 			compat = &sdata->vif.bss_conf.chandef;  in ieee80211_chanctx_non_reserved_chandef()
122 &sdata->vif.bss_conf.chandef, compat); in ieee80211_chanctx_non_reserved_chandef()
167 const struct cfg80211_chan_def *chandef, in ieee80211_find_reservation_chanctx() argument
185 chandef)) in ieee80211_find_reservation_chanctx()
271 width = max(vif->bss_conf.chandef.width, in ieee80211_get_chanctx_max_required_bw()
281 width = vif->bss_conf.chandef.width; in ieee80211_get_chanctx_max_required_bw()
343 const struct cfg80211_chan_def *chandef) in ieee80211_change_chanctx() argument
345 if (cfg80211_chandef_identical(&ctx->conf.def, chandef)) { in ieee80211_change_chanctx()
350 WARN_ON(!cfg80211_chandef_compatible(&ctx->conf.def, chandef)); in ieee80211_change_chanctx()
352 ctx->conf.def = *chandef; in ieee80211_change_chanctx()
357 local->_oper_chandef = *chandef; in ieee80211_change_chanctx()
364 const struct cfg80211_chan_def *chandef, in ieee80211_find_chanctx() argument
383 compat = cfg80211_chandef_compatible(&ctx->conf.def, chandef); in ieee80211_find_chanctx()
448 const struct cfg80211_chan_def *chandef, in ieee80211_alloc_chanctx() argument
461 ctx->conf.def = *chandef; in ieee80211_alloc_chanctx()
504 const struct cfg80211_chan_def *chandef, in ieee80211_new_chanctx() argument
513 ctx = ieee80211_alloc_chanctx(local, chandef, mode); in ieee80211_new_chanctx()
533 struct cfg80211_chan_def *chandef = &local->_oper_chandef; in ieee80211_del_chanctx() local
534 chandef->width = NL80211_CHAN_WIDTH_20_NOHT; in ieee80211_del_chanctx()
535 chandef->center_freq1 = chandef->chan->center_freq; in ieee80211_del_chanctx()
536 chandef->center_freq2 = 0; in ieee80211_del_chanctx()
587 compat = &sdata->vif.bss_conf.chandef; in ieee80211_recalc_chanctx_chantype()
590 &sdata->vif.bss_conf.chandef, compat); in ieee80211_recalc_chanctx_chantype()
869 const struct cfg80211_chan_def *chandef, in ieee80211_vif_reserve_chanctx() argument
882 new_ctx = ieee80211_find_reservation_chanctx(local, chandef, mode); in ieee80211_vif_reserve_chanctx()
885 new_ctx = ieee80211_new_chanctx(local, chandef, mode); in ieee80211_vif_reserve_chanctx()
939 new_ctx = ieee80211_alloc_chanctx(local, chandef, mode); in ieee80211_vif_reserve_chanctx()
957 sdata->reserved_chandef = *chandef; in ieee80211_vif_reserve_chanctx()
995 const struct cfg80211_chan_def *chandef) in ieee80211_vif_update_chandef() argument
999 sdata->vif.bss_conf.chandef = *chandef; in ieee80211_vif_update_chandef()
1005 vlan->vif.bss_conf.chandef = *chandef; in ieee80211_vif_update_chandef()
1014 const struct cfg80211_chan_def *chandef; in ieee80211_vif_use_reserved_reassign() local
1037 chandef = ieee80211_chanctx_non_reserved_chandef(local, new_ctx, in ieee80211_vif_use_reserved_reassign()
1039 if (WARN_ON(!chandef)) in ieee80211_vif_use_reserved_reassign()
1042 ieee80211_change_chanctx(local, new_ctx, chandef); in ieee80211_vif_use_reserved_reassign()
1071 if (sdata->vif.bss_conf.chandef.width != sdata->reserved_chandef.width) in ieee80211_vif_use_reserved_reassign()
1093 const struct cfg80211_chan_def *chandef; in ieee80211_vif_use_reserved_assign() local
1112 chandef = ieee80211_chanctx_non_reserved_chandef(local, new_ctx, in ieee80211_vif_use_reserved_assign()
1114 if (WARN_ON(!chandef)) in ieee80211_vif_use_reserved_assign()
1117 ieee80211_change_chanctx(local, new_ctx, chandef); in ieee80211_vif_use_reserved_assign()
1163 const struct cfg80211_chan_def *chandef; in ieee80211_chsw_switch_hwconf() local
1168 chandef = ieee80211_chanctx_reserved_chandef(local, new_ctx, NULL); in ieee80211_chsw_switch_hwconf()
1169 if (WARN_ON(!chandef)) in ieee80211_chsw_switch_hwconf()
1173 local->_oper_chandef = *chandef; in ieee80211_chsw_switch_hwconf()
1418 if (sdata->vif.bss_conf.chandef.width != in ieee80211_vif_use_reserved_switch()
1556 const struct cfg80211_chan_def *chandef, in ieee80211_vif_use_channel() argument
1571 chandef, in ieee80211_vif_use_channel()
1576 radar_detect_width = BIT(chandef->width); in ieee80211_vif_use_channel()
1580 ret = ieee80211_check_combinations(sdata, chandef, mode, in ieee80211_vif_use_channel()
1587 ctx = ieee80211_find_chanctx(local, chandef, mode); in ieee80211_vif_use_channel()
1589 ctx = ieee80211_new_chanctx(local, chandef, mode); in ieee80211_vif_use_channel()
1595 ieee80211_vif_update_chandef(sdata, chandef); in ieee80211_vif_use_channel()
1677 const struct cfg80211_chan_def *chandef, in ieee80211_vif_change_bandwidth() argument
1686 if (!cfg80211_chandef_usable(sdata->local->hw.wiphy, chandef, in ieee80211_vif_change_bandwidth()
1691 if (cfg80211_chandef_identical(chandef, &sdata->vif.bss_conf.chandef)) { in ieee80211_vif_change_bandwidth()
1696 if (chandef->width == NL80211_CHAN_WIDTH_20_NOHT || in ieee80211_vif_change_bandwidth()
1697 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT) { in ieee80211_vif_change_bandwidth()
1711 compat = cfg80211_chandef_compatible(&conf->def, chandef); in ieee80211_vif_change_bandwidth()
1737 ieee80211_vif_update_chandef(sdata, chandef); in ieee80211_vif_change_bandwidth()