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()
475 const struct cfg80211_chan_def *compat; in ieee80211_find_chanctx() local
483 compat = cfg80211_chandef_compatible(&ctx->conf.def, chandef); in ieee80211_find_chanctx()
484 if (!compat) in ieee80211_find_chanctx()
487 compat = ieee80211_chanctx_reserved_chandef(local, ctx, in ieee80211_find_chanctx()
488 compat); in ieee80211_find_chanctx()
489 if (!compat) in ieee80211_find_chanctx()
492 ieee80211_change_chanctx(local, ctx, ctx, compat); in ieee80211_find_chanctx()
679 const struct cfg80211_chan_def *compat = NULL; in ieee80211_recalc_chanctx_chantype() local
694 if (!compat) in ieee80211_recalc_chanctx_chantype()
695 compat = &sdata->vif.bss_conf.chandef; in ieee80211_recalc_chanctx_chantype()
697 compat = cfg80211_chandef_compatible( in ieee80211_recalc_chanctx_chantype()
698 &sdata->vif.bss_conf.chandef, compat); in ieee80211_recalc_chanctx_chantype()
699 if (WARN_ON_ONCE(!compat)) in ieee80211_recalc_chanctx_chantype()
711 compat = cfg80211_chandef_compatible(&sta->tdls_chandef, in ieee80211_recalc_chanctx_chantype()
712 compat); in ieee80211_recalc_chanctx_chantype()
713 if (WARN_ON_ONCE(!compat)) in ieee80211_recalc_chanctx_chantype()
718 if (!compat) in ieee80211_recalc_chanctx_chantype()
721 ieee80211_change_chanctx(local, ctx, ctx, compat); in ieee80211_recalc_chanctx_chantype()
1793 const struct cfg80211_chan_def *compat; in ieee80211_vif_change_bandwidth() local
1821 compat = cfg80211_chandef_compatible(&conf->def, chandef); in ieee80211_vif_change_bandwidth()
1822 if (!compat) { in ieee80211_vif_change_bandwidth()
1829 if (!ieee80211_chanctx_reserved_chandef(local, ctx, compat)) { in ieee80211_vif_change_bandwidth()