Searched refs:vwrq (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/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-v5.10/drivers/net/wireless/intersil/prism54/ |
D | isl_ioctl.c | 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() [all …]
|
/Linux-v5.10/drivers/net/wireless/atmel/ |
D | atmel.c | 2016 struct iw_param *vwrq, in atmel_set_rate() argument 2021 if (vwrq->fixed == 0) { in atmel_set_rate() 2028 if ((vwrq->value < 4) && (vwrq->value >= 0)) { in atmel_set_rate() 2030 priv->tx_rate = vwrq->value; in atmel_set_rate() 2033 switch (vwrq->value) { in atmel_set_rate() 2082 struct iw_param *vwrq, in atmel_get_rate() argument 2088 vwrq->fixed = 0; in atmel_get_rate() 2089 vwrq->value = 11000000; in atmel_get_rate() 2091 vwrq->fixed = 1; in atmel_get_rate() 2094 vwrq->value = 1000000; in atmel_get_rate() [all …]
|
/Linux-v5.10/drivers/net/wireless/cisco/ |
D | airo.c | 6055 struct iw_param *vwrq, in airo_set_rate() argument 6067 if ((vwrq->value < 8) && (vwrq->value >= 0)) { in airo_set_rate() 6070 brate = cap_rid.supportedRates[vwrq->value]; in airo_set_rate() 6073 u8 normvalue = (u8) (vwrq->value/500000); in airo_set_rate() 6084 if (vwrq->value == -1) { in airo_set_rate() 6100 if (vwrq->fixed == 0) { in airo_set_rate() 6125 struct iw_param *vwrq, in airo_get_rate() argument 6133 vwrq->value = le16_to_cpu(status_rid.currentXmitRate) * 500000; in airo_get_rate() 6136 vwrq->fixed = (local->config.rates[1] == 0); in airo_get_rate() 6147 struct iw_param *vwrq, in airo_set_rts() argument [all …]
|
/Linux-v5.10/drivers/net/wireless/zydas/ |
D | zd1201.c | 1480 struct iw_request_info *info, struct iw_param *vwrq, char *extra) in zd1201_set_power() argument 1486 enabled = vwrq->disabled ? 0 : 1; in zd1201_set_power() 1488 if (vwrq->flags & IW_POWER_PERIOD) { in zd1201_set_power() 1489 duration = vwrq->value; in zd1201_set_power() 1496 if (vwrq->flags & IW_POWER_TIMEOUT) { in zd1201_set_power() 1501 level = vwrq->value * 4 / duration; in zd1201_set_power() 1519 struct iw_request_info *info, struct iw_param *vwrq, char *extra) in zd1201_get_power() argument 1534 vwrq->disabled = enabled ? 0 : 1; in zd1201_get_power() 1535 if (vwrq->flags & IW_POWER_TYPE) { in zd1201_get_power() 1536 if (vwrq->flags & IW_POWER_PERIOD) { in zd1201_get_power() [all …]
|