On 4/24/2024 12:11 PM, Pradeep Kumar Chitrapu wrote: > Parse SMPS configuration from IEs and configure. Without this, > SMPS is not enabled for 6 GHz band. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Pradeep Kumar Chitrapu <quic_pradeepc@xxxxxxxxxxx> > --- > drivers/net/wireless/ath/ath12k/mac.c | 29 ++++++++++++++++++--------- > 1 file changed, 19 insertions(+), 10 deletions(-) > > diff --git a/drivers/net/wireless/ath/ath12k/mac.c b/drivers/net/wireless/ath/ath12k/mac.c > index 65688e55c285..44e853893ec5 100644 > --- a/drivers/net/wireless/ath/ath12k/mac.c > +++ b/drivers/net/wireless/ath/ath12k/mac.c > @@ -2086,13 +2086,18 @@ static void ath12k_peer_assoc_h_he_6ghz(struct ath12k *ar, > ampdu_factor)) - 1; > } > > -static inline int ath12k_get_smps_from_capa(const struct ieee80211_sta_ht_cap *ht_cap, > - int *smps) the inline removal should be fixed in 5/6 since that is where it was added > +static int ath12k_get_smps_from_capa(const struct ieee80211_sta_ht_cap *ht_cap, > + const struct ieee80211_he_6ghz_capa *he_6ghz_capa, > + int *smps) rest of the patch LGTM