Lines Matching refs:ps
78 u32 ps; in carl9170_handle_ps() local
81 ps = le32_to_cpu(rsp->psm.state); in carl9170_handle_ps()
83 new_ps = (ps & CARL9170_PSM_COUNTER) != CARL9170_PSM_WAKE; in carl9170_handle_ps()
84 if (ar->ps.state != new_ps) { in carl9170_handle_ps()
86 ar->ps.sleep_ms = jiffies_to_msecs(jiffies - in carl9170_handle_ps()
87 ar->ps.last_action); in carl9170_handle_ps()
90 ar->ps.last_action = jiffies; in carl9170_handle_ps()
92 ar->ps.state = new_ps; in carl9170_handle_ps()
539 ar->ps.last_beacon = jiffies; in carl9170_ps_beacon()
552 ar->ps.dtim_counter = (tim_ie->dtim_count - 1) % in carl9170_ps_beacon()
565 ar->ps.off_override &= ~PS_OFF_BCN; in carl9170_ps_beacon()
569 ar->ps.off_override |= PS_OFF_BCN; in carl9170_ps_beacon()