/* writes a WiFi header conversion record in NPE linear format  */
IX_ETH_DB_PRIVATE void ixEthDBNPEWiFiNodeWrite(void *address, MacTreeNode *node)
/* writes a WiFi header conversion record in NPE linear format  */
IX_ETH_DB_PRIVATE void ixEthDBNPEWiFiNodeWrite(void *address, MacTreeNode *node)
{
    memcpy(address, node->descriptor->macAddress, IX_IEEE803_MAC_ADDRESS_SIZE);
    NPE_NODE_BYTE(address, IX_EDB_NPE_NODE_WIFI_INDEX_OFFSET) = node->descriptor->recordData.wifiData.gwAddressIndex;
    NPE_NODE_BYTE(address, IX_EDB_NPE_NODE_WIFI_FLAGS_OFFSET) = node->descriptor->recordData.wifiData.type << 1 | IX_EDB_FLAGS_VALID;
}