Searched refs:pbsetdataratepara (Results 1 – 2 of 2) sorted by relevance
260 struct setdatarate_parm *pbsetdataratepara; in r8712_setdatarate_cmd() local266 pbsetdataratepara = kmalloc(sizeof(*pbsetdataratepara), GFP_ATOMIC); in r8712_setdatarate_cmd()267 if (!pbsetdataratepara) { in r8712_setdatarate_cmd()271 init_h2fwcmd_w_parm_no_rsp(ph2c, pbsetdataratepara, in r8712_setdatarate_cmd()273 pbsetdataratepara->mac_id = 5; in r8712_setdatarate_cmd()274 memcpy(pbsetdataratepara->datarates, rateset, NumRates); in r8712_setdatarate_cmd()
672 struct setdatarate_parm *pbsetdataratepara; in rtw_setdatarate_cmd() local682 pbsetdataratepara = rtw_zmalloc(sizeof(struct setdatarate_parm)); in rtw_setdatarate_cmd()683 if (pbsetdataratepara == NULL) { in rtw_setdatarate_cmd()689 init_h2fwcmd_w_parm_no_rsp(ph2c, pbsetdataratepara, GEN_CMD_CODE(_SetDataRate)); in rtw_setdatarate_cmd()690 pbsetdataratepara->mac_id = 5; in rtw_setdatarate_cmd()691 memcpy(pbsetdataratepara->datarates, rateset, NumRates); in rtw_setdatarate_cmd()