aboutsummaryrefslogtreecommitdiffstats
path: root/package/iwinfo/src/iwinfo_wl.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-02-22 13:41:50 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-02-22 13:41:50 +0000
commitc86c74b1e4fc90112b9ffb500e34117e1bbb42ab (patch)
tree277bb7232c0b4b4f8638cda1c4cb45895be0ca4d /package/iwinfo/src/iwinfo_wl.c
parent9423b3a3830c2cf905826ce2a9c0599548ce26e0 (diff)
downloadupstream-c86c74b1e4fc90112b9ffb500e34117e1bbb42ab.tar.gz
upstream-c86c74b1e4fc90112b9ffb500e34117e1bbb42ab.tar.bz2
upstream-c86c74b1e4fc90112b9ffb500e34117e1bbb42ab.zip
Allow full 250mw (24dBm) on WRT54GL and related with wl legacy driver on iwinfo Signed-off-by: Hanno Schupp <hanno.schupp@gmail.com>
SVN-Revision: 30684
Diffstat (limited to 'package/iwinfo/src/iwinfo_wl.c')
-rw-r--r--package/iwinfo/src/iwinfo_wl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/iwinfo/src/iwinfo_wl.c b/package/iwinfo/src/iwinfo_wl.c
index 16202f6290..3acfff4aad 100644
--- a/package/iwinfo/src/iwinfo_wl.c
+++ b/package/iwinfo/src/iwinfo_wl.c
@@ -489,8 +489,8 @@ int wl_get_assoclist(const char *ifname, char *buf, int *len)
int wl_get_txpwrlist(const char *ifname, char *buf, int *len)
{
struct iwinfo_txpwrlist_entry entry;
- uint8_t dbm[8] = { 0, 6, 8, 10, 12, 14, 16, 18 };
- uint8_t mw[8] = { 1, 3, 6, 10, 15, 25, 39, 63 };
+ uint8_t dbm[8] = { 0, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24 };
+ uint8_t mw[8] = { 1, 3, 6, 10, 15, 25, 39, 63, 100, 158, 251 };
int i;
for (i = 0; i < 8; i++)