Lines Matching defs:channel
1033 struct ieee80211_channel *channel = NULL;
1045 channel = chandef->chan;
1048 arg.channel.freq = channel->center_freq;
1049 arg.channel.band_center_freq1 = chandef->center_freq1;
1050 arg.channel.band_center_freq2 = chandef->center_freq2;
1055 arg.channel.mode = chan_to_phymode(chandef);
1056 arg.channel.chan_radar =
1057 !!(channel->flags & IEEE80211_CHAN_RADAR);
1059 arg.channel.min_power = 0;
1060 arg.channel.max_power = channel->max_power * 2;
1061 arg.channel.max_reg_power = channel->max_reg_power * 2;
1062 arg.channel.max_antenna_gain = channel->max_antenna_gain;
1236 /* At least one chanctx is required to derive a channel to start
1264 * case anyway since multi-channel DFS hasn't been tested at all.
1440 * Not possible to start CAC on current channel so starting
1441 * radiation is not allowed, make this channel DFS_UNAVAILABLE
1500 arg.channel.freq = chandef->chan->center_freq;
1501 arg.channel.band_center_freq1 = chandef->center_freq1;
1502 arg.channel.band_center_freq2 = chandef->center_freq2;
1503 arg.channel.mode = chan_to_phymode(chandef);
1505 arg.channel.min_power = 0;
1506 arg.channel.max_power = chandef->chan->max_power * 2;
1507 arg.channel.max_reg_power = chandef->chan->max_reg_power * 2;
1508 arg.channel.max_antenna_gain = chandef->chan->max_antenna_gain;
1516 arg.channel.chan_radar =
1525 arg.vdev_id, arg.channel.freq,
1526 ath10k_wmi_phymode_str(arg.channel.mode));
3370 struct ieee80211_channel *channel;
3405 channel = &bands[band]->channels[i];
3407 if (channel->flags & IEEE80211_CHAN_DISABLED)
3416 !(channel->flags & IEEE80211_CHAN_NO_IR);
3419 !(channel->flags & IEEE80211_CHAN_NO_HT40PLUS);
3422 !!(channel->flags & IEEE80211_CHAN_RADAR);
3424 passive = channel->flags & IEEE80211_CHAN_NO_IR;
3428 * channel and is scanning actively using Probe Requests
3434 ch->freq = channel->center_freq;
3435 ch->band_center_freq1 = channel->center_freq;
3437 ch->max_power = channel->max_power * 2;
3438 ch->max_reg_power = channel->max_reg_power * 2;
3439 ch->max_antenna_gain = channel->max_antenna_gain;
3446 if (channel->band == NL80211_BAND_2GHZ)
3455 "mac channel [%zd/%d] freq %d maxpower %d regpower %d antenna %d mode %d\n",
3497 ath10k_warn(ar, "failed to update channel list: %d\n", ret);
7858 * The channel time duration programmed in the HW is in absolute
7961 ath10k_warn(ar, "failed to switch to channel for roc scan\n");
8140 struct ieee80211_channel *channel)
8148 (ar->rx_channel != channel))
8166 ath10k_warn(ar, "bss channel survey timed out\n");
8201 survey->channel = &sband->channels[idx];
8203 if (ar->rx_channel == survey->channel)
8674 * only for multi-channel cases. Single-channel cases will remain to
8675 * use the old channel derival and thus performance should not be
8691 * already has valid channel context for given radio, channel
8744 /* All relevant vdevs are downed and associated channel resources
8745 * should be available for the channel switch now.
8889 /* This shouldn't really happen because channel switching should use
8923 /* No other actions are actually necessary. Firmware maintains channel
8924 * definitions per vdev internally and there's no host-side channel
8925 * context abstraction to configure, e.g. channel width.