Hi thank you very much for quick reply, and parser. I can do by your proposed way, but if I can use an API to get it directly from kernel that would make our work more organized and faster. On Thu, Jun 16, 2016 at 2:51 PM, Rafał Miłecki <zajec5@xxxxxxxxx> wrote: > On 16 June 2016 at 12:10, Majid Ashoori <majid.it@xxxxxxxxx> wrote: >> Hi everyone, >> I am using OCB mode based on ath9k driver for my wireless connections >> between different nodes. In this mode there is no BS or established >> connection to analyze the signal strength of BS. Thus, I need to know >> the signal strength of received packets in my user-space application >> to do some calculation based on that. >> >> So, here is the question: how can I get signal strength of a received >> packet in a user-space application? I reached to the point that it may >> be performed via cfg80211 or nl80211 and I check them but I am not >> sure how exactly I can get that. > > Create monitor interface, read packets from it, parse radiotap header > manually or using this tiny parser: > http://git.sipsolutions.net/?p=radiotap.git > > -- > Rafał -- 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