[netdevice] Add mechanism for reporting detailed link status codes