setting of antennas
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
Quoted 9 lines · Dennis Borgmann
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
Quoted 1 line · Dennis Borgmann
Any hints? I could not find documentation about this topic...
Hint: http://linuxwireless.org/en/developers/Documentation/nl80211