Lines Matching defs:vwrq
2045 struct iw_param *vwrq,
2050 if (vwrq->fixed == 0) {
2057 if ((vwrq->value < 4) && (vwrq->value >= 0)) {
2059 priv->tx_rate = vwrq->value;
2062 switch (vwrq->value) {
2111 struct iw_param *vwrq,
2117 vwrq->fixed = 0;
2118 vwrq->value = 11000000;
2120 vwrq->fixed = 1;
2123 vwrq->value = 1000000;
2126 vwrq->value = 2000000;
2129 vwrq->value = 5500000;
2132 vwrq->value = 11000000;
2141 struct iw_param *vwrq,
2145 priv->power_mode = vwrq->disabled ? 0 : 1;
2151 struct iw_param *vwrq,
2155 vwrq->disabled = priv->power_mode ? 0 : 1;
2156 vwrq->flags = IW_POWER_ON;
2162 struct iw_param *vwrq,
2167 if (!vwrq->disabled && (vwrq->flags & IW_RETRY_LIMIT)) {
2168 if (vwrq->flags & IW_RETRY_LONG)
2169 priv->long_retry = vwrq->value;
2170 else if (vwrq->flags & IW_RETRY_SHORT)
2171 priv->short_retry = vwrq->value;
2174 priv->long_retry = vwrq->value;
2175 priv->short_retry = vwrq->value;
2185 struct iw_param *vwrq,
2190 vwrq->disabled = 0; /* Can't be disabled */
2193 if (vwrq->flags & IW_RETRY_LONG) {
2194 vwrq->flags = IW_RETRY_LIMIT | IW_RETRY_LONG;
2195 vwrq->value = priv->long_retry;
2197 vwrq->flags = IW_RETRY_LIMIT;
2198 vwrq->value = priv->short_retry;
2200 vwrq->flags |= IW_RETRY_SHORT;
2208 struct iw_param *vwrq,
2212 int rthr = vwrq->value;
2214 if (vwrq->disabled)
2226 struct iw_param *vwrq,
2231 vwrq->value = priv->rts_threshold;
2232 vwrq->disabled = (vwrq->value >= 2347);
2233 vwrq->fixed = 1;
2240 struct iw_param *vwrq,
2244 int fthr = vwrq->value;
2246 if (vwrq->disabled)
2259 struct iw_param *vwrq,
2264 vwrq->value = priv->frag_threshold;
2265 vwrq->disabled = (vwrq->value >= 2346);
2266 vwrq->fixed = 1;