Lines Matching refs:compat
83 const struct cfg80211_chan_def *compat) in ieee80211_chanctx_reserved_chandef() argument
91 if (!compat) in ieee80211_chanctx_reserved_chandef()
92 compat = &sdata->reserved_chandef; in ieee80211_chanctx_reserved_chandef()
94 compat = cfg80211_chandef_compatible(&sdata->reserved_chandef, in ieee80211_chanctx_reserved_chandef()
95 compat); in ieee80211_chanctx_reserved_chandef()
96 if (!compat) in ieee80211_chanctx_reserved_chandef()
100 return compat; in ieee80211_chanctx_reserved_chandef()
106 const struct cfg80211_chan_def *compat) in ieee80211_chanctx_non_reserved_chandef() argument
117 if (!compat) in ieee80211_chanctx_non_reserved_chandef()
118 compat = &sdata->vif.bss_conf.chandef; in ieee80211_chanctx_non_reserved_chandef()
120 compat = cfg80211_chandef_compatible( in ieee80211_chanctx_non_reserved_chandef()
121 &sdata->vif.bss_conf.chandef, compat); in ieee80211_chanctx_non_reserved_chandef()
122 if (!compat) in ieee80211_chanctx_non_reserved_chandef()
126 return compat; in ieee80211_chanctx_non_reserved_chandef()
132 const struct cfg80211_chan_def *compat) in ieee80211_chanctx_combined_chandef() argument
136 compat = ieee80211_chanctx_reserved_chandef(local, ctx, compat); in ieee80211_chanctx_combined_chandef()
137 if (!compat) in ieee80211_chanctx_combined_chandef()
140 compat = ieee80211_chanctx_non_reserved_chandef(local, ctx, compat); in ieee80211_chanctx_combined_chandef()
141 if (!compat) in ieee80211_chanctx_combined_chandef()
144 return compat; in ieee80211_chanctx_combined_chandef()
366 const struct cfg80211_chan_def *compat; in ieee80211_find_chanctx() local
374 compat = cfg80211_chandef_compatible(&ctx->conf.def, chandef); in ieee80211_find_chanctx()
375 if (!compat) in ieee80211_find_chanctx()
378 compat = ieee80211_chanctx_reserved_chandef(local, ctx, in ieee80211_find_chanctx()
379 compat); in ieee80211_find_chanctx()
380 if (!compat) in ieee80211_find_chanctx()
383 ieee80211_change_chanctx(local, ctx, compat); in ieee80211_find_chanctx()
562 const struct cfg80211_chan_def *compat = NULL; in ieee80211_recalc_chanctx_chantype() local
576 if (!compat) in ieee80211_recalc_chanctx_chantype()
577 compat = &sdata->vif.bss_conf.chandef; in ieee80211_recalc_chanctx_chantype()
579 compat = cfg80211_chandef_compatible( in ieee80211_recalc_chanctx_chantype()
580 &sdata->vif.bss_conf.chandef, compat); in ieee80211_recalc_chanctx_chantype()
581 if (WARN_ON_ONCE(!compat)) in ieee80211_recalc_chanctx_chantype()
586 if (!compat) in ieee80211_recalc_chanctx_chantype()
589 ieee80211_change_chanctx(local, ctx, compat); in ieee80211_recalc_chanctx_chantype()
1649 const struct cfg80211_chan_def *compat; in ieee80211_vif_change_bandwidth() local
1677 compat = cfg80211_chandef_compatible(&conf->def, chandef); in ieee80211_vif_change_bandwidth()
1678 if (!compat) { in ieee80211_vif_change_bandwidth()
1685 if (!ieee80211_chanctx_reserved_chandef(local, ctx, compat)) { in ieee80211_vif_change_bandwidth()