Searched refs:state_ts (Results 1 – 4 of 4) sorted by relevance
3146 struct mt76_channel_state *state_ts = &phy->state_ts; in mt7915_mcu_get_chan_mib_info() local3202 state->cc_tx += cc_tx - state_ts->cc_tx; in mt7915_mcu_get_chan_mib_info()3203 state->cc_bss_rx += __res_u64(2) - state_ts->cc_bss_rx; in mt7915_mcu_get_chan_mib_info()3204 state->cc_rx += __res_u64(2) + __res_u64(3) - state_ts->cc_rx; in mt7915_mcu_get_chan_mib_info()3206 state_ts->cc_busy; in mt7915_mcu_get_chan_mib_info()3209 state_ts->cc_tx = cc_tx; in mt7915_mcu_get_chan_mib_info()3210 state_ts->cc_bss_rx = __res_u64(2); in mt7915_mcu_get_chan_mib_info()3211 state_ts->cc_rx = __res_u64(2) + __res_u64(3); in mt7915_mcu_get_chan_mib_info()3212 state_ts->cc_busy = __res_u64(0) + cc_tx + __res_u64(2) + __res_u64(3); in mt7915_mcu_get_chan_mib_info()
225 struct mt76_channel_state state_ts; member
3977 struct mt76_channel_state *state_ts = &phy->state_ts; in mt7996_mcu_get_chan_mib_info() local4002 state->cc_tx += __res_u64(IDX_TX_TIME) - state_ts->cc_tx; in mt7996_mcu_get_chan_mib_info()4003 state->cc_bss_rx += __res_u64(IDX_RX_TIME) - state_ts->cc_bss_rx; in mt7996_mcu_get_chan_mib_info()4006 state_ts->cc_rx; in mt7996_mcu_get_chan_mib_info()4011 state_ts->cc_busy; in mt7996_mcu_get_chan_mib_info()4013 state_ts->cc_tx = __res_u64(IDX_TX_TIME); in mt7996_mcu_get_chan_mib_info()4014 state_ts->cc_bss_rx = __res_u64(IDX_RX_TIME); in mt7996_mcu_get_chan_mib_info()4015 state_ts->cc_rx = __res_u64(IDX_RX_TIME) + __res_u64(IDX_OBSS_AIRTIME); in mt7996_mcu_get_chan_mib_info()4016 state_ts->cc_busy = __res_u64(IDX_TX_TIME) + in mt7996_mcu_get_chan_mib_info()
373 struct mt76_channel_state state_ts; member