Lines Matching refs:vwrq
388 struct iw_param *vwrq, char *extra) in prism54_set_sens() argument
394 sens = vwrq->disabled ? 20 : vwrq->value; in prism54_set_sens()
401 struct iw_param *vwrq, char *extra) in prism54_get_sens() argument
409 vwrq->value = r.u; in prism54_get_sens()
410 vwrq->disabled = (vwrq->value == 0); in prism54_get_sens()
411 vwrq->fixed = 1; in prism54_get_sens()
561 struct iw_param *vwrq, char *extra) in prism54_set_scan() argument
828 struct iw_param *vwrq, char *extra) in prism54_set_rate() argument
837 if (vwrq->value == -1) { in prism54_set_rate()
849 rate = (u32) (vwrq->value / 500000); in prism54_set_rate()
857 if (vwrq->value == i) { in prism54_set_rate()
873 if (vwrq->fixed) { in prism54_set_rate()
901 struct iw_param *vwrq, char *extra) in prism54_get_rate() argument
911 vwrq->value = r.u * 500000; in prism54_get_rate()
920 vwrq->fixed = (data[0] != 0) && (data[1] == 0); in prism54_get_rate()
928 struct iw_param *vwrq, char *extra) in prism54_set_rts() argument
932 return mgt_set_request(priv, DOT11_OID_RTSTHRESH, 0, &vwrq->value); in prism54_set_rts()
937 struct iw_param *vwrq, char *extra) in prism54_get_rts() argument
945 vwrq->value = r.u; in prism54_get_rts()
952 struct iw_param *vwrq, char *extra) in prism54_set_frag() argument
956 return mgt_set_request(priv, DOT11_OID_FRAGTHRESH, 0, &vwrq->value); in prism54_set_frag()
961 struct iw_param *vwrq, char *extra) in prism54_get_frag() argument
968 vwrq->value = r.u; in prism54_get_frag()
982 struct iw_param *vwrq, char *extra) in prism54_set_retry() argument
989 if (vwrq->disabled) in prism54_set_retry()
993 if (vwrq->flags & IW_RETRY_LIMIT) { in prism54_set_retry()
994 if (vwrq->flags & IW_RETRY_SHORT) in prism54_set_retry()
995 slimit = vwrq->value; in prism54_set_retry()
996 else if (vwrq->flags & IW_RETRY_LONG) in prism54_set_retry()
997 llimit = vwrq->value; in prism54_set_retry()
1000 slimit = vwrq->value; in prism54_set_retry()
1001 llimit = vwrq->value; in prism54_set_retry()
1004 if (vwrq->flags & IW_RETRY_LIFETIME) in prism54_set_retry()
1006 lifetime = vwrq->value / 1024; in prism54_set_retry()
1024 struct iw_param *vwrq, char *extra) in prism54_get_retry() argument
1029 vwrq->disabled = 0; /* It cannot be disabled */ in prism54_get_retry()
1031 if ((vwrq->flags & IW_RETRY_TYPE) == IW_RETRY_LIFETIME) { in prism54_get_retry()
1035 vwrq->value = r.u * 1024; in prism54_get_retry()
1036 vwrq->flags = IW_RETRY_LIFETIME; in prism54_get_retry()
1037 } else if ((vwrq->flags & IW_RETRY_LONG)) { in prism54_get_retry()
1041 vwrq->value = r.u; in prism54_get_retry()
1042 vwrq->flags = IW_RETRY_LIMIT | IW_RETRY_LONG; in prism54_get_retry()
1047 vwrq->value = r.u; in prism54_get_retry()
1048 vwrq->flags = IW_RETRY_LIMIT | IW_RETRY_SHORT; in prism54_get_retry()
1205 struct iw_param *vwrq, char *extra) in prism54_get_txpower() argument
1213 vwrq->value = (s32) r.u / 4; in prism54_get_txpower()
1214 vwrq->fixed = 1; in prism54_get_txpower()
1218 vwrq->disabled = 0; in prism54_get_txpower()
1225 struct iw_param *vwrq, char *extra) in prism54_set_txpower() argument
1228 s32 u = vwrq->value; in prism54_set_txpower()
1232 if (vwrq->disabled) { in prism54_set_txpower()
1238 } else if (vwrq->fixed) in prism54_set_txpower()