Along with its rich content of features, OneWifi offers significant benefits to adopters. Reduction in Platform Specific DefectsOneWifi is built primarily of OpenSource code that are widely deployed in huge scale. Since such code had been vetted for wide usages, new defects are less, and existing defects are well published with fixes already available. Faster End-2-End Feature DevelopmentOneWifi code is mostly generic, and platform specific differences are abstracted by limited number of HAL functions. Because of generic common business logic, development of features set can be fast. Code for new feature can be developed on a primary platform and tested on other platforms. Faster Triage and Field Defects DebuggingOneWifi implements detailed logging and real time events visualization capabilities. Along with regular informative log files that are periodically uploaded to Comcast Cloud, there are a couple of different ways to triage and debug field issues. Enablement of Module Specific LoggingThe following modules of OneWifi can be debugged in detail by writing the following tokens under /tmp (“touch /tmp/<token_name>”) 
It is to be noted that after debugging is complete, the token needs to be removed from the /tmp directory to resume normal operation of the system. Enablement of Events VisualizationOneWifi automatically logs important real time events in /rdklogs/logs/wifiAnalytics.txt. This file is in UML format and can be post processed by any UML reader to give a real time like events transfer visualization. This feature is very helpful to debug client device specific connection issues or related problems. Faster Portability to new SoC platformsOneWifi uses Linux provided native libraries function calls to interact with lower layer Wi-Fi drivers. These function calls are fundamentally built around cfg80211 and mac80211 specifications which are supported in Linux distributions via netlink library functions. If the SoC vendor driver is cfg80211 & mac80211 compliant, it is very likely that OneWifi will automatically run on the new SoC without any significant porting effort of Wi-Fi HAL library functionalities. |