Lines Matching refs:dump_hdr
165 struct rt2x00dump_hdr *dump_hdr; in rt2x00debug_dump_frame() local
183 skbcopy = alloc_skb(sizeof(*dump_hdr) + skbdesc->desc_len + data_len, in rt2x00debug_dump_frame()
190 dump_hdr = (struct rt2x00dump_hdr *)skb_put(skbcopy, sizeof(*dump_hdr)); in rt2x00debug_dump_frame()
191 dump_hdr->version = cpu_to_le32(DUMP_HEADER_VERSION); in rt2x00debug_dump_frame()
192 dump_hdr->header_length = cpu_to_le32(sizeof(*dump_hdr)); in rt2x00debug_dump_frame()
193 dump_hdr->desc_length = cpu_to_le32(skbdesc->desc_len); in rt2x00debug_dump_frame()
194 dump_hdr->data_length = cpu_to_le32(data_len); in rt2x00debug_dump_frame()
195 dump_hdr->chip_rt = cpu_to_le16(rt2x00dev->chip.rt); in rt2x00debug_dump_frame()
196 dump_hdr->chip_rf = cpu_to_le16(rt2x00dev->chip.rf); in rt2x00debug_dump_frame()
197 dump_hdr->chip_rev = cpu_to_le16(rt2x00dev->chip.rev); in rt2x00debug_dump_frame()
198 dump_hdr->type = cpu_to_le16(type); in rt2x00debug_dump_frame()
199 dump_hdr->queue_index = skbdesc->entry->queue->qid; in rt2x00debug_dump_frame()
200 dump_hdr->entry_index = skbdesc->entry->entry_idx; in rt2x00debug_dump_frame()
201 dump_hdr->timestamp_sec = cpu_to_le32(timestamp.tv_sec); in rt2x00debug_dump_frame()
202 dump_hdr->timestamp_usec = cpu_to_le32(timestamp.tv_usec); in rt2x00debug_dump_frame()