Skip to content

Commit

Permalink
mt7603: add extra PSE hang check signature for MT7628
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
nbd168 committed May 19, 2018
1 parent 20c0766 commit 664e321
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mt7603_mac.c
Expand Up @@ -1343,6 +1343,9 @@ static bool mt7603_rx_pse_busy(struct mt7603_dev *dev)
mt76_wr(dev, addr, 3);
val = mt76_rr(dev, addr) >> 16;

if (is_mt7628(dev) && (val & 0x4001) == 0x4001)
return true;

return (val & 0x8001) == 0x8001 || (val & 0xe001) == 0xe001;
}

Expand Down

0 comments on commit 664e321

Please sign in to comment.