Просмотр исходного кода

qcacld-3.0: Fix linkspeed wrong for 11ax after roaming

after roaming, the he_capble of ft_session is not set
correctly.
update this value refer previous session.

Change-Id: I92361e26a8ef28cf5a3c7981883f1ee2fa1272ff
CRs-Fixed: 2663307
Jingxiang Ge 5 лет назад
Родитель
Сommit
5d4fbccf23
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      core/mac/src/pe/lim/lim_ft.c

+ 4 - 1
core/mac/src/pe/lim/lim_ft.c

@@ -524,8 +524,11 @@ void lim_fill_ft_session(struct mac_context *mac,
 	ft_session->limRFBand = lim_get_rf_band(ft_session->curr_op_freq);
 
 	lim_fill_dot11mode(mac, ft_session, pe_session, pBeaconStruct);
-
 	pe_debug("dot11mode: %d", ft_session->dot11mode);
+
+	if (IS_DOT11_MODE_HE(ft_session->dot11mode))
+		lim_update_session_he_capable(mac, ft_session);
+
 	ft_session->vhtCapability =
 		(IS_DOT11_MODE_VHT(ft_session->dot11mode)
 		 && IS_BSS_VHT_CAPABLE(pBeaconStruct->VHTCaps));