Versions Compared

Key

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

...

  • 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
id
integer (PK)Row ID
stringnetwork id
discoverer_macstring / mac_address_tThe AP that discovered the neighbor
discoveree_macstring / mac_address_tThe AP that was discovered
media
neighbor
em_media_type
integer (bitmap)
_tLAN/WiFi
bssid
pos
bssid_
x
t
float
Wireless specific
From EasyMesh
ssid
pos
ssid_
y
t
floatFrom EasyMeshpos_zfloatFrom EasyMeshnext_hopmac_address_tFrom EasyMeshnum_hopsintFrom EasyMeshpath_lossintFrom EasyMeshtimestampuint64Time when entry was last updated
Wireless specific
signal_strengthcharWireless specific
bandwidthwifi_channelBandwidthWireless specific
bss_colorcharWireless specific
channel_utilcharWireless specific
sta_countshortWireless specific

em_base.h: 

typedefstruct {
/* Key fields */
em_long_string_tnet_id;
mac_address_tdiscoverer_mac;
mac_address_t nbr;
float pos_x;
float pos_y;
float pos_z;
mac_address_t next_hop;
unsignedint num_hops;
int path_lossdiscoveree_mac;

/* Link type */
em_media_type_tmedia;

/* Wireless-specific fields */
bssid_tbssid;
ssid_tssid;
signedcharsignal_strength;
wifi_channelBandwidth_tbandwidth;
unsignedcharbss_color;
unsignedcharchannel_util;
unsignedshortsta_count;
unsignedcharbss_load_element_present;
} em_neighbor
_info_t;