Lines Matching refs:phyerr
3398 struct wmi_phyerr_ev_arg *phyerr, in ath10k_dfs_radar_report() argument
3442 tsf32l = phyerr->tsf_timestamp; in ath10k_dfs_radar_report()
3447 rssi = phyerr->rssi_combined; in ath10k_dfs_radar_report()
3487 struct wmi_phyerr_ev_arg *phyerr, in ath10k_dfs_fft_report() argument
3496 rssi = phyerr->rssi_combined; in ath10k_dfs_fft_report()
3525 struct wmi_phyerr_ev_arg *phyerr, in ath10k_wmi_event_dfs() argument
3534 buf_len = phyerr->buf_len; in ath10k_wmi_event_dfs()
3537 phyerr->phy_err_code, phyerr->rssi_combined, in ath10k_wmi_event_dfs()
3538 phyerr->tsf_timestamp, tsf, buf_len); in ath10k_wmi_event_dfs()
3553 tlv = (struct phyerr_tlv *)&phyerr->buf[i]; in ath10k_wmi_event_dfs()
3555 tlv_buf = &phyerr->buf[i + sizeof(*tlv)]; in ath10k_wmi_event_dfs()
3569 ath10k_dfs_radar_report(ar, phyerr, rr, tsf); in ath10k_wmi_event_dfs()
3579 res = ath10k_dfs_fft_report(ar, phyerr, fftr, tsf); in ath10k_wmi_event_dfs()
3590 struct wmi_phyerr_ev_arg *phyerr, in ath10k_wmi_event_spectral_scan() argument
3599 buf_len = phyerr->buf_len; in ath10k_wmi_event_spectral_scan()
3608 tlv = (struct phyerr_tlv *)&phyerr->buf[i]; in ath10k_wmi_event_spectral_scan()
3610 tlv_buf = &phyerr->buf[i + sizeof(*tlv)]; in ath10k_wmi_event_spectral_scan()
3628 res = ath10k_spectral_process_fft(ar, phyerr, in ath10k_wmi_event_spectral_scan()
3686 const struct wmi_phyerr *phyerr = phyerr_buf; in ath10k_wmi_op_pull_phyerr_ev() local
3689 if (left_len < sizeof(*phyerr)) { in ath10k_wmi_op_pull_phyerr_ev()
3691 left_len, sizeof(*phyerr)); in ath10k_wmi_op_pull_phyerr_ev()
3695 arg->tsf_timestamp = __le32_to_cpu(phyerr->tsf_timestamp); in ath10k_wmi_op_pull_phyerr_ev()
3696 arg->freq1 = __le16_to_cpu(phyerr->freq1); in ath10k_wmi_op_pull_phyerr_ev()
3697 arg->freq2 = __le16_to_cpu(phyerr->freq2); in ath10k_wmi_op_pull_phyerr_ev()
3698 arg->rssi_combined = phyerr->rssi_combined; in ath10k_wmi_op_pull_phyerr_ev()
3699 arg->chan_width_mhz = phyerr->chan_width_mhz; in ath10k_wmi_op_pull_phyerr_ev()
3700 arg->buf_len = __le32_to_cpu(phyerr->buf_len); in ath10k_wmi_op_pull_phyerr_ev()
3701 arg->buf = phyerr->buf; in ath10k_wmi_op_pull_phyerr_ev()
3702 arg->hdr_len = sizeof(*phyerr); in ath10k_wmi_op_pull_phyerr_ev()
3705 arg->nf_chains[i] = __le16_to_cpu(phyerr->nf_chains[i]); in ath10k_wmi_op_pull_phyerr_ev()
3707 switch (phyerr->phy_err_code) { in ath10k_wmi_op_pull_phyerr_ev()
3730 const struct wmi_10_4_phyerr_event *phyerr = phyerr_buf; in ath10k_wmi_10_4_op_pull_phyerr_ev() local
3734 if (left_len < sizeof(*phyerr)) { in ath10k_wmi_10_4_op_pull_phyerr_ev()
3736 left_len, sizeof(*phyerr)); in ath10k_wmi_10_4_op_pull_phyerr_ev()
3740 arg->tsf_timestamp = __le32_to_cpu(phyerr->tsf_timestamp); in ath10k_wmi_10_4_op_pull_phyerr_ev()
3741 arg->freq1 = __le16_to_cpu(phyerr->freq1); in ath10k_wmi_10_4_op_pull_phyerr_ev()
3742 arg->freq2 = __le16_to_cpu(phyerr->freq2); in ath10k_wmi_10_4_op_pull_phyerr_ev()
3743 arg->rssi_combined = phyerr->rssi_combined; in ath10k_wmi_10_4_op_pull_phyerr_ev()
3744 arg->chan_width_mhz = phyerr->chan_width_mhz; in ath10k_wmi_10_4_op_pull_phyerr_ev()
3745 arg->buf_len = __le32_to_cpu(phyerr->buf_len); in ath10k_wmi_10_4_op_pull_phyerr_ev()
3746 arg->buf = phyerr->buf; in ath10k_wmi_10_4_op_pull_phyerr_ev()
3747 arg->hdr_len = sizeof(*phyerr); in ath10k_wmi_10_4_op_pull_phyerr_ev()
3750 arg->nf_chains[i] = __le16_to_cpu(phyerr->nf_chains[i]); in ath10k_wmi_10_4_op_pull_phyerr_ev()
3752 phy_err_mask = __le32_to_cpu(phyerr->phy_err_mask[0]); in ath10k_wmi_10_4_op_pull_phyerr_ev()
3768 const void *phyerr; in ath10k_wmi_event_phyerr() local
3794 phyerr = hdr_arg.phyerrs; in ath10k_wmi_event_phyerr()
3796 ret = ath10k_wmi_pull_phyerr(ar, phyerr, left_len, &phyerr_arg); in ath10k_wmi_event_phyerr()
3829 phyerr = phyerr + phyerr_arg.hdr_len + buf_len; in ath10k_wmi_event_phyerr()