Searched refs:vbm (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/wireless/ti/wl1251/
H A Dcmd.c171 struct wl1251_cmd_vbm_update *vbm; wl1251_cmd_vbm() local
174 wl1251_debug(DEBUG_CMD, "cmd vbm"); wl1251_cmd_vbm()
176 vbm = kzalloc(sizeof(*vbm), GFP_KERNEL); wl1251_cmd_vbm()
177 if (!vbm) { wl1251_cmd_vbm()
183 vbm->tim.bitmap_ctrl = bitmap_control; wl1251_cmd_vbm()
185 wl1251_warning("cmd vbm len is %d B, truncating to %d", wl1251_cmd_vbm()
189 memcpy(vbm->tim.pvb_field, bitmap, bitmap_len); wl1251_cmd_vbm()
190 vbm->tim.identity = identity; wl1251_cmd_vbm()
191 vbm->tim.length = bitmap_len + 3; wl1251_cmd_vbm()
193 vbm->len = cpu_to_le16(bitmap_len + 5); wl1251_cmd_vbm()
195 ret = wl1251_cmd_send(wl, CMD_VBM, vbm, sizeof(*vbm)); wl1251_cmd_vbm()
202 kfree(vbm); wl1251_cmd_vbm()

Completed in 39 milliseconds