Changeset 32685


Ignore:
Timestamp:
Jul 13, 2017, 12:55:17 PM (13 days ago)
Author:
brainslayer
Message:

vht160 support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/services/networking/rt2880.c

    r32654 r32685  
    370370                if (nvram_matchi(type, 3))
    371371                        pragma = "";
    372                 sleep(1);       // some delay is usefull
     372                A sleep(1);     // some delay is usefull
    373373                sysprintf("wrt-radauth %s %s %s %s %s %s %s %s &", pragma,
    374374                          ifname, server, port, share, nvram_nget("%s_radius_override", prefix), nvram_nget("%s_radmacpassword", prefix), nvram_nget("%s_max_unauth_users", prefix));
     
    969969                fprintf(fp, "HT_BW=1\n");
    970970                fprintf(fp, "VHT_BW=1\n");
     971        } else if (nvram_nmatch("160", "wl%d_nbw", idx)) {
     972                fprintf(fp, "HT_BW=1\n");
     973                fprintf(fp, "VHT_BW=2\n");
     974        } else if (nvram_nmatch("8080", "wl%d_nbw", idx)) {
     975                fprintf(fp, "HT_BW=1\n");
     976                fprintf(fp, "VHT_BW=3\n");
    971977        }
    972978
Note: See TracChangeset for help on using the changeset viewer.