Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95a77610 authored by Helmut Schaa's avatar Helmut Schaa Committed by Luciano Coelho
Browse files

wl12xx: Correctly set up protection if non-GF STAs are present



Set the gf_protection bit when calling ACX_HT_BSS_OPERATION according
to the GF bit passed by mac80211 in ht_operation_mode.

[Added a proper commit message -- Luca]

Signed-off-by: default avatarHelmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
parent 24225b37
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1361,7 +1361,8 @@ int wl1271_acx_set_ht_information(struct wl1271 *wl,
	acx->ht_protection =
		(u8)(ht_operation_mode & IEEE80211_HT_OP_MODE_PROTECTION);
	acx->rifs_mode = 0;
	acx->gf_protection = 0;
	acx->gf_protection =
		!!(ht_operation_mode & IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT);
	acx->ht_tx_burst_limit = 0;
	acx->dual_cts_protection = 0;