Lines Matching refs:hostcmd
4045 struct mwifiex_ds_misc_cmd *hostcmd; in mwifiex_tm_cmd() local
4066 hostcmd = kzalloc(sizeof(*hostcmd), GFP_KERNEL); in mwifiex_tm_cmd()
4067 if (!hostcmd) in mwifiex_tm_cmd()
4070 hostcmd->len = nla_len(tb[MWIFIEX_TM_ATTR_DATA]); in mwifiex_tm_cmd()
4071 memcpy(hostcmd->cmd, nla_data(tb[MWIFIEX_TM_ATTR_DATA]), in mwifiex_tm_cmd()
4072 hostcmd->len); in mwifiex_tm_cmd()
4074 if (mwifiex_send_cmd(priv, 0, 0, 0, hostcmd, true)) { in mwifiex_tm_cmd()
4076 kfree(hostcmd); in mwifiex_tm_cmd()
4081 skb = cfg80211_testmode_alloc_reply_skb(wiphy, hostcmd->len); in mwifiex_tm_cmd()
4083 kfree(hostcmd); in mwifiex_tm_cmd()
4087 hostcmd->len, hostcmd->cmd); in mwifiex_tm_cmd()
4089 kfree(hostcmd); in mwifiex_tm_cmd()
4095 kfree(hostcmd); in mwifiex_tm_cmd()