From: Alexey Perevalov <a.perevalov@samsung.com>
To: linux-wireless@vger.kernel.org, johannes@sipsolutions.net
Subject: question about generalized way for RSSI notification
Date: Fri, 29 Nov 2013 17:55:05 +0400 [thread overview]
Message-ID: <52989CB9.3060108@samsung.com> (raw)
Dear wireless subsystem maintainers,
I have a question regarding RSSI notification to the user space.
Right now this information available in /proc/net/wireless.
That generalized method is not depending on driver implementation,
driver just need to provide wireless statistics.
I found 2 places in kernel which report about RSSI to user space eventually.
First place, it's wlan_rndis driver base implementation
./drivers/net/wireless/rndis_wlan.c.
The second place, it's mac80211 driver - beacon frame handling.
Unfortunately wireless driver we're using isn't rndis based and isn't
mac80211 based.
We don't want to depends on driver code.
What community think in this situation, is it possible to add notifier
with following responsibility:
send netlink notification in case of signal level changed according
to predefined by user threshold?
Technically it will looks like rndis_wlan approach - timer function with
predefined frequency.
This functionality is needed to reduce user space daemon activity which
provides information to GUI wifi indicator.
Also such approach could decrease time reaction on signal level changes.
Currently, some OSes has 1 second interval,
another one has 3 seconds for checking RSSI.
--
Best regards,
Alexey Perevalov
next reply other threads:[~2013-11-29 13:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-29 13:55 Alexey Perevalov [this message]
2013-12-02 15:15 ` question about generalized way for RSSI notification Dan Williams
2013-12-03 6:47 ` Alexey Perevalov
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=52989CB9.3060108@samsung.com \
--to=a.perevalov@samsung.com \
--cc=johannes@sipsolutions.net \
--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).