Lines Matching refs:compat

83 				   const struct cfg80211_chan_def *compat)  in ieee80211_chanctx_reserved_chandef()  argument
91 if (!compat) in ieee80211_chanctx_reserved_chandef()
92 compat = &sdata->reserved_chandef; in ieee80211_chanctx_reserved_chandef()
94 compat = cfg80211_chandef_compatible(&sdata->reserved_chandef, in ieee80211_chanctx_reserved_chandef()
95 compat); in ieee80211_chanctx_reserved_chandef()
96 if (!compat) in ieee80211_chanctx_reserved_chandef()
100 return compat; in ieee80211_chanctx_reserved_chandef()
106 const struct cfg80211_chan_def *compat) in ieee80211_chanctx_non_reserved_chandef() argument
117 if (!compat) in ieee80211_chanctx_non_reserved_chandef()
118 compat = &sdata->vif.bss_conf.chandef; in ieee80211_chanctx_non_reserved_chandef()
120 compat = cfg80211_chandef_compatible( in ieee80211_chanctx_non_reserved_chandef()
121 &sdata->vif.bss_conf.chandef, compat); in ieee80211_chanctx_non_reserved_chandef()
122 if (!compat) in ieee80211_chanctx_non_reserved_chandef()
126 return compat; in ieee80211_chanctx_non_reserved_chandef()
132 const struct cfg80211_chan_def *compat) in ieee80211_chanctx_combined_chandef() argument
136 compat = ieee80211_chanctx_reserved_chandef(local, ctx, compat); in ieee80211_chanctx_combined_chandef()
137 if (!compat) in ieee80211_chanctx_combined_chandef()
140 compat = ieee80211_chanctx_non_reserved_chandef(local, ctx, compat); in ieee80211_chanctx_combined_chandef()
141 if (!compat) in ieee80211_chanctx_combined_chandef()
144 return compat; in ieee80211_chanctx_combined_chandef()
374 const struct cfg80211_chan_def *compat; in ieee80211_find_chanctx() local
382 compat = cfg80211_chandef_compatible(&ctx->conf.def, chandef); in ieee80211_find_chanctx()
383 if (!compat) in ieee80211_find_chanctx()
386 compat = ieee80211_chanctx_reserved_chandef(local, ctx, in ieee80211_find_chanctx()
387 compat); in ieee80211_find_chanctx()
388 if (!compat) in ieee80211_find_chanctx()
391 ieee80211_change_chanctx(local, ctx, compat); in ieee80211_find_chanctx()
570 const struct cfg80211_chan_def *compat = NULL; in ieee80211_recalc_chanctx_chantype() local
585 if (!compat) in ieee80211_recalc_chanctx_chantype()
586 compat = &sdata->vif.bss_conf.chandef; in ieee80211_recalc_chanctx_chantype()
588 compat = cfg80211_chandef_compatible( in ieee80211_recalc_chanctx_chantype()
589 &sdata->vif.bss_conf.chandef, compat); in ieee80211_recalc_chanctx_chantype()
590 if (WARN_ON_ONCE(!compat)) in ieee80211_recalc_chanctx_chantype()
602 compat = cfg80211_chandef_compatible(&sta->tdls_chandef, in ieee80211_recalc_chanctx_chantype()
603 compat); in ieee80211_recalc_chanctx_chantype()
604 if (WARN_ON_ONCE(!compat)) in ieee80211_recalc_chanctx_chantype()
609 if (!compat) in ieee80211_recalc_chanctx_chantype()
612 ieee80211_change_chanctx(local, ctx, compat); in ieee80211_recalc_chanctx_chantype()
1682 const struct cfg80211_chan_def *compat; in ieee80211_vif_change_bandwidth() local
1710 compat = cfg80211_chandef_compatible(&conf->def, chandef); in ieee80211_vif_change_bandwidth()
1711 if (!compat) { in ieee80211_vif_change_bandwidth()
1718 if (!ieee80211_chanctx_reserved_chandef(local, ctx, compat)) { in ieee80211_vif_change_bandwidth()