Linux wireless drivers development
 help / color / mirror / Atom feed
From: KATSUMI masanori <masanori-katsumi@elwsc.co.jp>
To: linux-wireless@vger.kernel.org
Subject: Re: How to read WiFi radio frequency.
Date: Tue, 30 Jul 2013 20:22:11 +0900	[thread overview]
Message-ID: <20130730202208.9333.635158EF@elwsc.co.jp> (raw)
In-Reply-To: <20130725210249.89DD.635158EF@elwsc.co.jp>

On Thu, 25 Jul 2013 21:02:51 +0900
KATSUMI masanori <masanori-katsumi@elwsc.co.jp> wrote:

> I am trying to make p2p software with the current device as the group
> owner.
> I would like to acquire the channel that GO started, from normal user(NOT
> root).
> How can I get this information?

I think I can get own GO operating channel or freq through NL80211_ATTR_WIPHY_FREQ attribute
in nl80211 interface.

However, I was not able to get this attribute by NL80211_CMD_GET_INTERFACE which is used in
iw command.
In addition to that, I tried several nl80211 commands but I couldn't get it.
e.g) 
   NL80211_CMD_GET_WIPHY
   NL80211_CMD_GET_INTERFACE
   NL80211_CMD_GET_SCAN
   NL80211_CMD_GET_SURVEY
   NL80211_CMD_REMAIN_ON_CHANNEL

I can get the operating freq during STA but I cannot find the way to
get the own operating freq during running GO.

BTW, NL80211_CMD_FRAME_TX_STATUS event is only notified when GO started.
But, even this event didn't contain the frequency information.

Is there any other way to get the own GO's operating channel ??

I tried kernel v3.0.31
And do you know this feature supports in the latest kernel ??

Regards,


      reply	other threads:[~2013-07-30 11:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-25 12:02 How to read WiFi radio frequency KATSUMI masanori
2013-07-30 11:22 ` KATSUMI masanori [this message]

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=20130730202208.9333.635158EF@elwsc.co.jp \
    --to=masanori-katsumi@elwsc.co.jp \
    --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