Searched refs:psetop (Results 1 – 5 of 5) sorted by relevance
500 struct setopmode_parm *psetop; in r8712_setopmode_cmd() local507 psetop = kmalloc(sizeof(*psetop), GFP_ATOMIC); in r8712_setopmode_cmd()508 if (!psetop) { in r8712_setopmode_cmd()512 init_h2fwcmd_w_parm_no_rsp(ph2c, psetop, _SetOpMode_CMD_); in r8712_setopmode_cmd()513 psetop->mode = (u8)networktype; in r8712_setopmode_cmd()
522 struct setopmode_parm *psetop; in rtw_setopmode_cmd() local527 psetop = kzalloc(sizeof(*psetop), GFP_KERNEL); in rtw_setopmode_cmd()528 if (!ph2c || !psetop) { in rtw_setopmode_cmd()530 kfree(psetop); in rtw_setopmode_cmd()534 init_h2fwcmd_w_parm_no_rsp(ph2c, psetop, _SetOpMode_CMD_); in rtw_setopmode_cmd()535 psetop->mode = (u8)networktype; in rtw_setopmode_cmd()
4841 struct setopmode_parm *psetop = (struct setopmode_parm *)pbuf; in setopmode_hdl() local4843 if (psetop->mode == Ndis802_11APMode) { in setopmode_hdl()4846 } else if (psetop->mode == Ndis802_11Infrastructure) { in setopmode_hdl()4850 } else if (psetop->mode == Ndis802_11IBSS) { in setopmode_hdl()
940 struct setopmode_parm *psetop; in rtw_setopmode_cmd() local945 psetop = rtw_zmalloc(sizeof(struct setopmode_parm)); in rtw_setopmode_cmd()947 if (psetop == NULL) { in rtw_setopmode_cmd()951 psetop->mode = (u8)networktype; in rtw_setopmode_cmd()956 kfree(psetop); in rtw_setopmode_cmd()961 init_h2fwcmd_w_parm_no_rsp(ph2c, psetop, _SetOpMode_CMD_); in rtw_setopmode_cmd()964 setopmode_hdl(padapter, (u8 *)psetop); in rtw_setopmode_cmd()965 kfree(psetop); in rtw_setopmode_cmd()
6014 struct setopmode_parm *psetop = (struct setopmode_parm *)pbuf; in setopmode_hdl() local6016 if (psetop->mode == Ndis802_11APMode) { in setopmode_hdl()6020 } else if (psetop->mode == Ndis802_11Infrastructure) { in setopmode_hdl()6024 } else if (psetop->mode == Ndis802_11IBSS) { in setopmode_hdl()6035 if (psetop->mode == Ndis802_11APMode) in setopmode_hdl()6039 if (psetop->mode == Ndis802_11APMode) { in setopmode_hdl()