mt76: mt7915: adapt new firmware to update BA winsize for Rx session
The newer firmware requires host driver to set BA winsize on both Tx/Rx sessions, so modify it for the long run. Signed-off-by: Bo Jiao <Bo.Jiao@mediatek.com> Signed-off-by: Sujuan Chen <sujuan.chen@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
4826075c8d
commit
d5f4ceeee6
@ -1317,7 +1317,7 @@ mt7915_mcu_wtbl_ba_tlv(struct sk_buff *skb,
|
||||
ba->rst_ba_sb = 1;
|
||||
}
|
||||
|
||||
if (enable && tx)
|
||||
if (enable)
|
||||
ba->ba_winsize = cpu_to_le16(params->buf_size);
|
||||
}
|
||||
|
||||
|
@ -716,6 +716,7 @@ struct wtbl_ba {
|
||||
__le16 sn;
|
||||
u8 ba_en;
|
||||
u8 ba_winsize_idx;
|
||||
/* originator & recipient */
|
||||
__le16 ba_winsize;
|
||||
/* recipient only */
|
||||
u8 peer_addr[ETH_ALEN];
|
||||
|
Loading…
x
Reference in New Issue
Block a user