Home
last modified time | relevance | path

Searched refs:ps_params (Results 1 – 2 of 2) sorted by relevance

/drivers/net/wireless/ti/wl1251/
Dcmd.c320 struct wl1251_cmd_ps_params *ps_params = NULL; in wl1251_cmd_ps_mode() local
325 ps_params = kzalloc(sizeof(*ps_params), GFP_KERNEL); in wl1251_cmd_ps_mode()
326 if (!ps_params) { in wl1251_cmd_ps_mode()
331 ps_params->ps_mode = ps_mode; in wl1251_cmd_ps_mode()
332 ps_params->send_null_data = 1; in wl1251_cmd_ps_mode()
333 ps_params->retries = 5; in wl1251_cmd_ps_mode()
334 ps_params->hang_over_period = 128; in wl1251_cmd_ps_mode()
335 ps_params->null_data_rate = 1; /* 1 Mbps */ in wl1251_cmd_ps_mode()
337 ret = wl1251_cmd_send(wl, CMD_SET_PS_MODE, ps_params, in wl1251_cmd_ps_mode()
338 sizeof(*ps_params)); in wl1251_cmd_ps_mode()
[all …]
/drivers/net/wireless/ti/wlcore/
Dcmd.c985 struct wl1271_cmd_ps_params *ps_params = NULL; in wl1271_cmd_ps_mode() local
990 ps_params = kzalloc(sizeof(*ps_params), GFP_KERNEL); in wl1271_cmd_ps_mode()
991 if (!ps_params) { in wl1271_cmd_ps_mode()
996 ps_params->role_id = wlvif->role_id; in wl1271_cmd_ps_mode()
997 ps_params->ps_mode = ps_mode; in wl1271_cmd_ps_mode()
998 ps_params->auto_ps_timeout = auto_ps_timeout; in wl1271_cmd_ps_mode()
1000 ret = wl1271_cmd_send(wl, CMD_SET_PS_MODE, ps_params, in wl1271_cmd_ps_mode()
1001 sizeof(*ps_params), 0); in wl1271_cmd_ps_mode()
1008 kfree(ps_params); in wl1271_cmd_ps_mode()