Lines Matching defs:freq

638 	u32 freq = 0;
643 freq = ar->scan.roc_freq;
645 return freq;
870 chan->mhz = arg->channel.freq;
874 if (arg->channel.freq > arg->channel.band_center_freq1)
1001 ath11k_dbg(ar->ab, ATH11K_DBG_WMI, "cmd vdev %s id 0x%x freq 0x%x mode 0x%x\n",
1003 arg->channel.freq, arg->channel.mode);
5985 static void ath11k_wmi_event_scan_foreign_chan(struct ath11k *ar, u32 freq)
5998 ar->scan_channel = ieee80211_get_channel(ar->hw->wiphy, freq);
5999 if (ar->scan.is_roc && ar->scan.roc_freq == freq)
6136 static int freq_to_idx(struct ath11k *ar, int freq)
6147 if (sband->channels[ch].center_freq == freq)
6177 ch_info_ev->freq = ev->freq;
6216 bss_ch_info_ev->freq = ev->freq;
7580 status->freq = rx_ev.chan_freq;
7602 status->freq = ieee80211_channel_to_frequency(rx_ev.channel,
7642 "event mgmt rx freq %d band %d snr %d, rate_idx %d\n",
7643 status->freq, status->band, status->signal,
7744 "event scan %s type %d reason %d freq %d req_id %d scan_id %d vdev_id %d state %s (%d)\n",
7894 "event chan info vdev_id %d err_code %d freq %d cmd_flags %d noise_floor %d rx_clear_count %d cycle_count %d mac_clk_mhz %d\n",
7895 ch_info_ev.vdev_id, ch_info_ev.err_code, ch_info_ev.freq,
7925 idx = freq_to_idx(ar, ch_info_ev.freq);
7928 ch_info_ev.freq, idx);
7983 "event pdev bss chan info:\n pdev_id: %d freq: %d noise: %d cycle: busy %llu total %llu tx %llu rx %llu rx_bss %llu\n",
7984 bss_ch_info_ev.pdev_id, bss_ch_info_ev.freq,
7999 idx = freq_to_idx(ar, bss_ch_info_ev.freq);
8002 bss_ch_info_ev.freq, idx);
8335 "event pdev dfs radar detected on pdev %d, detection mode %d, chan freq %d, chan_width %d, detector id %d, seg id %d, timestamp %d, chirp %d, freq offset %d, sidx %d",
8903 * freq offset (b3 - b10) to unit test. For simulation