Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_cmd.c260 struct setdatarate_parm *pbsetdataratepara; in r8712_setdatarate_cmd() local
266 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()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_cmd.c672 struct setdatarate_parm *pbsetdataratepara; in rtw_setdatarate_cmd() local
682 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()