]> git.ipfire.org Git - thirdparty/iw.git/commit - info.c
iw: Add antenna configuration
authorBruno Randolf <br1@einfach.org>
Wed, 22 Dec 2010 01:54:39 +0000 (10:54 +0900)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Jan 2011 11:14:16 +0000 (12:14 +0100)
commitafce7986d04d025c2893591cfde20c124b1170d8
tree9443159263d62779d520a1f47b8b9a1927f11d83
parent15d71c1eec8ce3927b825cdd36c3293528c9404b
iw: Add antenna configuration

Add command to set the antenna configuration (iw phyX set antenna ...) and
include available antennas and antenna setting in wiphy information.

iw phyX info:
        Available Antennas: TX 0x3 RX 0x3
        Configured Antennas: TX 0x1 RX 0x1

iw phyX set antenna <bitmap> | all | <tx bitmap> <rx bitmap>

Signed-off-by: Bruno Randolf <br1@einfach.org>
info.c
phy.c