Lines Matching refs:vwrq

4976 			 struct iw_param *vwrq,  argument
4988 if((vwrq->value < 8) && (vwrq->value >= 0)) {
4991 brate = cap_rid.supportedRates[vwrq->value];
4994 u8 normvalue = (u8) (vwrq->value/500000);
5005 if(vwrq->value == -1) {
5021 if(vwrq->fixed == 0) {
5046 struct iw_param *vwrq, argument
5054 vwrq->value = status_rid.currentXmitRate * 500000;
5057 vwrq->fixed = (local->config.rates[1] == 0);
5068 struct iw_param *vwrq, argument
5072 int rthr = vwrq->value;
5074 if(vwrq->disabled)
5092 struct iw_param *vwrq, argument
5098 vwrq->value = local->config.rtsThres;
5099 vwrq->disabled = (vwrq->value >= 2312);
5100 vwrq->fixed = 1;
5111 struct iw_param *vwrq, argument
5115 int fthr = vwrq->value;
5117 if(vwrq->disabled)
5136 struct iw_param *vwrq, argument
5142 vwrq->value = local->config.fragThresh;
5143 vwrq->disabled = (vwrq->value >= 2312);
5144 vwrq->fixed = 1;
5381 struct iw_param *vwrq, argument
5391 if (vwrq->disabled) {
5396 if (vwrq->flags != IW_TXPOW_MWATT) {
5401 if ((vwrq->value==cap_rid.txPowerLevels[i])) {
5403 local->config.txPower = vwrq->value;
5417 struct iw_param *vwrq, argument
5423 vwrq->value = local->config.txPower;
5424 vwrq->fixed = 1; /* No power control */
5425 vwrq->disabled = test_bit(FLAG_RADIO_OFF, &local->flags);
5426 vwrq->flags = IW_TXPOW_MWATT;
5437 struct iw_param *vwrq, argument
5443 if(vwrq->disabled) {
5447 if(vwrq->flags & IW_RETRY_LIMIT) {
5448 if(vwrq->flags & IW_RETRY_MAX)
5449 local->config.longRetryLimit = vwrq->value;
5450 else if (vwrq->flags & IW_RETRY_MIN)
5451 local->config.shortRetryLimit = vwrq->value;
5454 local->config.longRetryLimit = vwrq->value;
5455 local->config.shortRetryLimit = vwrq->value;
5460 if(vwrq->flags & IW_RETRY_LIFETIME) {
5461 local->config.txLifetime = vwrq->value / 1024;
5474 struct iw_param *vwrq, argument
5479 vwrq->disabled = 0; /* Can't be disabled */
5483 if((vwrq->flags & IW_RETRY_TYPE) == IW_RETRY_LIFETIME) {
5484 vwrq->flags = IW_RETRY_LIFETIME;
5485 vwrq->value = (int)local->config.txLifetime * 1024;
5486 } else if((vwrq->flags & IW_RETRY_MAX)) {
5487 vwrq->flags = IW_RETRY_LIMIT | IW_RETRY_MAX;
5488 vwrq->value = (int)local->config.longRetryLimit;
5490 vwrq->flags = IW_RETRY_LIMIT;
5491 vwrq->value = (int)local->config.shortRetryLimit;
5493 vwrq->flags |= IW_RETRY_MIN;
5615 struct iw_param *vwrq, argument
5621 if (vwrq->disabled) {
5631 if ((vwrq->flags & IW_POWER_TYPE) == IW_POWER_TIMEOUT) {
5632 local->config.fastListenDelay = (vwrq->value + 500) / 1024;
5635 } else if ((vwrq->flags & IW_POWER_TYPE) == IW_POWER_PERIOD) {
5636 local->config.fastListenInterval = local->config.listenInterval = (vwrq->value + 500) / 1024;
5640 switch (vwrq->flags & IW_POWER_MODE) {
5672 struct iw_param *vwrq, argument
5680 if ((vwrq->disabled = (mode == POWERSAVE_CAM)))
5682 if ((vwrq->flags & IW_POWER_TYPE) == IW_POWER_TIMEOUT) {
5683 vwrq->value = (int)local->config.fastListenDelay * 1024;
5684 vwrq->flags = IW_POWER_TIMEOUT;
5686 vwrq->value = (int)local->config.fastListenInterval * 1024;
5687 vwrq->flags = IW_POWER_PERIOD;
5690 vwrq->flags |= IW_POWER_UNICAST_R;
5692 vwrq->flags |= IW_POWER_ALL_R;
5703 struct iw_param *vwrq, argument
5709 local->config.rssiThreshold = vwrq->disabled ? RSSI_DEFAULT : vwrq->value;
5721 struct iw_param *vwrq, argument
5727 vwrq->value = local->config.rssiThreshold;
5728 vwrq->disabled = (vwrq->value == 0);
5729 vwrq->fixed = 1;
5805 struct iw_param *vwrq, argument