Lines Matching defs:c
1373 * If adding more here, adjust code in main.c
3620 void ieee80211_chandef_downgrade(struct cfg80211_chan_def *c,
3634 switch (c->width) {
3640 c->width = NL80211_CHAN_WIDTH_20_NOHT;
3643 c->punctured = 0;
3646 c->width = NL80211_CHAN_WIDTH_20;
3647 c->center_freq1 = c->chan->center_freq;
3651 c->punctured = 0;
3660 c->center_freq2 = 0;
3661 c->width = NL80211_CHAN_WIDTH_80;
3678 /* keep c->width */
3685 /* keep c->width */
3692 c->center_freq1 = cfg80211_chandef_primary(c, new_primary_width,
3693 &c->punctured);
3694 c->width = new_primary_width;
3702 if (!cfg80211_chandef_valid(c) && c->punctured)
3705 WARN_ON_ONCE(!cfg80211_chandef_valid(c));
4208 ieee80211_iter_max_chans(const struct ieee80211_iface_combination *c,
4214 c->num_different_channels);