Lines Matching refs:retcode

4258 	int retcode;  in dhd_arp_offload_set()  local
4260 retcode = dhd_wl_ioctl_set_intiovar(dhd, "arp_ol", in dhd_arp_offload_set()
4263 retcode = retcode >= 0 ? 0 : retcode; in dhd_arp_offload_set()
4264 if (retcode) in dhd_arp_offload_set()
4266 __FUNCTION__, arp_mode, retcode)); in dhd_arp_offload_set()
4275 int retcode; in dhd_arp_offload_enable() local
4285 retcode = dhd_wl_ioctl_set_intiovar(dhd, "arpoe", in dhd_arp_offload_enable()
4288 retcode = retcode >= 0 ? 0 : retcode; in dhd_arp_offload_enable()
4289 if (retcode) in dhd_arp_offload_enable()
4291 __FUNCTION__, arp_enable, retcode)); in dhd_arp_offload_enable()
4297 retcode = dhd_wl_ioctl_get_intiovar(dhd, "arp_version", in dhd_arp_offload_enable()
4299 if (retcode) { in dhd_arp_offload_enable()
4301 __FUNCTION__, retcode)); in dhd_arp_offload_enable()
4401 int retcode; in dhd_ndo_enable() local
4419 retcode = dhd_wl_ioctl_set_intiovar(dhd, "ndoe", in dhd_ndo_enable()
4421 if (retcode) in dhd_ndo_enable()
4423 __FUNCTION__, ndo_enable, retcode)); in dhd_ndo_enable()
4428 return retcode; in dhd_ndo_enable()
4440 int retcode; in dhd_ndo_add_ip() local
4452 retcode = dhd_wl_ioctl_cmd(dhd, WLC_SET_VAR, iovbuf, iov_len, TRUE, idx); in dhd_ndo_add_ip()
4454 if (retcode) in dhd_ndo_add_ip()
4456 __FUNCTION__, retcode)); in dhd_ndo_add_ip()
4461 return retcode; in dhd_ndo_add_ip()
4471 int retcode; in check_reverse_aifsn_condition() local
4487 retcode = dhd_wl_ioctl_cmd(dhd, WLC_GET_VAR, iovbuf, iov_len, FALSE, ifidx); in check_reverse_aifsn_condition()
4488 if (retcode) { in check_reverse_aifsn_condition()
4490 __FUNCTION__, retcode)); in check_reverse_aifsn_condition()
4516 int retcode; in dhd_ndo_remove_ip() local
4528 retcode = dhd_wl_ioctl_cmd(dhd, WLC_SET_VAR, iovbuf, iov_len, TRUE, idx); in dhd_ndo_remove_ip()
4530 if (retcode) in dhd_ndo_remove_ip()
4532 __FUNCTION__, retcode)); in dhd_ndo_remove_ip()
4537 return retcode; in dhd_ndo_remove_ip()
4546 int retcode; in dhd_ndo_get_version() local
4567 retcode = dhd_wl_ioctl_cmd(dhdp, WLC_GET_VAR, iovbuf, iov_len, FALSE, 0); in dhd_ndo_get_version()
4569 if (retcode) { in dhd_ndo_get_version()
4570 DHD_ERROR(("%s: failed, retcode = %d\n", __FUNCTION__, retcode)); in dhd_ndo_get_version()
4596 int retcode; in dhd_ndo_add_ip_with_type() local
4618 retcode = dhd_wl_ioctl_cmd(dhdp, WLC_SET_VAR, iovbuf, iov_len, TRUE, idx); in dhd_ndo_add_ip_with_type()
4619 if (retcode) { in dhd_ndo_add_ip_with_type()
4620 DHD_ERROR(("%s: failed, retcode = %d\n", __FUNCTION__, retcode)); in dhd_ndo_add_ip_with_type()
4622 if (retcode == BCME_NORESOURCE) { in dhd_ndo_add_ip_with_type()
4631 DHD_TRACE(("%s: successfully added: %d\n", __FUNCTION__, retcode)); in dhd_ndo_add_ip_with_type()
4634 return retcode; in dhd_ndo_add_ip_with_type()
4643 int retcode; in dhd_ndo_remove_ip_by_addr() local
4666 retcode = dhd_wl_ioctl_cmd(dhdp, WLC_SET_VAR, iovbuf, iov_len, TRUE, idx); in dhd_ndo_remove_ip_by_addr()
4667 if (retcode) { in dhd_ndo_remove_ip_by_addr()
4668 DHD_ERROR(("%s: failed, retcode = %d\n", __FUNCTION__, retcode)); in dhd_ndo_remove_ip_by_addr()
4670 DHD_TRACE(("%s: successfully removed: %d\n", __FUNCTION__, retcode)); in dhd_ndo_remove_ip_by_addr()
4673 return retcode; in dhd_ndo_remove_ip_by_addr()
4682 int retcode; in dhd_ndo_remove_ip_by_type() local
4708 retcode = dhd_wl_ioctl_cmd(dhdp, WLC_SET_VAR, iovbuf, iov_len, TRUE, idx); in dhd_ndo_remove_ip_by_type()
4709 if (retcode) { in dhd_ndo_remove_ip_by_type()
4710 DHD_ERROR(("%s: failed, retcode = %d\n", __FUNCTION__, retcode)); in dhd_ndo_remove_ip_by_type()
4712 DHD_TRACE(("%s: successfully removed: %d\n", __FUNCTION__, retcode)); in dhd_ndo_remove_ip_by_type()
4715 return retcode; in dhd_ndo_remove_ip_by_type()
4723 int retcode; in dhd_ndo_unsolicited_na_filter_enable() local
4738 retcode = dhd_wl_ioctl_cmd(dhdp, WLC_SET_VAR, iovbuf, iov_len, TRUE, 0); in dhd_ndo_unsolicited_na_filter_enable()
4739 if (retcode) in dhd_ndo_unsolicited_na_filter_enable()
4741 __FUNCTION__, enable, retcode)); in dhd_ndo_unsolicited_na_filter_enable()
4747 return retcode; in dhd_ndo_unsolicited_na_filter_enable()