Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c5613 int frame_data_len; in hwsim_cloned_frame_received_nl() local
5625 frame_data_len = nla_len(info->attrs[HWSIM_ATTR_FRAME]); in hwsim_cloned_frame_received_nl()
5628 if (frame_data_len < sizeof(struct ieee80211_hdr_3addr) || in hwsim_cloned_frame_received_nl()
5629 frame_data_len > IEEE80211_MAX_DATA_LEN) in hwsim_cloned_frame_received_nl()
5633 skb = alloc_skb(frame_data_len, GFP_KERNEL); in hwsim_cloned_frame_received_nl()
5638 skb_put_data(skb, frame_data, frame_data_len); in hwsim_cloned_frame_received_nl()