rt2x00: Implement HT protection for rt2800
Update the HT operation mode when mac80211 sends it to us and set the different HT protection modes and rates accordingly. For now only use CTS-to-self with OFDM 24M or CCK 11M when protection is required. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> 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
a13ac9df0a
commit
87c1915d2c
@@ -103,6 +103,9 @@ void rt2x00lib_config_erp(struct rt2x00_dev *rt2x00dev,
|
||||
/* Update global beacon interval time, this is needed for PS support */
|
||||
rt2x00dev->beacon_int = bss_conf->beacon_int;
|
||||
|
||||
if (changed & BSS_CHANGED_HT)
|
||||
erp.ht_opmode = bss_conf->ht_operation_mode;
|
||||
|
||||
rt2x00dev->ops->lib->config_erp(rt2x00dev, &erp, changed);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user