Lines Matching refs:vwrq

2023 	struct iw_param *vwrq = &wrqu->bitrate;  in atmel_set_rate()  local
2026 if (vwrq->fixed == 0) { in atmel_set_rate()
2033 if ((vwrq->value < 4) && (vwrq->value >= 0)) { in atmel_set_rate()
2035 priv->tx_rate = vwrq->value; in atmel_set_rate()
2038 switch (vwrq->value) { in atmel_set_rate()
2092 struct iw_param *vwrq = &wrqu->bitrate; in atmel_get_rate() local
2096 vwrq->fixed = 0; in atmel_get_rate()
2097 vwrq->value = 11000000; in atmel_get_rate()
2099 vwrq->fixed = 1; in atmel_get_rate()
2102 vwrq->value = 1000000; in atmel_get_rate()
2105 vwrq->value = 2000000; in atmel_get_rate()
2108 vwrq->value = 5500000; in atmel_get_rate()
2111 vwrq->value = 11000000; in atmel_get_rate()
2123 struct iw_param *vwrq = &wrqu->power; in atmel_set_power() local
2125 priv->power_mode = vwrq->disabled ? 0 : 1; in atmel_set_power()
2134 struct iw_param *vwrq = &wrqu->power; in atmel_get_power() local
2136 vwrq->disabled = priv->power_mode ? 0 : 1; in atmel_get_power()
2137 vwrq->flags = IW_POWER_ON; in atmel_get_power()
2146 struct iw_param *vwrq = &wrqu->retry; in atmel_set_retry() local
2149 if (!vwrq->disabled && (vwrq->flags & IW_RETRY_LIMIT)) { in atmel_set_retry()
2150 if (vwrq->flags & IW_RETRY_LONG) in atmel_set_retry()
2151 priv->long_retry = vwrq->value; in atmel_set_retry()
2152 else if (vwrq->flags & IW_RETRY_SHORT) in atmel_set_retry()
2153 priv->short_retry = vwrq->value; in atmel_set_retry()
2156 priv->long_retry = vwrq->value; in atmel_set_retry()
2157 priv->short_retry = vwrq->value; in atmel_set_retry()
2170 struct iw_param *vwrq = &wrqu->retry; in atmel_get_retry() local
2173 vwrq->disabled = 0; /* Can't be disabled */ in atmel_get_retry()
2176 if (vwrq->flags & IW_RETRY_LONG) { in atmel_get_retry()
2177 vwrq->flags = IW_RETRY_LIMIT | IW_RETRY_LONG; in atmel_get_retry()
2178 vwrq->value = priv->long_retry; in atmel_get_retry()
2180 vwrq->flags = IW_RETRY_LIMIT; in atmel_get_retry()
2181 vwrq->value = priv->short_retry; in atmel_get_retry()
2183 vwrq->flags |= IW_RETRY_SHORT; in atmel_get_retry()
2194 struct iw_param *vwrq = &wrqu->rts; in atmel_set_rts() local
2196 int rthr = vwrq->value; in atmel_set_rts()
2198 if (vwrq->disabled) in atmel_set_rts()
2213 struct iw_param *vwrq = &wrqu->rts; in atmel_get_rts() local
2216 vwrq->value = priv->rts_threshold; in atmel_get_rts()
2217 vwrq->disabled = (vwrq->value >= 2347); in atmel_get_rts()
2218 vwrq->fixed = 1; in atmel_get_rts()
2228 struct iw_param *vwrq = &wrqu->frag; in atmel_set_frag() local
2230 int fthr = vwrq->value; in atmel_set_frag()
2232 if (vwrq->disabled) in atmel_set_frag()
2248 struct iw_param *vwrq = &wrqu->frag; in atmel_get_frag() local
2251 vwrq->value = priv->frag_threshold; in atmel_get_frag()
2252 vwrq->disabled = (vwrq->value >= 2346); in atmel_get_frag()
2253 vwrq->fixed = 1; in atmel_get_frag()