libremesh / lime-packages

LibreMesh packages configuring OpenWrt for wireless mesh networking
https://libremesh.org/
GNU Affero General Public License v3.0
276 stars 95 forks source link

add freq information #1045

Closed javierbrk closed 10 months ago

javierbrk commented 10 months ago

This pull request addresses the lack of frequency information in wifi links info module The module has been tested with two very close tplinks and this is the output

{"primero":{"bleachTTL":30,"data":[{"tx_rate":135000,"dst_mac":"A0:F3:C1:46:28:97","signal":-61,"chains":[-63,-64],"freq":5240,"rx_rate":216000,"src_mac":"a8:40:41:1d:f9:35"},{"tx_rate":135000,"dst_mac":"14:CC:20:DA:4E:AC","signal":-50,"chains":[-50,-62],"freq":5240,"rx_rate":180000,"src_mac":"a8:40:41:1d:f9:35"}],"author":"primero"},"LiMe-da4eaa":{"bleachTTL":30,"data":[{"tx_rate":86700,"dst_mac":"A0:F3:C1:46:28:96","signal":-23,"chains":[-23,-45],"freq":2462,"rx_rate":72200,"src_mac":"14:cc:20:da:4e:ab"},{"tx_rate":270000,"dst_mac":"A0:F3:C1:46:28:97","signal":-49,"chains":[-59,-49],"freq":5240,"rx_rate":300000,"src_mac":"14:cc:20:da:4e:ac"},{"tx_rate":150000,"dst_mac":"A8:40:41:1D:F9:35","signal":-64,"chains":[-74,-64],"freq":5240,"rx_rate":135000,"src_mac":"14:cc:20:da:4e:ac"}],"author":"LiMe-da4eaa"},"LiMe-462895":{"bleachTTL":28,"data":[{"tx_rate":72200,"dst_mac":"14:CC:20:DA:4E:AB","signal":5,"chains":[5,-32],"freq":2462,"rx_rate":65000,"src_mac":"a0:f3:c1:46:28:96"},{"tx_rate":240000,"dst_mac":"A8:40:41:1D:F9:35","signal":-66,"chains":[-74,-67],"freq":5240,"rx_rate":135000,"src_mac":"a0:f3:c1:46:28:97"},{"tx_rate":300000,"dst_mac":"14:CC:20:DA:4E:AC","signal":-42,"chains":[-53,-42],"freq":5240,"rx_rate":270000,"src_mac":"a0:f3:c1:46:28:97"}],"author":"LiMe-462895"}}

codecov-commenter commented 10 months ago

Codecov Report

Merging #1045 (b6b0d38) into master (e6f4774) will not change coverage. The diff coverage is n/a.

:exclamation: Current head b6b0d38 differs from pull request most recent head fb8432f. Consider uploading reports for the commit fb8432f to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

@@           Coverage Diff           @@
##           master    #1045   +/-   ##
=======================================
  Coverage   79.71%   79.71%           
=======================================
  Files          53       53           
  Lines        4536     4536           
=======================================
  Hits         3616     3616           
  Misses        920      920           

see 1 file with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more