Lines Matching refs:iovbuf
973 char iovbuf[WLC_IOCTL_SMLEN]; in dhd_wl_ioctl_get_intiovar() local
976 memset(iovbuf, 0, sizeof(iovbuf)); in dhd_wl_ioctl_get_intiovar()
977 if (bcm_mkiovar(name, NULL, 0, iovbuf, sizeof(iovbuf))) { in dhd_wl_ioctl_get_intiovar()
978 ret = dhd_wl_ioctl_cmd(dhd_pub, cmd, iovbuf, sizeof(iovbuf), set, ifidx); in dhd_wl_ioctl_get_intiovar()
980 *pval = ltoh32(*((uint*)iovbuf)); in dhd_wl_ioctl_get_intiovar()
997 char iovbuf[WLC_IOCTL_SMLEN]; in dhd_wl_ioctl_set_intiovar() local
1002 len = bcm_mkiovar(name, (char*)&lval, sizeof(lval), iovbuf, sizeof(iovbuf)); in dhd_wl_ioctl_set_intiovar()
1005 ret = dhd_wl_ioctl_cmd(dhd_pub, cmd, iovbuf, len, set, ifidx); in dhd_wl_ioctl_set_intiovar()
4439 char iovbuf[DHD_IOVAR_BUF_SIZE]; in dhd_ndo_add_ip() local
4446 IPV6_ADDR_LEN, iovbuf, sizeof(iovbuf)); in dhd_ndo_add_ip()
4449 __FUNCTION__, sizeof(iovbuf))); in dhd_ndo_add_ip()
4452 retcode = dhd_wl_ioctl_cmd(dhd, WLC_SET_VAR, iovbuf, iov_len, TRUE, idx); in dhd_ndo_add_ip()
4469 char iovbuf[DHD_IOVAR_BUF_SIZE]; in check_reverse_aifsn_condition() local
4484 strcpy(iovbuf, "wme_ac_sta"); in check_reverse_aifsn_condition()
4485 iov_len = sizeof(iovbuf); in check_reverse_aifsn_condition()
4487 retcode = dhd_wl_ioctl_cmd(dhd, WLC_GET_VAR, iovbuf, iov_len, FALSE, ifidx); in check_reverse_aifsn_condition()
4494 ac_params = (edcf_acparam_t *)iovbuf; in check_reverse_aifsn_condition()
4515 char iovbuf[DHD_IOVAR_BUF_SIZE]; in dhd_ndo_remove_ip() local
4522 0, iovbuf, sizeof(iovbuf)); in dhd_ndo_remove_ip()
4525 __FUNCTION__, sizeof(iovbuf))); in dhd_ndo_remove_ip()
4528 retcode = dhd_wl_ioctl_cmd(dhd, WLC_SET_VAR, iovbuf, iov_len, TRUE, idx); in dhd_ndo_remove_ip()
4543 char iovbuf[DHD_IOVAR_BUF_SIZE]; in dhd_ndo_get_version() local
4553 memset(&iovbuf, 0, sizeof(iovbuf)); in dhd_ndo_get_version()
4559 WL_ND_HOSTIP_FIXED_LEN + sizeof(uint16), iovbuf, sizeof(iovbuf)); in dhd_ndo_get_version()
4563 __FUNCTION__, sizeof(iovbuf))); in dhd_ndo_get_version()
4567 retcode = dhd_wl_ioctl_cmd(dhdp, WLC_GET_VAR, iovbuf, iov_len, FALSE, 0); in dhd_ndo_get_version()
4574 wl_nd_hostip_t *ndo_ver_ret = (wl_nd_hostip_t *)iovbuf; in dhd_ndo_get_version()
4593 char iovbuf[DHD_IOVAR_BUF_SIZE]; in dhd_ndo_add_ip_with_type() local
4611 WL_ND_HOSTIP_WITH_ADDR_LEN, iovbuf, sizeof(iovbuf)); in dhd_ndo_add_ip_with_type()
4614 __FUNCTION__, sizeof(iovbuf))); in dhd_ndo_add_ip_with_type()
4618 retcode = dhd_wl_ioctl_cmd(dhdp, WLC_SET_VAR, iovbuf, iov_len, TRUE, idx); in dhd_ndo_add_ip_with_type()
4640 char iovbuf[DHD_IOVAR_BUF_SIZE]; in dhd_ndo_remove_ip_by_addr() local
4658 WL_ND_HOSTIP_WITH_ADDR_LEN, iovbuf, sizeof(iovbuf)); in dhd_ndo_remove_ip_by_addr()
4662 __FUNCTION__, sizeof(iovbuf))); in dhd_ndo_remove_ip_by_addr()
4666 retcode = dhd_wl_ioctl_cmd(dhdp, WLC_SET_VAR, iovbuf, iov_len, TRUE, idx); in dhd_ndo_remove_ip_by_addr()
4679 char iovbuf[DHD_IOVAR_BUF_SIZE]; in dhd_ndo_remove_ip_by_type() local
4700 iovbuf, sizeof(iovbuf)); in dhd_ndo_remove_ip_by_type()
4704 __FUNCTION__, sizeof(iovbuf))); in dhd_ndo_remove_ip_by_type()
4708 retcode = dhd_wl_ioctl_cmd(dhdp, WLC_SET_VAR, iovbuf, iov_len, TRUE, idx); in dhd_ndo_remove_ip_by_type()
4721 char iovbuf[DHD_IOVAR_BUF_SIZE]; in dhd_ndo_unsolicited_na_filter_enable() local
4730 iovbuf, sizeof(iovbuf)); in dhd_ndo_unsolicited_na_filter_enable()
4734 __FUNCTION__, sizeof(iovbuf))); in dhd_ndo_unsolicited_na_filter_enable()
4738 retcode = dhd_wl_ioctl_cmd(dhdp, WLC_SET_VAR, iovbuf, iov_len, TRUE, 0); in dhd_ndo_unsolicited_na_filter_enable()
5656 char iovbuf[WLC_IOCTL_SMLEN]; in dhd_check_current_clm_data() local
5660 memset(iovbuf, 0, sizeof(iovbuf)); in dhd_check_current_clm_data()
5661 err = bcm_mkiovar("country", NULL, 0, iovbuf, sizeof(iovbuf)); in dhd_check_current_clm_data()
5667 err = dhd_wl_ioctl_cmd(dhd, WLC_GET_VAR, iovbuf, sizeof(iovbuf), FALSE, 0); in dhd_check_current_clm_data()
5672 cspec = (wl_country_t *)iovbuf; in dhd_check_current_clm_data()
5693 char iovbuf[WLC_IOCTL_SMLEN]; in dhd_apply_default_clm()
5757 memset(iovbuf, 0, sizeof(iovbuf)); in dhd_apply_default_clm()
5758 len = bcm_mkiovar("clmload_status", NULL, 0, iovbuf, sizeof(iovbuf)); in dhd_apply_default_clm()
5763 err = dhd_wl_ioctl_cmd(dhd, WLC_GET_VAR, iovbuf, sizeof(iovbuf), FALSE, 0); in dhd_apply_default_clm()
5769 __FUNCTION__, *((int *)iovbuf))); in dhd_apply_default_clm()
5770 if (*((int *)iovbuf) == CHIPID_MISMATCH) { in dhd_apply_default_clm()