Lines Matching refs:ps_params
311 struct wl1251_cmd_ps_params *ps_params = NULL; in wl1251_cmd_ps_mode() local
316 ps_params = kzalloc(sizeof(*ps_params), GFP_KERNEL); in wl1251_cmd_ps_mode()
317 if (!ps_params) { in wl1251_cmd_ps_mode()
322 ps_params->ps_mode = ps_mode; in wl1251_cmd_ps_mode()
323 ps_params->send_null_data = 1; in wl1251_cmd_ps_mode()
324 ps_params->retries = 5; in wl1251_cmd_ps_mode()
325 ps_params->hang_over_period = 128; in wl1251_cmd_ps_mode()
326 ps_params->null_data_rate = 1; /* 1 Mbps */ in wl1251_cmd_ps_mode()
328 ret = wl1251_cmd_send(wl, CMD_SET_PS_MODE, ps_params, in wl1251_cmd_ps_mode()
329 sizeof(*ps_params)); in wl1251_cmd_ps_mode()
336 kfree(ps_params); in wl1251_cmd_ps_mode()