diff options
author | Jean Tourrilhes <jt@hpl.hp.com> | 2005-09-23 21:58:59 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-24 03:33:51 -0400 |
commit | c28df16ed70d1b6cefd12135e3c68bfccd1bb635 (patch) | |
tree | d1161f1c5523e9720f9bc58adf3b7495a5b1ac62 /drivers/net/wireless/hostap/hostap_80211_rx.c | |
parent | 7a716536c602be6050b4f3ece30f1fc3b64362b0 (diff) | |
download | kernel_samsung_smdk4412-c28df16ed70d1b6cefd12135e3c68bfccd1bb635.zip kernel_samsung_smdk4412-c28df16ed70d1b6cefd12135e3c68bfccd1bb635.tar.gz kernel_samsung_smdk4412-c28df16ed70d1b6cefd12135e3c68bfccd1bb635.tar.bz2 |
[PATCH] hostap: Add support for WE-19
This patch adds support for WE-19 to the HostAP driver. One of
the major change is the use of an explicit flag to tell if iwstat is
in dBm or not.
Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_80211_rx.c')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_80211_rx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/hostap/hostap_80211_rx.c b/drivers/net/wireless/hostap/hostap_80211_rx.c index 42e61c6..ffac508 100644 --- a/drivers/net/wireless/hostap/hostap_80211_rx.c +++ b/drivers/net/wireless/hostap/hostap_80211_rx.c @@ -737,7 +737,8 @@ void hostap_80211_rx(struct net_device *dev, struct sk_buff *skb, struct iw_quality wstats; wstats.level = rx_stats->signal; wstats.noise = rx_stats->noise; - wstats.updated = 6; /* No qual value */ + wstats.updated = IW_QUAL_LEVEL_UPDATED | IW_QUAL_NOISE_UPDATED + | IW_QUAL_QUAL_INVALID | IW_QUAL_DBM; /* Update spy records */ wireless_spy_update(dev, hdr->addr2, &wstats); } |