diff options
author | adrian <adrian@FreeBSD.org> | 2011-04-21 08:20:56 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2011-04-21 08:20:56 +0000 |
commit | ab1b35064b5d6d8c9f2c03ed930d419a6c07bad6 (patch) | |
tree | 2008900946aca17fc2e29fcadeab5fbac695aecb /sys/dev/mwl | |
parent | d0fcd4e3a18c90a7755c063d9d0115f6ccab0ced (diff) | |
download | FreeBSD-src-ab1b35064b5d6d8c9f2c03ed930d419a6c07bad6.zip FreeBSD-src-ab1b35064b5d6d8c9f2c03ed930d419a6c07bad6.tar.gz |
Convert to new ieee80211_mimo_info format.
Diffstat (limited to 'sys/dev/mwl')
-rw-r--r-- | sys/dev/mwl/if_mwl.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/mwl/if_mwl.c b/sys/dev/mwl/if_mwl.c index 662f201..e1aa329 100644 --- a/sys/dev/mwl/if_mwl.c +++ b/sys/dev/mwl/if_mwl.c @@ -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 } |