Lines Matching refs:iov_buf
5932 bcm_iov_buf_t *iov_buf = (bcm_iov_buf_t *)ioctl_buf; local
5934 iov_buf->version = WL_FILS_IOV_VERSION;
5935 err = wldev_iovar_getbuf(ndev, "fils", (uint8*)iov_buf, sizeof(bcm_iov_buf_t),
5936 iov_buf, WLC_IOCTL_SMLEN, NULL);
5951 bcm_iov_buf_t *iov_buf = NULL; local
5977 iov_buf = MALLOCZ(cfg->osh, WLC_IOCTL_SMLEN);
5978 if (!iov_buf) {
5983 iov_buf->version = WL_FILS_IOV_VERSION;
5984 iov_buf->id = WL_FILS_CMD_ADD_CONNECT_PARAMS;
5986 err = bcm_xtlv_buf_init(&tbuf, (uint8*)&iov_buf->data[0],
6023 iov_buf->len = bcm_xtlv_buf_len(&tbuf);
6024 err = wldev_iovar_setbuf(dev, "fils", iov_buf, iov_buf->len + sizeof(bcm_iov_buf_t) -
6038 if (iov_buf) {
6039 MFREE(cfg->osh, iov_buf, WLC_IOCTL_SMLEN);
6439 bcm_iov_buf_t *iov_buf = 0; local
6453 iov_buf = MALLOCZ(cfg->osh, iov_buf_len);
6454 if (iov_buf == NULL) {
6461 pxtlv = (uint8 *)&iov_buf->data[0];
6467 iov_buf->version = WL_FILS_IOV_VERSION;
6468 iov_buf->id = WL_FILS_CMD_ADD_HLP_IE;
6469 iov_buf->len = ((sizeof(bcm_xtlv_t)-1) + ((bcm_xtlv_t*)pxtlv)->len);
6471 err = wldev_iovar_setbuf(dev, "fils", iov_buf,
6472 sizeof(bcm_iov_buf_t) + iov_buf->len,
6480 MFREE(cfg->osh, iov_buf, iov_buf_len);
10767 bcm_iov_buf_t *iov_buf = NULL; local
10783 iov_buf = MALLOCZ(cfg->osh, iov_buf_size);
10784 if (!iov_buf) {
10789 iov_buf->version = WL_FILS_IOV_VERSION;
10790 iov_buf->id = WL_FILS_CMD_ADD_IND_IE;
10791 iov_buf->len = sizeof(bcm_xtlv_t) + filsindie->len - 1;
10792 pxtlv = (bcm_xtlv_t*)&iov_buf->data[0];
10800 err = wldev_iovar_setbuf(dev, "fils", iov_buf, iov_buf_size,
10812 if (iov_buf) {
10813 MFREE(cfg->osh, iov_buf, iov_buf_size);
19602 char* iov_buf = NULL; local
19613 iov_buf = (char*)kmalloc(WLC_IOCTL_SMLEN, GFP_KERNEL);
19614 if (iov_buf == NULL) {
19631 msglen, iov_buf, WLC_IOCTL_SMLEN, NULL);
19633 bcopy(iov_buf, eventmask_msg, msglen);
19647 msglen, iov_buf, WLC_IOCTL_SMLEN, NULL);
19655 if (iov_buf)
19656 kfree(iov_buf);