Lines Matching refs:compat

84 				   const struct cfg80211_chan_def *compat)  in ieee80211_chanctx_reserved_chandef()  argument
92 if (!compat) in ieee80211_chanctx_reserved_chandef()
93 compat = &sdata->reserved_chandef; in ieee80211_chanctx_reserved_chandef()
95 compat = cfg80211_chandef_compatible(&sdata->reserved_chandef, in ieee80211_chanctx_reserved_chandef()
96 compat); in ieee80211_chanctx_reserved_chandef()
97 if (!compat) in ieee80211_chanctx_reserved_chandef()
101 return compat; in ieee80211_chanctx_reserved_chandef()
107 const struct cfg80211_chan_def *compat) in ieee80211_chanctx_non_reserved_chandef() argument
118 if (!compat) in ieee80211_chanctx_non_reserved_chandef()
119 compat = &sdata->vif.bss_conf.chandef; in ieee80211_chanctx_non_reserved_chandef()
121 compat = cfg80211_chandef_compatible( in ieee80211_chanctx_non_reserved_chandef()
122 &sdata->vif.bss_conf.chandef, compat); in ieee80211_chanctx_non_reserved_chandef()
123 if (!compat) in ieee80211_chanctx_non_reserved_chandef()
127 return compat; in ieee80211_chanctx_non_reserved_chandef()
133 const struct cfg80211_chan_def *compat) in ieee80211_chanctx_combined_chandef() argument
137 compat = ieee80211_chanctx_reserved_chandef(local, ctx, compat); in ieee80211_chanctx_combined_chandef()
138 if (!compat) in ieee80211_chanctx_combined_chandef()
141 compat = ieee80211_chanctx_non_reserved_chandef(local, ctx, compat); in ieee80211_chanctx_combined_chandef()
142 if (!compat) in ieee80211_chanctx_combined_chandef()
145 return compat; in ieee80211_chanctx_combined_chandef()
375 const struct cfg80211_chan_def *compat; in ieee80211_find_chanctx() local
383 compat = cfg80211_chandef_compatible(&ctx->conf.def, chandef); in ieee80211_find_chanctx()
384 if (!compat) in ieee80211_find_chanctx()
387 compat = ieee80211_chanctx_reserved_chandef(local, ctx, in ieee80211_find_chanctx()
388 compat); in ieee80211_find_chanctx()
389 if (!compat) in ieee80211_find_chanctx()
392 ieee80211_change_chanctx(local, ctx, compat); in ieee80211_find_chanctx()
571 const struct cfg80211_chan_def *compat = NULL; in ieee80211_recalc_chanctx_chantype() local
586 if (!compat) in ieee80211_recalc_chanctx_chantype()
587 compat = &sdata->vif.bss_conf.chandef; in ieee80211_recalc_chanctx_chantype()
589 compat = cfg80211_chandef_compatible( in ieee80211_recalc_chanctx_chantype()
590 &sdata->vif.bss_conf.chandef, compat); in ieee80211_recalc_chanctx_chantype()
591 if (WARN_ON_ONCE(!compat)) in ieee80211_recalc_chanctx_chantype()
603 compat = cfg80211_chandef_compatible(&sta->tdls_chandef, in ieee80211_recalc_chanctx_chantype()
604 compat); in ieee80211_recalc_chanctx_chantype()
605 if (WARN_ON_ONCE(!compat)) in ieee80211_recalc_chanctx_chantype()
610 if (!compat) in ieee80211_recalc_chanctx_chantype()
613 ieee80211_change_chanctx(local, ctx, compat); in ieee80211_recalc_chanctx_chantype()
1686 const struct cfg80211_chan_def *compat; in ieee80211_vif_change_bandwidth() local
1714 compat = cfg80211_chandef_compatible(&conf->def, chandef); in ieee80211_vif_change_bandwidth()
1715 if (!compat) { in ieee80211_vif_change_bandwidth()
1722 if (!ieee80211_chanctx_reserved_chandef(local, ctx, compat)) { in ieee80211_vif_change_bandwidth()