rt2x00: Add support for CTS protection in rt2x00lib
Inform drivers about the changed CTS protection settings. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
9d139c810a
commit
e360c4cb2b
@@ -84,6 +84,8 @@ void rt2x00lib_config_erp(struct rt2x00_dev *rt2x00dev,
|
||||
memset(&erp, 0, sizeof(erp));
|
||||
|
||||
erp.short_preamble = bss_conf->use_short_preamble;
|
||||
erp.cts_protection = bss_conf->use_cts_prot;
|
||||
|
||||
erp.ack_timeout = PLCP + get_duration(ACK_SIZE, 10);
|
||||
erp.ack_consume_time = SIFS + PLCP + get_duration(ACK_SIZE, 10);
|
||||
|
||||
|
Reference in New Issue
Block a user