Hi Johannes,
Currently for MLO test, the others links's rx_nss of struct
ieee80211_link_sta is still value 0 in ieee80211_set_associated(),
becaue they are not pass into ieee80211_sta_set_rx_nss() in
mac80211 except the deflink which means the primary link in
rate_control_rate_init(). This lead driver get nss = 0 for
other links. Will you fix it or is it design by default?
Only primary link has valid rx_nss value which is not 0 by below call stack.
ieee80211_assoc_success()
->rate_control_rate_init(sta);
->ieee80211_sta_set_rx_nss(&sta->deflink);
Hi Johannes,
May I get your comment about this?
On 9/13/2022 12:37 PM, Wen Gong wrote:
> Hi Johannes,
>
> Currently for MLO test, the others links's rx_nss of struct
> ieee80211_link_sta is still value 0 in ieee80211_set_associated(),
> becaue they are not pass into ieee80211_sta_set_rx_nss() in
> mac80211 except the deflink which means the primary link in
> rate_control_rate_init(). This lead driver get nss = 0 for
> other links. Will you fix it or is it design by default?
>
> Only primary link has valid rx_nss value which is not 0 by below call
> stack.
> ieee80211_assoc_success()
> ->rate_control_rate_init(sta);
> ->ieee80211_sta_set_rx_nss(&sta->deflink);
Hi Johannes,
May I get your comment about this?
On 9/13/2022 12:37 PM, Wen Gong wrote:
> Hi Johannes,
>
> Currently for MLO test, the others links's rx_nss of struct
> ieee80211_link_sta is still value 0 in ieee80211_set_associated(),
> becaue they are not pass into ieee80211_sta_set_rx_nss() in
> mac80211 except the deflink which means the primary link in
> rate_control_rate_init(). This lead driver get nss = 0 for
> other links. Will you fix it or is it design by default?
>
> Only primary link has valid rx_nss value which is not 0 by below call
> stack.
> ieee80211_assoc_success()
> ->rate_control_rate_init(sta);
> ->ieee80211_sta_set_rx_nss(&sta->deflink);
Hi,
> > Currently for MLO test, the others links's rx_nss of struct
> > ieee80211_link_sta is still value 0 in ieee80211_set_associated(),
> > becaue they are not pass into ieee80211_sta_set_rx_nss() in
> > mac80211 except the deflink which means the primary link in
> > rate_control_rate_init(). This lead driver get nss = 0 for
> > other links. Will you fix it or is it design by default?
> >
> > Only primary link has valid rx_nss value which is not 0 by below call
> > stack.
> > ieee80211_assoc_success()
> > ->rate_control_rate_init(sta);
> > ->ieee80211_sta_set_rx_nss(&sta->deflink);
Right, none of the rate scaling related stuff was updated yet.
Want to work on it? :)
johannes