mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-06 20:54:00 -05:00
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
This commit is contained in:
parent
9423b3a383
commit
c86c74b1e4
@ -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)
|
int wl_get_txpwrlist(const char *ifname, char *buf, int *len)
|
||||||
{
|
{
|
||||||
struct iwinfo_txpwrlist_entry entry;
|
struct iwinfo_txpwrlist_entry entry;
|
||||||
uint8_t dbm[8] = { 0, 6, 8, 10, 12, 14, 16, 18 };
|
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 };
|
uint8_t mw[8] = { 1, 3, 6, 10, 15, 25, 39, 63, 100, 158, 251 };
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < 8; i++)
|
for (i = 0; i < 8; i++)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user