All of lore.kernel.org
 help / color / mirror / Atom feed
* [iw, ath5k] setting of antennas
@ 2011-04-15 17:18 Dennis Borgmann
  2011-04-15 18:06 ` Johannes Berg
  2011-04-16  6:53 ` jpo
  0 siblings, 2 replies; 3+ messages in thread
From: Dennis Borgmann @ 2011-04-15 17:18 UTC (permalink / raw)
  To: linux-wireless

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [iw, ath5k] setting of antennas
  2011-04-15 17:18 [iw, ath5k] setting of antennas Dennis Borgmann
@ 2011-04-15 18:06 ` Johannes Berg
  2011-04-16  6:53 ` jpo
  1 sibling, 0 replies; 3+ messages in thread
From: Johannes Berg @ 2011-04-15 18:06 UTC (permalink / raw)
  To: Dennis Borgmann; +Cc: linux-wireless

 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [iw, ath5k] setting of antennas
  2011-04-15 17:18 [iw, ath5k] setting of antennas Dennis Borgmann
  2011-04-15 18:06 ` Johannes Berg
@ 2011-04-16  6:53 ` jpo
  1 sibling, 0 replies; 3+ messages in thread
From: jpo @ 2011-04-16  6:53 UTC (permalink / raw)
  To: linux-wireless

Dennis Borgmann <dennis.borgmann@...> writes:

> Any hints? I could not find documentation about this topic...

Hint: http://linuxwireless.org/en/developers/Documentation/nl80211




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-16  6:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-15 17:18 [iw, ath5k] setting of antennas Dennis Borgmann
2011-04-15 18:06 ` Johannes Berg
2011-04-16  6:53 ` jpo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.