rt2800: tune TX_RTS_CFG config
Enable RTS frame retry fall-back and limit number of RTS retries to 7 what is default number of retries for small frames. As RTS/CTS is used for TXOP protection, those settings prevent posting lots of RTS frames when remote station do not response with CTS at the moment. After sending 7 RTS's the HW will start back-off mechanism and after it will start posing RTS again to get access to the medium. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
01d97ef4b2
commit
e4019e7f95
|
@ -4902,10 +4902,10 @@ static int rt2800_init_registers(struct rt2x00_dev *rt2x00dev)
|
|||
rt2800_register_write(rt2x00dev, TXOP_HLDR_ET, reg);
|
||||
|
||||
rt2800_register_read(rt2x00dev, TX_RTS_CFG, ®);
|
||||
rt2x00_set_field32(®, TX_RTS_CFG_AUTO_RTS_RETRY_LIMIT, 32);
|
||||
rt2x00_set_field32(®, TX_RTS_CFG_AUTO_RTS_RETRY_LIMIT, 7);
|
||||
rt2x00_set_field32(®, TX_RTS_CFG_RTS_THRES,
|
||||
IEEE80211_MAX_RTS_THRESHOLD);
|
||||
rt2x00_set_field32(®, TX_RTS_CFG_RTS_FBK_EN, 0);
|
||||
rt2x00_set_field32(®, TX_RTS_CFG_RTS_FBK_EN, 1);
|
||||
rt2800_register_write(rt2x00dev, TX_RTS_CFG, reg);
|
||||
|
||||
rt2800_register_write(rt2x00dev, EXP_ACK_TIME, 0x002400ca);
|
||||
|
|
Loading…
Reference in New Issue