[PATCH] Allow full 250mw (24dBm) on WRT54GL and related with wl legacy driver on...
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 22 Feb 2012 13:41:50 +0000 (13:41 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 22 Feb 2012 13:41:50 +0000 (13:41 +0000)
Signed-off-by: Hanno Schupp <hanno.schupp@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30684 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/iwinfo/src/iwinfo_wl.c

index 16202f6..3acfff4 100644 (file)
@@ -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++)
This page took 0.029528 seconds and 4 git commands to generate.