Commit Graph

139 Commits

Author SHA1 Message Date
Darryl Quinn cb1bd15823 resized distance field, changed is_online technique 2016-01-06 14:36:40 -06:00
Darryl Quinn 4f2d68bc08 feature: added lat/lon/gridsquare fields and map to capture them 2016-01-06 10:23:18 -06:00
Conrad Lara - KG6JEI cc6d4ee550 hardware: Add testing support for AirRouter HP
board.info
{{{
board.sysid=0xe4b2
board.cpurevision=0x00000101
board.name=AirRouter
board.shortname=LAP
board.subtype=HP
board.netmodes=15
board.hwaddr=687251449BBD
board.reboot=50
board.upgrade=150
board.phycount=2
board.phy.1.maxmtu=2024
board.phy.2.maxmtu=2024
radio.1.name=
radio.1.shortname=
radio.1.bus=pci
radio.1.subsystemid=0xe4b2
radio.1.subvendorid=0x0777
radio.1.txpower.max=28
radio.1.txpower.min=-4
radio.1.txpower.offset=9
radio.1.antennas=1
radio.1.def_antenna=4
radio.1.antenna.1.id=4
radio.1.antenna.1.name=Combined
radio.1.antenna.1.gain=6
}}}
2015-12-28 22:48:13 -08:00
AE6XE 8586a9fee8 feature: device support for older AirGrid M5 0xe245 tested in beta 2015-12-11 10:50:45 -08:00
Darryl Quinn 4aff5d7a59 fixed typos in device names 2015-12-11 11:15:48 -06:00
Conrad Lara - KG6JEI 096f798ceb hardware: Update supported hardware list labels. 2015-12-10 10:53:37 -08:00
AE6XE 4d12a6f535 feature: include boardid for Rocket M5 XW 2015-11-25 21:54:36 -08:00
AE6XE 0c776ab932 fix: correct max power setting NS loco XW 2015-11-25 21:23:52 -08:00
AE6XE dc5df00d46 feature: Add boardid for NS Loco M5 XW 2015-11-25 20:43:27 -08:00
Conrad Lara - KG6JEI ae2bc531b2 hardware: board add: Rocket M5 with USB Port
board.info
{{{
board.sysid=0xe105
board.cpurevision=0x000000c2
board.name=Rocket M5
board.shortname=R5N
board.subtype=
board.netmodes=7
board.hwaddr=00156DDC9D53
board.reboot=30
board.upgrade=150
board.phycount=1
board.phy.1.maxmtu=1524
board.phy.2.maxmtu=1524
radio.1.name=
radio.1.shortname=
radio.1.bus=pci
radio.1.subsystemid=0xe105
radio.1.subvendorid=0x0777
radio.1.txpower.max=27
radio.1.txpower.offset=5
radio.1.antennas=1
radio.1.def_antenna=4
radio.1.antenna.1.id=4
radio.1.antenna.1.name=Combined
radio.1.antenna.1.gain=0
}}}
2015-07-23 21:24:21 -07:00
Conrad Lara - KG6JEI 108e05088b bugfix: Add max power level tracking control for per channel power on devices
Mainly relates to TP-Link devices which have a roving power level programmed into the hardware.

The datasheets for the hardware may say higher power but the chip has been programmed to not go above these values.
2015-07-20 23:30:49 -07:00
Conrad Lara - KG6JEI 9b30e157bc bugfix: Set max power for device to TPLink programed "max power"
This is the absolute maximum that can be used by the device from TPLink eprom programming.

The value actually goes down on some frequencies.
2015-07-20 21:38:01 -07:00
Conrad Lara - KG6JEI 8eabf6ad00 bugfix: snr setting was setting SignalLevel instead of NoiseLevel
ref AREDN->ticket:129
2015-07-02 22:43:01 -07:00
Conrad Lara - KG6JEI c4c808f98c Merge branch 'FixupRefDMZLed' into release-3.15.1.0
Remove references to DMZ led and replace with "Status 4" led
2015-07-01 23:25:56 -07:00
Conrad Lara - KG6JEI a46bbf27d8 bugfix: sometimes iw doesn't show noise floor
Pull from kernel debug instead for now untill we can work around it in iw.

fixes AREDN->ticket:129
2015-07-01 10:05:58 -07:00
Conrad Lara - KG6JEI 13db1b02a2 bugfix: Remove ref to DMZ Led on first node reboot 2015-06-30 08:36:45 -07:00
Conrad Lara - KG6JEI 39729157c6 bugfix: Signal levels do not show up on "new extended" RF Channels
Switch to iw over iwinfo because it handles the new channels better.

Partially reverts changeset:808a8d5019fce4a7ca2c027ea7838d43c6d8cad0/aredn_ar71xx

fixes AREDN->ticket:129
2015-06-30 00:05:45 -07:00
Conrad Lara - KG6JEI f915225459 bugfix: Add in-testing support for older NanoStation M5 XW boards
board.info provided by VE3KMV
{{{
board.sysid=0xe005
board.cpurevision=0x000000c2
board.name=NanoStation M5
board.shortname=N5N
board.subtype=
board.netmodes=7
board.hwaddr=00272232336C
board.reboot=30
board.upgrade=150
board.phycount=2
board.phy.1.maxmtu=1524
board.phy.2.maxmtu=1524
radio.1.name=
radio.1.shortname=
radio.1.bus=pci
radio.1.subsystemid=0xe005
radio.1.subvendorid=0x0777
radio.1.txpower.max=27
radio.1.txpower.offset=5
radio.1.antennas=1
radio.1.def_antenna=4
radio.1.antenna.1.id=4
radio.1.antenna.1.name=Combined
radio.1.antenna.1.gain=16
}}}
2015-06-21 19:24:43 -07:00
Conrad Lara - KG6JEI 21edf5fa02 bugfix:Let kernel handle antenna selection: Remove antenna name mapping data. 2015-06-18 20:18:03 -07:00
Conrad Lara - KG6JEI ea9dfc5d1a bugfix: Let kernel handle antennas:Remove sub functions wifi_validant and wifi_defaultant 2015-06-18 20:15:47 -07:00
Conrad Lara - KG6JEI 1b68255c7f hardware: NanoStation M3: Set NanoStation M3 to "in testing"
25dbm max power, with 3dbm offchip amplifier.

ref AREDN->ticket:53
2015-05-21 10:51:58 -07:00
Conrad Lara - KG6JEI 42ee986cd3 bugfix: Untill user visit status page theme is not set.
Move default theme selection to html_header() to solve theme not being set.
2015-05-14 11:36:51 -07:00
Conrad Lara - KG6JEI d59709d840 bugfix: Theme reverts to no-theme when status page reset button is pressed.
A symlink loop occurs because the default theme selector links back to itself.

Removing the value= on the select title entry prevents this.
2015-05-14 10:56:41 -07:00
Darryl Quinn c26b5fd992 Merge branch 'tunnel_mainline' into develop 2015-05-07 19:25:14 -05:00
Conrad Lara - KG6JEI bd3de68231 ar71xx: hardware: NanoBeam-M5-19 Add testing support
Add NanoBeam M5 19 in testing support
2015-05-05 16:29:53 -07:00
Conrad Lara - KG6JEI 2af1e3e0c3 ar71xx: Copy get_model to get_boardid and modify to return a boardid
When model exiss that has a boardid in EEPROM it will return from there, otherwise it returns the model as chosen by ar71xx
2015-05-05 16:18:24 -07:00
Darryl Quinn 7327c2de51 Merge branch 'develop' into tunnel_mainline 2015-04-23 23:00:00 -05:00
Conrad Lara - KG6JEI 9840db43de hardware: Add CPE210 in testing support 2015-04-22 11:31:23 -07:00
Conrad Lara - KG6JEI 14ddd34906 Merge branch 'RocketM3' into develop
RocketM3 will remain in untested status until we get spectrum report.

ref AREDN->ticket:53
2015-04-22 00:06:43 -07:00
Darryl Quinn 344992b096 Merge commit '714a3d6f5404bcd650019bd59e92d2cc2bb54164' into develop 2015-04-17 18:50:53 -05:00
Darryl Quinn ff057d3488 bugfix: change navbar spacing to accomodate tunnels 2015-04-08 19:59:39 -05:00
Darryl Quinn c40a42562f feature: implement vtundsrv startup script. make 13-vtun vtund aware 2015-04-08 00:15:36 -05:00
Conrad Lara - KG6JEI 82611bb57e bugfix: NanoStation M5 XW device config was malformed
ref AREDN->ticket:43
2015-04-07 22:11:56 -07:00
Darryl Quinn 54210a2d7e Merge branch 'develop' of ssh://git.aredn.org/aredn_ar71xx into tunnel_mainline 2015-04-07 23:09:29 -05:00
Conrad Lara - KG6JEI 853430dbdf hardware: Add testing support for NanoStation M5 XW
ref: AREDN->ticket:43
2015-04-07 20:37:58 -07:00
Darryl Quinn e6d08f5606 merged from develop 2015-04-07 10:36:42 -05:00
Darryl Quinn 928e7e720a Merge branch 'develop' of ssh://git.aredn.org/aredn_ar71xx into dyn_css 2015-04-06 23:20:12 -05:00
Conrad Lara - KG6JEI f6f3aaef9e Merge branch 'TPLinkCPE' into develop 2015-04-06 21:14:39 -07:00
Darryl Quinn 09af80b17e check for .css file extension being passed 2015-04-06 14:47:09 -05:00
Darryl Quinn b8dcc50fb9 changed help text 2015-04-06 09:43:05 -05:00
Conrad Lara - KG6JEI 63bb07b617 hardware: CPE510: Add initial hardware support for TPLink CPE510 in testing
Testing mode for CPE510

Offset needs to be looked into, OS reports a max power of 23dbm need to see if this is kernel, or offset related.

Should provide enough details for the board to be registered in the UI
2015-04-05 22:16:24 -07:00
Conrad Lara - KG6JEI 7c152d7c1e hardware: Expand board_id routine to allow TPLink devices to be obtained
When a device does not have a subsystem device ID we will fall back to the board_detect routine.

In the case of a TPLink CPE510 the model will be along the lines of "TP-Link CPE510 v1.0"

In the case of TPLink CPE510 this also includes a hardware version so should the hardware be changed in the future we will be able to key off that as well.
2015-04-05 22:07:47 -07:00
Darryl Quinn df0bc42208 feature: converted css to use symlinks and multiple files 2015-04-05 21:19:32 -05:00
Darryl Quinn 6672996cd3 added ability to have multiple css files 2015-04-04 23:49:31 -05:00
Darryl Quinn b074fd6985 consolidated functions to reduce duplication (save space) 2015-04-01 17:26:52 -05:00
Darryl Quinn 2461d4acd8 add vpn and vpnc pages to UI menu 2015-04-01 17:09:18 -05:00
Conrad Lara - KG6JEI 5414cb2f86 bugfix: Correct bandmapping to 3400 for Rocket M3 2015-03-31 23:50:05 -07:00
Conrad Lara - KG6JEI 6c91ec0ab4 Add channels that are within normal 5.8GHz unit range for Rocket M3 usage.
M3 is a 5.8GHz unit with a 2GHz offset transverter.

5MHz width is recomended on these channels.

Send to spectrum analysis for verification that output looks clean.

Stepping stone to working on the wider width of the full 3.4GHz band which has more channels but unlike channels 95-100 (added in this commit) the rest are outside the normal 5.8GHz cal range (but are between two cal points so may be fine)
2015-03-31 23:42:22 -07:00
Conrad Lara - KG6JEI 16576d7bde bugfix: dtdlink is by default on eth0.2 not eth0.1 2015-03-26 16:47:33 -07:00
Conrad Lara - KG6JEI 0d11af70b9 bugfix: Unknown interfaces wouldn't return default interface. 2015-03-26 01:31:50 -07:00
Conrad Lara - KG6JEI 9444716fbd feature: Add function and code to UI code to prepare for changing interface names in the core OS.
Create get_interface which will lookup in the current uci network config the realname for the logical interface name.

When the interface is not found it will fall back to a hard coded list.

Configure the UI to use the new get_interface function.
2015-03-24 23:25:18 -07:00
Conrad Lara - KG6JEI e146193b65 Rerand from BBHN to AREDN(TM)
Since a large number of the  BBHNDev team has decided to create firmware fully independent of the BBHN Project the decision has been made to rebrand the firmware to differentiate from the origional BBHN work.

We would like to thank all those whom have worked on the BBHN firmware over the years and all those who continue to work on the firmware under AREDN(TM).
2015-03-09 16:39:04 -07:00
Conrad Lara - KG6JEI 5c3ee1d068 bugfix: Add GPLv3 license text to core BBHN Mesh files
Program went GPLv3 last year but license text was never added to files

Default text to give credit to David as he is listed in all commits and to reference the BBHN Austin team at the same time as they were part of the group of HAM's that started this project.
2015-01-18 11:36:49 -08:00
Conrad Lara - KG6JEI 917573cf95 hardware:bugfix: AirGrid M2 0x212 remove power offset to facilitate testing
Removing the offset and increasing max power so we have full range avaliable to us.

This may not help us figure out the offset but will allow us a wider range of options.

ref BBHN->ticket:71
2014-12-14 10:54:05 -08:00
Conrad Lara - KG6JEI b7dcfdd9ce hardware🆕 Add testing support for AirGrid M2 0xe212
Reported information and board information do not appear to line up, device will need further testing to verify actual details.

Max Power and Power Offset are of concern.

ref BBHN->ticket:71
2014-12-14 10:37:48 -08:00
Conrad Lara - KG6JEI d5af5c97cf support status: Mark Rocket M9 as supported. 2014-11-03 20:26:47 -08:00
Conrad Lara - KG6JEI 5a39316a7e hardware: support: Loco M9, NanoBridge M9 test: RocketM9
tag NanoStation Loco M9 and NanoBridge M9 into supported status

begin testing Rocket M9 support

ref BBHN->ticket:66
fixes BBHN->ticket:51
2014-10-20 19:45:46 -07:00
Conrad Lara - KG6JEI 32a67e1b2c Add initial testing support for M9 devices
ref BBHN->ticket:51
2014-07-14 23:01:16 -07:00
Conrad Lara - KG6JEI 88d532a3a1 bugfix: get_default_gw needs to follow the route the node will use to internet.
because of previous bugfix the function needs to check table 31 and 254 (with 254 taking priority)
2014-07-08 00:02:47 -07:00
Conrad Lara - KG6JEI 2a8692d5a0 Update list of tested devices.
Officaly now supporting (XM series only for all the below):

{{{
Rocket M5
Bullet M5
AirGrid M5
NanoBridge M2
AirGrid M2
AirGrid M5 HP
NanoBridge M5
Bullet M2 Titanium
Bullet M5 Titanium
PicoStation M2
NanoStation M5
NanoStation Loco M5
}}}
2014-06-24 21:05:13 -07:00
Conrad Lara - KG6JEI d6bb48154a Resolve issue related to returning the offset used by iwinfo 2014-05-06 14:29:19 -07:00
Conrad Lara - KG6JEI 207c0f738f Adjust usage of wifi_txpoweroffset() to handle the fact that offset may be set already in iwinfo so we need to read that value first.
Made adjustmetns to code that calls wifi_txpoweroffset() to ensure we minimize the number of calls that spawn a shell.

Also adjust the setting of $wifi_txpower to handle the fact that iwinfo returns the known offset.
2014-05-02 12:07:19 -07:00
Conrad Lara - KG6JEI 808a8d5019 Initial changes to work with OpenWRT 12.09
Mostly relates to iwinfo being the new command to obtain info about devices.

iwlist does not exist in 12.09
2014-05-01 20:32:40 -07:00
Conrad Lara - KG6JEI 0541234e1e Assign 2.4ghz devices to 2400 band.
Fixup bug in channel mapping (leading 0 in channel number doesn't work)

ref BBHN->ticket:29
2014-04-19 23:51:55 -07:00
Conrad Lara - KG6JEI f83bebe58a Add testing support for PicoStation2 PicoStation2 HP and AirGrid M2 HP (0xe242)
ref BBHN->ticket:40 and BBHN->ticket:41
2014-04-18 20:10:43 -07:00
Conrad Lara - KG6JEI 06febced7f Add testing support for Bullet M5 TI
see BBHN->ticket:29
2014-04-12 09:48:06 -07:00
Conrad Lara - KG6JEI 7a0de5a6a9 Add line in changeset:bbhn_ar71xx/a4dd9a9bdd798b05d76d71d135d860f57cb83d8d
Add support for dtdlink_* variables
2014-04-08 23:28:29 -07:00
Conrad Lara - KG6JEI a4dd9a9bdd Add new feature device-to-device linking (dtdlink)
The dtdlink interface is vlan 2 on eth0 and is used for linking two or more devices together.

This will allow for band-to-band repeaters, sector antenna setups, etc.

see BBHN->ticket:28
2014-04-08 23:19:45 -07:00
Conrad Lara - KG6JEI ede5b0656d Better validation of services advertisements entries
fixes BBHN->ticket:35
2014-04-01 15:30:55 -07:00
Conrad Lara - KG6JEI e34b7fcee4 Fix issue where the active SSID does not timeout in iwlist so networks show up after they have disappeared.
fixes BBHN->ticket:30
2014-03-31 22:59:47 -07:00
Conrad Lara - KG6JEI c6a3e7a64e Add testing support for multiple 2.4ghz Ubiquiti devices
see BBHN->ticket:31, BBHN->ticket:32, BBHN->ticket:36, BBHN->ticket:38
2014-03-27 23:19:13 -07:00
Conrad Lara - KG6JEI 3b215c40c0 Initial code for 5GHZ (and other band) devices.
Includes band/channel mapping
Code to set default RF channel on first boot

Add many 5ghz Ubiquiti devices in a testing phase including:
NanoBeam M5 (Intl), NanoBridge M5, AirGrid M5 HP, AirGrid M5, NanoStation M5, NanoStation Loco M5, Bullet M5, Rocket M5

see BBHN->ticket:29
2014-03-27 22:53:06 -07:00
Conrad Lara - KG6JEI f6d81b25c2 Add support for devices that are 'in testing' to the banner display.
In testing devices should be listed with a -2 status
2014-03-26 21:47:54 -07:00
Conrad Lara - KG6JEI e1c28ab634 Decrease maxpower NanoStation Loco M2
Failed to put in changeset:16b4c2a/bbhn_ar71xx to correct for the increased txpower
2014-01-19 18:50:17 -08:00
Conrad Lara - KG6JEI 532605354c Set tested devices to supported
airGrid M2, NanoStation M2, NanoStation Loco M2 are now officaly supported

fixes BBHN->ticket:12, BBHN->ticket:25

ref BBHN->ticket:11
2014-01-19 18:44:01 -08:00
Conrad Lara - KG6JEI 16b4c2a201 Increae txoffset for NanoStation Loco M2
Based on testing  airOS claims NSLM2's have a 2db amplifier it appears that they may actually have a 5db amp.

Since units keep reporting 3db lower than we expect them to we are increasing the txpower offset until we have confirmed power tests.

fixes BBHN->ticket:11, BBHN->ticket:22
2014-01-19 18:38:26 -08:00
Conrad Lara - KG6JEI fc1d9fbc02 hardware_info fixups NanoStation M2 NanoStation Loco M2 and default chains
Set default of using chains as more devices being presened rely on chains than those who don't.

Fixed the default antenna and chain support on NanoStataton M2 and NanoStation Loco M2
2014-01-14 10:33:38 -08:00
Conrad Lara - KG6JEI cef893bf59 NanoStation M2 should use chains
see BBHN->ticket:25
2014-01-12 23:05:50 -08:00
Conrad Lara - KG6JEI 72a4882a09 Add testing support for NanoStation M2
28dbm after the final with a 10db amplifier. Uses chains.

see BBHN->ticket:25
2014-01-10 20:15:38 -08:00
Conrad Lara - KG6JEI e6d5ce7559 Add extra details on NanoBridge M3 2014-01-09 10:51:00 -08:00
Conrad Lara - KG6JEI ccb83c6a91 fix olsrd-config not putting in ip to name mapping
nslookup has changed between upstream Linksys build and our Backfire based UBNT build.

fixes BBHN->ticket:21
2013-12-31 12:38:17 -08:00
Conrad Lara - KG6JEI b0b04d23d8 Model Name correction on Bullet M2 HP 2013-12-16 10:56:36 -08:00
Conrad Lara - KG6JEI 1f49e57e54 Add testing support for ariGrid M2 HP
airGrid M2 HP -- 28dbm output power device with a 9dbm offset.

see BBHN->ticket:12
2013-12-15 13:09:11 -08:00
Conrad Lara - KG6JEI 3c4eee4f0f Add testing support for NanoStation Loco M2
Added NanoStation Loco M2
board.sysid=0xe0a2
radio.1.txpower.max=23
radio.1.txpower.offset=2
radio.1.antennas=1

Chains are not 100% guranteed to be accurate.

Belive from http://community.ubnt.com/t5/airOS-Software-Configuration/chain-0-1/td-p/140354
that Chain0 is Vertical Chain1 Horizontal when mounted vertically

Chain Mask is pulled from the Rocket M mask as this is the only sample
we have in the database.

see BBHN->ticket:11
2013-12-13 22:15:40 -08:00
Conrad Lara - KG6JEI 7a28c18bfd Refactor code for better hardware managment
Refactor to create a central hash matrix that provides details on
devices.

The if else else else tree was going to get very messy based on
the realization that each device has custom attributes and the
need to provide diffrent settings for each unit.

Allows easier managment long term.
2013-12-13 21:59:34 -08:00
Conrad Lara - KG6JEI 6974527e88 Add device compatibility checker with alert text
fixes BBHN->ticket:1

Units will show:

Yellow banner for devices we have not yet tested.
Red banner for devices we have confirmed do not work.

Relies on what Ubiquiti calls the board.sysid which is the
value of subsystem_device on the first PCI device.
2013-12-11 22:54:27 -08:00
Conrad Lara - KG6JEI 8425998355 Adjust RF Power for Bullet M's
Bullet M2 has a maxpower of 28dbm.  Unit has a 12db amplifier

closes #5
2013-12-08 16:11:50 -08:00
Conrad Lara - KG6JEI b948d97423 Merge SDWG Mesh progress with 1.0.0 BBHN
Includes removing files that are provided by packages instead
of being embedded as binaries.

Changes made for UBNT hardware AND for newer base openwrt (Backfire)
2013-12-02 12:04:54 -08:00
Conrad Lara - KG6JEI ae2674e764 import of files/ from BBHN 1.0.0 (bbhn svn 273) 2013-11-15 06:11:16 +00:00