Lines Matching defs:vbm
172 struct wl1251_cmd_vbm_update *vbm;
175 wl1251_debug(DEBUG_CMD, "cmd vbm");
177 vbm = kzalloc(sizeof(*vbm), GFP_KERNEL);
178 if (!vbm)
182 vbm->tim.bitmap_ctrl = bitmap_control;
184 wl1251_warning("cmd vbm len is %d B, truncating to %d",
188 memcpy(vbm->tim.pvb_field, bitmap, bitmap_len);
189 vbm->tim.identity = identity;
190 vbm->tim.length = bitmap_len + 3;
192 vbm->len = cpu_to_le16(bitmap_len + 5);
194 ret = wl1251_cmd_send(wl, CMD_VBM, vbm, sizeof(*vbm));
201 kfree(vbm);