Searched refs:vwrq (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/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-6.1.9/drivers/net/wireless/atmel/ |
D | atmel.c | 2015 struct iw_param *vwrq, in atmel_set_rate() argument 2020 if (vwrq->fixed == 0) { in atmel_set_rate() 2027 if ((vwrq->value < 4) && (vwrq->value >= 0)) { in atmel_set_rate() 2029 priv->tx_rate = vwrq->value; in atmel_set_rate() 2032 switch (vwrq->value) { in atmel_set_rate() 2081 struct iw_param *vwrq, in atmel_get_rate() argument 2087 vwrq->fixed = 0; in atmel_get_rate() 2088 vwrq->value = 11000000; in atmel_get_rate() 2090 vwrq->fixed = 1; in atmel_get_rate() 2093 vwrq->value = 1000000; in atmel_get_rate() [all …]
|
/linux-6.1.9/drivers/net/wireless/cisco/ |
D | airo.c | 6074 struct iw_param *vwrq, in airo_set_rate() argument 6086 if ((vwrq->value < 8) && (vwrq->value >= 0)) { in airo_set_rate() 6089 brate = cap_rid.supportedRates[vwrq->value]; in airo_set_rate() 6092 u8 normvalue = (u8) (vwrq->value/500000); in airo_set_rate() 6103 if (vwrq->value == -1) { in airo_set_rate() 6119 if (vwrq->fixed == 0) { in airo_set_rate() 6144 struct iw_param *vwrq, in airo_get_rate() argument 6152 vwrq->value = le16_to_cpu(status_rid.currentXmitRate) * 500000; in airo_get_rate() 6155 vwrq->fixed = (local->config.rates[1] == 0); in airo_get_rate() 6166 struct iw_param *vwrq, in airo_set_rts() argument [all …]
|
/linux-6.1.9/drivers/net/wireless/zydas/ |
D | zd1201.c | 1479 struct iw_request_info *info, struct iw_param *vwrq, char *extra) in zd1201_set_power() argument 1485 enabled = vwrq->disabled ? 0 : 1; in zd1201_set_power() 1487 if (vwrq->flags & IW_POWER_PERIOD) { in zd1201_set_power() 1488 duration = vwrq->value; in zd1201_set_power() 1495 if (vwrq->flags & IW_POWER_TIMEOUT) { in zd1201_set_power() 1500 level = vwrq->value * 4 / duration; in zd1201_set_power() 1518 struct iw_request_info *info, struct iw_param *vwrq, char *extra) in zd1201_get_power() argument 1533 vwrq->disabled = enabled ? 0 : 1; in zd1201_get_power() 1534 if (vwrq->flags & IW_POWER_TYPE) { in zd1201_get_power() 1535 if (vwrq->flags & IW_POWER_PERIOD) { in zd1201_get_power() [all …]
|