Searched refs:psetop (Results 1 – 5 of 5) sorted by relevance
495 struct setopmode_parm *psetop; in r8712_setopmode_cmd() local502 psetop = kmalloc(sizeof(*psetop), GFP_ATOMIC); in r8712_setopmode_cmd()503 if (!psetop) { in r8712_setopmode_cmd()507 init_h2fwcmd_w_parm_no_rsp(ph2c, psetop, _SetOpMode_CMD_); in r8712_setopmode_cmd()508 psetop->mode = (u8)networktype; in r8712_setopmode_cmd()
540 struct setopmode_parm *psetop; in rtw_setopmode_cmd() local545 psetop = kzalloc(sizeof(*psetop), GFP_KERNEL); in rtw_setopmode_cmd()546 if (!ph2c || !psetop) { in rtw_setopmode_cmd()548 kfree(psetop); in rtw_setopmode_cmd()552 init_h2fwcmd_w_parm_no_rsp(ph2c, psetop, _SetOpMode_CMD_); in rtw_setopmode_cmd()553 psetop->mode = (u8)networktype; in rtw_setopmode_cmd()
4829 struct setopmode_parm *psetop = (struct setopmode_parm *)pbuf; in setopmode_hdl() local4831 if (psetop->mode == Ndis802_11APMode) { in setopmode_hdl()4834 } else if (psetop->mode == Ndis802_11Infrastructure) { in setopmode_hdl()4838 } else if (psetop->mode == Ndis802_11IBSS) { in setopmode_hdl()
928 struct setopmode_parm *psetop; in rtw_setopmode_cmd() local933 psetop = rtw_zmalloc(sizeof(struct setopmode_parm)); in rtw_setopmode_cmd()935 if (psetop == NULL) { in rtw_setopmode_cmd()939 psetop->mode = (u8)networktype; in rtw_setopmode_cmd()944 kfree(psetop); in rtw_setopmode_cmd()949 init_h2fwcmd_w_parm_no_rsp(ph2c, psetop, _SetOpMode_CMD_); in rtw_setopmode_cmd()952 setopmode_hdl(padapter, (u8 *)psetop); in rtw_setopmode_cmd()953 kfree(psetop); in rtw_setopmode_cmd()
6016 struct setopmode_parm *psetop = (struct setopmode_parm *)pbuf; in setopmode_hdl() local6018 if (psetop->mode == Ndis802_11APMode) { in setopmode_hdl()6022 } else if (psetop->mode == Ndis802_11Infrastructure) { in setopmode_hdl()6026 } else if (psetop->mode == Ndis802_11IBSS) { in setopmode_hdl()6037 if (psetop->mode == Ndis802_11APMode) in setopmode_hdl()6041 if (psetop->mode == Ndis802_11APMode) { in setopmode_hdl()