Convert to new ieee80211_mimo_info format.

This commit is contained in:
adrian 2011-04-21 08:20:56 +00:00
parent d0fcd4e3a1
commit ab1b35064b

View File

@ -2527,13 +2527,13 @@ mwl_node_getmimoinfo(const struct ieee80211_node *ni,
if (mn->mn_ai.rssi_c > rssi_max)
rssi_max = mn->mn_ai.rssi_c;
CVT(mi->rssi[0], mn->mn_ai.rssi_a);
CVT(mi->rssi[1], mn->mn_ai.rssi_b);
CVT(mi->rssi[2], mn->mn_ai.rssi_c);
CVT(mi->rssi_ctl[0], mn->mn_ai.rssi_a);
CVT(mi->rssi_ctl[1], mn->mn_ai.rssi_b);
CVT(mi->rssi_ctl[2], mn->mn_ai.rssi_c);
mi->noise[0] = mn->mn_ai.nf_a;
mi->noise[1] = mn->mn_ai.nf_b;
mi->noise[2] = mn->mn_ai.nf_c;
mi->noise_ctl[0] = mn->mn_ai.nf_a;
mi->noise_ctl[1] = mn->mn_ai.nf_b;
mi->noise_ctl[2] = mn->mn_ai.nf_c;
#undef CVT
}