Searched refs:state_ts (Results 1 – 4 of 4) sorted by relevance
3129 struct mt76_channel_state *state_ts = &phy->state_ts; in mt7915_mcu_get_chan_mib_info() local3185 state->cc_tx += cc_tx - state_ts->cc_tx; in mt7915_mcu_get_chan_mib_info()3186 state->cc_bss_rx += __res_u64(2) - state_ts->cc_bss_rx; in mt7915_mcu_get_chan_mib_info()3187 state->cc_rx += __res_u64(2) + __res_u64(3) - state_ts->cc_rx; in mt7915_mcu_get_chan_mib_info()3189 state_ts->cc_busy; in mt7915_mcu_get_chan_mib_info()3192 state_ts->cc_tx = cc_tx; in mt7915_mcu_get_chan_mib_info()3193 state_ts->cc_bss_rx = __res_u64(2); in mt7915_mcu_get_chan_mib_info()3194 state_ts->cc_rx = __res_u64(2) + __res_u64(3); in mt7915_mcu_get_chan_mib_info()3195 state_ts->cc_busy = __res_u64(0) + cc_tx + __res_u64(2) + __res_u64(3); in mt7915_mcu_get_chan_mib_info()
226 struct mt76_channel_state state_ts; member
3853 struct mt76_channel_state *state_ts = &phy->state_ts; in mt7996_mcu_get_chan_mib_info() local3878 state->cc_tx += __res_u64(IDX_TX_TIME) - state_ts->cc_tx; in mt7996_mcu_get_chan_mib_info()3879 state->cc_bss_rx += __res_u64(IDX_RX_TIME) - state_ts->cc_bss_rx; in mt7996_mcu_get_chan_mib_info()3882 state_ts->cc_rx; in mt7996_mcu_get_chan_mib_info()3887 state_ts->cc_busy; in mt7996_mcu_get_chan_mib_info()3889 state_ts->cc_tx = __res_u64(IDX_TX_TIME); in mt7996_mcu_get_chan_mib_info()3890 state_ts->cc_bss_rx = __res_u64(IDX_RX_TIME); in mt7996_mcu_get_chan_mib_info()3891 state_ts->cc_rx = __res_u64(IDX_RX_TIME) + __res_u64(IDX_OBSS_AIRTIME); in mt7996_mcu_get_chan_mib_info()3892 state_ts->cc_busy = __res_u64(IDX_TX_TIME) + in mt7996_mcu_get_chan_mib_info()
293 struct mt76_channel_state state_ts; member