Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.c652 struct tlv *sta_hdr = sta_wtbl; in mt7915_mcu_alloc_wtbl_req() local
669 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() local
693 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()
/Linux-v5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dmcu.c813 struct tlv *sta_hdr = sta_wtbl; in mt7615_mcu_alloc_wtbl_req() local
829 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() local
853 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()