Home
last modified time | relevance | path

Searched refs:ps_flags (Results 1 – 9 of 9) sorted by relevance

/drivers/net/wireless/ath/ath9k/
Drecv.c546 sc->ps_flags &= ~PS_WAIT_FOR_BEACON; in ath_rx_ps_beacon()
548 if (sc->ps_flags & PS_BEACON_SYNC) { in ath_rx_ps_beacon()
549 sc->ps_flags &= ~PS_BEACON_SYNC; in ath_rx_ps_beacon()
577 sc->ps_flags |= PS_WAIT_FOR_CAB | PS_WAIT_FOR_BEACON; in ath_rx_ps_beacon()
581 if (sc->ps_flags & PS_WAIT_FOR_CAB) { in ath_rx_ps_beacon()
587 sc->ps_flags &= ~PS_WAIT_FOR_CAB; in ath_rx_ps_beacon()
600 if (((sc->ps_flags & PS_WAIT_FOR_BEACON) || ath9k_check_auto_sleep(sc)) in ath_rx_ps()
603 } else if ((sc->ps_flags & PS_WAIT_FOR_CAB) && in ath_rx_ps()
612 sc->ps_flags &= ~(PS_WAIT_FOR_CAB | PS_WAIT_FOR_BEACON); in ath_rx_ps()
615 } else if ((sc->ps_flags & PS_WAIT_FOR_PSPOLL_DATA) && in ath_rx_ps()
[all …]
Dmain.c155 !(sc->ps_flags & (PS_WAIT_FOR_BEACON | in ath9k_ps_restore()
255 sc->ps_flags |= PS_BEACON_SYNC | PS_WAIT_FOR_BEACON; in ath_complete_reset()
428 sc->ps_flags |= PS_WAIT_FOR_BEACON | PS_BEACON_SYNC; in ath9k_tasklet()
584 sc->ps_flags |= PS_WAIT_FOR_BEACON; in ath_isr()
769 sc->ps_flags |= PS_WAIT_FOR_PSPOLL_DATA; in ath9k_tx()
772 sc->ps_flags |= PS_WAIT_FOR_TX_ACK; in ath9k_tx()
1010 sc->ps_flags |= PS_BEACON_SYNC | PS_WAIT_FOR_BEACON; in ath9k_set_assoc_state()
1316 sc->ps_flags &= ~(PS_WAIT_FOR_BEACON | in ath9k_disable_ps()
Dlink.c324 sc->ps_flags |= PS_WAIT_FOR_ANI; in ath_ani_calibrate()
331 sc->ps_flags &= ~PS_WAIT_FOR_ANI; in ath_ani_calibrate()
Dbeacon.c647 sc->ps_flags |= PS_BEACON_SYNC | PS_WAIT_FOR_BEACON; in ath9k_beacon_config()
Dath9k.h984 u16 ps_flags; /* PS_* */ member
Dxmit.c2427 if ((sc->ps_flags & PS_WAIT_FOR_TX_ACK) && !txq->axq_depth) { in ath_tx_complete()
2428 sc->ps_flags &= ~PS_WAIT_FOR_TX_ACK; in ath_tx_complete()
2431 sc->ps_flags & (PS_WAIT_FOR_BEACON | in ath_tx_complete()
Dchannel.c1409 if (!(sc->ps_flags & PS_BEACON_SYNC)) in ath9k_p2p_bss_info_changed()
/drivers/net/wireless/b43/
Dmain.h97 void b43_power_saving_ctl_bits(struct b43_wldev *dev, unsigned int ps_flags);
Dmain.c1149 void b43_power_saving_ctl_bits(struct b43_wldev *dev, unsigned int ps_flags) in b43_power_saving_ctl_bits() argument
1157 B43_WARN_ON((ps_flags & B43_PS_ENABLED) && in b43_power_saving_ctl_bits()
1158 (ps_flags & B43_PS_DISABLED)); in b43_power_saving_ctl_bits()
1159 B43_WARN_ON((ps_flags & B43_PS_AWAKE) && (ps_flags & B43_PS_ASLEEP)); in b43_power_saving_ctl_bits()
1161 if (ps_flags & B43_PS_ENABLED) { in b43_power_saving_ctl_bits()
1163 } else if (ps_flags & B43_PS_DISABLED) { in b43_power_saving_ctl_bits()
1169 if (ps_flags & B43_PS_AWAKE) { in b43_power_saving_ctl_bits()
1171 } else if (ps_flags & B43_PS_ASLEEP) { in b43_power_saving_ctl_bits()