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()
530 const struct cfg80211_chan_def *compat; in ieee80211_find_chanctx() local
538 compat = cfg80211_chandef_compatible(&ctx->conf.def, chandef); in ieee80211_find_chanctx()
539 if (!compat) in ieee80211_find_chanctx()
542 compat = ieee80211_chanctx_reserved_chandef(local, ctx, in ieee80211_find_chanctx()
543 compat); in ieee80211_find_chanctx()
544 if (!compat) in ieee80211_find_chanctx()
547 ieee80211_change_chanctx(local, ctx, ctx, compat); in ieee80211_find_chanctx()
754 const struct cfg80211_chan_def *compat = NULL; in ieee80211_recalc_chanctx_chantype() local
779 if (!compat) in ieee80211_recalc_chanctx_chantype()
780 compat = &link_conf->chandef; in ieee80211_recalc_chanctx_chantype()
782 compat = cfg80211_chandef_compatible(&link_conf->chandef, in ieee80211_recalc_chanctx_chantype()
783 compat); in ieee80211_recalc_chanctx_chantype()
784 if (WARN_ON_ONCE(!compat)) in ieee80211_recalc_chanctx_chantype()
797 compat = cfg80211_chandef_compatible(&sta->tdls_chandef, in ieee80211_recalc_chanctx_chantype()
798 compat); in ieee80211_recalc_chanctx_chantype()
799 if (WARN_ON_ONCE(!compat)) in ieee80211_recalc_chanctx_chantype()
804 if (!compat) in ieee80211_recalc_chanctx_chantype()
807 ieee80211_change_chanctx(local, ctx, ctx, compat); in ieee80211_recalc_chanctx_chantype()
1926 const struct cfg80211_chan_def *compat; in ieee80211_link_change_bandwidth() local
1954 compat = cfg80211_chandef_compatible(&conf->def, chandef); in ieee80211_link_change_bandwidth()
1955 if (!compat) { in ieee80211_link_change_bandwidth()
1962 if (!ieee80211_chanctx_reserved_chandef(local, ctx, compat)) { in ieee80211_link_change_bandwidth()