Hello!
Thanks to Bruno Randolf, John Linville, Johannes Berg and other, it is
possible to set transmission or reception antennas with ath5k. But:
Is it only possible to set the bitmap of used antennas via iw(8) like this:
phy <phyname> set antenna <bitmap> | all | <tx bitmap> <rx bitmap>
Or is there a way to this with an IOCTL or similar in an own program?
I do also know of the (deprecated) way to this via debugfs, but I'd
really like to do it on my own in a C-program as part of other things to
be done. I wouldn't like this operation to be performed with a
system(3)-call of iw(8).
Any hints? I could not find documentation about this topic...
Best regards,
Dennis
On Fri, 15 Apr 2011 19:18:50 +0200, Dennis Borgmann wrote:
> Is it only possible to set the bitmap of used antennas via iw(8) like
> this:
>
> phy <phyname> set antenna <bitmap> | all | <tx bitmap> <rx bitmap>
>
> Or is there a way to this with an IOCTL or similar in an own program?
>
> I do also know of the (deprecated) way to this via debugfs, but I'd
> really like to do it on my own in a C-program as part of other things
> to
> be done.
iw is a C program too ...........
johannes