Commit Graph

3 Commits

Author SHA1 Message Date
Yashvardhan
861c2168ab opensync: Fix events timestamp
- Added milliseconds timestamp precision
- Data type changed to uint64 to hold millisecond timestamp

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2021-01-14 20:31:19 -05:00
Yashvardhan
c8e4543aed opensync: Major refactoring/bug fixes for client events
- Removed unwanted nested client event structures.
   Doing this not only reduced complexity in the code but also helped get
   rid of multple memory leaks and crashes in SM and datapipeline.
 - Simplified ubus invoke calls. Nested ubus invokes were resulting in some
 - data loss in callbacks
 - Fixed incorrect conversion of session_id data type. This was blocking
   clearing of sessions.
 - Got rid of unnecessary strdups/mallocs. Potential memory leaks.
 - Fixed missing conversion of frequency to band
 - Removed unwanted logging which was filling the syslog buffer.
 - Resolved a race occuring on the shared list between ubus_collector and SM.
 - Relevant changes in datapipeline/protobuf to support the modified interface.

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2020-12-24 08:38:51 -08:00
Damir Franusic
0610971828 opensync: protobuf update for ClientSession events
* added support for ClientSession events provided
  by hostapd/ubus

Signed-off-by: Damir Franusic <damir.franusic@netexperience.com>
2020-10-16 15:45:10 +02:00