Lines Matching defs:rval
1684 uint8_t rval;
1700 rval = MSCALL1(hangfunc,
1702 if (rval == TRUE) {
2106 int rval = 0, len;
2133 rval = ndis_set_info(sc, OID_802_11_ENCRYPTION_STATUS, &arg, &len);
2135 if (rval)
2136 return (rval);
2141 rval = ndis_get_info(sc, OID_802_11_ENCRYPTION_STATUS, &arg, &len);
2143 if (rval != 0 || arg != save)
2260 int rval = 0, len;
2286 rval = ndis_set_info(sc, OID_802_11_INFRASTRUCTURE_MODE, &arg, &len);
2288 if (rval)
2289 device_printf (sc->ndis_dev, "set infra failed: %d\n", rval);
2331 rval = ndis_get_info(sc, OID_802_11_CONFIGURATION, &config, &len);
2344 if (rval == 0 && ic->ic_bsschan != IEEE80211_CHAN_ANYC) {
2358 rval = ndis_set_info(sc, OID_802_11_CONFIGURATION,
2360 if (rval)
2363 config.nc_dsconfig, rval);
2365 } else if (rval)
2367 "channel info: %d\n", rval);
2373 rval = ndis_set_info(sc, OID_802_11_BSSID, &bssid, &len);
2374 if (rval)
2376 "setting BSSID failed: %d\n", rval);
2389 int i, rval = 0, len, error;
2413 rval = ndis_set_info(sc, OID_802_11_INFRASTRUCTURE_MODE, &arg, &len);
2415 if (rval)
2416 device_printf (sc->ndis_dev, "set infra failed: %d\n", rval);
2475 rval = ndis_set_info(sc,
2477 if (rval)
2479 "set wepkey failed: %d\n", rval);
2487 rval = ndis_set_info(sc,
2489 if (rval)
2491 "enable WEP failed: %d\n", rval);
2535 rval = ndis_set_info(sc, OID_802_11_NETWORK_TYPE_IN_USE,
2537 if (rval)
2539 "set nettype failed: %d\n", rval);
2565 rval = ndis_set_info(sc, OID_802_11_BSSID, &bssid, &len);
2566 if (rval)
2568 "setting BSSID failed: %d\n", rval);
2588 rval = ndis_set_info(sc, OID_802_11_SSID, &ssid, &len);
2590 if (rval)
2591 device_printf (sc->ndis_dev, "set ssid failed: %d\n", rval);
2686 int rval, len, i = 0;
2699 if ((rval = ndis_get_assoc(sc, &bs)) != 0)
2714 rval = ndis_get_info(sc, OID_802_11_POWER_MODE, &arg, &len);
2716 if (rval)
2718 "get power mode failed: %d\n", rval);
2752 rval = ndis_get_info(sc, OID_802_11_AUTHENTICATION_MODE, &arg, &len);
2753 if (rval)
2755 "get authmode status failed: %d\n", rval);
2786 rval = ndis_get_info(sc, OID_802_11_WEP_STATUS, &arg, &len);
2788 if (rval)
2790 "get wep status failed: %d\n", rval);