linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arnau Roig <arnau60@casal.upc.edu>
To: linux-wireless@vger.kernel.org
Subject: txpower and frequency settings: concept guidance needed
Date: Thu, 5 Feb 2009 17:45:22 +0100	[thread overview]
Message-ID: <20090205164522.GA5580@purple> (raw)

Hello to everybody.

I'm new in kernel development and in wireless networking also.
I've read most of the documentation availible in wireless.kernel.org
and, to be honest it's still not clear to me what are the uses of the
mac80211, cfg80211 or nl80211.

I'm using a 2.6.24 kernel, compat-wireless-2.6-old (compat-release
v4.5-g2badec7) and ath5k driver (v0.5.0).

What I want to do is a userspace application that has to modify the
frequency channel and the tx_power of the wireless device depending on
several network statistics. Please, where do I have to start looking?

Is the struct ieee80211_conf, declared in mac80211.h what I need for
changing the current working channel and tx_power?
Can I read network statistics with get_station, declared in the struct
cfg80211_ops in cfg80211.h? Or the way to do it is using
@NL80211_CMD_GET_WIPHY in nl80211_commands?

Thank you for your time.

             reply	other threads:[~2009-02-05 17:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-05 16:45 Arnau Roig [this message]
2009-02-10 12:41 ` txpower and frequency settings: concept guidance needed Arnau Roig
2009-02-10 14:10 ` John W. Linville

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090205164522.GA5580@purple \
    --to=arnau60@casal.upc.edu \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).