Home
last modified time | relevance | path

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

/drivers/net/wireless/mwifiex/
Dinit.c206 struct mwifiex_opt_sleep_confirm *sleep_cfm_buf = NULL; in mwifiex_init_adapter() local
272 sleep_cfm_buf = (struct mwifiex_opt_sleep_confirm *) in mwifiex_init_adapter()
274 memset(sleep_cfm_buf, 0, adapter->sleep_cfm->len); in mwifiex_init_adapter()
275 sleep_cfm_buf->command = cpu_to_le16(HostCmd_CMD_802_11_PS_MODE_ENH); in mwifiex_init_adapter()
276 sleep_cfm_buf->size = cpu_to_le16(adapter->sleep_cfm->len); in mwifiex_init_adapter()
277 sleep_cfm_buf->result = 0; in mwifiex_init_adapter()
278 sleep_cfm_buf->action = cpu_to_le16(SLEEP_CONFIRM); in mwifiex_init_adapter()
279 sleep_cfm_buf->resp_ctrl = cpu_to_le16(RESP_NEEDED); in mwifiex_init_adapter()
Dcmdevt.c273 struct mwifiex_opt_sleep_confirm *sleep_cfm_buf = in mwifiex_dnld_sleep_confirm_cmd() local
282 sleep_cfm_buf->seq_num = in mwifiex_dnld_sleep_confirm_cmd()
289 le16_to_cpu(sleep_cfm_buf->command), in mwifiex_dnld_sleep_confirm_cmd()
290 le16_to_cpu(sleep_cfm_buf->action), in mwifiex_dnld_sleep_confirm_cmd()
291 le16_to_cpu(sleep_cfm_buf->size), in mwifiex_dnld_sleep_confirm_cmd()
292 le16_to_cpu(sleep_cfm_buf->seq_num)); in mwifiex_dnld_sleep_confirm_cmd()
293 mwifiex_dbg_dump(adapter, CMD_D, "SLEEP_CFM buffer: ", sleep_cfm_buf, in mwifiex_dnld_sleep_confirm_cmd()
294 le16_to_cpu(sleep_cfm_buf->size)); in mwifiex_dnld_sleep_confirm_cmd()
325 if (!le16_to_cpu(sleep_cfm_buf->resp_ctrl)) in mwifiex_dnld_sleep_confirm_cmd()
331 if (!le16_to_cpu(sleep_cfm_buf->resp_ctrl) && in mwifiex_dnld_sleep_confirm_cmd()