Skip to content

Commit 10cb21f

Browse files
Anilkumar KolliKalle Valo
authored andcommitted
Revert "ath11k: mesh: add support for 256 bitmap in blockack frames in 11ax"
This reverts commit 743b906. The original commit breaks the 256 bitmap in blockack frames in AP mode. After reverting the commit the feature works again in both AP and mesh modes Tested-on: IPQ8074 hw2.0 PCI WLAN.HK.2.6.0.1-00786-QCAHKSWPL_SILICONZ-1 Fixes: 743b906 ("ath11k: mesh: add support for 256 bitmap in blockack frames in 11ax") Signed-off-by: Anilkumar Kolli <quic_akolli@quicinc.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/1648701477-16367-1-git-send-email-quic_akolli@quicinc.com
1 parent 61a891e commit 10cb21f

1 file changed

Lines changed: 14 additions & 8 deletions

File tree

  • drivers/net/wireless/ath/ath11k

drivers/net/wireless/ath/ath11k/mac.c

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3136,6 +3136,20 @@ static void ath11k_mac_op_bss_info_changed(struct ieee80211_hw *hw,
31363136
arvif->do_not_send_tmpl = true;
31373137
else
31383138
arvif->do_not_send_tmpl = false;
3139+
3140+
if (vif->bss_conf.he_support) {
3141+
ret = ath11k_wmi_vdev_set_param_cmd(ar, arvif->vdev_id,
3142+
WMI_VDEV_PARAM_BA_MODE,
3143+
WMI_BA_MODE_BUFFER_SIZE_256);
3144+
if (ret)
3145+
ath11k_warn(ar->ab,
3146+
"failed to set BA BUFFER SIZE 256 for vdev: %d\n",
3147+
arvif->vdev_id);
3148+
else
3149+
ath11k_dbg(ar->ab, ATH11K_DBG_MAC,
3150+
"Set BA BUFFER SIZE 256 for VDEV: %d\n",
3151+
arvif->vdev_id);
3152+
}
31393153
}
31403154

31413155
if (changed & (BSS_CHANGED_BEACON_INFO | BSS_CHANGED_BEACON)) {
@@ -3171,14 +3185,6 @@ static void ath11k_mac_op_bss_info_changed(struct ieee80211_hw *hw,
31713185

31723186
if (arvif->is_up && vif->bss_conf.he_support &&
31733187
vif->bss_conf.he_oper.params) {
3174-
ret = ath11k_wmi_vdev_set_param_cmd(ar, arvif->vdev_id,
3175-
WMI_VDEV_PARAM_BA_MODE,
3176-
WMI_BA_MODE_BUFFER_SIZE_256);
3177-
if (ret)
3178-
ath11k_warn(ar->ab,
3179-
"failed to set BA BUFFER SIZE 256 for vdev: %d\n",
3180-
arvif->vdev_id);
3181-
31823188
param_id = WMI_VDEV_PARAM_HEOPS_0_31;
31833189
param_value = vif->bss_conf.he_oper.params;
31843190
ret = ath11k_wmi_vdev_set_param_cmd(ar, arvif->vdev_id,

0 commit comments

Comments
 (0)