Lines Matching defs:channel

148 			     struct ieee80211_channel *channel,
162 chandef->chan = channel;
164 chandef->center_freq1 = channel->center_freq;
165 chandef->freq1_offset = channel->freq_offset;
167 if (channel->band == NL80211_BAND_6GHZ) {
180 chandef->width = ieee80211_s1g_channel_width(channel);
203 channel->band);
204 /* check that channel matches the right operating channel */
205 if (!tracking && channel->center_freq != ht_cfreq) {
209 * the actual channel in association responses, but
214 "Wrong control channel: center-freq: %d ht-cfreq: %d ht->primary_chan: %d band: %d - Disabling HT\n",
215 channel->center_freq, ht_cfreq,
216 ht_oper->primary_chan, channel->band);
306 * - the code below detects an unsupported channel, downgrades, and
329 * information we have is wrong/outdated and disables the channel
397 * this may be applicable even if channel is identical
408 /* calculate new channel (type) based on HT/VHT/HE operation IEs */
414 * Downgrade the new channel if we associated with restricted
417 * reasons) then switching to a 40 MHz channel now won't do us
504 struct ieee80211_channel *channel,
508 u32 flags = channel->flags;
880 * support for extended channel switching, but we've always done that;
894 *pos++ = 1; /* one channel in the subband*/
1196 * bandwidth of the new channel definition (as channel
1235 "failed to use reserved channel context, disconnecting (err=%d)\n",
1255 "failed to finalize channel switch, disconnecting\n");
1299 "driver post channel switch failed, disconnecting\n");
1316 "driver channel switch failed, disconnecting\n");
1384 current_band = cbss->channel->band;
1420 "AP %pM switches to unsupported channel "
1440 "AP %pM tries to chanswitch to same channel, ignore\n",
1448 * channel from this point on. There's no telling what our peer will do.
1460 "no channel context assigned to vif?, disconnecting\n");
1469 "driver doesn't support chan-switch with channel contexts\n");
1475 "preparing for channel switch failed, disconnecting\n");
1483 "failed to reserve channel context for channel switch, disconnecting (err=%d)\n",
1503 /* use driver's channel switch callback */
1508 /* channel switch handled in software */
1519 * we were trying to switch channel and failed. In case the
1534 struct ieee80211_channel *channel,
1540 int chan = ieee80211_frequency_to_channel(channel->center_freq);
1551 switch (channel->band) {
1565 /* find channel */
1596 struct ieee80211_channel *channel,
1610 struct ieee80211_channel *channel,
1629 sdata, channel, country_ie, country_ie_len,
1637 sdata, channel, cisco_dtpc_ie, &pwr_level_cisco);
2361 * In multi channel scenarios guarantee that the virtual
2553 struct ieee80211_channel *channel)
2557 skb = ieee80211_build_probe_req(sdata, src, dst, (u32)-1, channel,
2615 ifmgd->associated->channel);
2716 (u32) -1, cbss->channel,
3286 bool is_6ghz = cbss->channel->band == NL80211_BAND_6GHZ;
3287 bool is_s1g = cbss->channel->band == NL80211_BAND_S1GHZ;
3697 if (cbss->channel->band == NL80211_BAND_S1GHZ) {
3772 struct ieee80211_channel *channel;
3776 channel = ieee80211_get_channel_khz(local->hw.wiphy,
3778 if (!channel)
3781 bss = ieee80211_bss_info_update(local, rx_status, mgmt, len, channel);
3795 struct ieee80211_channel *channel;
3809 channel = ieee80211_get_channel(sdata->local->hw.wiphy,
3811 if (!channel)
3815 (channel->band != NL80211_BAND_6GHZ ||
4763 * has a channel context assigned ... this results in issues.
4977 bool is_6ghz = cbss->channel->band == NL80211_BAND_6GHZ;
4978 bool is_5ghz = cbss->channel->band == NL80211_BAND_5GHZ;
4984 sband = local->hw.wiphy->bands[cbss->channel->band];
5064 /* Allow VHT if at least one channel on the sband supports 80 MHz */
5091 cbss->channel,
5112 * If this fails (possibly due to channel context sharing
5114 * same control channel) try to use a smaller bandwidth.
5180 sband = local->hw.wiphy->bands[cbss->channel->band];
5202 * Set up the information for the new channel before setting the
5203 * new channel. We can't - completely race-free - change the basic
5204 * rates bitmap and the channel (sband) that it refers to, but if
5207 * call that from changing the channel - only for IDLE and perhaps
5211 * channel, but tell the driver to apply it only afterwards, since
5212 * it might need the new channel for that.
5222 if (cbss->channel->band == NL80211_BAND_S1GHZ) {
5257 new_sta->sta.supp_rates[cbss->channel->band] = rates;
5265 if (cbss->channel->band == NL80211_BAND_2GHZ &&
5314 * this was set up above, before setting the channel
5495 bool is_6ghz = req->bss->channel->band == NL80211_BAND_6GHZ;
5496 bool is_5ghz = req->bss->channel->band == NL80211_BAND_5GHZ;
5581 sband = local->hw.wiphy->bands[req->bss->channel->band];