Search Linux Wireless

Re: How to read WiFi radio frequency.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 25 Jul 2013 21:02:51 +0900
KATSUMI masanori <masanori-katsumi@xxxxxxxxxxx> 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,

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux