Home
last modified time | relevance | path

Searched refs:pbsetdataratepara (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/staging/rtl8712/
Drtl871x_cmd.c210 struct setdatarate_parm *pbsetdataratepara; in r8712_setdatarate_cmd() local
216 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()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_cmd.c642 struct setdatarate_parm *pbsetdataratepara; in rtw_setdatarate_cmd() local
652 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()