Searched refs:sta_hdr (Results 1 – 2 of 2) sorted by relevance
652 struct tlv *sta_hdr = sta_wtbl; in mt7915_mcu_alloc_wtbl_req() local669 if (sta_hdr) in mt7915_mcu_alloc_wtbl_req()670 sta_hdr->len = cpu_to_le16(sizeof(hdr)); in mt7915_mcu_alloc_wtbl_req()680 struct tlv *sta_hdr = sta_wtbl; in mt7915_mcu_add_nested_tlv() local693 if (sta_hdr) { in mt7915_mcu_add_nested_tlv()694 u16 size = le16_to_cpu(sta_hdr->len); in mt7915_mcu_add_nested_tlv()696 sta_hdr->len = cpu_to_le16(size + len); in mt7915_mcu_add_nested_tlv()
813 struct tlv *sta_hdr = sta_wtbl; in mt7615_mcu_alloc_wtbl_req() local829 if (sta_hdr) in mt7615_mcu_alloc_wtbl_req()830 sta_hdr->len = cpu_to_le16(sizeof(hdr)); in mt7615_mcu_alloc_wtbl_req()840 struct tlv *sta_hdr = sta_wtbl; in mt7615_mcu_add_nested_tlv() local853 if (sta_hdr) { in mt7615_mcu_add_nested_tlv()854 u16 size = le16_to_cpu(sta_hdr->len); in mt7615_mcu_add_nested_tlv()856 sta_hdr->len = cpu_to_le16(size + len); in mt7615_mcu_add_nested_tlv()