• Home
  • Raw
  • Download

Lines Matching refs:chandef

123 			compat = &link_conf->chandef;  in ieee80211_chanctx_non_reserved_chandef()
126 &link_conf->chandef, compat); in ieee80211_chanctx_non_reserved_chandef()
171 const struct cfg80211_chan_def *chandef, in ieee80211_find_reservation_chanctx() argument
189 chandef)) in ieee80211_find_reservation_chanctx()
292 width = max(link->conf->chandef.width, in ieee80211_get_chanctx_vif_max_required_bw()
301 width = link->conf->chandef.width; in ieee80211_get_chanctx_vif_max_required_bw()
477 const struct cfg80211_chan_def *chandef, in _ieee80211_change_chanctx() argument
483 switch (chandef->width) { in _ieee80211_change_chanctx()
502 if (cfg80211_chandef_identical(&ctx->conf.def, chandef)) { in _ieee80211_change_chanctx()
507 WARN_ON(!cfg80211_chandef_compatible(&ctx->conf.def, chandef)); in _ieee80211_change_chanctx()
509 ctx->conf.def = *chandef; in _ieee80211_change_chanctx()
517 local->_oper_chandef = *chandef; in _ieee80211_change_chanctx()
528 const struct cfg80211_chan_def *chandef) in ieee80211_change_chanctx() argument
530 _ieee80211_change_chanctx(local, ctx, old_ctx, chandef, NULL); in ieee80211_change_chanctx()
535 const struct cfg80211_chan_def *chandef, in ieee80211_find_chanctx() argument
554 compat = cfg80211_chandef_compatible(&ctx->conf.def, chandef); in ieee80211_find_chanctx()
639 const struct cfg80211_chan_def *chandef, in ieee80211_alloc_chanctx() argument
652 ctx->conf.def = *chandef; in ieee80211_alloc_chanctx()
695 const struct cfg80211_chan_def *chandef, in ieee80211_new_chanctx() argument
704 ctx = ieee80211_alloc_chanctx(local, chandef, mode); in ieee80211_new_chanctx()
724 struct cfg80211_chan_def *chandef = &local->_oper_chandef; in ieee80211_del_chanctx() local
728 if (chandef->chan->band == NL80211_BAND_S1GHZ) in ieee80211_del_chanctx()
729 chandef->width = in ieee80211_del_chanctx()
730 ieee80211_s1g_channel_width(chandef->chan); in ieee80211_del_chanctx()
732 chandef->width = NL80211_CHAN_WIDTH_20_NOHT; in ieee80211_del_chanctx()
733 chandef->center_freq1 = chandef->chan->center_freq; in ieee80211_del_chanctx()
734 chandef->freq1_offset = chandef->chan->freq_offset; in ieee80211_del_chanctx()
735 chandef->center_freq2 = 0; in ieee80211_del_chanctx()
796 compat = &link_conf->chandef; in ieee80211_recalc_chanctx_chantype()
798 compat = cfg80211_chandef_compatible(&link_conf->chandef, in ieee80211_recalc_chanctx_chantype()
1103 const struct cfg80211_chan_def *chandef, in ieee80211_link_reserve_chanctx() argument
1117 new_ctx = ieee80211_find_reservation_chanctx(local, chandef, mode); in ieee80211_link_reserve_chanctx()
1120 new_ctx = ieee80211_new_chanctx(local, chandef, mode); in ieee80211_link_reserve_chanctx()
1174 new_ctx = ieee80211_alloc_chanctx(local, chandef, mode); in ieee80211_link_reserve_chanctx()
1192 link->reserved_chandef = *chandef; in ieee80211_link_reserve_chanctx()
1232 const struct cfg80211_chan_def *chandef) in ieee80211_link_update_chandef() argument
1238 link->conf->chandef = *chandef; in ieee80211_link_update_chandef()
1251 vlan_conf->chandef = *chandef; in ieee80211_link_update_chandef()
1264 const struct cfg80211_chan_def *chandef; in ieee80211_link_use_reserved_reassign() local
1287 chandef = ieee80211_chanctx_non_reserved_chandef(local, new_ctx, in ieee80211_link_use_reserved_reassign()
1289 if (WARN_ON(!chandef)) in ieee80211_link_use_reserved_reassign()
1292 if (link_conf->chandef.width != link->reserved_chandef.width) in ieee80211_link_use_reserved_reassign()
1297 _ieee80211_change_chanctx(local, new_ctx, old_ctx, chandef, link); in ieee80211_link_use_reserved_reassign()
1345 const struct cfg80211_chan_def *chandef; in ieee80211_link_use_reserved_assign() local
1364 chandef = ieee80211_chanctx_non_reserved_chandef(local, new_ctx, in ieee80211_link_use_reserved_assign()
1366 if (WARN_ON(!chandef)) in ieee80211_link_use_reserved_assign()
1369 ieee80211_change_chanctx(local, new_ctx, new_ctx, chandef); in ieee80211_link_use_reserved_assign()
1416 const struct cfg80211_chan_def *chandef; in ieee80211_chsw_switch_hwconf() local
1421 chandef = ieee80211_chanctx_reserved_chandef(local, new_ctx, NULL); in ieee80211_chsw_switch_hwconf()
1422 if (WARN_ON(!chandef)) in ieee80211_chsw_switch_hwconf()
1426 local->_oper_chandef = *chandef; in ieee80211_chsw_switch_hwconf()
1677 if (link_conf->chandef.width != link->reserved_chandef.width) in ieee80211_vif_use_reserved_switch()
1815 const struct cfg80211_chan_def *chandef, in ieee80211_link_use_channel() argument
1828 ieee80211_link_update_chandef(link, chandef); in ieee80211_link_use_channel()
1835 chandef, in ieee80211_link_use_channel()
1840 radar_detect_width = BIT(chandef->width); in ieee80211_link_use_channel()
1844 ret = ieee80211_check_combinations(sdata, chandef, mode, in ieee80211_link_use_channel()
1851 ctx = ieee80211_find_chanctx(local, chandef, mode); in ieee80211_link_use_channel()
1853 ctx = ieee80211_new_chanctx(local, chandef, mode); in ieee80211_link_use_channel()
1859 ieee80211_link_update_chandef(link, chandef); in ieee80211_link_use_channel()
1942 const struct cfg80211_chan_def *chandef, in ieee80211_link_change_bandwidth() argument
1953 if (!cfg80211_chandef_usable(sdata->local->hw.wiphy, chandef, in ieee80211_link_change_bandwidth()
1958 if (cfg80211_chandef_identical(chandef, &link_conf->chandef)) { in ieee80211_link_change_bandwidth()
1963 if (chandef->width == NL80211_CHAN_WIDTH_20_NOHT || in ieee80211_link_change_bandwidth()
1964 link_conf->chandef.width == NL80211_CHAN_WIDTH_20_NOHT) { in ieee80211_link_change_bandwidth()
1978 compat = cfg80211_chandef_compatible(&conf->def, chandef); in ieee80211_link_change_bandwidth()
2004 ieee80211_link_update_chandef(link, chandef); in ieee80211_link_change_bandwidth()