Lines Matching refs:compat
86 const struct cfg80211_chan_def *compat)
94 if (!compat)
95 compat = &link->reserved_chandef;
97 compat = cfg80211_chandef_compatible(&link->reserved_chandef,
98 compat);
99 if (!compat)
103 return compat;
109 const struct cfg80211_chan_def *compat)
122 if (!compat)
123 compat = &link_conf->chandef;
125 compat = cfg80211_chandef_compatible(
126 &link_conf->chandef, compat);
127 if (!compat)
131 return compat;
137 const struct cfg80211_chan_def *compat)
141 compat = ieee80211_chanctx_reserved_chandef(local, ctx, compat);
142 if (!compat)
145 compat = ieee80211_chanctx_non_reserved_chandef(local, ctx, compat);
146 if (!compat)
149 return compat;
546 const struct cfg80211_chan_def *compat;
554 compat = cfg80211_chandef_compatible(&ctx->conf.def, chandef);
555 if (!compat)
558 compat = ieee80211_chanctx_reserved_chandef(local, ctx,
559 compat);
560 if (!compat)
563 ieee80211_change_chanctx(local, ctx, ctx, compat);
770 const struct cfg80211_chan_def *compat = NULL;
795 if (!compat)
796 compat = &link_conf->chandef;
798 compat = cfg80211_chandef_compatible(&link_conf->chandef,
799 compat);
800 if (WARN_ON_ONCE(!compat))
805 if (WARN_ON_ONCE(!compat)) {
818 compat = cfg80211_chandef_compatible(&sta->tdls_chandef,
819 compat);
820 if (WARN_ON_ONCE(!compat))
825 if (!compat)
828 ieee80211_change_chanctx(local, ctx, ctx, compat);
1950 const struct cfg80211_chan_def *compat;
1978 compat = cfg80211_chandef_compatible(&conf->def, chandef);
1979 if (!compat) {
1986 if (!ieee80211_chanctx_reserved_chandef(local, ctx, compat)) {