From owner-cvs-src-old@FreeBSD.ORG Fri Apr 8 09:20:57 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A014106576F for ; Fri, 8 Apr 2011 09:20:56 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 962408FC14 for ; Fri, 8 Apr 2011 09:20:56 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p389Kuh5032949 for ; Fri, 8 Apr 2011 09:20:56 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p389KuR3032948 for cvs-src-old@freebsd.org; Fri, 8 Apr 2011 09:20:56 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <201104080920.p389KuR3032948@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to adrian@repoman.freebsd.org using -f From: Adrian Chadd Date: Fri, 8 Apr 2011 09:20:45 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/net80211 _ieee80211.h ieee80211_input.c ieee80211_node.c ieee80211_node.h ieee80211_proto.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2011 09:20:57 -0000 adrian 2011-04-08 09:20:45 UTC FreeBSD src repository Modified files: sys/net80211 _ieee80211.h ieee80211_input.c ieee80211_node.c ieee80211_node.h ieee80211_proto.h Log: SVN rev 220445 on 2011-04-08 09:20:45Z by adrian Add initial support for MIMO statistics to net80211. This introduces struct ieee80211_rx_stats - which stores the various kinds of RX statistics which a MIMO and non-MIMO 802.11 device can export. It also fleshes out the mimo export to userland (node_getmimoinfo()). It assumes that MIMO radios (for now) export both ctl and ext channels. Non-11n MIMO radios are possible (and I believe Atheros made at least one), so if that chipset support is added, extra flags to the struct ieee80211_rx_stats can be added to extend this support. Two new input functions have been added - ieee80211_input_mimo() and ieee80211_input_mimo_all() - which MIMO-aware devices can call with MIMO specific statistics. 802.11 devices calling the non-MIMO input functions will still function. Revision Changes Path 1.30 +9 -3 src/sys/net80211/_ieee80211.h 1.137 +46 -1 src/sys/net80211/ieee80211_input.c 1.143 +20 -1 src/sys/net80211/ieee80211_node.c 1.55 +7 -0 src/sys/net80211/ieee80211_node.h 1.50 +27 -0 src/sys/net80211/ieee80211_proto.h