Searched refs:state_ts (Results 1 – 4 of 4) sorted by relevance
3181 struct mt76_channel_state *state_ts = &phy->state_ts; in mt7915_mcu_get_chan_mib_info() local3237 state->cc_tx += cc_tx - state_ts->cc_tx; in mt7915_mcu_get_chan_mib_info()3238 state->cc_bss_rx += __res_u64(2) - state_ts->cc_bss_rx; in mt7915_mcu_get_chan_mib_info()3239 state->cc_rx += __res_u64(2) + __res_u64(3) - state_ts->cc_rx; in mt7915_mcu_get_chan_mib_info()3241 state_ts->cc_busy; in mt7915_mcu_get_chan_mib_info()3244 state_ts->cc_tx = cc_tx; in mt7915_mcu_get_chan_mib_info()3245 state_ts->cc_bss_rx = __res_u64(2); in mt7915_mcu_get_chan_mib_info()3246 state_ts->cc_rx = __res_u64(2) + __res_u64(3); in mt7915_mcu_get_chan_mib_info()3247 state_ts->cc_busy = __res_u64(0) + cc_tx + __res_u64(2) + __res_u64(3); in mt7915_mcu_get_chan_mib_info()
228 struct mt76_channel_state state_ts; member
4553 struct mt76_channel_state *state_ts = &phy->state_ts; in mt7996_mcu_get_chan_mib_info() local4578 state->cc_tx += __res_u64(IDX_TX_TIME) - state_ts->cc_tx; in mt7996_mcu_get_chan_mib_info()4579 state->cc_bss_rx += __res_u64(IDX_RX_TIME) - state_ts->cc_bss_rx; in mt7996_mcu_get_chan_mib_info()4582 state_ts->cc_rx; in mt7996_mcu_get_chan_mib_info()4587 state_ts->cc_busy; in mt7996_mcu_get_chan_mib_info()4589 state_ts->cc_tx = __res_u64(IDX_TX_TIME); in mt7996_mcu_get_chan_mib_info()4590 state_ts->cc_bss_rx = __res_u64(IDX_RX_TIME); in mt7996_mcu_get_chan_mib_info()4591 state_ts->cc_rx = __res_u64(IDX_RX_TIME) + __res_u64(IDX_OBSS_AIRTIME); in mt7996_mcu_get_chan_mib_info()4592 state_ts->cc_busy = __res_u64(IDX_TX_TIME) + in mt7996_mcu_get_chan_mib_info()
395 struct mt76_channel_state state_ts; member