Lines Matching refs:_tgtobj

1802 #define DP_UPDATE_STATS(_tgtobj, _srcobj)	\  argument
1808 DP_STATS_AGGR(_tgtobj, _srcobj, \
1810 DP_STATS_AGGR(_tgtobj, _srcobj, \
1816 DP_STATS_AGGR(_tgtobj, _srcobj, tx.bw[i]); \
1817 DP_STATS_AGGR(_tgtobj, _srcobj, rx.bw[i]); \
1821 DP_STATS_AGGR(_tgtobj, _srcobj, rx.nss[i]); \
1822 DP_STATS_AGGR(_tgtobj, _srcobj, tx.nss[i]); \
1825 DP_STATS_AGGR(_tgtobj, _srcobj, tx.wme_ac_type[i]); \
1826 DP_STATS_AGGR(_tgtobj, _srcobj, rx.wme_ac_type[i]); \
1827 DP_STATS_AGGR(_tgtobj, _srcobj, \
1829 DP_STATS_AGGR(_tgtobj, _srcobj, \
1831 DP_STATS_AGGR(_tgtobj, _srcobj, tx.excess_retries_per_ac[i]); \
1836 DP_STATS_AGGR(_tgtobj, _srcobj, tx.sgi_count[i]); \
1837 DP_STATS_AGGR(_tgtobj, _srcobj, rx.sgi_count[i]); \
1841 DP_STATS_AGGR(_tgtobj, _srcobj, rx.reception_type[i]); \
1844 DP_STATS_AGGR_PKT(_tgtobj, _srcobj, tx.comp_pkt); \
1845 DP_STATS_AGGR(_tgtobj, _srcobj, tx.tx_failed); \
1847 DP_STATS_AGGR_PKT(_tgtobj, _srcobj, tx.ucast); \
1848 DP_STATS_AGGR_PKT(_tgtobj, _srcobj, tx.mcast); \
1849 DP_STATS_AGGR_PKT(_tgtobj, _srcobj, tx.bcast); \
1850 DP_STATS_AGGR_PKT(_tgtobj, _srcobj, tx.tx_success); \
1851 DP_STATS_AGGR_PKT(_tgtobj, _srcobj, tx.nawds_mcast); \
1852 DP_STATS_AGGR(_tgtobj, _srcobj, tx.nawds_mcast_drop); \
1853 DP_STATS_AGGR(_tgtobj, _srcobj, tx.ofdma); \
1854 DP_STATS_AGGR(_tgtobj, _srcobj, tx.stbc); \
1855 DP_STATS_AGGR(_tgtobj, _srcobj, tx.ldpc); \
1856 DP_STATS_AGGR(_tgtobj, _srcobj, tx.retries); \
1857 DP_STATS_AGGR(_tgtobj, _srcobj, tx.non_amsdu_cnt); \
1858 DP_STATS_AGGR(_tgtobj, _srcobj, tx.amsdu_cnt); \
1859 DP_STATS_AGGR(_tgtobj, _srcobj, tx.non_ampdu_cnt); \
1860 DP_STATS_AGGR(_tgtobj, _srcobj, tx.ampdu_cnt); \
1861 DP_STATS_AGGR_PKT(_tgtobj, _srcobj, tx.dropped.fw_rem); \
1862 DP_STATS_AGGR(_tgtobj, _srcobj, tx.dropped.fw_rem_tx); \
1863 DP_STATS_AGGR(_tgtobj, _srcobj, tx.dropped.fw_rem_notx); \
1864 DP_STATS_AGGR(_tgtobj, _srcobj, tx.dropped.fw_reason1); \
1865 DP_STATS_AGGR(_tgtobj, _srcobj, tx.dropped.fw_reason2); \
1866 DP_STATS_AGGR(_tgtobj, _srcobj, tx.dropped.fw_reason3); \
1867 DP_STATS_AGGR(_tgtobj, _srcobj, tx.dropped.fw_rem_queue_disable); \
1868 DP_STATS_AGGR(_tgtobj, _srcobj, tx.dropped.fw_rem_no_match); \
1869 DP_STATS_AGGR(_tgtobj, _srcobj, tx.dropped.drop_threshold); \
1870 DP_STATS_AGGR(_tgtobj, _srcobj, tx.dropped.drop_link_desc_na); \
1871 DP_STATS_AGGR(_tgtobj, _srcobj, tx.dropped.invalid_drop); \
1872 DP_STATS_AGGR(_tgtobj, _srcobj, tx.dropped.mcast_vdev_drop); \
1873 DP_STATS_AGGR(_tgtobj, _srcobj, tx.dropped.invalid_rr); \
1874 DP_STATS_AGGR(_tgtobj, _srcobj, tx.dropped.age_out); \
1875 DP_STATS_AGGR_PKT(_tgtobj, _srcobj, tx.tx_ucast_total); \
1876 DP_STATS_AGGR_PKT(_tgtobj, _srcobj, tx.tx_ucast_success); \
1878 DP_STATS_AGGR(_tgtobj, _srcobj, rx.err.mic_err); \
1879 DP_STATS_AGGR(_tgtobj, _srcobj, rx.err.decrypt_err); \
1880 DP_STATS_AGGR(_tgtobj, _srcobj, rx.err.fcserr); \
1881 DP_STATS_AGGR(_tgtobj, _srcobj, rx.err.pn_err); \
1882 DP_STATS_AGGR(_tgtobj, _srcobj, rx.err.oor_err); \
1883 DP_STATS_AGGR(_tgtobj, _srcobj, rx.err.jump_2k_err); \
1884 DP_STATS_AGGR(_tgtobj, _srcobj, rx.err.rxdma_wifi_parse_err); \
1886 DP_STATS_UPD_STRUCT(_tgtobj, _srcobj, rx.snr); \
1887 DP_STATS_UPD_STRUCT(_tgtobj, _srcobj, rx.rx_rate); \
1888 DP_STATS_AGGR(_tgtobj, _srcobj, rx.non_ampdu_cnt); \
1889 DP_STATS_AGGR(_tgtobj, _srcobj, rx.ampdu_cnt); \
1890 DP_STATS_AGGR(_tgtobj, _srcobj, rx.non_amsdu_cnt); \
1891 DP_STATS_AGGR(_tgtobj, _srcobj, rx.amsdu_cnt); \
1892 DP_STATS_AGGR(_tgtobj, _srcobj, rx.nawds_mcast_drop); \
1893 DP_STATS_AGGR_PKT(_tgtobj, _srcobj, rx.to_stack); \
1896 DP_STATS_AGGR_PKT(_tgtobj, _srcobj, rx.rcvd_reo[i]); \
1899 DP_STATS_AGGR_PKT(_tgtobj, _srcobj, rx.rx_lmac[i]); \
1907 DP_STATS_AGGR_PKT(_tgtobj, _srcobj, rx.unicast); \
1908 DP_STATS_AGGR_PKT(_tgtobj, _srcobj, rx.multicast); \
1909 DP_STATS_AGGR_PKT(_tgtobj, _srcobj, rx.bcast); \
1910 DP_STATS_AGGR_PKT(_tgtobj, _srcobj, rx.raw); \
1911 DP_STATS_AGGR_PKT(_tgtobj, _srcobj, rx.intra_bss.pkts); \
1912 DP_STATS_AGGR_PKT(_tgtobj, _srcobj, rx.intra_bss.fail); \
1913 DP_STATS_AGGR_PKT(_tgtobj, _srcobj, rx.mec_drop); \
1915 _tgtobj->stats.tx.last_ack_rssi = \
1917 DP_STATS_AGGR(_tgtobj, _srcobj, rx.multipass_rx_pkt_drop); \
1918 DP_STATS_AGGR(_tgtobj, _srcobj, rx.peer_unauth_rx_pkt_drop); \
1919 DP_STATS_AGGR(_tgtobj, _srcobj, rx.policy_check_drop); \
1920 DP_IPA_UPDATE_RX_STATS(_tgtobj, _srcobj); \
1924 #define DP_UPDATE_PROTOCOL_COUNT_STATS(_tgtobj, _srcobj) \ argument
1928 _tgtobj->tx.protocol_trace_cnt[j].egress_cnt += \
1930 _tgtobj->tx.protocol_trace_cnt[j].ingress_cnt += \
1932 _tgtobj->rx.protocol_trace_cnt[j].egress_cnt += \
1934 _tgtobj->rx.protocol_trace_cnt[j].ingress_cnt += \
1939 #define DP_UPDATE_PROTOCOL_COUNT_STATS(_tgtobj, _srcobj) argument
1943 #define DP_UPDATE_11BE_STATS(_tgtobj, _srcobj) \ argument
1947 _tgtobj->tx.su_be_ppdu_cnt.mcs_count[i] += \
1949 _tgtobj->rx.su_be_ppdu_cnt.mcs_count[i] += \
1954 _tgtobj->tx.mu_be_ppdu_cnt[mu_type].mcs_count[i] += \
1956 _tgtobj->rx.mu_be_ppdu_cnt[mu_type].mcs_count[i] += \
1961 _tgtobj->tx.punc_bw[i] += _srcobj->tx.punc_bw[i]; \
1962 _tgtobj->rx.punc_bw[i] += _srcobj->rx.punc_bw[i]; \
1966 #define DP_UPDATE_11BE_STATS(_tgtobj, _srcobj) argument
1969 #define DP_UPDATE_BASIC_STATS(_tgtobj, _srcobj) \ argument
1971 _tgtobj->tx.comp_pkt.num += _srcobj->tx.comp_pkt.num; \
1972 _tgtobj->tx.comp_pkt.bytes += _srcobj->tx.comp_pkt.bytes; \
1973 _tgtobj->tx.tx_failed += _srcobj->tx.tx_failed; \
1974 _tgtobj->rx.to_stack.num += _srcobj->rx.to_stack.num; \
1975 _tgtobj->rx.to_stack.bytes += _srcobj->rx.to_stack.bytes; \
1978 #define DP_UPDATE_PER_PKT_STATS(_tgtobj, _srcobj) \ argument
1981 _tgtobj->tx.ucast.num += _srcobj->tx.ucast.num; \
1982 _tgtobj->tx.ucast.bytes += _srcobj->tx.ucast.bytes; \
1983 _tgtobj->tx.mcast.num += _srcobj->tx.mcast.num; \
1984 _tgtobj->tx.mcast.bytes += _srcobj->tx.mcast.bytes; \
1985 _tgtobj->tx.bcast.num += _srcobj->tx.bcast.num; \
1986 _tgtobj->tx.bcast.bytes += _srcobj->tx.bcast.bytes; \
1987 _tgtobj->tx.nawds_mcast.num += _srcobj->tx.nawds_mcast.num; \
1988 _tgtobj->tx.nawds_mcast.bytes += \
1990 _tgtobj->tx.tx_success.num += _srcobj->tx.tx_success.num; \
1991 _tgtobj->tx.tx_success.bytes += _srcobj->tx.tx_success.bytes; \
1992 _tgtobj->tx.nawds_mcast_drop += _srcobj->tx.nawds_mcast_drop; \
1993 _tgtobj->tx.ofdma += _srcobj->tx.ofdma; \
1994 _tgtobj->tx.non_amsdu_cnt += _srcobj->tx.non_amsdu_cnt; \
1995 _tgtobj->tx.amsdu_cnt += _srcobj->tx.amsdu_cnt; \
1996 _tgtobj->tx.dropped.fw_rem.num += \
1998 _tgtobj->tx.dropped.fw_rem.bytes += \
2000 _tgtobj->tx.dropped.fw_rem_notx += \
2002 _tgtobj->tx.dropped.fw_rem_tx += \
2004 _tgtobj->tx.dropped.age_out += _srcobj->tx.dropped.age_out; \
2005 _tgtobj->tx.dropped.fw_reason1 += \
2007 _tgtobj->tx.dropped.fw_reason2 += \
2009 _tgtobj->tx.dropped.fw_reason3 += \
2011 _tgtobj->tx.dropped.fw_rem_queue_disable += \
2013 _tgtobj->tx.dropped.fw_rem_no_match += \
2015 _tgtobj->tx.dropped.drop_threshold += \
2017 _tgtobj->tx.dropped.drop_link_desc_na += \
2019 _tgtobj->tx.dropped.invalid_drop += \
2021 _tgtobj->tx.dropped.mcast_vdev_drop += \
2023 _tgtobj->tx.dropped.invalid_rr += \
2025 _tgtobj->tx.failed_retry_count += \
2027 _tgtobj->tx.retry_count += _srcobj->tx.retry_count; \
2028 _tgtobj->tx.multiple_retry_count += \
2030 _tgtobj->tx.tx_success_twt.num += \
2032 _tgtobj->tx.tx_success_twt.bytes += \
2034 _tgtobj->tx.last_tx_ts = _srcobj->tx.last_tx_ts; \
2035 _tgtobj->tx.release_src_not_tqm += \
2038 _tgtobj->tx.no_ack_count[i] += \
2042 _tgtobj->rx.multicast.num += _srcobj->rx.multicast.num; \
2043 _tgtobj->rx.multicast.bytes += _srcobj->rx.multicast.bytes; \
2044 _tgtobj->rx.rx_success.num += _srcobj->rx.rx_success.num;\
2045 _tgtobj->rx.rx_success.bytes += _srcobj->rx.rx_success.bytes;\
2046 _tgtobj->rx.bcast.num += _srcobj->rx.bcast.num; \
2047 _tgtobj->rx.bcast.bytes += _srcobj->rx.bcast.bytes; \
2048 _tgtobj->rx.unicast.num += _srcobj->rx.unicast.num; \
2049 _tgtobj->rx.unicast.bytes += _srcobj->rx.unicast.bytes; \
2050 _tgtobj->rx.raw.num += _srcobj->rx.raw.num; \
2051 _tgtobj->rx.raw.bytes += _srcobj->rx.raw.bytes; \
2052 _tgtobj->rx.nawds_mcast_drop += _srcobj->rx.nawds_mcast_drop; \
2053 _tgtobj->rx.mcast_3addr_drop += _srcobj->rx.mcast_3addr_drop; \
2054 _tgtobj->rx.mec_drop.num += _srcobj->rx.mec_drop.num; \
2055 _tgtobj->rx.mec_drop.bytes += _srcobj->rx.mec_drop.bytes; \
2056 _tgtobj->rx.ppeds_drop.num += _srcobj->rx.ppeds_drop.num; \
2057 _tgtobj->rx.ppeds_drop.bytes += _srcobj->rx.ppeds_drop.bytes; \
2058 _tgtobj->rx.intra_bss.pkts.num += \
2060 _tgtobj->rx.intra_bss.pkts.bytes += \
2062 _tgtobj->rx.intra_bss.fail.num += \
2064 _tgtobj->rx.intra_bss.fail.bytes += \
2066 _tgtobj->rx.intra_bss.mdns_no_fwd += \
2068 _tgtobj->rx.err.mic_err += _srcobj->rx.err.mic_err; \
2069 _tgtobj->rx.err.decrypt_err += _srcobj->rx.err.decrypt_err; \
2070 _tgtobj->rx.err.fcserr += _srcobj->rx.err.fcserr; \
2071 _tgtobj->rx.err.pn_err += _srcobj->rx.err.pn_err; \
2072 _tgtobj->rx.err.oor_err += _srcobj->rx.err.oor_err; \
2073 _tgtobj->rx.err.jump_2k_err += _srcobj->rx.err.jump_2k_err; \
2074 _tgtobj->rx.err.rxdma_wifi_parse_err += \
2076 _tgtobj->rx.non_amsdu_cnt += _srcobj->rx.non_amsdu_cnt; \
2077 _tgtobj->rx.amsdu_cnt += _srcobj->rx.amsdu_cnt; \
2078 _tgtobj->rx.rx_retries += _srcobj->rx.rx_retries; \
2079 _tgtobj->rx.multipass_rx_pkt_drop += \
2081 _tgtobj->rx.peer_unauth_rx_pkt_drop += \
2083 _tgtobj->rx.policy_check_drop += \
2085 _tgtobj->rx.to_stack_twt.num += _srcobj->rx.to_stack_twt.num; \
2086 _tgtobj->rx.to_stack_twt.bytes += \
2088 _tgtobj->rx.last_rx_ts = _srcobj->rx.last_rx_ts; \
2090 _tgtobj->rx.rcvd_reo[i].num += \
2092 _tgtobj->rx.rcvd_reo[i].bytes += \
2094 _tgtobj->rx.rcvd.num += \
2096 _tgtobj->rx.rcvd.bytes += \
2100 _tgtobj->rx.rx_lmac[i].num += \
2102 _tgtobj->rx.rx_lmac[i].bytes += \
2105 DP_IPA_UPDATE_PER_PKT_RX_STATS(_tgtobj, _srcobj); \
2106 DP_UPDATE_PROTOCOL_COUNT_STATS(_tgtobj, _srcobj); \
2109 #define DP_UPDATE_EXTD_STATS(_tgtobj, _srcobj) \ argument
2112 _tgtobj->tx.stbc += _srcobj->tx.stbc; \
2113 _tgtobj->tx.ldpc += _srcobj->tx.ldpc; \
2114 _tgtobj->tx.retries += _srcobj->tx.retries; \
2115 _tgtobj->tx.ampdu_cnt += _srcobj->tx.ampdu_cnt; \
2116 _tgtobj->tx.non_ampdu_cnt += _srcobj->tx.non_ampdu_cnt; \
2117 _tgtobj->tx.num_ppdu_cookie_valid += \
2119 _tgtobj->tx.tx_ppdus += _srcobj->tx.tx_ppdus; \
2120 _tgtobj->tx.tx_mpdus_success += _srcobj->tx.tx_mpdus_success; \
2121 _tgtobj->tx.tx_mpdus_tried += _srcobj->tx.tx_mpdus_tried; \
2122 _tgtobj->tx.tx_rate = _srcobj->tx.tx_rate; \
2123 _tgtobj->tx.last_tx_rate = _srcobj->tx.last_tx_rate; \
2124 _tgtobj->tx.last_tx_rate_mcs = _srcobj->tx.last_tx_rate_mcs; \
2125 _tgtobj->tx.mcast_last_tx_rate = \
2127 _tgtobj->tx.mcast_last_tx_rate_mcs = \
2129 _tgtobj->tx.rnd_avg_tx_rate = _srcobj->tx.rnd_avg_tx_rate; \
2130 _tgtobj->tx.avg_tx_rate = _srcobj->tx.avg_tx_rate; \
2131 _tgtobj->tx.tx_ratecode = _srcobj->tx.tx_ratecode; \
2132 _tgtobj->tx.pream_punct_cnt += _srcobj->tx.pream_punct_cnt; \
2133 _tgtobj->tx.ru_start = _srcobj->tx.ru_start; \
2134 _tgtobj->tx.ru_tones = _srcobj->tx.ru_tones; \
2135 _tgtobj->tx.last_ack_rssi = _srcobj->tx.last_ack_rssi; \
2136 _tgtobj->tx.nss_info = _srcobj->tx.nss_info; \
2137 _tgtobj->tx.mcs_info = _srcobj->tx.mcs_info; \
2138 _tgtobj->tx.bw_info = _srcobj->tx.bw_info; \
2139 _tgtobj->tx.gi_info = _srcobj->tx.gi_info; \
2140 _tgtobj->tx.preamble_info = _srcobj->tx.preamble_info; \
2141 _tgtobj->tx.retries_mpdu += _srcobj->tx.retries_mpdu; \
2142 _tgtobj->tx.mpdu_success_with_retries += \
2144 _tgtobj->tx.rts_success = _srcobj->tx.rts_success; \
2145 _tgtobj->tx.rts_failure = _srcobj->tx.rts_failure; \
2146 _tgtobj->tx.bar_cnt = _srcobj->tx.bar_cnt; \
2147 _tgtobj->tx.ndpa_cnt = _srcobj->tx.ndpa_cnt; \
2150 _tgtobj->tx.pkt_type[pream_type].mcs_count[i] += \
2154 _tgtobj->tx.wme_ac_type[i] += _srcobj->tx.wme_ac_type[i]; \
2155 _tgtobj->tx.wme_ac_type_bytes[i] += \
2157 _tgtobj->tx.excess_retries_per_ac[i] += \
2161 _tgtobj->tx.sgi_count[i] += _srcobj->tx.sgi_count[i]; \
2164 _tgtobj->tx.nss[i] += _srcobj->tx.nss[i]; \
2167 _tgtobj->tx.bw[i] += _srcobj->tx.bw[i]; \
2170 _tgtobj->tx.ru_loc[i].num_msdu += \
2172 _tgtobj->tx.ru_loc[i].num_mpdu += \
2174 _tgtobj->tx.ru_loc[i].mpdu_tried += \
2178 _tgtobj->tx.transmit_type[i].num_msdu += \
2180 _tgtobj->tx.transmit_type[i].num_mpdu += \
2182 _tgtobj->tx.transmit_type[i].mpdu_tried += \
2186 _tgtobj->tx.mu_group_id[i] = _srcobj->tx.mu_group_id[i]; \
2188 _tgtobj->tx.tx_ucast_total.num += \
2190 _tgtobj->tx.tx_ucast_total.bytes += \
2192 _tgtobj->tx.tx_ucast_success.num += \
2194 _tgtobj->tx.tx_ucast_success.bytes += \
2198 _tgtobj->tx.rssi_chain[i] = _srcobj->tx.rssi_chain[i]; \
2199 _tgtobj->rx.mpdu_cnt_fcs_ok += _srcobj->rx.mpdu_cnt_fcs_ok; \
2200 _tgtobj->rx.mpdu_cnt_fcs_err += _srcobj->rx.mpdu_cnt_fcs_err; \
2201 _tgtobj->rx.non_ampdu_cnt += _srcobj->rx.non_ampdu_cnt; \
2202 _tgtobj->rx.ampdu_cnt += _srcobj->rx.ampdu_cnt; \
2203 _tgtobj->rx.rx_mpdus += _srcobj->rx.rx_mpdus; \
2204 _tgtobj->rx.rx_ppdus += _srcobj->rx.rx_ppdus; \
2205 _tgtobj->rx.rx_rate = _srcobj->rx.rx_rate; \
2206 _tgtobj->rx.last_rx_rate = _srcobj->rx.last_rx_rate; \
2207 _tgtobj->rx.rnd_avg_rx_rate = _srcobj->rx.rnd_avg_rx_rate; \
2208 _tgtobj->rx.avg_rx_rate = _srcobj->rx.avg_rx_rate; \
2209 _tgtobj->rx.rx_ratecode = _srcobj->rx.rx_ratecode; \
2210 _tgtobj->rx.avg_snr = _srcobj->rx.avg_snr; \
2211 _tgtobj->rx.rx_snr_measured_time = \
2213 _tgtobj->rx.snr = _srcobj->rx.snr; \
2214 _tgtobj->rx.last_snr = _srcobj->rx.last_snr; \
2215 _tgtobj->rx.nss_info = _srcobj->rx.nss_info; \
2216 _tgtobj->rx.mcs_info = _srcobj->rx.mcs_info; \
2217 _tgtobj->rx.bw_info = _srcobj->rx.bw_info; \
2218 _tgtobj->rx.gi_info = _srcobj->rx.gi_info; \
2219 _tgtobj->rx.preamble_info = _srcobj->rx.preamble_info; \
2220 _tgtobj->rx.mpdu_retry_cnt += _srcobj->rx.mpdu_retry_cnt; \
2221 _tgtobj->rx.bar_cnt = _srcobj->rx.bar_cnt; \
2222 _tgtobj->rx.ndpa_cnt = _srcobj->rx.ndpa_cnt; \
2225 _tgtobj->rx.pkt_type[pream_type].mcs_count[i] += \
2230 _tgtobj->rx.wme_ac_type[i] += _srcobj->rx.wme_ac_type[i]; \
2231 _tgtobj->rx.wme_ac_type_bytes[i] += \
2235 _tgtobj->rx.su_ax_ppdu_cnt.mcs_count[i] += \
2237 _tgtobj->rx.rx_mpdu_cnt[i] += _srcobj->rx.rx_mpdu_cnt[i]; \
2240 _tgtobj->rx.rx_mu[mu_type].mpdu_cnt_fcs_ok += \
2242 _tgtobj->rx.rx_mu[mu_type].mpdu_cnt_fcs_err += \
2245 _tgtobj->rx.rx_mu[mu_type].ppdu_nss[i] += \
2248 _tgtobj->rx.rx_mu[mu_type].ppdu.mcs_count[i] += \
2252 _tgtobj->rx.reception_type[i] += \
2254 _tgtobj->rx.ppdu_cnt[i] += _srcobj->rx.ppdu_cnt[i]; \
2257 _tgtobj->rx.sgi_count[i] += _srcobj->rx.sgi_count[i]; \
2260 _tgtobj->rx.nss[i] += _srcobj->rx.nss[i]; \
2261 _tgtobj->rx.ppdu_nss[i] += _srcobj->rx.ppdu_nss[i]; \
2264 _tgtobj->rx.bw[i] += _srcobj->rx.bw[i]; \
2266 DP_UPDATE_11BE_STATS(_tgtobj, _srcobj); \
2269 #define DP_UPDATE_VDEV_STATS_FOR_UNMAPPED_PEERS(_tgtobj, _srcobj) \ argument
2271 DP_UPDATE_BASIC_STATS(_tgtobj, _srcobj); \
2272 DP_UPDATE_PER_PKT_STATS(_tgtobj, _srcobj); \
2273 DP_UPDATE_EXTD_STATS(_tgtobj, _srcobj); \
2276 #define DP_UPDATE_RX_INGRESS_STATS(_tgtobj, _srcobj) \ argument
2278 _tgtobj->rx_i.reo_rcvd_pkt.num += \
2280 _tgtobj->rx_i.reo_rcvd_pkt.bytes += \
2282 _tgtobj->rx_i.null_q_desc_pkt.num += \
2284 _tgtobj->rx_i.null_q_desc_pkt.bytes += \
2286 _tgtobj->rx_i.routed_eapol_pkt.num += \
2288 _tgtobj->rx_i.routed_eapol_pkt.bytes += \
2292 #define DP_UPDATE_LINK_VDEV_INGRESS_STATS(_tgtobj, _srcobj, _xmit_type) \ argument
2304 _tgtobj->tx_i.rcvd.num += _srcobj->tx_i[idx].rcvd.num; \
2305 _tgtobj->tx_i.rcvd.bytes += \
2307 _tgtobj->tx_i.rcvd_in_fast_xmit_flow += \
2310 _tgtobj->tx_i.rcvd_per_core[i] += \
2313 _tgtobj->tx_i.processed.num += \
2315 _tgtobj->tx_i.processed.bytes += \
2317 _tgtobj->tx_i.reinject_pkts.num += \
2319 _tgtobj->tx_i.reinject_pkts.bytes += \
2321 _tgtobj->tx_i.inspect_pkts.num += \
2323 _tgtobj->tx_i.inspect_pkts.bytes += \
2325 _tgtobj->tx_i.nawds_mcast.num += \
2327 _tgtobj->tx_i.nawds_mcast.bytes += \
2329 _tgtobj->tx_i.bcast.num += \
2331 _tgtobj->tx_i.bcast.bytes += \
2333 _tgtobj->tx_i.raw.raw_pkt.num += \
2335 _tgtobj->tx_i.raw.raw_pkt.bytes += \
2337 _tgtobj->tx_i.raw.dma_map_error += \
2339 _tgtobj->tx_i.raw.invalid_raw_pkt_datatype += \
2341 _tgtobj->tx_i.raw.num_frags_overflow_err += \
2343 _tgtobj->tx_i.sg.sg_pkt.num += \
2345 _tgtobj->tx_i.sg.sg_pkt.bytes += \
2347 _tgtobj->tx_i.sg.non_sg_pkts.num += \
2349 _tgtobj->tx_i.sg.non_sg_pkts.bytes += \
2351 _tgtobj->tx_i.sg.dropped_host.num += \
2353 _tgtobj->tx_i.sg.dropped_host.bytes += \
2355 _tgtobj->tx_i.sg.dropped_target += \
2357 _tgtobj->tx_i.sg.dma_map_error += \
2359 _tgtobj->tx_i.mcast_en.mcast_pkt.num += \
2361 _tgtobj->tx_i.mcast_en.mcast_pkt.bytes += \
2363 _tgtobj->tx_i.mcast_en.dropped_map_error += \
2365 _tgtobj->tx_i.mcast_en.dropped_self_mac += \
2367 _tgtobj->tx_i.mcast_en.dropped_send_fail += \
2369 _tgtobj->tx_i.mcast_en.ucast += \
2371 _tgtobj->tx_i.mcast_en.fail_seg_alloc += \
2373 _tgtobj->tx_i.mcast_en.clone_fail += \
2375 _tgtobj->tx_i.igmp_mcast_en.igmp_rcvd += \
2377 _tgtobj->tx_i.igmp_mcast_en.igmp_ucast_converted += \
2379 _tgtobj->tx_i.dropped.desc_na.num += \
2381 _tgtobj->tx_i.dropped.desc_na.bytes += \
2383 _tgtobj->tx_i.dropped.desc_na_exc_alloc_fail.num += \
2385 _tgtobj->tx_i.dropped.desc_na_exc_alloc_fail.bytes += \
2387 _tgtobj->tx_i.dropped.desc_na_exc_outstand.num += \
2389 _tgtobj->tx_i.dropped.desc_na_exc_outstand.bytes += \
2391 _tgtobj->tx_i.dropped.exc_desc_na.num += \
2393 _tgtobj->tx_i.dropped.exc_desc_na.bytes += \
2395 _tgtobj->tx_i.dropped.ring_full += \
2397 _tgtobj->tx_i.dropped.enqueue_fail += \
2399 _tgtobj->tx_i.dropped.dma_error += \
2401 _tgtobj->tx_i.dropped.res_full += \
2403 _tgtobj->tx_i.dropped.headroom_insufficient += \
2405 _tgtobj->tx_i.dropped.fail_per_pkt_vdev_id_check += \
2407 _tgtobj->tx_i.dropped.drop_ingress += \
2409 _tgtobj->tx_i.dropped.invalid_peer_id_in_exc_path += \
2411 _tgtobj->tx_i.dropped.tx_mcast_drop += \
2413 _tgtobj->tx_i.dropped.fw2wbm_tx_drop += \
2415 _tgtobj->tx_i.dropped.dropped_pkt.bytes += \
2417 _tgtobj->tx_i.mesh.exception_fw += \
2419 _tgtobj->tx_i.mesh.completion_fw += \
2421 _tgtobj->tx_i.cce_classified += \
2423 _tgtobj->tx_i.cce_classified_raw += \
2425 _tgtobj->tx_i.sniffer_rcvd.num += \
2427 _tgtobj->tx_i.sniffer_rcvd.bytes += \
2430 _tgtobj->tx_i.dropped.dropped_pkt.num = \
2431 _tgtobj->tx_i.dropped.dma_error + \
2432 _tgtobj->tx_i.dropped.ring_full + \
2433 _tgtobj->tx_i.dropped.enqueue_fail + \
2434 _tgtobj->tx_i.dropped.fail_per_pkt_vdev_id_check + \
2435 _tgtobj->tx_i.dropped.desc_na.num + \
2436 _tgtobj->tx_i.dropped.res_full + \
2437 _tgtobj->tx_i.dropped.drop_ingress + \
2438 _tgtobj->tx_i.dropped.headroom_insufficient + \
2439 _tgtobj->tx_i.dropped.invalid_peer_id_in_exc_path + \
2440 _tgtobj->tx_i.dropped.tx_mcast_drop + \
2441 _tgtobj->tx_i.dropped.fw2wbm_tx_drop; \
2442 DP_UPDATE_RX_INGRESS_STATS(_tgtobj, _srcobj); \
2445 #define DP_UPDATE_MLD_VDEV_INGRESS_STATS(_tgtobj, _srcobj, _xmit_type) \ argument
2457 _tgtobj->tx_i[idx].rcvd.num += _srcobj->tx_i[idx].rcvd.num; \
2458 _tgtobj->tx_i[idx].rcvd.bytes += \
2460 _tgtobj->tx_i[idx].rcvd_in_fast_xmit_flow += \
2463 _tgtobj->tx_i[idx].rcvd_per_core[i] += \
2466 _tgtobj->tx_i[idx].processed.num += \
2468 _tgtobj->tx_i[idx].processed.bytes += \
2470 _tgtobj->tx_i[idx].reinject_pkts.num += \
2472 _tgtobj->tx_i[idx].reinject_pkts.bytes += \
2474 _tgtobj->tx_i[idx].inspect_pkts.num += \
2476 _tgtobj->tx_i[idx].inspect_pkts.bytes += \
2478 _tgtobj->tx_i[idx].nawds_mcast.num += \
2480 _tgtobj->tx_i[idx].nawds_mcast.bytes += \
2482 _tgtobj->tx_i[idx].bcast.num += \
2484 _tgtobj->tx_i[idx].bcast.bytes += \
2486 _tgtobj->tx_i[idx].raw.raw_pkt.num += \
2488 _tgtobj->tx_i[idx].raw.raw_pkt.bytes += \
2490 _tgtobj->tx_i[idx].raw.dma_map_error += \
2492 _tgtobj->tx_i[idx].raw.invalid_raw_pkt_datatype += \
2494 _tgtobj->tx_i[idx].raw.num_frags_overflow_err += \
2496 _tgtobj->tx_i[idx].sg.sg_pkt.num += \
2498 _tgtobj->tx_i[idx].sg.sg_pkt.bytes += \
2500 _tgtobj->tx_i[idx].sg.non_sg_pkts.num += \
2502 _tgtobj->tx_i[idx].sg.non_sg_pkts.bytes += \
2504 _tgtobj->tx_i[idx].sg.dropped_host.num += \
2506 _tgtobj->tx_i[idx].sg.dropped_host.bytes += \
2508 _tgtobj->tx_i[idx].sg.dropped_target += \
2510 _tgtobj->tx_i[idx].sg.dma_map_error += \
2512 _tgtobj->tx_i[idx].mcast_en.mcast_pkt.num += \
2514 _tgtobj->tx_i[idx].mcast_en.mcast_pkt.bytes += \
2516 _tgtobj->tx_i[idx].mcast_en.dropped_map_error += \
2518 _tgtobj->tx_i[idx].mcast_en.dropped_self_mac += \
2520 _tgtobj->tx_i[idx].mcast_en.dropped_send_fail += \
2522 _tgtobj->tx_i[idx].mcast_en.ucast += \
2524 _tgtobj->tx_i[idx].mcast_en.fail_seg_alloc += \
2526 _tgtobj->tx_i[idx].mcast_en.clone_fail += \
2528 _tgtobj->tx_i[idx].igmp_mcast_en.igmp_rcvd += \
2530 _tgtobj->tx_i[idx].igmp_mcast_en.igmp_ucast_converted += \
2532 _tgtobj->tx_i[idx].dropped.desc_na.num += \
2534 _tgtobj->tx_i[idx].dropped.desc_na.bytes += \
2536 _tgtobj->tx_i[idx].dropped.desc_na_exc_alloc_fail.num += \
2538 _tgtobj->tx_i[idx].dropped.desc_na_exc_alloc_fail.bytes += \
2540 _tgtobj->tx_i[idx].dropped.desc_na_exc_outstand.num += \
2542 _tgtobj->tx_i[idx].dropped.desc_na_exc_outstand.bytes += \
2544 _tgtobj->tx_i[idx].dropped.exc_desc_na.num += \
2546 _tgtobj->tx_i[idx].dropped.exc_desc_na.bytes += \
2548 _tgtobj->tx_i[idx].dropped.ring_full += \
2550 _tgtobj->tx_i[idx].dropped.enqueue_fail += \
2552 _tgtobj->tx_i[idx].dropped.dma_error += \
2554 _tgtobj->tx_i[idx].dropped.res_full += \
2556 _tgtobj->tx_i[idx].dropped.headroom_insufficient += \
2558 _tgtobj->tx_i[idx].dropped.fail_per_pkt_vdev_id_check += \
2560 _tgtobj->tx_i[idx].dropped.drop_ingress += \
2562 _tgtobj->tx_i[idx].dropped.invalid_peer_id_in_exc_path += \
2564 _tgtobj->tx_i[idx].dropped.tx_mcast_drop += \
2566 _tgtobj->tx_i[idx].dropped.fw2wbm_tx_drop += \
2568 _tgtobj->tx_i[idx].dropped.dropped_pkt.bytes += \
2570 _tgtobj->tx_i[idx].mesh.exception_fw += \
2572 _tgtobj->tx_i[idx].mesh.completion_fw += \
2574 _tgtobj->tx_i[idx].cce_classified += \
2576 _tgtobj->tx_i[idx].cce_classified_raw += \
2578 _tgtobj->tx_i[idx].sniffer_rcvd.num += \
2580 _tgtobj->tx_i[idx].sniffer_rcvd.bytes += \
2582 _tgtobj->tx_i[idx].dropped.dropped_pkt.num = \
2583 _tgtobj->tx_i[idx].dropped.dma_error + \
2584 _tgtobj->tx_i[idx].dropped.ring_full + \
2585 _tgtobj->tx_i[idx].dropped.enqueue_fail + \
2586 _tgtobj->tx_i[idx].dropped.fail_per_pkt_vdev_id_check + \
2587 _tgtobj->tx_i[idx].dropped.desc_na.num + \
2588 _tgtobj->tx_i[idx].dropped.res_full + \
2589 _tgtobj->tx_i[idx].dropped.drop_ingress + \
2590 _tgtobj->tx_i[idx].dropped.headroom_insufficient + \
2591 _tgtobj->tx_i[idx].dropped.invalid_peer_id_in_exc_path + \
2592 _tgtobj->tx_i[idx].dropped.tx_mcast_drop + \
2593 _tgtobj->tx_i[idx].dropped.fw2wbm_tx_drop; \
2595 DP_UPDATE_RX_INGRESS_STATS(_tgtobj, _srcobj); \
2598 #define DP_UPDATE_TO_MLD_VDEV_STATS(_tgtobj, _srcobj, _xmit_type) \ argument
2600 DP_UPDATE_MLD_VDEV_INGRESS_STATS(_tgtobj, _srcobj, _xmit_type); \
2601 DP_UPDATE_VDEV_STATS_FOR_UNMAPPED_PEERS(_tgtobj, _srcobj); \
2604 #define DP_UPDATE_TO_LINK_VDEV_STATS(_tgtobj, _srcobj, _xmit_type) \ argument
2606 DP_UPDATE_LINK_VDEV_INGRESS_STATS(_tgtobj, _srcobj, _xmit_type); \
2607 DP_UPDATE_VDEV_STATS_FOR_UNMAPPED_PEERS(_tgtobj, _srcobj); \