Lines Matching full:compat
87 const struct cfg80211_chan_def *compat) in ieee80211_chanctx_reserved_chandef() argument
95 if (!compat) in ieee80211_chanctx_reserved_chandef()
96 compat = &link->reserved_chandef; in ieee80211_chanctx_reserved_chandef()
98 compat = cfg80211_chandef_compatible(&link->reserved_chandef, in ieee80211_chanctx_reserved_chandef()
99 compat); in ieee80211_chanctx_reserved_chandef()
100 if (!compat) in ieee80211_chanctx_reserved_chandef()
104 return compat; in ieee80211_chanctx_reserved_chandef()
110 const struct cfg80211_chan_def *compat) in ieee80211_chanctx_non_reserved_chandef() argument
123 if (!compat) in ieee80211_chanctx_non_reserved_chandef()
124 compat = &link_conf->chandef; in ieee80211_chanctx_non_reserved_chandef()
126 compat = cfg80211_chandef_compatible( in ieee80211_chanctx_non_reserved_chandef()
127 &link_conf->chandef, compat); in ieee80211_chanctx_non_reserved_chandef()
128 if (!compat) in ieee80211_chanctx_non_reserved_chandef()
132 return compat; in ieee80211_chanctx_non_reserved_chandef()
138 const struct cfg80211_chan_def *compat) in ieee80211_chanctx_combined_chandef() argument
142 compat = ieee80211_chanctx_reserved_chandef(local, ctx, compat); in ieee80211_chanctx_combined_chandef()
143 if (!compat) in ieee80211_chanctx_combined_chandef()
146 compat = ieee80211_chanctx_non_reserved_chandef(local, ctx, compat); in ieee80211_chanctx_combined_chandef()
147 if (!compat) in ieee80211_chanctx_combined_chandef()
150 return compat; in ieee80211_chanctx_combined_chandef()
552 const struct cfg80211_chan_def *compat; in ieee80211_find_chanctx() local
560 compat = cfg80211_chandef_compatible(&ctx->conf.def, chandef); in ieee80211_find_chanctx()
561 if (!compat) in ieee80211_find_chanctx()
564 compat = ieee80211_chanctx_reserved_chandef(local, ctx, in ieee80211_find_chanctx()
565 compat); in ieee80211_find_chanctx()
566 if (!compat) in ieee80211_find_chanctx()
569 ieee80211_change_chanctx(local, ctx, ctx, compat); in ieee80211_find_chanctx()
777 const struct cfg80211_chan_def *compat = NULL; in ieee80211_recalc_chanctx_chantype() local
802 if (!compat) in ieee80211_recalc_chanctx_chantype()
803 compat = &link_conf->chandef; in ieee80211_recalc_chanctx_chantype()
805 compat = cfg80211_chandef_compatible(&link_conf->chandef, in ieee80211_recalc_chanctx_chantype()
806 compat); in ieee80211_recalc_chanctx_chantype()
807 if (WARN_ON_ONCE(!compat)) in ieee80211_recalc_chanctx_chantype()
812 if (WARN_ON_ONCE(!compat)) { in ieee80211_recalc_chanctx_chantype()
825 compat = cfg80211_chandef_compatible(&sta->tdls_chandef, in ieee80211_recalc_chanctx_chantype()
826 compat); in ieee80211_recalc_chanctx_chantype()
827 if (WARN_ON_ONCE(!compat)) in ieee80211_recalc_chanctx_chantype()
832 if (!compat) in ieee80211_recalc_chanctx_chantype()
835 ieee80211_change_chanctx(local, ctx, ctx, compat); in ieee80211_recalc_chanctx_chantype()
1944 const struct cfg80211_chan_def *compat; in ieee80211_link_change_bandwidth() local
1966 compat = cfg80211_chandef_compatible(&conf->def, chandef); in ieee80211_link_change_bandwidth()
1967 if (!compat) in ieee80211_link_change_bandwidth()
1972 if (!ieee80211_chanctx_reserved_chandef(local, ctx, compat)) in ieee80211_link_change_bandwidth()