Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
Introduction

                       A WiFi spectrum analysis is the process of measuring the WiFi signal in a certain area and determining its strength. A WiFi spectrum analysis is typically performed to find interference that negatively impacts wireless performance and to eliminate it.

WiFi Spectrum Analyzer feature provides the real time metrics for the WiFi radio spectrum

TR-181 Data Model Parameter

...

1.Device.WiFi.NeighboringWiFiDiagnostic.Enable

...

2. Device.WiFi.NeighboringWiFiDiagnostic.DiagnosticsState

...

3.Device.WiFi.NeighboringWiFiDiagnostic.ResultNumberOfEntries

Index value will be based on ResultNumberOfEntries

Device.WiFi.NeighboringWiFiDiagnostic.Result.index.

...

  •  SNMP Protocol Agent (PA) provides the solution for SNMP Protocol to access CCSP Data Model.
  • Externally, SNMP protocol agent works like a regular SNMP agent. It takes coming SNMP requests and sends back the corresponding results or errors.
  • Internally, SNMP protocol agent processes the SNMP requests and translates those into CCSP Messages. Those messages go on to CCSP Message Bus and come back with response messages. SNMP protocol agent processes the response messages and response to SNMP requests accordingly.
  • In order to translate between SNMP requests and CCSP Messages, SNMP protocol agent loads the XML files describing how MIB objects are mapped to Data Model objects.

Design Considerations

  1. Added snmpSubAgent systemd services to bring up the SnmpSubAgent component in RPI.
  2. Added device specific snmpd.conf
  3. Removed the MoCA MIB file from CcspRDKBMibList.xml
  4. Removed resource leak function calls to avoid the run time errors of snmp module.
  5. Added snmpd systemd service to bring up the snmpd in RPI

Architecture

draw.io Diagram
diagramNamesnmp_arch.drawio
revision1



CCSP SNMP Protocol Agent is implemented as a NET-SNMP MIB handler. During startup, it loads all the XML files defining the following:

  • MIB object – Data Model object mapping
  • Custom callback APIs

After it is up, CCSP SNMP Protocol Agent processes the SNMP requests handed to it by NET- SNMP agent, send the translated CCSP Messages to the destination components, processes the responses and provide the result back to SNMP agent.

Root Node

The root node is named as “mib2DM”. It is constructed with a set of scalar mib groups, mib tables and some informational nodes.


                                          

Design Considerations

  1. Integrated wifi-spectrum analyzer php , ajax files to view the UI page in Browser.
  2. Newly added php and ajax files are wifi_spectrum_analyzer.php, spectrum_analyzer_download.php,at_saving.php, ajax_wifi_spectrum_analyzer.php,ajax_at_saving.php
  3. Modified nav.php in include folder
  4. Added Troubleshooting > Wi-Fi Spectrum Analyzer page in WebUI
  5. Implemented wifi_getNeighboringWiFiDiagnosticResult2() api's in wifi hal layer

Architecture

                                           Image Removed



                                              

...