Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_cmd.c212 struct setdatarate_parm *pbsetdataratepara; in r8712_setdatarate_cmd() local
218 pbsetdataratepara = kmalloc(sizeof(*pbsetdataratepara), GFP_ATOMIC); in r8712_setdatarate_cmd()
219 if (!pbsetdataratepara) { in r8712_setdatarate_cmd()
223 init_h2fwcmd_w_parm_no_rsp(ph2c, pbsetdataratepara, in r8712_setdatarate_cmd()
225 pbsetdataratepara->mac_id = 5; in r8712_setdatarate_cmd()
226 memcpy(pbsetdataratepara->datarates, rateset, NumRates); in r8712_setdatarate_cmd()
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_cmd.c348 struct setdatarate_parm *pbsetdataratepara; in rtw_setdatarate_cmd() local
358 pbsetdataratepara = kzalloc(sizeof(*pbsetdataratepara), GFP_ATOMIC); in rtw_setdatarate_cmd()
359 if (!pbsetdataratepara) { in rtw_setdatarate_cmd()
365 init_h2fwcmd_w_parm_no_rsp(ph2c, pbsetdataratepara, GEN_CMD_CODE(_SetDataRate)); in rtw_setdatarate_cmd()
366 pbsetdataratepara->mac_id = 5; in rtw_setdatarate_cmd()
367 memcpy(pbsetdataratepara->datarates, rateset, NumRates); in rtw_setdatarate_cmd()