Searched refs:vwrq (Results 1 – 4 of 4) sorted by relevance
/drivers/net/wireless/prism54/ |
D | isl_ioctl.c | 389 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 …]
|
/drivers/net/wireless/ |
D | atmel.c | 2037 struct iw_param *vwrq, in atmel_set_rate() argument 2042 if (vwrq->fixed == 0) { in atmel_set_rate() 2049 if ((vwrq->value < 4) && (vwrq->value >= 0)) { in atmel_set_rate() 2051 priv->tx_rate = vwrq->value; in atmel_set_rate() 2054 switch (vwrq->value) { in atmel_set_rate() 2103 struct iw_param *vwrq, in atmel_get_rate() argument 2109 vwrq->fixed = 0; in atmel_get_rate() 2110 vwrq->value = 11000000; in atmel_get_rate() 2112 vwrq->fixed = 1; in atmel_get_rate() 2115 vwrq->value = 1000000; in atmel_get_rate() [all …]
|
D | airo.c | 6031 struct iw_param *vwrq, in airo_set_rate() argument 6043 if((vwrq->value < 8) && (vwrq->value >= 0)) { in airo_set_rate() 6046 brate = cap_rid.supportedRates[vwrq->value]; in airo_set_rate() 6049 u8 normvalue = (u8) (vwrq->value/500000); in airo_set_rate() 6060 if(vwrq->value == -1) { in airo_set_rate() 6076 if(vwrq->fixed == 0) { in airo_set_rate() 6101 struct iw_param *vwrq, in airo_get_rate() argument 6109 vwrq->value = le16_to_cpu(status_rid.currentXmitRate) * 500000; in airo_get_rate() 6112 vwrq->fixed = (local->config.rates[1] == 0); in airo_get_rate() 6123 struct iw_param *vwrq, in airo_set_rts() argument [all …]
|
D | zd1201.c | 1482 struct iw_request_info *info, struct iw_param *vwrq, char *extra) in zd1201_set_power() argument 1488 enabled = vwrq->disabled ? 0 : 1; in zd1201_set_power() 1490 if (vwrq->flags & IW_POWER_PERIOD) { in zd1201_set_power() 1491 duration = vwrq->value; in zd1201_set_power() 1498 if (vwrq->flags & IW_POWER_TIMEOUT) { in zd1201_set_power() 1503 level = vwrq->value * 4 / duration; in zd1201_set_power() 1521 struct iw_request_info *info, struct iw_param *vwrq, char *extra) in zd1201_get_power() argument 1536 vwrq->disabled = enabled ? 0 : 1; in zd1201_get_power() 1537 if (vwrq->flags & IW_POWER_TYPE) { in zd1201_get_power() 1538 if (vwrq->flags & IW_POWER_PERIOD) { in zd1201_get_power() [all …]
|