Searched refs:cmdhdr (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | vendor.c | 25 const struct brcmf_vndr_dcmd_hdr *cmdhdr = data; in brcmf_cfg80211_vndr_cmds_dcmd_handler() local 32 if (len < sizeof(*cmdhdr)) { in brcmf_cfg80211_vndr_cmds_dcmd_handler() 40 brcmf_dbg(TRACE, "ifidx=%d, cmd=%d\n", ifp->ifidx, cmdhdr->cmd); in brcmf_cfg80211_vndr_cmds_dcmd_handler() 42 if (cmdhdr->offset > len) { in brcmf_cfg80211_vndr_cmds_dcmd_handler() 43 brcmf_err("bad buffer offset %d > %d\n", cmdhdr->offset, len); in brcmf_cfg80211_vndr_cmds_dcmd_handler() 47 len -= cmdhdr->offset; in brcmf_cfg80211_vndr_cmds_dcmd_handler() 48 ret_len = cmdhdr->len; in brcmf_cfg80211_vndr_cmds_dcmd_handler() 63 memcpy(dcmd_buf, (void *)cmdhdr + cmdhdr->offset, len); in brcmf_cfg80211_vndr_cmds_dcmd_handler() 67 if (cmdhdr->set) in brcmf_cfg80211_vndr_cmds_dcmd_handler() 68 ret = brcmf_fil_cmd_data_set(ifp, cmdhdr->cmd, dcmd_buf, in brcmf_cfg80211_vndr_cmds_dcmd_handler() [all …]
|