Lines Matching refs:rvalue
250 int rvalue; in prism54_get_name() local
256 rvalue = mgt_get_request(priv, OID_INL_PHYCAPABILITIES, 0, NULL, &r); in prism54_get_name()
271 return rvalue; in prism54_get_name()
279 int rvalue; in prism54_set_freq() local
288 rvalue = c ? mgt_set_request(priv, DOT11_OID_CHANNEL, 0, &c) : -EINVAL; in prism54_set_freq()
291 return (rvalue ? rvalue : -EINPROGRESS); in prism54_set_freq()
300 int rvalue; in prism54_get_freq() local
302 rvalue = mgt_get_request(priv, DOT11_OID_CHANNEL, 0, NULL, &r); in prism54_get_freq()
304 rvalue |= mgt_get_request(priv, DOT11_OID_FREQUENCY, 0, NULL, &r); in prism54_get_freq()
308 return rvalue; in prism54_get_freq()
392 int rvalue; in prism54_get_sens() local
394 rvalue = mgt_get_request(priv, DOT11_OID_EDTHRESHOLD, 0, NULL, &r); in prism54_get_sens()
400 return rvalue; in prism54_get_sens()
410 int i, m, rvalue; in prism54_get_range() local
473 rvalue = in prism54_get_range()
488 rvalue |= mgt_get_request(priv, DOT11_OID_SUPPORTEDRATES, 0, NULL, &r); in prism54_get_range()
502 return rvalue; in prism54_get_range()
513 int rvalue; in prism54_set_wap() local
522 rvalue = mgt_set_request(priv, DOT11_OID_BSSID, 0, &bssid); in prism54_set_wap()
524 return (rvalue ? rvalue : -EINPROGRESS); /* Call commit handler */ in prism54_set_wap()
535 int rvalue; in prism54_get_wap() local
537 rvalue = mgt_get_request(priv, DOT11_OID_BSSID, 0, NULL, &r); in prism54_get_wap()
542 return rvalue; in prism54_get_wap()
655 int i, rvalue; in prism54_get_scan() local
668 rvalue = mgt_get_request(priv, DOT11_OID_NOISEFLOOR, 0, NULL, &r); in prism54_get_scan()
679 rvalue |= mgt_get_request(priv, DOT11_OID_BSSLIST, 0, NULL, &r); in prism54_get_scan()
692 rvalue = -E2BIG; in prism54_get_scan()
702 return rvalue; in prism54_get_scan()
739 int rvalue; in prism54_get_essid() local
741 rvalue = mgt_get_request(priv, DOT11_OID_SSID, 0, NULL, &r); in prism54_get_essid()
756 return rvalue; in prism54_get_essid()
876 int rvalue; in prism54_get_rate() local
881 if ((rvalue = mgt_get_request(priv, GEN_OID_LINKSTATE, 0, NULL, &r))) in prism54_get_rate()
882 return rvalue; in prism54_get_rate()
886 rvalue = mgt_get_request(priv, DOT11_OID_RATES, 0, NULL, &r); in prism54_get_rate()
887 if (rvalue) { in prism54_get_rate()
889 return rvalue; in prism54_get_rate()
913 int rvalue; in prism54_get_rts() local
916 rvalue = mgt_get_request(priv, DOT11_OID_RTSTHRESH, 0, NULL, &r); in prism54_get_rts()
919 return rvalue; in prism54_get_rts()
937 int rvalue; in prism54_get_frag() local
939 rvalue = mgt_get_request(priv, DOT11_OID_FRAGTHRESH, 0, NULL, &r); in prism54_get_frag()
942 return rvalue; in prism54_get_frag()
959 int rvalue = 0; in prism54_set_retry() local
982 rvalue = in prism54_set_retry()
985 rvalue |= in prism54_set_retry()
988 rvalue |= in prism54_set_retry()
991 return rvalue; in prism54_set_retry()
1000 int rvalue = 0; in prism54_get_retry() local
1005 rvalue = in prism54_get_retry()
1011 rvalue |= in prism54_get_retry()
1017 rvalue |= in prism54_get_retry()
1023 return rvalue; in prism54_get_retry()
1031 int rvalue = 0, force = 0; in prism54_set_encode() local
1046 rvalue = mgt_get_request(priv, DOT11_OID_DEFKEYID, 0, NULL, &r); in prism54_set_encode()
1061 rvalue |= in prism54_set_encode()
1076 rvalue |= in prism54_set_encode()
1104 rvalue |= in prism54_set_encode()
1106 rvalue |= in prism54_set_encode()
1108 rvalue |= in prism54_set_encode()
1112 return rvalue; in prism54_set_encode()
1123 int rvalue; in prism54_get_encode() local
1127 rvalue = mgt_get_request(priv, DOT11_OID_AUTHENABLE, 0, NULL, &r); in prism54_get_encode()
1129 rvalue |= mgt_get_request(priv, DOT11_OID_PRIVACYINVOKED, 0, NULL, &r); in prism54_get_encode()
1131 rvalue |= mgt_get_request(priv, DOT11_OID_EXUNENCRYPTED, 0, NULL, &r); in prism54_get_encode()
1146 rvalue |= mgt_get_request(priv, DOT11_OID_DEFKEYID, 0, NULL, &r); in prism54_get_encode()
1152 rvalue |= mgt_get_request(priv, DOT11_OID_DEFKEYX, index, NULL, &r); in prism54_get_encode()
1160 return rvalue; in prism54_get_encode()
1169 int rvalue; in prism54_get_txpower() local
1171 rvalue = mgt_get_request(priv, OID_INL_OUTPUTPOWER, 0, NULL, &r); in prism54_get_txpower()
1180 return rvalue; in prism54_get_txpower()
1223 int rvalue; in prism54_get_oid() local
1226 rvalue = mgt_get_request((islpci_private *) ndev->priv, n, 0, NULL, &r); in prism54_get_oid()
1230 return rvalue; in prism54_get_oid()
1463 int rvalue; in prism54_kick_all() local
1471 rvalue = in prism54_kick_all()
1475 return rvalue; in prism54_kick_all()
1484 int rvalue; in prism54_kick_mac() local
1496 rvalue = in prism54_kick_mac()
1501 return rvalue; in prism54_kick_mac()
2065 int rvalue = 0, force = 0; in prism2_ioctl_set_encryption() local
2080 rvalue = mgt_get_request(priv, DOT11_OID_DEFKEYID, 0, NULL, &r); in prism2_ioctl_set_encryption()
2095 rvalue |= in prism2_ioctl_set_encryption()
2110 rvalue |= in prism2_ioctl_set_encryption()
2138 rvalue |= in prism2_ioctl_set_encryption()
2140 rvalue |= in prism2_ioctl_set_encryption()
2142 rvalue |= in prism2_ioctl_set_encryption()
2146 return rvalue; in prism2_ioctl_set_encryption()
2210 int i, rvalue; in prism2_ioctl_scan_req() local
2223 rvalue = mgt_get_request(priv, DOT11_OID_NOISEFLOOR, 0, NULL, &r); in prism2_ioctl_scan_req()
2230 rvalue |= mgt_get_request(priv, DOT11_OID_BSSLIST, 0, NULL, &r); in prism2_ioctl_scan_req()
2241 return rvalue; in prism2_ioctl_scan_req()