Lines Matching refs:compat
104 const struct cfg80211_chan_def *compat; in ieee80211_chanreq_compatible() local
110 compat = cfg80211_chandef_compatible(&a->oper, &b->oper); in ieee80211_chanreq_compatible()
111 if (!compat) in ieee80211_chanreq_compatible()
115 tmp->oper = *compat; in ieee80211_chanreq_compatible()
165 const struct ieee80211_chan_req *compat, in ieee80211_chanctx_non_reserved_chandef() argument
169 const struct ieee80211_chan_req *comp_def = compat; in ieee80211_chanctx_non_reserved_chandef()
612 const struct ieee80211_chan_req *compat; in ieee80211_find_chanctx() local
620 compat = ieee80211_chanctx_compatible(ctx, chanreq, &tmp); in ieee80211_find_chanctx()
621 if (!compat) in ieee80211_find_chanctx()
624 compat = ieee80211_chanctx_reserved_chanreq(local, ctx, in ieee80211_find_chanctx()
625 compat, &tmp); in ieee80211_find_chanctx()
626 if (!compat) in ieee80211_find_chanctx()
639 ieee80211_change_chanctx(local, ctx, ctx, compat); in ieee80211_find_chanctx()
817 const struct ieee80211_chan_req *compat = NULL; in ieee80211_recalc_chanctx_chantype() local
835 if (!compat) in ieee80211_recalc_chanctx_chantype()
836 compat = &link_conf->chanreq; in ieee80211_recalc_chanctx_chantype()
838 compat = ieee80211_chanreq_compatible(&link_conf->chanreq, in ieee80211_recalc_chanctx_chantype()
839 compat, &tmp); in ieee80211_recalc_chanctx_chantype()
840 if (WARN_ON_ONCE(!compat)) in ieee80211_recalc_chanctx_chantype()
844 if (WARN_ON_ONCE(!compat)) in ieee80211_recalc_chanctx_chantype()
870 compat = ieee80211_chanreq_compatible(&tdls_chanreq, in ieee80211_recalc_chanctx_chantype()
871 compat, &tmp); in ieee80211_recalc_chanctx_chantype()
872 if (WARN_ON_ONCE(!compat)) in ieee80211_recalc_chanctx_chantype()
876 ieee80211_change_chanctx(local, ctx, ctx, compat); in ieee80211_recalc_chanctx_chantype()
2098 const struct ieee80211_chan_req *compat; in ieee80211_link_change_chanreq() local
2125 compat = ieee80211_chanctx_recheck(local, link, ctx, chanreq, &tmp); in ieee80211_link_change_chanreq()
2126 if (!compat) in ieee80211_link_change_chanreq()
2131 if (!ieee80211_chanctx_reserved_chanreq(local, ctx, compat, in ieee80211_link_change_chanreq()