[PATCH v2 2/4] wifi: ath11k: push MU-MIMO params from hostapd to hardware

Robert Marko robert.marko at sartura.hr
Wed Mar 29 03:42:34 PDT 2023


On Wed, Mar 29, 2023 at 11:45 AM Kalle Valo <kvalo at kernel.org> wrote:
>
> Robert Marko <robert.marko at sartura.hr> writes:
>
> > On Tue, Oct 18, 2022 at 11:28 PM Muna Sinada <quic_msinada at quicinc.com> wrote:
> >
> >>
> >> In the previous behaviour only HE IE in management frames are changed
> >> regarding MU-MIMO configurations and not in hardware. Adding push of
> >> MU-MIMO configurations to the hardware as well.
> >>
> >> This patch is dependant on mac80211 patchset:
> >> https://patchwork.kernel.org/project/linux-wireless/list/?series=683322&state=%2A&archive=both
> >>
> >> Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-00356-QCAHKSWPL_SILICONZ-1
> >>
> >> Co-developed-by: Anilkumar Kolli <quic_akolli at quicinc.com>
> >> Signed-off-by: Anilkumar Kolli <quic_akolli at quicinc.com>
> >> Signed-off-by: Muna Sinada <quic_msinada at quicinc.com>
>
> [...]
>
> >> @@ -5369,6 +5491,10 @@ static int ath11k_mac_copy_he_cap(struct ath11k *ar,
> >>
> >>                 he_cap_elem->mac_cap_info[1] &=
> >>                         IEEE80211_HE_MAC_CAP1_TF_MAC_PAD_DUR_MASK;
> >> +               he_cap_elem->phy_cap_info[0] &=
> >> +                       ~IEEE80211_HE_PHY_CAP0_CHANNEL_WIDTH_SET_160MHZ_IN_5G;
> >> +               he_cap_elem->phy_cap_info[0] &=
> >> +                       ~IEEE80211_HE_PHY_CAP0_CHANNEL_WIDTH_SET_80PLUS80_MHZ_IN_5G;
> >
> > This is causing a regression for us in OpenWrt at least on IPQ8074 but
> > probably on all ath11k-supported HW. Cause 80+80 and 160MHz support
> > bits are being cleared here so 160MHz is not being advertised after
> > this patch.
>
> Oh man, not good. Robert, should we revert this patchset entirely? Of
> course it would be better if Muna can submit quickly a fix, but I'm not
> going to wait for long.

I would prefer to see it get fixed, cause just removing the flag
removal gets 160MHz working,
but I am not sure about other flags as well.

Regards,
Robert
>
> The patchset is in wireless-next at the moment and the commits from the
> patchset are:
>
> a96f10422e74 wifi: ath11k: modify accessor macros to match index size
> 38dfe775d0ab wifi: ath11k: push MU-MIMO params from hostapd to hardware
> 8077c1bbbc28 wifi: ath11k: move HE MCS mapper to a separate function
> ebf82988f844 wifi: ath11k: generate rx and tx mcs maps for supported HE mcs
>
> > I fail to understand why are 80+80 and 160 MHz feature flags being cleared?
>
> Me neither. I missed that in my review.
>
> --
> https://patchwork.kernel.org/project/linux-wireless/list/
>
> https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



-- 
Robert Marko
Staff Embedded Linux Engineer
Sartura Ltd.
Lendavska ulica 16a
10000 Zagreb, Croatia
Email: robert.marko at sartura.hr
Web: www.sartura.hr



More information about the ath11k mailing list