Searched refs:pbsetdataratepara (Results 1 – 2 of 2) sorted by relevance
210 struct setdatarate_parm *pbsetdataratepara; in r8712_setdatarate_cmd() local216 pbsetdataratepara = kmalloc(sizeof(*pbsetdataratepara), GFP_ATOMIC); in r8712_setdatarate_cmd()217 if (!pbsetdataratepara) { in r8712_setdatarate_cmd()221 init_h2fwcmd_w_parm_no_rsp(ph2c, pbsetdataratepara, in r8712_setdatarate_cmd()223 pbsetdataratepara->mac_id = 5; in r8712_setdatarate_cmd()224 memcpy(pbsetdataratepara->datarates, rateset, NumRates); in r8712_setdatarate_cmd()
642 struct setdatarate_parm *pbsetdataratepara; in rtw_setdatarate_cmd() local652 pbsetdataratepara = rtw_zmalloc(sizeof(struct setdatarate_parm)); in rtw_setdatarate_cmd()653 if (pbsetdataratepara == NULL) { in rtw_setdatarate_cmd()659 init_h2fwcmd_w_parm_no_rsp(ph2c, pbsetdataratepara, GEN_CMD_CODE(_SetDataRate)); in rtw_setdatarate_cmd()660 pbsetdataratepara->mac_id = 5; in rtw_setdatarate_cmd()661 memcpy(pbsetdataratepara->datarates, rateset, NumRates); in rtw_setdatarate_cmd()