Lines Matching refs:prq
613 struct iw_param *prq, in orinoco_ioctl_setpower() argument
623 if (prq->disabled) { in orinoco_ioctl_setpower()
626 switch (prq->flags & IW_POWER_MODE) { in orinoco_ioctl_setpower()
643 if (prq->flags & IW_POWER_TIMEOUT) { in orinoco_ioctl_setpower()
645 priv->pm_timeout = prq->value / 1000; in orinoco_ioctl_setpower()
647 if (prq->flags & IW_POWER_PERIOD) { in orinoco_ioctl_setpower()
649 priv->pm_period = prq->value / 1000; in orinoco_ioctl_setpower()
667 struct iw_param *prq, in orinoco_ioctl_getpower() argument
699 prq->disabled = !enable; in orinoco_ioctl_getpower()
701 if ((prq->flags & IW_POWER_TYPE) == IW_POWER_TIMEOUT) { in orinoco_ioctl_getpower()
702 prq->flags = IW_POWER_TIMEOUT; in orinoco_ioctl_getpower()
703 prq->value = timeout * 1000; in orinoco_ioctl_getpower()
705 prq->flags = IW_POWER_PERIOD; in orinoco_ioctl_getpower()
706 prq->value = period * 1000; in orinoco_ioctl_getpower()
709 prq->flags |= IW_POWER_ALL_R; in orinoco_ioctl_getpower()
711 prq->flags |= IW_POWER_UNICAST_R; in orinoco_ioctl_getpower()