summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Wu <quic_wthomas@quicinc.com>2025-04-09 08:38:30 +0300
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2025-04-12 07:19:28 +0300
commitcfe8af4b5626354f20794f1d54c9b9069638ccd3 (patch)
tree4b95ef91bc329a6cf8907a30454fabb06a70bef9
parent4f4b067dd61695e860f97cae6ed6589a3a7dfba3 (diff)
downloadlinux-cfe8af4b5626354f20794f1d54c9b9069638ccd3.tar.xz
wifi: ath12k: Disable broadcast TWT feature in HE MAC capabilities
Currently, the AP does not support the broadcast target wake time (TWT) feature. Therefore, disable the broadcast TWT feature in the HE MAC capabilities element field. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00209-QCAHKSWPL_SILICONZ-1 Signed-off-by: Thomas Wu <quic_wthomas@quicinc.com> Signed-off-by: Aaradhana Sahu <aaradhana.sahu@oss.qualcomm.com> Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com> Link: https://patch.msgid.link/20250409053830.4039467-1-aaradhana.sahu@oss.qualcomm.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
-rw-r--r--drivers/net/wireless/ath/ath12k/mac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath12k/mac.c b/drivers/net/wireless/ath/ath12k/mac.c
index af89e1a2d023..bf15104fa542 100644
--- a/drivers/net/wireless/ath/ath12k/mac.c
+++ b/drivers/net/wireless/ath/ath12k/mac.c
@@ -6726,6 +6726,8 @@ static void ath12k_mac_copy_he_cap(struct ath12k_band_cap *band_cap,
switch (iftype) {
case NL80211_IFTYPE_AP:
+ he_cap_elem->mac_cap_info[2] &=
+ ~IEEE80211_HE_MAC_CAP2_BCAST_TWT;
he_cap_elem->phy_cap_info[3] &=
~IEEE80211_HE_PHY_CAP3_DCM_MAX_CONST_TX_MASK;
he_cap_elem->phy_cap_info[9] |=