Lines Matching refs:compat
86 const struct cfg80211_chan_def *compat) in ieee80211_chanctx_reserved_chandef() argument
94 if (!compat) in ieee80211_chanctx_reserved_chandef()
95 compat = &sdata->reserved_chandef; in ieee80211_chanctx_reserved_chandef()
97 compat = cfg80211_chandef_compatible(&sdata->reserved_chandef, in ieee80211_chanctx_reserved_chandef()
98 compat); in ieee80211_chanctx_reserved_chandef()
99 if (!compat) in ieee80211_chanctx_reserved_chandef()
103 return compat; in ieee80211_chanctx_reserved_chandef()
109 const struct cfg80211_chan_def *compat) in ieee80211_chanctx_non_reserved_chandef() argument
120 if (!compat) in ieee80211_chanctx_non_reserved_chandef()
121 compat = &sdata->vif.bss_conf.chandef; in ieee80211_chanctx_non_reserved_chandef()
123 compat = cfg80211_chandef_compatible( in ieee80211_chanctx_non_reserved_chandef()
124 &sdata->vif.bss_conf.chandef, compat); in ieee80211_chanctx_non_reserved_chandef()
125 if (!compat) in ieee80211_chanctx_non_reserved_chandef()
129 return compat; in ieee80211_chanctx_non_reserved_chandef()
135 const struct cfg80211_chan_def *compat) in ieee80211_chanctx_combined_chandef() argument
139 compat = ieee80211_chanctx_reserved_chandef(local, ctx, compat); in ieee80211_chanctx_combined_chandef()
140 if (!compat) in ieee80211_chanctx_combined_chandef()
143 compat = ieee80211_chanctx_non_reserved_chandef(local, ctx, compat); in ieee80211_chanctx_combined_chandef()
144 if (!compat) in ieee80211_chanctx_combined_chandef()
147 return compat; in ieee80211_chanctx_combined_chandef()
478 const struct cfg80211_chan_def *compat; in ieee80211_find_chanctx() local
486 compat = cfg80211_chandef_compatible(&ctx->conf.def, chandef); in ieee80211_find_chanctx()
487 if (!compat) in ieee80211_find_chanctx()
490 compat = ieee80211_chanctx_reserved_chandef(local, ctx, in ieee80211_find_chanctx()
491 compat); in ieee80211_find_chanctx()
492 if (!compat) in ieee80211_find_chanctx()
495 ieee80211_change_chanctx(local, ctx, ctx, compat); in ieee80211_find_chanctx()
682 const struct cfg80211_chan_def *compat = NULL; in ieee80211_recalc_chanctx_chantype() local
697 if (!compat) in ieee80211_recalc_chanctx_chantype()
698 compat = &sdata->vif.bss_conf.chandef; in ieee80211_recalc_chanctx_chantype()
700 compat = cfg80211_chandef_compatible( in ieee80211_recalc_chanctx_chantype()
701 &sdata->vif.bss_conf.chandef, compat); in ieee80211_recalc_chanctx_chantype()
702 if (WARN_ON_ONCE(!compat)) in ieee80211_recalc_chanctx_chantype()
714 compat = cfg80211_chandef_compatible(&sta->tdls_chandef, in ieee80211_recalc_chanctx_chantype()
715 compat); in ieee80211_recalc_chanctx_chantype()
716 if (WARN_ON_ONCE(!compat)) in ieee80211_recalc_chanctx_chantype()
721 if (!compat) in ieee80211_recalc_chanctx_chantype()
724 ieee80211_change_chanctx(local, ctx, ctx, compat); in ieee80211_recalc_chanctx_chantype()
1794 const struct cfg80211_chan_def *compat; in ieee80211_vif_change_bandwidth() local
1822 compat = cfg80211_chandef_compatible(&conf->def, chandef); in ieee80211_vif_change_bandwidth()
1823 if (!compat) { in ieee80211_vif_change_bandwidth()
1830 if (!ieee80211_chanctx_reserved_chandef(local, ctx, compat)) { in ieee80211_vif_change_bandwidth()