Hi Lantis,
Will you come out a patch? Would like to apply it. Thanks.
Gargoyle 1.15.x OpenWrt 24.10 beta - 2025-07-13
Moderator: Moderators
Re: Gargoyle 1.15.x OpenWrt 24.10 beta - 2025-07-13
Here you go
https://github.com/ericpaulbishop/gargo ... 230fab95d1
One of the changes requires a recompile of the make_nftables_rules application but you can get away without that for now.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog
Re: Gargoyle 1.15.x OpenWrt 24.10 beta - 2025-07-13
Thanks Lantis. Now firewall/restriction is back.Lantis wrote: ↑Wed Jul 16, 2025 8:16 amHere you go
https://github.com/ericpaulbishop/gargo ... 230fab95d1
One of the changes requires a recompile of the make_nftables_rules application but you can get away without that for now.
Re: Gargoyle 1.15.x OpenWrt 24.10 beta - 2025-07-13
Cant use 5ghz on Wndr3700v5 its A/N router. Its detected as a/n/ac. When I switch to A/N 5ghz gets disabled.
Re: Gargoyle 1.15.x OpenWrt 24.10 beta - 2025-07-13
I just tested on a WNDR3800 which is of a similar vintage, and it is fine.
Have you tried clearing your browser cache? Some of the javascript is different which may cause errors.
If this does not resolve the issue, please show.
Be mindful to redact passwords from wireless config.
Code: Select all
cat /etc/config/wireless
cat /tmp/cached_basic_vars
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog
Re: Gargoyle 1.15.x OpenWrt 24.10 beta - 2025-07-13
A+N (5g gets disabled)
config wifi-device 'radio0'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
option band '2g'
option channel '6'
option htmode 'HT20'
option country 'SE'
config wifi-device 'radio1'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
option band '5g'
option channel '36'
option htmode 'HT20'
option country 'SE'
config wifi-iface 'ap_g'
option device 'radio0'
option mode 'ap'
option network 'lan'
option disassoc_low_ack '0'
option ssid 'Gargoyle'
option encryption 'psk2'
option key 'gargoyle123'
config wifi-iface 'ap_a'
option device 'radio1'
option mode 'ap'
option network 'lan'
option disassoc_low_ack '0'
option ssid 'Gargoyle 5GHz'
option encryption 'psk2'
option key 'gargoyle123'
root@Gargoyle:~# cat /tmp/cached_basic_vars
var isBcm94704 = false;
var allLanMacs = [];
allLanMacs.push("a4:2b:8c:f2:12:f8");
allLanMacs.push("a4:2b:8c:f2:12:f8");
allLanMacs.push("a4:2b:8c:f2:12:fc");
allLanMacs.push("a4:2b:8c:f2:12:fc");
var isRamips = false;
var wifiDevG=uciWirelessDevs.length > 0 ? uciWirelessDevs[0] : "";
var wifiDevA="";
var phyRadio=[];
var radioPhy=[];
var phyCapab=[];
var wirelessDriver="mac80211";
var mac80211Channels = [];
var mac80211ChFreqs = [];
var mac80211ChPwrs = [];
var nextCh=[];
var dualBandWireless=true;
nextCh = [];
nextChFreq = [];
nextChPwr = [];
wifiDevG="radio0";
var GwifiN = true;
var GwifiAX = false;
nextCh.push(1); nextChFreq[1] = "2412MHz"; nextChPwr[1] = 20;
nextCh.push(2); nextChFreq[2] = "2417MHz"; nextChPwr[2] = 20;
nextCh.push(3); nextChFreq[3] = "2422MHz"; nextChPwr[3] = 20;
nextCh.push(4); nextChFreq[4] = "2427MHz"; nextChPwr[4] = 20;
nextCh.push(5); nextChFreq[5] = "2432MHz"; nextChPwr[5] = 20;
nextCh.push(6); nextChFreq[6] = "2437MHz"; nextChPwr[6] = 20;
nextCh.push(7); nextChFreq[7] = "2442MHz"; nextChPwr[7] = 20;
nextCh.push(8); nextChFreq[8] = "2447MHz"; nextChPwr[8] = 20;
nextCh.push(9); nextChFreq[9] = "2452MHz"; nextChPwr[9] = 20;
nextCh.push(10); nextChFreq[10] = "2457MHz"; nextChPwr[10] = 20;
nextCh.push(11); nextChFreq[11] = "2462MHz"; nextChPwr[11] = 20;
nextCh.push(12); nextChFreq[12] = "2467MHz"; nextChPwr[12] = 20;
nextCh.push(13); nextChFreq[13] = "2472MHz"; nextChPwr[13] = 20;
mac80211Channels["G"] = nextCh ;
mac80211ChFreqs["G"] = nextChFreq ;
mac80211ChPwrs["G"] = nextChPwr ;
phyRadio["phy0"] = "radio0";
radioPhy["radio0"] = "phy0";
phyCapab["phy0"] = [];
phyCapab["phy0"]["2G"] = [];
phyCapab["phy0"]["2G"]["ht"] = 1;
phyCapab["phy0"]["2G"]["vht"] = 0;
phyCapab["phy0"]["2G"]["he"] = 0;
phyCapab["phy0"]["2G"]["max_width"] = 40;
phyCapab["phy0"]["2G"]["modes"] = [];
phyCapab["phy0"]["2G"]["modes"].push("NOHT");
phyCapab["phy0"]["2G"]["modes"].push("HT20");
phyCapab["phy0"]["2G"]["modes"].push("HT40");
phyCapab["phy0"]["2G"]["channels"] = [];
phyCapab["phy0"]["2G"]["freqs"] = [];
phyCapab["phy0"]["2G"]["pwrs"] = [];
nextCh = [];
nextChFreq = [];
nextChPwr = [];
nextCh.push(1); nextChFreq[1] = "2412MHz"; nextChPwr[1] = 20;
nextCh.push(2); nextChFreq[2] = "2417MHz"; nextChPwr[2] = 20;
nextCh.push(3); nextChFreq[3] = "2422MHz"; nextChPwr[3] = 20;
nextCh.push(4); nextChFreq[4] = "2427MHz"; nextChPwr[4] = 20;
nextCh.push(5); nextChFreq[5] = "2432MHz"; nextChPwr[5] = 20;
nextCh.push(6); nextChFreq[6] = "2437MHz"; nextChPwr[6] = 20;
nextCh.push(7); nextChFreq[7] = "2442MHz"; nextChPwr[7] = 20;
nextCh.push(8); nextChFreq[8] = "2447MHz"; nextChPwr[8] = 20;
nextCh.push(9); nextChFreq[9] = "2452MHz"; nextChPwr[9] = 20;
nextCh.push(10); nextChFreq[10] = "2457MHz"; nextChPwr[10] = 20;
nextCh.push(11); nextChFreq[11] = "2462MHz"; nextChPwr[11] = 20;
nextCh.push(12); nextChFreq[12] = "2467MHz"; nextChPwr[12] = 20;
nextCh.push(13); nextChFreq[13] = "2472MHz"; nextChPwr[13] = 20;
phyCapab["phy0"]["2G"]["channels"] = nextCh ;
phyCapab["phy0"]["2G"]["freqs"] = nextChFreq ;
phyCapab["phy0"]["2G"]["pws"] = nextChPwr ;
nextCh = [];
nextChFreq = [];
nextChPwr = [];
wifiDevA="radio1";
var AwifiN = true;
var AwifiAC = true;
var AwifiAX = false;
var maxACwidth = "80" ;
var AC80P80 = false;
var maxAXwidth = "0" ;
var AX80P80 = false;
nextCh.push(36); nextChFreq[36] = "5180MHz"; nextChPwr[36] = 23;
nextCh.push(40); nextChFreq[40] = "5200MHz"; nextChPwr[40] = 23;
nextCh.push(44); nextChFreq[44] = "5220MHz"; nextChPwr[44] = 23;
nextCh.push(48); nextChFreq[48] = "5240MHz"; nextChPwr[48] = 23;
nextCh.push(52); nextChFreq[52] = "5260MHz"; nextChPwr[52] = 20;
nextCh.push(56); nextChFreq[56] = "5280MHz"; nextChPwr[56] = 20;
nextCh.push(60); nextChFreq[60] = "5300MHz"; nextChPwr[60] = 20;
nextCh.push(64); nextChFreq[64] = "5320MHz"; nextChPwr[64] = 20;
nextCh.push(100); nextChFreq[100] = "5500MHz"; nextChPwr[100] = 26;
nextCh.push(104); nextChFreq[104] = "5520MHz"; nextChPwr[104] = 26;
nextCh.push(108); nextChFreq[108] = "5540MHz"; nextChPwr[108] = 26;
nextCh.push(112); nextChFreq[112] = "5560MHz"; nextChPwr[112] = 26;
nextCh.push(116); nextChFreq[116] = "5580MHz"; nextChPwr[116] = 26;
nextCh.push(120); nextChFreq[120] = "5600MHz"; nextChPwr[120] = 26;
nextCh.push(124); nextChFreq[124] = "5620MHz"; nextChPwr[124] = 26;
nextCh.push(128); nextChFreq[128] = "5640MHz"; nextChPwr[128] = 26;
nextCh.push(132); nextChFreq[132] = "5660MHz"; nextChPwr[132] = 26;
nextCh.push(136); nextChFreq[136] = "5680MHz"; nextChPwr[136] = 26;
nextCh.push(140); nextChFreq[140] = "5700MHz"; nextChPwr[140] = 26;
nextCh.push(144); nextChFreq[144] = "5720MHz"; nextChPwr[144] = 13;
nextCh.push(149); nextChFreq[149] = "5745MHz"; nextChPwr[149] = 13;
nextCh.push(153); nextChFreq[153] = "5765MHz"; nextChPwr[153] = 13;
nextCh.push(157); nextChFreq[157] = "5785MHz"; nextChPwr[157] = 13;
nextCh.push(161); nextChFreq[161] = "5805MHz"; nextChPwr[161] = 13;
nextCh.push(165); nextChFreq[165] = "5825MHz"; nextChPwr[165] = 13;
nextCh.push(169); nextChFreq[169] = "5845MHz"; nextChPwr[169] = 13;
nextCh.push(173); nextChFreq[173] = "5865MHz"; nextChPwr[173] = 13;
mac80211Channels["A"] = nextCh ;
mac80211ChFreqs["A"] = nextChFreq ;
mac80211ChPwrs["A"] = nextChPwr ;
phyRadio["phy1"] = "radio1";
radioPhy["radio1"] = "phy1";
phyCapab["phy1"] = [];
phyCapab["phy1"]["5G"] = [];
phyCapab["phy1"]["5G"]["ht"] = 1;
phyCapab["phy1"]["5G"]["vht"] = 1;
phyCapab["phy1"]["5G"]["he"] = 0;
phyCapab["phy1"]["5G"]["max_width"] = 80;
phyCapab["phy1"]["5G"]["modes"] = [];
phyCapab["phy1"]["5G"]["modes"].push("NOHT");
phyCapab["phy1"]["5G"]["modes"].push("HT20");
phyCapab["phy1"]["5G"]["modes"].push("VHT20");
phyCapab["phy1"]["5G"]["modes"].push("HT40");
phyCapab["phy1"]["5G"]["modes"].push("VHT40");
phyCapab["phy1"]["5G"]["modes"].push("VHT80");
phyCapab["phy1"]["5G"]["channels"] = [];
phyCapab["phy1"]["5G"]["freqs"] = [];
phyCapab["phy1"]["5G"]["pwrs"] = [];
nextCh = [];
nextChFreq = [];
nextChPwr = [];
nextCh.push(36); nextChFreq[36] = "5180MHz"; nextChPwr[36] = 23;
nextCh.push(40); nextChFreq[40] = "5200MHz"; nextChPwr[40] = 23;
nextCh.push(44); nextChFreq[44] = "5220MHz"; nextChPwr[44] = 23;
nextCh.push(48); nextChFreq[48] = "5240MHz"; nextChPwr[48] = 23;
nextCh.push(52); nextChFreq[52] = "5260MHz"; nextChPwr[52] = 20;
nextCh.push(56); nextChFreq[56] = "5280MHz"; nextChPwr[56] = 20;
nextCh.push(60); nextChFreq[60] = "5300MHz"; nextChPwr[60] = 20;
nextCh.push(64); nextChFreq[64] = "5320MHz"; nextChPwr[64] = 20;
nextCh.push(100); nextChFreq[100] = "5500MHz"; nextChPwr[100] = 26;
nextCh.push(104); nextChFreq[104] = "5520MHz"; nextChPwr[104] = 26;
nextCh.push(108); nextChFreq[108] = "5540MHz"; nextChPwr[108] = 26;
nextCh.push(112); nextChFreq[112] = "5560MHz"; nextChPwr[112] = 26;
nextCh.push(116); nextChFreq[116] = "5580MHz"; nextChPwr[116] = 26;
nextCh.push(120); nextChFreq[120] = "5600MHz"; nextChPwr[120] = 26;
nextCh.push(124); nextChFreq[124] = "5620MHz"; nextChPwr[124] = 26;
nextCh.push(128); nextChFreq[128] = "5640MHz"; nextChPwr[128] = 26;
nextCh.push(132); nextChFreq[132] = "5660MHz"; nextChPwr[132] = 26;
nextCh.push(136); nextChFreq[136] = "5680MHz"; nextChPwr[136] = 26;
nextCh.push(140); nextChFreq[140] = "5700MHz"; nextChPwr[140] = 26;
nextCh.push(144); nextChFreq[144] = "5720MHz"; nextChPwr[144] = 13;
nextCh.push(149); nextChFreq[149] = "5745MHz"; nextChPwr[149] = 13;
nextCh.push(153); nextChFreq[153] = "5765MHz"; nextChPwr[153] = 13;
nextCh.push(157); nextChFreq[157] = "5785MHz"; nextChPwr[157] = 13;
nextCh.push(161); nextChFreq[161] = "5805MHz"; nextChPwr[161] = 13;
nextCh.push(165); nextChFreq[165] = "5825MHz"; nextChPwr[165] = 13;
nextCh.push(169); nextChFreq[169] = "5845MHz"; nextChPwr[169] = 13;
nextCh.push(173); nextChFreq[173] = "5865MHz"; nextChPwr[173] = 13;
phyCapab["phy1"]["5G"]["channels"] = nextCh ;
phyCapab["phy1"]["5G"]["freqs"] = nextChFreq ;
phyCapab["phy1"]["5G"]["pws"] = nextChPwr ;
var wpad_eap = true;
var wpad_sae = true;
var wpad_owe = true;
var wpad_sb192 = true;
var wpad_wep = false;
var distribTarget='ramips/mt7621';
A+N+AC
config wifi-device 'radio0'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
option band '2g'
option channel '6'
option htmode 'HT20'
option country 'SE'
config wifi-device 'radio1'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
option band '5g'
option channel '36'
option htmode 'VHT20'
option country 'SE'
config wifi-iface 'ap_g'
option device 'radio0'
option mode 'ap'
option network 'lan'
option disassoc_low_ack '0'
option ssid 'Gargoyle'
option encryption 'psk2'
option key 'gargoyle123'
config wifi-iface 'ap_a'
option device 'radio1'
option mode 'ap'
option network 'lan'
option disassoc_low_ack '0'
option ssid 'Gargoyle 5GHz'
option encryption 'psk2'
option key 'gargoyle123'
root@Gargoyle:~# cat /tmp/cached_basic_vars
var isBcm94704 = false;
var allLanMacs = [];
allLanMacs.push("a4:2b:8c:f2:12:f8");
allLanMacs.push("a4:2b:8c:f2:12:f8");
allLanMacs.push("a4:2b:8c:f2:12:fc");
allLanMacs.push("a4:2b:8c:f2:12:fc");
var isRamips = false;
var wifiDevG=uciWirelessDevs.length > 0 ? uciWirelessDevs[0] : "";
var wifiDevA="";
var phyRadio=[];
var radioPhy=[];
var phyCapab=[];
var wirelessDriver="mac80211";
var mac80211Channels = [];
var mac80211ChFreqs = [];
var mac80211ChPwrs = [];
var nextCh=[];
var dualBandWireless=true;
nextCh = [];
nextChFreq = [];
nextChPwr = [];
wifiDevG="radio0";
var GwifiN = true;
var GwifiAX = false;
nextCh.push(1); nextChFreq[1] = "2412MHz"; nextChPwr[1] = 20;
nextCh.push(2); nextChFreq[2] = "2417MHz"; nextChPwr[2] = 20;
nextCh.push(3); nextChFreq[3] = "2422MHz"; nextChPwr[3] = 20;
nextCh.push(4); nextChFreq[4] = "2427MHz"; nextChPwr[4] = 20;
nextCh.push(5); nextChFreq[5] = "2432MHz"; nextChPwr[5] = 20;
nextCh.push(6); nextChFreq[6] = "2437MHz"; nextChPwr[6] = 20;
nextCh.push(7); nextChFreq[7] = "2442MHz"; nextChPwr[7] = 20;
nextCh.push(8); nextChFreq[8] = "2447MHz"; nextChPwr[8] = 20;
nextCh.push(9); nextChFreq[9] = "2452MHz"; nextChPwr[9] = 20;
nextCh.push(10); nextChFreq[10] = "2457MHz"; nextChPwr[10] = 20;
nextCh.push(11); nextChFreq[11] = "2462MHz"; nextChPwr[11] = 20;
nextCh.push(12); nextChFreq[12] = "2467MHz"; nextChPwr[12] = 20;
nextCh.push(13); nextChFreq[13] = "2472MHz"; nextChPwr[13] = 20;
mac80211Channels["G"] = nextCh ;
mac80211ChFreqs["G"] = nextChFreq ;
mac80211ChPwrs["G"] = nextChPwr ;
phyRadio["phy0"] = "radio0";
radioPhy["radio0"] = "phy0";
phyCapab["phy0"] = [];
phyCapab["phy0"]["2G"] = [];
phyCapab["phy0"]["2G"]["ht"] = 1;
phyCapab["phy0"]["2G"]["vht"] = 0;
phyCapab["phy0"]["2G"]["he"] = 0;
phyCapab["phy0"]["2G"]["max_width"] = 40;
phyCapab["phy0"]["2G"]["modes"] = [];
phyCapab["phy0"]["2G"]["modes"].push("NOHT");
phyCapab["phy0"]["2G"]["modes"].push("HT20");
phyCapab["phy0"]["2G"]["modes"].push("HT40");
phyCapab["phy0"]["2G"]["channels"] = [];
phyCapab["phy0"]["2G"]["freqs"] = [];
phyCapab["phy0"]["2G"]["pwrs"] = [];
nextCh = [];
nextChFreq = [];
nextChPwr = [];
nextCh.push(1); nextChFreq[1] = "2412MHz"; nextChPwr[1] = 20;
nextCh.push(2); nextChFreq[2] = "2417MHz"; nextChPwr[2] = 20;
nextCh.push(3); nextChFreq[3] = "2422MHz"; nextChPwr[3] = 20;
nextCh.push(4); nextChFreq[4] = "2427MHz"; nextChPwr[4] = 20;
nextCh.push(5); nextChFreq[5] = "2432MHz"; nextChPwr[5] = 20;
nextCh.push(6); nextChFreq[6] = "2437MHz"; nextChPwr[6] = 20;
nextCh.push(7); nextChFreq[7] = "2442MHz"; nextChPwr[7] = 20;
nextCh.push(8); nextChFreq[8] = "2447MHz"; nextChPwr[8] = 20;
nextCh.push(9); nextChFreq[9] = "2452MHz"; nextChPwr[9] = 20;
nextCh.push(10); nextChFreq[10] = "2457MHz"; nextChPwr[10] = 20;
nextCh.push(11); nextChFreq[11] = "2462MHz"; nextChPwr[11] = 20;
nextCh.push(12); nextChFreq[12] = "2467MHz"; nextChPwr[12] = 20;
nextCh.push(13); nextChFreq[13] = "2472MHz"; nextChPwr[13] = 20;
phyCapab["phy0"]["2G"]["channels"] = nextCh ;
phyCapab["phy0"]["2G"]["freqs"] = nextChFreq ;
phyCapab["phy0"]["2G"]["pws"] = nextChPwr ;
nextCh = [];
nextChFreq = [];
nextChPwr = [];
wifiDevA="radio1";
var AwifiN = true;
var AwifiAC = true;
var AwifiAX = false;
var maxACwidth = "80" ;
var AC80P80 = false;
var maxAXwidth = "0" ;
var AX80P80 = false;
nextCh.push(36); nextChFreq[36] = "5180MHz"; nextChPwr[36] = 23;
nextCh.push(40); nextChFreq[40] = "5200MHz"; nextChPwr[40] = 23;
nextCh.push(44); nextChFreq[44] = "5220MHz"; nextChPwr[44] = 23;
nextCh.push(48); nextChFreq[48] = "5240MHz"; nextChPwr[48] = 23;
nextCh.push(52); nextChFreq[52] = "5260MHz"; nextChPwr[52] = 20;
nextCh.push(56); nextChFreq[56] = "5280MHz"; nextChPwr[56] = 20;
nextCh.push(60); nextChFreq[60] = "5300MHz"; nextChPwr[60] = 20;
nextCh.push(64); nextChFreq[64] = "5320MHz"; nextChPwr[64] = 20;
nextCh.push(100); nextChFreq[100] = "5500MHz"; nextChPwr[100] = 26;
nextCh.push(104); nextChFreq[104] = "5520MHz"; nextChPwr[104] = 26;
nextCh.push(108); nextChFreq[108] = "5540MHz"; nextChPwr[108] = 26;
nextCh.push(112); nextChFreq[112] = "5560MHz"; nextChPwr[112] = 26;
nextCh.push(116); nextChFreq[116] = "5580MHz"; nextChPwr[116] = 26;
nextCh.push(120); nextChFreq[120] = "5600MHz"; nextChPwr[120] = 26;
nextCh.push(124); nextChFreq[124] = "5620MHz"; nextChPwr[124] = 26;
nextCh.push(128); nextChFreq[128] = "5640MHz"; nextChPwr[128] = 26;
nextCh.push(132); nextChFreq[132] = "5660MHz"; nextChPwr[132] = 26;
nextCh.push(136); nextChFreq[136] = "5680MHz"; nextChPwr[136] = 26;
nextCh.push(140); nextChFreq[140] = "5700MHz"; nextChPwr[140] = 26;
nextCh.push(144); nextChFreq[144] = "5720MHz"; nextChPwr[144] = 13;
nextCh.push(149); nextChFreq[149] = "5745MHz"; nextChPwr[149] = 13;
nextCh.push(153); nextChFreq[153] = "5765MHz"; nextChPwr[153] = 13;
nextCh.push(157); nextChFreq[157] = "5785MHz"; nextChPwr[157] = 13;
nextCh.push(161); nextChFreq[161] = "5805MHz"; nextChPwr[161] = 13;
nextCh.push(165); nextChFreq[165] = "5825MHz"; nextChPwr[165] = 13;
nextCh.push(169); nextChFreq[169] = "5845MHz"; nextChPwr[169] = 13;
nextCh.push(173); nextChFreq[173] = "5865MHz"; nextChPwr[173] = 13;
mac80211Channels["A"] = nextCh ;
mac80211ChFreqs["A"] = nextChFreq ;
mac80211ChPwrs["A"] = nextChPwr ;
phyRadio["phy1"] = "radio1";
radioPhy["radio1"] = "phy1";
phyCapab["phy1"] = [];
phyCapab["phy1"]["5G"] = [];
phyCapab["phy1"]["5G"]["ht"] = 1;
phyCapab["phy1"]["5G"]["vht"] = 1;
phyCapab["phy1"]["5G"]["he"] = 0;
phyCapab["phy1"]["5G"]["max_width"] = 80;
phyCapab["phy1"]["5G"]["modes"] = [];
phyCapab["phy1"]["5G"]["modes"].push("NOHT");
phyCapab["phy1"]["5G"]["modes"].push("HT20");
phyCapab["phy1"]["5G"]["modes"].push("VHT20");
phyCapab["phy1"]["5G"]["modes"].push("HT40");
phyCapab["phy1"]["5G"]["modes"].push("VHT40");
phyCapab["phy1"]["5G"]["modes"].push("VHT80");
phyCapab["phy1"]["5G"]["channels"] = [];
phyCapab["phy1"]["5G"]["freqs"] = [];
phyCapab["phy1"]["5G"]["pwrs"] = [];
nextCh = [];
nextChFreq = [];
nextChPwr = [];
nextCh.push(36); nextChFreq[36] = "5180MHz"; nextChPwr[36] = 23;
nextCh.push(40); nextChFreq[40] = "5200MHz"; nextChPwr[40] = 23;
nextCh.push(44); nextChFreq[44] = "5220MHz"; nextChPwr[44] = 23;
nextCh.push(48); nextChFreq[48] = "5240MHz"; nextChPwr[48] = 23;
nextCh.push(52); nextChFreq[52] = "5260MHz"; nextChPwr[52] = 20;
nextCh.push(56); nextChFreq[56] = "5280MHz"; nextChPwr[56] = 20;
nextCh.push(60); nextChFreq[60] = "5300MHz"; nextChPwr[60] = 20;
nextCh.push(64); nextChFreq[64] = "5320MHz"; nextChPwr[64] = 20;
nextCh.push(100); nextChFreq[100] = "5500MHz"; nextChPwr[100] = 26;
nextCh.push(104); nextChFreq[104] = "5520MHz"; nextChPwr[104] = 26;
nextCh.push(108); nextChFreq[108] = "5540MHz"; nextChPwr[108] = 26;
nextCh.push(112); nextChFreq[112] = "5560MHz"; nextChPwr[112] = 26;
nextCh.push(116); nextChFreq[116] = "5580MHz"; nextChPwr[116] = 26;
nextCh.push(120); nextChFreq[120] = "5600MHz"; nextChPwr[120] = 26;
nextCh.push(124); nextChFreq[124] = "5620MHz"; nextChPwr[124] = 26;
nextCh.push(128); nextChFreq[128] = "5640MHz"; nextChPwr[128] = 26;
nextCh.push(132); nextChFreq[132] = "5660MHz"; nextChPwr[132] = 26;
nextCh.push(136); nextChFreq[136] = "5680MHz"; nextChPwr[136] = 26;
nextCh.push(140); nextChFreq[140] = "5700MHz"; nextChPwr[140] = 26;
nextCh.push(144); nextChFreq[144] = "5720MHz"; nextChPwr[144] = 13;
nextCh.push(149); nextChFreq[149] = "5745MHz"; nextChPwr[149] = 13;
nextCh.push(153); nextChFreq[153] = "5765MHz"; nextChPwr[153] = 13;
nextCh.push(157); nextChFreq[157] = "5785MHz"; nextChPwr[157] = 13;
nextCh.push(161); nextChFreq[161] = "5805MHz"; nextChPwr[161] = 13;
nextCh.push(165); nextChFreq[165] = "5825MHz"; nextChPwr[165] = 13;
nextCh.push(169); nextChFreq[169] = "5845MHz"; nextChPwr[169] = 13;
nextCh.push(173); nextChFreq[173] = "5865MHz"; nextChPwr[173] = 13;
phyCapab["phy1"]["5G"]["channels"] = nextCh ;
phyCapab["phy1"]["5G"]["freqs"] = nextChFreq ;
phyCapab["phy1"]["5G"]["pws"] = nextChPwr ;
var wpad_eap = true;
var wpad_sae = true;
var wpad_owe = true;
var wpad_sb192 = true;
var wpad_wep = false;
var distribTarget='ramips/mt7621';
config wifi-device 'radio0'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
option band '2g'
option channel '6'
option htmode 'HT20'
option country 'SE'
config wifi-device 'radio1'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
option band '5g'
option channel '36'
option htmode 'HT20'
option country 'SE'
config wifi-iface 'ap_g'
option device 'radio0'
option mode 'ap'
option network 'lan'
option disassoc_low_ack '0'
option ssid 'Gargoyle'
option encryption 'psk2'
option key 'gargoyle123'
config wifi-iface 'ap_a'
option device 'radio1'
option mode 'ap'
option network 'lan'
option disassoc_low_ack '0'
option ssid 'Gargoyle 5GHz'
option encryption 'psk2'
option key 'gargoyle123'
root@Gargoyle:~# cat /tmp/cached_basic_vars
var isBcm94704 = false;
var allLanMacs = [];
allLanMacs.push("a4:2b:8c:f2:12:f8");
allLanMacs.push("a4:2b:8c:f2:12:f8");
allLanMacs.push("a4:2b:8c:f2:12:fc");
allLanMacs.push("a4:2b:8c:f2:12:fc");
var isRamips = false;
var wifiDevG=uciWirelessDevs.length > 0 ? uciWirelessDevs[0] : "";
var wifiDevA="";
var phyRadio=[];
var radioPhy=[];
var phyCapab=[];
var wirelessDriver="mac80211";
var mac80211Channels = [];
var mac80211ChFreqs = [];
var mac80211ChPwrs = [];
var nextCh=[];
var dualBandWireless=true;
nextCh = [];
nextChFreq = [];
nextChPwr = [];
wifiDevG="radio0";
var GwifiN = true;
var GwifiAX = false;
nextCh.push(1); nextChFreq[1] = "2412MHz"; nextChPwr[1] = 20;
nextCh.push(2); nextChFreq[2] = "2417MHz"; nextChPwr[2] = 20;
nextCh.push(3); nextChFreq[3] = "2422MHz"; nextChPwr[3] = 20;
nextCh.push(4); nextChFreq[4] = "2427MHz"; nextChPwr[4] = 20;
nextCh.push(5); nextChFreq[5] = "2432MHz"; nextChPwr[5] = 20;
nextCh.push(6); nextChFreq[6] = "2437MHz"; nextChPwr[6] = 20;
nextCh.push(7); nextChFreq[7] = "2442MHz"; nextChPwr[7] = 20;
nextCh.push(8); nextChFreq[8] = "2447MHz"; nextChPwr[8] = 20;
nextCh.push(9); nextChFreq[9] = "2452MHz"; nextChPwr[9] = 20;
nextCh.push(10); nextChFreq[10] = "2457MHz"; nextChPwr[10] = 20;
nextCh.push(11); nextChFreq[11] = "2462MHz"; nextChPwr[11] = 20;
nextCh.push(12); nextChFreq[12] = "2467MHz"; nextChPwr[12] = 20;
nextCh.push(13); nextChFreq[13] = "2472MHz"; nextChPwr[13] = 20;
mac80211Channels["G"] = nextCh ;
mac80211ChFreqs["G"] = nextChFreq ;
mac80211ChPwrs["G"] = nextChPwr ;
phyRadio["phy0"] = "radio0";
radioPhy["radio0"] = "phy0";
phyCapab["phy0"] = [];
phyCapab["phy0"]["2G"] = [];
phyCapab["phy0"]["2G"]["ht"] = 1;
phyCapab["phy0"]["2G"]["vht"] = 0;
phyCapab["phy0"]["2G"]["he"] = 0;
phyCapab["phy0"]["2G"]["max_width"] = 40;
phyCapab["phy0"]["2G"]["modes"] = [];
phyCapab["phy0"]["2G"]["modes"].push("NOHT");
phyCapab["phy0"]["2G"]["modes"].push("HT20");
phyCapab["phy0"]["2G"]["modes"].push("HT40");
phyCapab["phy0"]["2G"]["channels"] = [];
phyCapab["phy0"]["2G"]["freqs"] = [];
phyCapab["phy0"]["2G"]["pwrs"] = [];
nextCh = [];
nextChFreq = [];
nextChPwr = [];
nextCh.push(1); nextChFreq[1] = "2412MHz"; nextChPwr[1] = 20;
nextCh.push(2); nextChFreq[2] = "2417MHz"; nextChPwr[2] = 20;
nextCh.push(3); nextChFreq[3] = "2422MHz"; nextChPwr[3] = 20;
nextCh.push(4); nextChFreq[4] = "2427MHz"; nextChPwr[4] = 20;
nextCh.push(5); nextChFreq[5] = "2432MHz"; nextChPwr[5] = 20;
nextCh.push(6); nextChFreq[6] = "2437MHz"; nextChPwr[6] = 20;
nextCh.push(7); nextChFreq[7] = "2442MHz"; nextChPwr[7] = 20;
nextCh.push(8); nextChFreq[8] = "2447MHz"; nextChPwr[8] = 20;
nextCh.push(9); nextChFreq[9] = "2452MHz"; nextChPwr[9] = 20;
nextCh.push(10); nextChFreq[10] = "2457MHz"; nextChPwr[10] = 20;
nextCh.push(11); nextChFreq[11] = "2462MHz"; nextChPwr[11] = 20;
nextCh.push(12); nextChFreq[12] = "2467MHz"; nextChPwr[12] = 20;
nextCh.push(13); nextChFreq[13] = "2472MHz"; nextChPwr[13] = 20;
phyCapab["phy0"]["2G"]["channels"] = nextCh ;
phyCapab["phy0"]["2G"]["freqs"] = nextChFreq ;
phyCapab["phy0"]["2G"]["pws"] = nextChPwr ;
nextCh = [];
nextChFreq = [];
nextChPwr = [];
wifiDevA="radio1";
var AwifiN = true;
var AwifiAC = true;
var AwifiAX = false;
var maxACwidth = "80" ;
var AC80P80 = false;
var maxAXwidth = "0" ;
var AX80P80 = false;
nextCh.push(36); nextChFreq[36] = "5180MHz"; nextChPwr[36] = 23;
nextCh.push(40); nextChFreq[40] = "5200MHz"; nextChPwr[40] = 23;
nextCh.push(44); nextChFreq[44] = "5220MHz"; nextChPwr[44] = 23;
nextCh.push(48); nextChFreq[48] = "5240MHz"; nextChPwr[48] = 23;
nextCh.push(52); nextChFreq[52] = "5260MHz"; nextChPwr[52] = 20;
nextCh.push(56); nextChFreq[56] = "5280MHz"; nextChPwr[56] = 20;
nextCh.push(60); nextChFreq[60] = "5300MHz"; nextChPwr[60] = 20;
nextCh.push(64); nextChFreq[64] = "5320MHz"; nextChPwr[64] = 20;
nextCh.push(100); nextChFreq[100] = "5500MHz"; nextChPwr[100] = 26;
nextCh.push(104); nextChFreq[104] = "5520MHz"; nextChPwr[104] = 26;
nextCh.push(108); nextChFreq[108] = "5540MHz"; nextChPwr[108] = 26;
nextCh.push(112); nextChFreq[112] = "5560MHz"; nextChPwr[112] = 26;
nextCh.push(116); nextChFreq[116] = "5580MHz"; nextChPwr[116] = 26;
nextCh.push(120); nextChFreq[120] = "5600MHz"; nextChPwr[120] = 26;
nextCh.push(124); nextChFreq[124] = "5620MHz"; nextChPwr[124] = 26;
nextCh.push(128); nextChFreq[128] = "5640MHz"; nextChPwr[128] = 26;
nextCh.push(132); nextChFreq[132] = "5660MHz"; nextChPwr[132] = 26;
nextCh.push(136); nextChFreq[136] = "5680MHz"; nextChPwr[136] = 26;
nextCh.push(140); nextChFreq[140] = "5700MHz"; nextChPwr[140] = 26;
nextCh.push(144); nextChFreq[144] = "5720MHz"; nextChPwr[144] = 13;
nextCh.push(149); nextChFreq[149] = "5745MHz"; nextChPwr[149] = 13;
nextCh.push(153); nextChFreq[153] = "5765MHz"; nextChPwr[153] = 13;
nextCh.push(157); nextChFreq[157] = "5785MHz"; nextChPwr[157] = 13;
nextCh.push(161); nextChFreq[161] = "5805MHz"; nextChPwr[161] = 13;
nextCh.push(165); nextChFreq[165] = "5825MHz"; nextChPwr[165] = 13;
nextCh.push(169); nextChFreq[169] = "5845MHz"; nextChPwr[169] = 13;
nextCh.push(173); nextChFreq[173] = "5865MHz"; nextChPwr[173] = 13;
mac80211Channels["A"] = nextCh ;
mac80211ChFreqs["A"] = nextChFreq ;
mac80211ChPwrs["A"] = nextChPwr ;
phyRadio["phy1"] = "radio1";
radioPhy["radio1"] = "phy1";
phyCapab["phy1"] = [];
phyCapab["phy1"]["5G"] = [];
phyCapab["phy1"]["5G"]["ht"] = 1;
phyCapab["phy1"]["5G"]["vht"] = 1;
phyCapab["phy1"]["5G"]["he"] = 0;
phyCapab["phy1"]["5G"]["max_width"] = 80;
phyCapab["phy1"]["5G"]["modes"] = [];
phyCapab["phy1"]["5G"]["modes"].push("NOHT");
phyCapab["phy1"]["5G"]["modes"].push("HT20");
phyCapab["phy1"]["5G"]["modes"].push("VHT20");
phyCapab["phy1"]["5G"]["modes"].push("HT40");
phyCapab["phy1"]["5G"]["modes"].push("VHT40");
phyCapab["phy1"]["5G"]["modes"].push("VHT80");
phyCapab["phy1"]["5G"]["channels"] = [];
phyCapab["phy1"]["5G"]["freqs"] = [];
phyCapab["phy1"]["5G"]["pwrs"] = [];
nextCh = [];
nextChFreq = [];
nextChPwr = [];
nextCh.push(36); nextChFreq[36] = "5180MHz"; nextChPwr[36] = 23;
nextCh.push(40); nextChFreq[40] = "5200MHz"; nextChPwr[40] = 23;
nextCh.push(44); nextChFreq[44] = "5220MHz"; nextChPwr[44] = 23;
nextCh.push(48); nextChFreq[48] = "5240MHz"; nextChPwr[48] = 23;
nextCh.push(52); nextChFreq[52] = "5260MHz"; nextChPwr[52] = 20;
nextCh.push(56); nextChFreq[56] = "5280MHz"; nextChPwr[56] = 20;
nextCh.push(60); nextChFreq[60] = "5300MHz"; nextChPwr[60] = 20;
nextCh.push(64); nextChFreq[64] = "5320MHz"; nextChPwr[64] = 20;
nextCh.push(100); nextChFreq[100] = "5500MHz"; nextChPwr[100] = 26;
nextCh.push(104); nextChFreq[104] = "5520MHz"; nextChPwr[104] = 26;
nextCh.push(108); nextChFreq[108] = "5540MHz"; nextChPwr[108] = 26;
nextCh.push(112); nextChFreq[112] = "5560MHz"; nextChPwr[112] = 26;
nextCh.push(116); nextChFreq[116] = "5580MHz"; nextChPwr[116] = 26;
nextCh.push(120); nextChFreq[120] = "5600MHz"; nextChPwr[120] = 26;
nextCh.push(124); nextChFreq[124] = "5620MHz"; nextChPwr[124] = 26;
nextCh.push(128); nextChFreq[128] = "5640MHz"; nextChPwr[128] = 26;
nextCh.push(132); nextChFreq[132] = "5660MHz"; nextChPwr[132] = 26;
nextCh.push(136); nextChFreq[136] = "5680MHz"; nextChPwr[136] = 26;
nextCh.push(140); nextChFreq[140] = "5700MHz"; nextChPwr[140] = 26;
nextCh.push(144); nextChFreq[144] = "5720MHz"; nextChPwr[144] = 13;
nextCh.push(149); nextChFreq[149] = "5745MHz"; nextChPwr[149] = 13;
nextCh.push(153); nextChFreq[153] = "5765MHz"; nextChPwr[153] = 13;
nextCh.push(157); nextChFreq[157] = "5785MHz"; nextChPwr[157] = 13;
nextCh.push(161); nextChFreq[161] = "5805MHz"; nextChPwr[161] = 13;
nextCh.push(165); nextChFreq[165] = "5825MHz"; nextChPwr[165] = 13;
nextCh.push(169); nextChFreq[169] = "5845MHz"; nextChPwr[169] = 13;
nextCh.push(173); nextChFreq[173] = "5865MHz"; nextChPwr[173] = 13;
phyCapab["phy1"]["5G"]["channels"] = nextCh ;
phyCapab["phy1"]["5G"]["freqs"] = nextChFreq ;
phyCapab["phy1"]["5G"]["pws"] = nextChPwr ;
var wpad_eap = true;
var wpad_sae = true;
var wpad_owe = true;
var wpad_sb192 = true;
var wpad_wep = false;
var distribTarget='ramips/mt7621';
A+N+AC
config wifi-device 'radio0'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
option band '2g'
option channel '6'
option htmode 'HT20'
option country 'SE'
config wifi-device 'radio1'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
option band '5g'
option channel '36'
option htmode 'VHT20'
option country 'SE'
config wifi-iface 'ap_g'
option device 'radio0'
option mode 'ap'
option network 'lan'
option disassoc_low_ack '0'
option ssid 'Gargoyle'
option encryption 'psk2'
option key 'gargoyle123'
config wifi-iface 'ap_a'
option device 'radio1'
option mode 'ap'
option network 'lan'
option disassoc_low_ack '0'
option ssid 'Gargoyle 5GHz'
option encryption 'psk2'
option key 'gargoyle123'
root@Gargoyle:~# cat /tmp/cached_basic_vars
var isBcm94704 = false;
var allLanMacs = [];
allLanMacs.push("a4:2b:8c:f2:12:f8");
allLanMacs.push("a4:2b:8c:f2:12:f8");
allLanMacs.push("a4:2b:8c:f2:12:fc");
allLanMacs.push("a4:2b:8c:f2:12:fc");
var isRamips = false;
var wifiDevG=uciWirelessDevs.length > 0 ? uciWirelessDevs[0] : "";
var wifiDevA="";
var phyRadio=[];
var radioPhy=[];
var phyCapab=[];
var wirelessDriver="mac80211";
var mac80211Channels = [];
var mac80211ChFreqs = [];
var mac80211ChPwrs = [];
var nextCh=[];
var dualBandWireless=true;
nextCh = [];
nextChFreq = [];
nextChPwr = [];
wifiDevG="radio0";
var GwifiN = true;
var GwifiAX = false;
nextCh.push(1); nextChFreq[1] = "2412MHz"; nextChPwr[1] = 20;
nextCh.push(2); nextChFreq[2] = "2417MHz"; nextChPwr[2] = 20;
nextCh.push(3); nextChFreq[3] = "2422MHz"; nextChPwr[3] = 20;
nextCh.push(4); nextChFreq[4] = "2427MHz"; nextChPwr[4] = 20;
nextCh.push(5); nextChFreq[5] = "2432MHz"; nextChPwr[5] = 20;
nextCh.push(6); nextChFreq[6] = "2437MHz"; nextChPwr[6] = 20;
nextCh.push(7); nextChFreq[7] = "2442MHz"; nextChPwr[7] = 20;
nextCh.push(8); nextChFreq[8] = "2447MHz"; nextChPwr[8] = 20;
nextCh.push(9); nextChFreq[9] = "2452MHz"; nextChPwr[9] = 20;
nextCh.push(10); nextChFreq[10] = "2457MHz"; nextChPwr[10] = 20;
nextCh.push(11); nextChFreq[11] = "2462MHz"; nextChPwr[11] = 20;
nextCh.push(12); nextChFreq[12] = "2467MHz"; nextChPwr[12] = 20;
nextCh.push(13); nextChFreq[13] = "2472MHz"; nextChPwr[13] = 20;
mac80211Channels["G"] = nextCh ;
mac80211ChFreqs["G"] = nextChFreq ;
mac80211ChPwrs["G"] = nextChPwr ;
phyRadio["phy0"] = "radio0";
radioPhy["radio0"] = "phy0";
phyCapab["phy0"] = [];
phyCapab["phy0"]["2G"] = [];
phyCapab["phy0"]["2G"]["ht"] = 1;
phyCapab["phy0"]["2G"]["vht"] = 0;
phyCapab["phy0"]["2G"]["he"] = 0;
phyCapab["phy0"]["2G"]["max_width"] = 40;
phyCapab["phy0"]["2G"]["modes"] = [];
phyCapab["phy0"]["2G"]["modes"].push("NOHT");
phyCapab["phy0"]["2G"]["modes"].push("HT20");
phyCapab["phy0"]["2G"]["modes"].push("HT40");
phyCapab["phy0"]["2G"]["channels"] = [];
phyCapab["phy0"]["2G"]["freqs"] = [];
phyCapab["phy0"]["2G"]["pwrs"] = [];
nextCh = [];
nextChFreq = [];
nextChPwr = [];
nextCh.push(1); nextChFreq[1] = "2412MHz"; nextChPwr[1] = 20;
nextCh.push(2); nextChFreq[2] = "2417MHz"; nextChPwr[2] = 20;
nextCh.push(3); nextChFreq[3] = "2422MHz"; nextChPwr[3] = 20;
nextCh.push(4); nextChFreq[4] = "2427MHz"; nextChPwr[4] = 20;
nextCh.push(5); nextChFreq[5] = "2432MHz"; nextChPwr[5] = 20;
nextCh.push(6); nextChFreq[6] = "2437MHz"; nextChPwr[6] = 20;
nextCh.push(7); nextChFreq[7] = "2442MHz"; nextChPwr[7] = 20;
nextCh.push(8); nextChFreq[8] = "2447MHz"; nextChPwr[8] = 20;
nextCh.push(9); nextChFreq[9] = "2452MHz"; nextChPwr[9] = 20;
nextCh.push(10); nextChFreq[10] = "2457MHz"; nextChPwr[10] = 20;
nextCh.push(11); nextChFreq[11] = "2462MHz"; nextChPwr[11] = 20;
nextCh.push(12); nextChFreq[12] = "2467MHz"; nextChPwr[12] = 20;
nextCh.push(13); nextChFreq[13] = "2472MHz"; nextChPwr[13] = 20;
phyCapab["phy0"]["2G"]["channels"] = nextCh ;
phyCapab["phy0"]["2G"]["freqs"] = nextChFreq ;
phyCapab["phy0"]["2G"]["pws"] = nextChPwr ;
nextCh = [];
nextChFreq = [];
nextChPwr = [];
wifiDevA="radio1";
var AwifiN = true;
var AwifiAC = true;
var AwifiAX = false;
var maxACwidth = "80" ;
var AC80P80 = false;
var maxAXwidth = "0" ;
var AX80P80 = false;
nextCh.push(36); nextChFreq[36] = "5180MHz"; nextChPwr[36] = 23;
nextCh.push(40); nextChFreq[40] = "5200MHz"; nextChPwr[40] = 23;
nextCh.push(44); nextChFreq[44] = "5220MHz"; nextChPwr[44] = 23;
nextCh.push(48); nextChFreq[48] = "5240MHz"; nextChPwr[48] = 23;
nextCh.push(52); nextChFreq[52] = "5260MHz"; nextChPwr[52] = 20;
nextCh.push(56); nextChFreq[56] = "5280MHz"; nextChPwr[56] = 20;
nextCh.push(60); nextChFreq[60] = "5300MHz"; nextChPwr[60] = 20;
nextCh.push(64); nextChFreq[64] = "5320MHz"; nextChPwr[64] = 20;
nextCh.push(100); nextChFreq[100] = "5500MHz"; nextChPwr[100] = 26;
nextCh.push(104); nextChFreq[104] = "5520MHz"; nextChPwr[104] = 26;
nextCh.push(108); nextChFreq[108] = "5540MHz"; nextChPwr[108] = 26;
nextCh.push(112); nextChFreq[112] = "5560MHz"; nextChPwr[112] = 26;
nextCh.push(116); nextChFreq[116] = "5580MHz"; nextChPwr[116] = 26;
nextCh.push(120); nextChFreq[120] = "5600MHz"; nextChPwr[120] = 26;
nextCh.push(124); nextChFreq[124] = "5620MHz"; nextChPwr[124] = 26;
nextCh.push(128); nextChFreq[128] = "5640MHz"; nextChPwr[128] = 26;
nextCh.push(132); nextChFreq[132] = "5660MHz"; nextChPwr[132] = 26;
nextCh.push(136); nextChFreq[136] = "5680MHz"; nextChPwr[136] = 26;
nextCh.push(140); nextChFreq[140] = "5700MHz"; nextChPwr[140] = 26;
nextCh.push(144); nextChFreq[144] = "5720MHz"; nextChPwr[144] = 13;
nextCh.push(149); nextChFreq[149] = "5745MHz"; nextChPwr[149] = 13;
nextCh.push(153); nextChFreq[153] = "5765MHz"; nextChPwr[153] = 13;
nextCh.push(157); nextChFreq[157] = "5785MHz"; nextChPwr[157] = 13;
nextCh.push(161); nextChFreq[161] = "5805MHz"; nextChPwr[161] = 13;
nextCh.push(165); nextChFreq[165] = "5825MHz"; nextChPwr[165] = 13;
nextCh.push(169); nextChFreq[169] = "5845MHz"; nextChPwr[169] = 13;
nextCh.push(173); nextChFreq[173] = "5865MHz"; nextChPwr[173] = 13;
mac80211Channels["A"] = nextCh ;
mac80211ChFreqs["A"] = nextChFreq ;
mac80211ChPwrs["A"] = nextChPwr ;
phyRadio["phy1"] = "radio1";
radioPhy["radio1"] = "phy1";
phyCapab["phy1"] = [];
phyCapab["phy1"]["5G"] = [];
phyCapab["phy1"]["5G"]["ht"] = 1;
phyCapab["phy1"]["5G"]["vht"] = 1;
phyCapab["phy1"]["5G"]["he"] = 0;
phyCapab["phy1"]["5G"]["max_width"] = 80;
phyCapab["phy1"]["5G"]["modes"] = [];
phyCapab["phy1"]["5G"]["modes"].push("NOHT");
phyCapab["phy1"]["5G"]["modes"].push("HT20");
phyCapab["phy1"]["5G"]["modes"].push("VHT20");
phyCapab["phy1"]["5G"]["modes"].push("HT40");
phyCapab["phy1"]["5G"]["modes"].push("VHT40");
phyCapab["phy1"]["5G"]["modes"].push("VHT80");
phyCapab["phy1"]["5G"]["channels"] = [];
phyCapab["phy1"]["5G"]["freqs"] = [];
phyCapab["phy1"]["5G"]["pwrs"] = [];
nextCh = [];
nextChFreq = [];
nextChPwr = [];
nextCh.push(36); nextChFreq[36] = "5180MHz"; nextChPwr[36] = 23;
nextCh.push(40); nextChFreq[40] = "5200MHz"; nextChPwr[40] = 23;
nextCh.push(44); nextChFreq[44] = "5220MHz"; nextChPwr[44] = 23;
nextCh.push(48); nextChFreq[48] = "5240MHz"; nextChPwr[48] = 23;
nextCh.push(52); nextChFreq[52] = "5260MHz"; nextChPwr[52] = 20;
nextCh.push(56); nextChFreq[56] = "5280MHz"; nextChPwr[56] = 20;
nextCh.push(60); nextChFreq[60] = "5300MHz"; nextChPwr[60] = 20;
nextCh.push(64); nextChFreq[64] = "5320MHz"; nextChPwr[64] = 20;
nextCh.push(100); nextChFreq[100] = "5500MHz"; nextChPwr[100] = 26;
nextCh.push(104); nextChFreq[104] = "5520MHz"; nextChPwr[104] = 26;
nextCh.push(108); nextChFreq[108] = "5540MHz"; nextChPwr[108] = 26;
nextCh.push(112); nextChFreq[112] = "5560MHz"; nextChPwr[112] = 26;
nextCh.push(116); nextChFreq[116] = "5580MHz"; nextChPwr[116] = 26;
nextCh.push(120); nextChFreq[120] = "5600MHz"; nextChPwr[120] = 26;
nextCh.push(124); nextChFreq[124] = "5620MHz"; nextChPwr[124] = 26;
nextCh.push(128); nextChFreq[128] = "5640MHz"; nextChPwr[128] = 26;
nextCh.push(132); nextChFreq[132] = "5660MHz"; nextChPwr[132] = 26;
nextCh.push(136); nextChFreq[136] = "5680MHz"; nextChPwr[136] = 26;
nextCh.push(140); nextChFreq[140] = "5700MHz"; nextChPwr[140] = 26;
nextCh.push(144); nextChFreq[144] = "5720MHz"; nextChPwr[144] = 13;
nextCh.push(149); nextChFreq[149] = "5745MHz"; nextChPwr[149] = 13;
nextCh.push(153); nextChFreq[153] = "5765MHz"; nextChPwr[153] = 13;
nextCh.push(157); nextChFreq[157] = "5785MHz"; nextChPwr[157] = 13;
nextCh.push(161); nextChFreq[161] = "5805MHz"; nextChPwr[161] = 13;
nextCh.push(165); nextChFreq[165] = "5825MHz"; nextChPwr[165] = 13;
nextCh.push(169); nextChFreq[169] = "5845MHz"; nextChPwr[169] = 13;
nextCh.push(173); nextChFreq[173] = "5865MHz"; nextChPwr[173] = 13;
phyCapab["phy1"]["5G"]["channels"] = nextCh ;
phyCapab["phy1"]["5G"]["freqs"] = nextChFreq ;
phyCapab["phy1"]["5G"]["pws"] = nextChPwr ;
var wpad_eap = true;
var wpad_sae = true;
var wpad_owe = true;
var wpad_sb192 = true;
var wpad_wep = false;
var distribTarget='ramips/mt7621';