Lines Matching refs:nl_skb
50 struct sk_buff *nl_skb; in ath11k_tm_wmi_event_unsegmented() local
66 nl_skb = cfg80211_testmode_alloc_event_skb(ar->hw->wiphy, in ath11k_tm_wmi_event_unsegmented()
70 if (!nl_skb) { in ath11k_tm_wmi_event_unsegmented()
76 if (nla_put_u32(nl_skb, ATH11K_TM_ATTR_CMD, ATH11K_TM_CMD_WMI) || in ath11k_tm_wmi_event_unsegmented()
77 nla_put_u32(nl_skb, ATH11K_TM_ATTR_WMI_CMDID, cmd_id) || in ath11k_tm_wmi_event_unsegmented()
78 nla_put(nl_skb, ATH11K_TM_ATTR_DATA, skb->len, skb->data)) { in ath11k_tm_wmi_event_unsegmented()
80 kfree_skb(nl_skb); in ath11k_tm_wmi_event_unsegmented()
84 cfg80211_testmode_event(nl_skb, GFP_ATOMIC); in ath11k_tm_wmi_event_unsegmented()
100 struct sk_buff *nl_skb; in ath11k_tm_process_event() local
164 nl_skb = cfg80211_testmode_alloc_event_skb(ar->hw->wiphy, in ath11k_tm_process_event()
168 if (!nl_skb) { in ath11k_tm_process_event()
175 if (nla_put_u32(nl_skb, ATH11K_TM_ATTR_CMD, in ath11k_tm_process_event()
177 nla_put_u32(nl_skb, ATH11K_TM_ATTR_WMI_CMDID, cmd_id) || in ath11k_tm_process_event()
178 nla_put(nl_skb, ATH11K_TM_ATTR_DATA, data_pos, in ath11k_tm_process_event()
181 kfree_skb(nl_skb); in ath11k_tm_process_event()
186 cfg80211_testmode_event(nl_skb, GFP_ATOMIC); in ath11k_tm_process_event()