Feature Requirements

  • The OneWiFiMesh DB has tables such as Device List and Network list. A new table needs to be added here as “Neighbor List"
  • The neighbor list table is to be populated using API in dm_neighbor_list.h
  • dm_neighbor_* currently isn’t initialized or used. This API will be used to maintain the neighbor list
  • The NeighborList database is to contain Topology Discovery and Response findings as below


ColumnTypeMeaning
idstringnetwork id
discoverer_macstring / mac_address_tThe AP that discovered the neighbor
discoveree_macstring / mac_address_tThe AP that was discovered
mediaem_media_type_tLAN/WiFi
bssidbssid_tWireless specific
ssidssid_tWireless specific
signal_strengthcharWireless specific
bandwidthwifi_channelBandwidthWireless specific
bss_colorcharWireless specific
channel_utilcharWireless specific
sta_countshortWireless specific

em_base.h: 

typedef struct {
/* Key fields */
em_long_string_t net_id;
mac_address_t discoverer_mac;
mac_address_t discoveree_mac;

/* Link type */
em_media_type_t media;

/* Wireless-specific fields */
bssid_t bssid;
ssid_t ssid;
signed char signal_strength;
wifi_channelBandwidth_t bandwidth;
unsigned char bss_color;
unsigned char channel_util;
unsigned short sta_count;
unsigned char bss_load_element_present;
} em_neighbor_t;


  • No labels