Home
last modified time | relevance | path

Searched refs:vwrq (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/net/wireless/prism54/
Disl_ioctl.c389 struct iw_param *vwrq, char *extra) in prism54_set_sens() argument
395 sens = vwrq->disabled ? 20 : vwrq->value; in prism54_set_sens()
402 struct iw_param *vwrq, char *extra) in prism54_get_sens() argument
410 vwrq->value = r.u; in prism54_get_sens()
411 vwrq->disabled = (vwrq->value == 0); in prism54_get_sens()
412 vwrq->fixed = 1; in prism54_get_sens()
562 struct iw_param *vwrq, char *extra) in prism54_set_scan() argument
829 struct iw_param *vwrq, char *extra) in prism54_set_rate() argument
838 if (vwrq->value == -1) { in prism54_set_rate()
850 rate = (u32) (vwrq->value / 500000); in prism54_set_rate()
[all …]
/linux-3.4.99/drivers/net/wireless/
Datmel.c2044 struct iw_param *vwrq, in atmel_set_rate() argument
2049 if (vwrq->fixed == 0) { in atmel_set_rate()
2056 if ((vwrq->value < 4) && (vwrq->value >= 0)) { in atmel_set_rate()
2058 priv->tx_rate = vwrq->value; in atmel_set_rate()
2061 switch (vwrq->value) { in atmel_set_rate()
2110 struct iw_param *vwrq, in atmel_get_rate() argument
2116 vwrq->fixed = 0; in atmel_get_rate()
2117 vwrq->value = 11000000; in atmel_get_rate()
2119 vwrq->fixed = 1; in atmel_get_rate()
2122 vwrq->value = 1000000; in atmel_get_rate()
[all …]
Dairo.c6072 struct iw_param *vwrq, in airo_set_rate() argument
6084 if((vwrq->value < 8) && (vwrq->value >= 0)) { in airo_set_rate()
6087 brate = cap_rid.supportedRates[vwrq->value]; in airo_set_rate()
6090 u8 normvalue = (u8) (vwrq->value/500000); in airo_set_rate()
6101 if(vwrq->value == -1) { in airo_set_rate()
6117 if(vwrq->fixed == 0) { in airo_set_rate()
6142 struct iw_param *vwrq, in airo_get_rate() argument
6150 vwrq->value = le16_to_cpu(status_rid.currentXmitRate) * 500000; in airo_get_rate()
6153 vwrq->fixed = (local->config.rates[1] == 0); in airo_get_rate()
6164 struct iw_param *vwrq, in airo_set_rts() argument
[all …]
Dzd1201.c1485 struct iw_request_info *info, struct iw_param *vwrq, char *extra) in zd1201_set_power() argument
1491 enabled = vwrq->disabled ? 0 : 1; in zd1201_set_power()
1493 if (vwrq->flags & IW_POWER_PERIOD) { in zd1201_set_power()
1494 duration = vwrq->value; in zd1201_set_power()
1501 if (vwrq->flags & IW_POWER_TIMEOUT) { in zd1201_set_power()
1506 level = vwrq->value * 4 / duration; in zd1201_set_power()
1524 struct iw_request_info *info, struct iw_param *vwrq, char *extra) in zd1201_get_power() argument
1539 vwrq->disabled = enabled ? 0 : 1; in zd1201_get_power()
1540 if (vwrq->flags & IW_POWER_TYPE) { in zd1201_get_power()
1541 if (vwrq->flags & IW_POWER_PERIOD) { in zd1201_get_power()
[all …]