Searched refs:vwrq (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/staging/ks7010/ |
D | ks_wlan_net.c | 394 union iwreq_data *vwrq, char *extra) in ks_wlan_set_rate() argument 404 if (vwrq->bitrate.fixed == 1) { in ks_wlan_set_rate() 405 switch (vwrq->bitrate.value) { in ks_wlan_set_rate() 409 (u8)(vwrq->bitrate.value / 500000); in ks_wlan_set_rate() 414 ((u8)(vwrq->bitrate.value / 500000)) | in ks_wlan_set_rate() 423 if (vwrq->bitrate.value > 0) { in ks_wlan_set_rate() 424 switch (vwrq->bitrate.value) { in ks_wlan_set_rate() 461 if (vwrq->bitrate.fixed == 1) { in ks_wlan_set_rate() 462 switch (vwrq->bitrate.value) { in ks_wlan_set_rate() 469 (u8)(vwrq->bitrate.value / 500000); in ks_wlan_set_rate() [all …]
|
/Linux-v4.19/drivers/net/wireless/intersil/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 …]
|
/Linux-v4.19/drivers/net/wireless/atmel/ |
D | atmel.c | 2017 struct iw_param *vwrq, in atmel_set_rate() argument 2022 if (vwrq->fixed == 0) { in atmel_set_rate() 2029 if ((vwrq->value < 4) && (vwrq->value >= 0)) { in atmel_set_rate() 2031 priv->tx_rate = vwrq->value; in atmel_set_rate() 2034 switch (vwrq->value) { in atmel_set_rate() 2083 struct iw_param *vwrq, in atmel_get_rate() argument 2089 vwrq->fixed = 0; in atmel_get_rate() 2090 vwrq->value = 11000000; in atmel_get_rate() 2092 vwrq->fixed = 1; in atmel_get_rate() 2095 vwrq->value = 1000000; in atmel_get_rate() [all …]
|
/Linux-v4.19/drivers/net/wireless/cisco/ |
D | airo.c | 6016 struct iw_param *vwrq, in airo_set_rate() argument 6028 if((vwrq->value < 8) && (vwrq->value >= 0)) { in airo_set_rate() 6031 brate = cap_rid.supportedRates[vwrq->value]; in airo_set_rate() 6034 u8 normvalue = (u8) (vwrq->value/500000); in airo_set_rate() 6045 if(vwrq->value == -1) { in airo_set_rate() 6061 if(vwrq->fixed == 0) { in airo_set_rate() 6086 struct iw_param *vwrq, in airo_get_rate() argument 6094 vwrq->value = le16_to_cpu(status_rid.currentXmitRate) * 500000; in airo_get_rate() 6097 vwrq->fixed = (local->config.rates[1] == 0); in airo_get_rate() 6108 struct iw_param *vwrq, in airo_set_rts() argument [all …]
|
/Linux-v4.19/drivers/net/wireless/zydas/ |
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 …]
|