Searched refs:psetop (Results 1 – 5 of 5) sorted by relevance
497 struct setopmode_parm *psetop; in r8712_setopmode_cmd() local504 psetop = kmalloc(sizeof(*psetop), GFP_ATOMIC); in r8712_setopmode_cmd()505 if (!psetop) { in r8712_setopmode_cmd()509 init_h2fwcmd_w_parm_no_rsp(ph2c, psetop, _SetOpMode_CMD_); in r8712_setopmode_cmd()510 psetop->mode = (u8)networktype; in r8712_setopmode_cmd()
833 struct setopmode_parm *psetop; in rtw_setopmode_cmd() local838 psetop = rtw_zmalloc(sizeof(struct setopmode_parm)); in rtw_setopmode_cmd()840 if (!psetop) { in rtw_setopmode_cmd()844 psetop->mode = (u8)networktype; in rtw_setopmode_cmd()849 kfree(psetop); in rtw_setopmode_cmd()854 init_h2fwcmd_w_parm_no_rsp(ph2c, psetop, _SetOpMode_CMD_); in rtw_setopmode_cmd()857 setopmode_hdl(padapter, (u8 *)psetop); in rtw_setopmode_cmd()858 kfree(psetop); in rtw_setopmode_cmd()
5211 struct setopmode_parm *psetop = (struct setopmode_parm *)pbuf; in setopmode_hdl() local5213 if (psetop->mode == Ndis802_11APMode) { in setopmode_hdl()5217 } else if (psetop->mode == Ndis802_11Infrastructure) { in setopmode_hdl()5221 } else if (psetop->mode == Ndis802_11IBSS) { in setopmode_hdl()5230 if (psetop->mode == Ndis802_11APMode) { in setopmode_hdl()
572 struct setopmode_parm *psetop; in rtw_setopmode_cmd() local582 psetop = kzalloc(sizeof(*psetop), GFP_KERNEL); in rtw_setopmode_cmd()584 if (!psetop) { in rtw_setopmode_cmd()590 init_h2fwcmd_w_parm_no_rsp(ph2c, psetop, _SetOpMode_CMD_); in rtw_setopmode_cmd()591 psetop->mode = (u8)networktype; in rtw_setopmode_cmd()
7339 struct setopmode_parm *psetop = (struct setopmode_parm *)pbuf; in setopmode_hdl() local7341 if (psetop->mode == Ndis802_11APMode) { in setopmode_hdl()7344 } else if (psetop->mode == Ndis802_11Infrastructure) { in setopmode_hdl()7348 } else if (psetop->mode == Ndis802_11IBSS) { in setopmode_hdl()