Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions configs/ath79-generic.config
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_nanobeam-ac=y
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_nanobeam-ac-gen2=y
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_nanobridge-m=y
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_nanostation-ac=y
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_nanostation-ac-loco=y
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_nanostation-loco-m=y
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_nanostation-loco-m-xw=y
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_nanostation-m=y
Expand Down Expand Up @@ -250,6 +251,7 @@ CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_nanobeam-ac=y
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_nanobeam-ac-gen2=y
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_nanobridge-m=y
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_nanostation-ac=y
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_nanostation-ac-loco=y
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_nanostation-loco-m=y
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_nanostation-loco-m-xw=y
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_nanostation-m=y
Expand Down
12 changes: 10 additions & 2 deletions files/www/cgi-bin/perlfunc.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1674,6 +1674,14 @@ sub hardware_info
'pwroffset' => '4',
'usechains' => 1,
},
'0xe7fa' => {
'name' => 'NanoStation 5AC loco',
'comment' => 'NanoStation 5AC loco (WA)',
'supported' => '1',
'maxpower' => '22',
'pwroffset' => '1',
'usechains' => 1,
},
'0xe7fb' => {
'name' => 'NanoStation 5AC',
'comment' => 'NanoStation 5AC (WA)',
Expand Down Expand Up @@ -1944,9 +1952,9 @@ sub get_interface
chomp $gi_wifiintf;
return $gi_wifiintf;
}

my $gi_config = nvram_get("config");
my $device = `jsonfilter -q -i /etc/board.json -e @.network.$intf.device`;
my $device = `jsonfilter -q -i /etc/board.json -e @.network.$intf.device`;
chomp $device;
if ( $gi_config eq "" and $device and $intf ne "lan") {
# firstboot and 1 port hardware and not lan interface
Expand Down