Lines Matching refs:phyerr
4053 struct wmi_phyerr_ev_arg *phyerr, in ath10k_dfs_radar_report() argument
4104 tsf32l = phyerr->tsf_timestamp; in ath10k_dfs_radar_report()
4109 rssi = phyerr->rssi_combined; in ath10k_dfs_radar_report()
4176 struct wmi_phyerr_ev_arg *phyerr, in ath10k_dfs_fft_report() argument
4185 rssi = phyerr->rssi_combined; in ath10k_dfs_fft_report()
4214 struct wmi_phyerr_ev_arg *phyerr, in ath10k_wmi_event_dfs() argument
4223 buf_len = phyerr->buf_len; in ath10k_wmi_event_dfs()
4227 phyerr->phy_err_code, phyerr->rssi_combined, in ath10k_wmi_event_dfs()
4228 phyerr->tsf_timestamp, tsf, buf_len); in ath10k_wmi_event_dfs()
4231 phyerr->phy_err_code, phyerr->rssi_combined, in ath10k_wmi_event_dfs()
4232 phyerr->tsf_timestamp, (uintmax_t)tsf, buf_len); in ath10k_wmi_event_dfs()
4249 tlv = (struct phyerr_tlv *)&phyerr->buf[i]; in ath10k_wmi_event_dfs()
4251 tlv = (const struct phyerr_tlv *)&phyerr->buf[i]; in ath10k_wmi_event_dfs()
4254 tlv_buf = &phyerr->buf[i + sizeof(*tlv)]; in ath10k_wmi_event_dfs()
4272 ath10k_dfs_radar_report(ar, phyerr, rr, tsf); in ath10k_wmi_event_dfs()
4286 res = ath10k_dfs_fft_report(ar, phyerr, fftr, tsf); in ath10k_wmi_event_dfs()
4297 struct wmi_phyerr_ev_arg *phyerr, in ath10k_wmi_event_spectral_scan() argument
4310 buf_len = phyerr->buf_len; in ath10k_wmi_event_spectral_scan()
4320 tlv = (struct phyerr_tlv *)&phyerr->buf[i]; in ath10k_wmi_event_spectral_scan()
4322 tlv = (const struct phyerr_tlv *)&phyerr->buf[i]; in ath10k_wmi_event_spectral_scan()
4325 tlv_buf = &phyerr->buf[i + sizeof(*tlv)]; in ath10k_wmi_event_spectral_scan()
4343 res = ath10k_spectral_process_fft(ar, phyerr, in ath10k_wmi_event_spectral_scan()
4401 const struct wmi_phyerr *phyerr = phyerr_buf; in ath10k_wmi_op_pull_phyerr_ev() local
4404 if (left_len < sizeof(*phyerr)) { in ath10k_wmi_op_pull_phyerr_ev()
4406 left_len, sizeof(*phyerr)); in ath10k_wmi_op_pull_phyerr_ev()
4410 arg->tsf_timestamp = __le32_to_cpu(phyerr->tsf_timestamp); in ath10k_wmi_op_pull_phyerr_ev()
4411 arg->freq1 = __le16_to_cpu(phyerr->freq1); in ath10k_wmi_op_pull_phyerr_ev()
4412 arg->freq2 = __le16_to_cpu(phyerr->freq2); in ath10k_wmi_op_pull_phyerr_ev()
4413 arg->rssi_combined = phyerr->rssi_combined; in ath10k_wmi_op_pull_phyerr_ev()
4414 arg->chan_width_mhz = phyerr->chan_width_mhz; in ath10k_wmi_op_pull_phyerr_ev()
4415 arg->buf_len = __le32_to_cpu(phyerr->buf_len); in ath10k_wmi_op_pull_phyerr_ev()
4416 arg->buf = phyerr->buf; in ath10k_wmi_op_pull_phyerr_ev()
4417 arg->hdr_len = sizeof(*phyerr); in ath10k_wmi_op_pull_phyerr_ev()
4420 arg->nf_chains[i] = __le16_to_cpu(phyerr->nf_chains[i]); in ath10k_wmi_op_pull_phyerr_ev()
4422 switch (phyerr->phy_err_code) { in ath10k_wmi_op_pull_phyerr_ev()
4445 const struct wmi_10_4_phyerr_event *phyerr = phyerr_buf; in ath10k_wmi_10_4_op_pull_phyerr_ev() local
4449 if (left_len < sizeof(*phyerr)) { in ath10k_wmi_10_4_op_pull_phyerr_ev()
4451 left_len, sizeof(*phyerr)); in ath10k_wmi_10_4_op_pull_phyerr_ev()
4455 arg->tsf_timestamp = __le32_to_cpu(phyerr->tsf_timestamp); in ath10k_wmi_10_4_op_pull_phyerr_ev()
4456 arg->freq1 = __le16_to_cpu(phyerr->freq1); in ath10k_wmi_10_4_op_pull_phyerr_ev()
4457 arg->freq2 = __le16_to_cpu(phyerr->freq2); in ath10k_wmi_10_4_op_pull_phyerr_ev()
4458 arg->rssi_combined = phyerr->rssi_combined; in ath10k_wmi_10_4_op_pull_phyerr_ev()
4459 arg->chan_width_mhz = phyerr->chan_width_mhz; in ath10k_wmi_10_4_op_pull_phyerr_ev()
4460 arg->buf_len = __le32_to_cpu(phyerr->buf_len); in ath10k_wmi_10_4_op_pull_phyerr_ev()
4461 arg->buf = phyerr->buf; in ath10k_wmi_10_4_op_pull_phyerr_ev()
4462 arg->hdr_len = sizeof(*phyerr); in ath10k_wmi_10_4_op_pull_phyerr_ev()
4465 arg->nf_chains[i] = __le16_to_cpu(phyerr->nf_chains[i]); in ath10k_wmi_10_4_op_pull_phyerr_ev()
4467 phy_err_mask = __le32_to_cpu(phyerr->phy_err_mask[0]); in ath10k_wmi_10_4_op_pull_phyerr_ev()
4484 const void *phyerr; in ath10k_wmi_event_phyerr() local
4486 const u8 *phyerr; in ath10k_wmi_event_phyerr() local
4518 phyerr = hdr_arg.phyerrs; in ath10k_wmi_event_phyerr()
4520 ret = ath10k_wmi_pull_phyerr(ar, phyerr, left_len, &phyerr_arg); in ath10k_wmi_event_phyerr()
4553 phyerr = phyerr + phyerr_arg.hdr_len + buf_len; in ath10k_wmi_event_phyerr()