Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7915/
H A 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 le16_add_cpu(&sta_hdr->len, 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmcu.c821 struct tlv *sta_hdr = sta_wtbl; in mt7615_mcu_alloc_wtbl_req() local
837 if (sta_hdr) in mt7615_mcu_alloc_wtbl_req()
838 sta_hdr->len = cpu_to_le16(sizeof(hdr)); in mt7615_mcu_alloc_wtbl_req()
848 struct tlv *sta_hdr = sta_wtbl; in mt7615_mcu_add_nested_tlv() local
861 if (sta_hdr) { in mt7615_mcu_add_nested_tlv()
862 u16 size = le16_to_cpu(sta_hdr->len); in mt7615_mcu_add_nested_tlv()
864 sta_hdr->len = cpu_to_le16(size + len); in mt7615_mcu_add_nested_tlv()