Searched refs:nl_skb (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | testmode.c | 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() [all …]
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | testmode.c | 33 struct sk_buff *nl_skb; in ath10k_tm_event_wmi() local 56 nl_skb = cfg80211_testmode_alloc_event_skb(ar->hw->wiphy, in ath10k_tm_event_wmi() 59 if (!nl_skb) { in ath10k_tm_event_wmi() 65 ret = nla_put_u32(nl_skb, ATH10K_TM_ATTR_CMD, ATH10K_TM_CMD_WMI); in ath10k_tm_event_wmi() 70 kfree_skb(nl_skb); in ath10k_tm_event_wmi() 74 ret = nla_put_u32(nl_skb, ATH10K_TM_ATTR_WMI_CMDID, cmd_id); in ath10k_tm_event_wmi() 79 kfree_skb(nl_skb); in ath10k_tm_event_wmi() 83 ret = nla_put(nl_skb, ATH10K_TM_ATTR_DATA, skb->len, skb->data); in ath10k_tm_event_wmi() 88 kfree_skb(nl_skb); in ath10k_tm_event_wmi() 92 cfg80211_testmode_event(nl_skb, GFP_ATOMIC); in ath10k_tm_event_wmi()
|