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

Commit 7297f49c authored by Jes Sorensen's avatar Jes Sorensen Committed by Kalle Valo
Browse files

rtl8xxxu: Do not ignore wlan activity on 8723bu



The 8723bu is a WiFi/BT combo part. When initializing it for WiFi,
make sure to tell it not to ignore WiFi activity.

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 3ca7b32c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -5704,6 +5704,11 @@ static void rtl8723bu_init_bt(struct rtl8xxxu_priv *priv)
	 */
	rtl8xxxu_write32(priv, REG_S0S1_PATH_SWITCH, 0x00);

	memset(&h2c, 0, sizeof(struct h2c_cmd));
	h2c.ignore_wlan.cmd = H2C_8723B_BT_IGNORE_WLANACT;
	h2c.ignore_wlan.data = 0;
	rtl8723a_h2c_cmd(priv, &h2c, sizeof(h2c.ignore_wlan));

	/*
	 * Software control, antenna at WiFi side
	 */
+4 −0
Original line number Diff line number Diff line
@@ -752,6 +752,10 @@ struct h2c_cmd {
			u8 cmd;
			u8 data;
		} __packed bt_wlan_calibration;
		struct {
			u8 cmd;
			u8 data;
		} __packed ignore_wlan;
		struct {
			u8 cmd;
			u8 ant_inverse;