Skip to content

Commit

Permalink
wifi: mt76: mt7603: add wpdma tx eof flag for PSE client reset
Browse files Browse the repository at this point in the history
This flag is needed for the PSE client reset. Fixes watchdog reset issues.

Fixes: c677dda ("wifi: mt76: mt7603: improve watchdog reset reliablity")
Signed-off-by: Felix Fietkau <[email protected]>
  • Loading branch information
nbd168 committed May 2, 2024
1 parent b473c0e commit 21de5f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/wireless/mediatek/mt76/mt7603/mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1393,6 +1393,7 @@ void mt7603_pse_client_reset(struct mt7603_dev *dev)
MT_CLIENT_RESET_TX_R_E_2_S);

/* Start PSE client TX abort */
mt76_set(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_FORCE_TX_EOF);
mt76_set(dev, addr, MT_CLIENT_RESET_TX_R_E_1);
mt76_poll_msec(dev, addr, MT_CLIENT_RESET_TX_R_E_1_S,
MT_CLIENT_RESET_TX_R_E_1_S, 500);
Expand Down

0 comments on commit 21de5f7

Please sign in to comment.