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 = &link->reserved_chandef; in ieee80211_chanctx_reserved_chandef()
97 compat = cfg80211_chandef_compatible(&link->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
122 if (!compat) in ieee80211_chanctx_non_reserved_chandef()
123 compat = &link_conf->chandef; in ieee80211_chanctx_non_reserved_chandef()
125 compat = cfg80211_chandef_compatible( in ieee80211_chanctx_non_reserved_chandef()
126 &link_conf->chandef, compat); in ieee80211_chanctx_non_reserved_chandef()
127 if (!compat) in ieee80211_chanctx_non_reserved_chandef()
131 return compat; in ieee80211_chanctx_non_reserved_chandef()
137 const struct cfg80211_chan_def *compat) in ieee80211_chanctx_combined_chandef() argument
141 compat = ieee80211_chanctx_reserved_chandef(local, ctx, compat); in ieee80211_chanctx_combined_chandef()
142 if (!compat) in ieee80211_chanctx_combined_chandef()
145 compat = ieee80211_chanctx_non_reserved_chandef(local, ctx, compat); in ieee80211_chanctx_combined_chandef()
146 if (!compat) in ieee80211_chanctx_combined_chandef()
149 return compat; in ieee80211_chanctx_combined_chandef()
546 const struct cfg80211_chan_def *compat; in ieee80211_find_chanctx() local
554 compat = cfg80211_chandef_compatible(&ctx->conf.def, chandef); in ieee80211_find_chanctx()
555 if (!compat) in ieee80211_find_chanctx()
558 compat = ieee80211_chanctx_reserved_chandef(local, ctx, in ieee80211_find_chanctx()
559 compat); in ieee80211_find_chanctx()
560 if (!compat) in ieee80211_find_chanctx()
563 ieee80211_change_chanctx(local, ctx, ctx, compat); in ieee80211_find_chanctx()
770 const struct cfg80211_chan_def *compat = NULL; in ieee80211_recalc_chanctx_chantype() local
795 if (!compat) in ieee80211_recalc_chanctx_chantype()
796 compat = &link_conf->chandef; in ieee80211_recalc_chanctx_chantype()
798 compat = cfg80211_chandef_compatible(&link_conf->chandef, in ieee80211_recalc_chanctx_chantype()
799 compat); in ieee80211_recalc_chanctx_chantype()
800 if (WARN_ON_ONCE(!compat)) in ieee80211_recalc_chanctx_chantype()
805 if (WARN_ON_ONCE(!compat)) { in ieee80211_recalc_chanctx_chantype()
818 compat = cfg80211_chandef_compatible(&sta->tdls_chandef, in ieee80211_recalc_chanctx_chantype()
819 compat); in ieee80211_recalc_chanctx_chantype()
820 if (WARN_ON_ONCE(!compat)) in ieee80211_recalc_chanctx_chantype()
825 if (!compat) in ieee80211_recalc_chanctx_chantype()
828 ieee80211_change_chanctx(local, ctx, ctx, compat); in ieee80211_recalc_chanctx_chantype()
1950 const struct cfg80211_chan_def *compat; in ieee80211_link_change_bandwidth() local
1978 compat = cfg80211_chandef_compatible(&conf->def, chandef); in ieee80211_link_change_bandwidth()
1979 if (!compat) { in ieee80211_link_change_bandwidth()
1986 if (!ieee80211_chanctx_reserved_chandef(local, ctx, compat)) { in ieee80211_link_change_bandwidth()