• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/

Lines Matching defs:vwrq

6092 			 struct iw_param *vwrq,
6104 if((vwrq->value < 8) && (vwrq->value >= 0)) {
6107 brate = cap_rid.supportedRates[vwrq->value];
6110 u8 normvalue = (u8) (vwrq->value/500000);
6121 if(vwrq->value == -1) {
6137 if(vwrq->fixed == 0) {
6162 struct iw_param *vwrq,
6170 vwrq->value = le16_to_cpu(status_rid.currentXmitRate) * 500000;
6173 vwrq->fixed = (local->config.rates[1] == 0);
6184 struct iw_param *vwrq,
6188 int rthr = vwrq->value;
6190 if(vwrq->disabled)
6208 struct iw_param *vwrq,
6214 vwrq->value = le16_to_cpu(local->config.rtsThres);
6215 vwrq->disabled = (vwrq->value >= AIRO_DEF_MTU);
6216 vwrq->fixed = 1;
6227 struct iw_param *vwrq,
6231 int fthr = vwrq->value;
6233 if(vwrq->disabled)
6252 struct iw_param *vwrq,
6258 vwrq->value = le16_to_cpu(local->config.fragThresh);
6259 vwrq->disabled = (vwrq->value >= AIRO_DEF_MTU);
6260 vwrq->fixed = 1;
6812 struct iw_param *vwrq,
6819 __le16 v = cpu_to_le16(vwrq->value);
6823 if (vwrq->disabled) {
6828 if (vwrq->flags != IW_TXPOW_MWATT) {
6849 struct iw_param *vwrq,
6855 vwrq->value = le16_to_cpu(local->config.txPower);
6856 vwrq->fixed = 1; /* No power control */
6857 vwrq->disabled = test_bit(FLAG_RADIO_OFF, &local->flags);
6858 vwrq->flags = IW_TXPOW_MWATT;
6869 struct iw_param *vwrq,
6875 if(vwrq->disabled) {
6879 if(vwrq->flags & IW_RETRY_LIMIT) {
6880 __le16 v = cpu_to_le16(vwrq->value);
6881 if(vwrq->flags & IW_RETRY_LONG)
6883 else if (vwrq->flags & IW_RETRY_SHORT)
6893 if(vwrq->flags & IW_RETRY_LIFETIME) {
6894 local->config.txLifetime = cpu_to_le16(vwrq->value / 1024);
6907 struct iw_param *vwrq,
6912 vwrq->disabled = 0; /* Can't be disabled */
6916 if((vwrq->flags & IW_RETRY_TYPE) == IW_RETRY_LIFETIME) {
6917 vwrq->flags = IW_RETRY_LIFETIME;
6918 vwrq->value = le16_to_cpu(local->config.txLifetime) * 1024;
6919 } else if((vwrq->flags & IW_RETRY_LONG)) {
6920 vwrq->flags = IW_RETRY_LIMIT | IW_RETRY_LONG;
6921 vwrq->value = le16_to_cpu(local->config.longRetryLimit);
6923 vwrq->flags = IW_RETRY_LIMIT;
6924 vwrq->value = le16_to_cpu(local->config.shortRetryLimit);
6926 vwrq->flags |= IW_RETRY_SHORT;
7063 struct iw_param *vwrq,
7069 if (vwrq->disabled) {
7078 if ((vwrq->flags & IW_POWER_TYPE) == IW_POWER_TIMEOUT) {
7079 local->config.fastListenDelay = cpu_to_le16((vwrq->value + 500) / 1024);
7082 } else if ((vwrq->flags & IW_POWER_TYPE) == IW_POWER_PERIOD) {
7085 cpu_to_le16((vwrq->value + 500) / 1024);
7089 switch (vwrq->flags & IW_POWER_MODE) {
7119 struct iw_param *vwrq,
7127 if ((vwrq->disabled = (mode == POWERSAVE_CAM)))
7129 if ((vwrq->flags & IW_POWER_TYPE) == IW_POWER_TIMEOUT) {
7130 vwrq->value = le16_to_cpu(local->config.fastListenDelay) * 1024;
7131 vwrq->flags = IW_POWER_TIMEOUT;
7133 vwrq->value = le16_to_cpu(local->config.fastListenInterval) * 1024;
7134 vwrq->flags = IW_POWER_PERIOD;
7137 vwrq->flags |= IW_POWER_UNICAST_R;
7139 vwrq->flags |= IW_POWER_ALL_R;
7150 struct iw_param *vwrq,
7157 cpu_to_le16(vwrq->disabled ? RSSI_DEFAULT : vwrq->value);
7169 struct iw_param *vwrq,
7175 vwrq->value = le16_to_cpu(local->config.rssiThreshold);
7176 vwrq->disabled = (vwrq->value == 0);
7177 vwrq->fixed = 1;