Lines Matching refs:hdr

2628 		if ((datalen - n) < sizeof(ev->hdr)) {  in wma_extract_single_phyerr_spectral()
2630 datalen, n, sizeof(ev->hdr)); in wma_extract_single_phyerr_spectral()
2635 phyerr->buf_len = ev->hdr.buf_len; in wma_extract_single_phyerr_spectral()
2648 if (ev->hdr.buf_len > 0x7f000000) { in wma_extract_single_phyerr_spectral()
2649 wma_err("buf_len is garbage? (0x%x)", ev->hdr.buf_len); in wma_extract_single_phyerr_spectral()
2652 if (n + ev->hdr.buf_len > datalen) { in wma_extract_single_phyerr_spectral()
2654 n, ev->hdr.buf_len, datalen); in wma_extract_single_phyerr_spectral()
2658 phyerr->phy_err_code = WMI_UNIFIED_PHYERRCODE_GET(&ev->hdr); in wma_extract_single_phyerr_spectral()
2659 phyerr->tsf_timestamp = ev->hdr.tsf_timestamp; in wma_extract_single_phyerr_spectral()
2663 ev->hdr.buf_len, in wma_extract_single_phyerr_spectral()
2664 ev->hdr.tsf_timestamp, in wma_extract_single_phyerr_spectral()
2665 ev->hdr.rssi_chain0, in wma_extract_single_phyerr_spectral()
2666 ev->hdr.rssi_chain1, in wma_extract_single_phyerr_spectral()
2667 ev->hdr.rssi_chain2, in wma_extract_single_phyerr_spectral()
2668 ev->hdr.rssi_chain3, in wma_extract_single_phyerr_spectral()
2669 WMI_UNIFIED_RSSI_COMB_GET(&ev->hdr), in wma_extract_single_phyerr_spectral()
2678 ev->hdr.rssi_chain0, in wma_extract_single_phyerr_spectral()
2679 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 0, PRI20), in wma_extract_single_phyerr_spectral()
2680 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 0, SEC20), in wma_extract_single_phyerr_spectral()
2681 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 0, SEC40), in wma_extract_single_phyerr_spectral()
2682 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 0, SEC80)); in wma_extract_single_phyerr_spectral()
2685 ev->hdr.rssi_chain1, in wma_extract_single_phyerr_spectral()
2686 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 1, PRI20), in wma_extract_single_phyerr_spectral()
2687 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 1, SEC20), in wma_extract_single_phyerr_spectral()
2688 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 1, SEC40), in wma_extract_single_phyerr_spectral()
2689 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 1, SEC80)); in wma_extract_single_phyerr_spectral()
2692 ev->hdr.rssi_chain2, in wma_extract_single_phyerr_spectral()
2693 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 2, PRI20), in wma_extract_single_phyerr_spectral()
2694 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 2, SEC20), in wma_extract_single_phyerr_spectral()
2695 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 2, SEC40), in wma_extract_single_phyerr_spectral()
2696 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 2, SEC80)); in wma_extract_single_phyerr_spectral()
2699 ev->hdr.rssi_chain3, in wma_extract_single_phyerr_spectral()
2700 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 3, PRI20), in wma_extract_single_phyerr_spectral()
2701 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 3, SEC20), in wma_extract_single_phyerr_spectral()
2702 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 3, SEC40), in wma_extract_single_phyerr_spectral()
2703 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 3, SEC80)); in wma_extract_single_phyerr_spectral()
2707 ev->hdr.freq_info_1, ev->hdr.freq_info_2); in wma_extract_single_phyerr_spectral()
2714 ev->hdr.nf_list_1, in wma_extract_single_phyerr_spectral()
2715 ev->hdr.nf_list_2, in wma_extract_single_phyerr_spectral()
2716 (int) WMI_UNIFIED_NF_CHAIN_GET(&ev->hdr, 0), in wma_extract_single_phyerr_spectral()
2717 (int) WMI_UNIFIED_NF_CHAIN_GET(&ev->hdr, 1), in wma_extract_single_phyerr_spectral()
2718 (int) WMI_UNIFIED_NF_CHAIN_GET(&ev->hdr, 2), in wma_extract_single_phyerr_spectral()
2719 (int) WMI_UNIFIED_NF_CHAIN_GET(&ev->hdr, 3), in wma_extract_single_phyerr_spectral()
2720 WMI_UNIFIED_FREQ_INFO_GET(&ev->hdr, 1), in wma_extract_single_phyerr_spectral()
2721 WMI_UNIFIED_FREQ_INFO_GET(&ev->hdr, 2), in wma_extract_single_phyerr_spectral()
2722 WMI_UNIFIED_CHWIDTH_GET(&ev->hdr)); in wma_extract_single_phyerr_spectral()
2728 if (ev->hdr.buf_len > 0) { in wma_extract_single_phyerr_spectral()
2732 WMI_UNIFIED_NF_CHAIN_GET(&ev->hdr, 0); in wma_extract_single_phyerr_spectral()
2734 WMI_UNIFIED_NF_CHAIN_GET(&ev->hdr, 1); in wma_extract_single_phyerr_spectral()
2736 WMI_UNIFIED_NF_CHAIN_GET(&ev->hdr, 2); in wma_extract_single_phyerr_spectral()
2738 WMI_UNIFIED_NF_CHAIN_GET(&ev->hdr, 3); in wma_extract_single_phyerr_spectral()
2742 WMI_UNIFIED_RSSI_COMB_GET(&ev->hdr); in wma_extract_single_phyerr_spectral()
2748 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 0, PRI20); in wma_extract_single_phyerr_spectral()
2750 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 0, SEC20); in wma_extract_single_phyerr_spectral()
2752 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 0, SEC40); in wma_extract_single_phyerr_spectral()
2754 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 0, SEC80); in wma_extract_single_phyerr_spectral()
2758 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 1, PRI20); in wma_extract_single_phyerr_spectral()
2760 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 1, SEC20); in wma_extract_single_phyerr_spectral()
2762 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 1, SEC40); in wma_extract_single_phyerr_spectral()
2764 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 1, SEC80); in wma_extract_single_phyerr_spectral()
2768 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 2, PRI20); in wma_extract_single_phyerr_spectral()
2770 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 2, SEC20); in wma_extract_single_phyerr_spectral()
2772 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 2, SEC40); in wma_extract_single_phyerr_spectral()
2774 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 2, SEC80); in wma_extract_single_phyerr_spectral()
2778 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 3, PRI20); in wma_extract_single_phyerr_spectral()
2780 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 3, SEC20); in wma_extract_single_phyerr_spectral()
2782 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 3, SEC40); in wma_extract_single_phyerr_spectral()
2784 WMI_UNIFIED_RSSI_CHAN_GET(&ev->hdr, 3, SEC80); in wma_extract_single_phyerr_spectral()
2787 WMI_UNIFIED_FREQ_INFO_GET(&ev->hdr, 1); in wma_extract_single_phyerr_spectral()
2789 WMI_UNIFIED_FREQ_INFO_GET(&ev->hdr, 2); in wma_extract_single_phyerr_spectral()
2798 n += sizeof(*ev) + ev->hdr.buf_len; in wma_extract_single_phyerr_spectral()