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

Commit 627d9841 authored by Janusz Dziedzic's avatar Janusz Dziedzic Committed by Kalle Valo
Browse files

ath10k: fix low TX rates when IBSS and HT



This fix TX problem when IBSS used in HT mode.
Before we used 6Mbps all the time for TX direction.

Reported-by: default avatarYeoh Chun-Yeow <yeohchunyeow@gmail.com>
Signed-off-by: default avatarJanusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent ac2953fc
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -1468,9 +1468,16 @@ static void ath10k_peer_assoc_h_qos(struct ath10k *ar,
		if (vif->bss_conf.qos)
		if (vif->bss_conf.qos)
			arg->peer_flags |= WMI_PEER_QOS;
			arg->peer_flags |= WMI_PEER_QOS;
		break;
		break;
	case WMI_VDEV_TYPE_IBSS:
		if (sta->wme)
			arg->peer_flags |= WMI_PEER_QOS;
		break;
	default:
	default:
		break;
		break;
	}
	}

	ath10k_dbg(ar, ATH10K_DBG_MAC, "mac peer %pM qos %d\n",
		   sta->addr, !!(arg->peer_flags & WMI_PEER_QOS));
}
}


static bool ath10k_mac_sta_has_11g_rates(struct ieee80211_sta *sta)
static bool ath10k_mac_sta_has_11g_rates(struct ieee80211_sta *sta)