• V
    wil6210: Detect FW error · 7269494e
    Vladimir Kondratiev 提交于
    In the firmware, added is ability to report internal errors using IRQ.
    
    Catch this IRQ and notify user space via netlink
    
    User space get notified like (udevadm monitor --kernel --property):
    
    KERNEL[12660.320520] change   /devices/pci0000:00/0000:00:1c.1/0000:02:00.0/0000:03:01.0/0000:05:00.0/net/wlan12 (net)
    ACTION=change
    DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/0000:03:01.0/0000:05:00.0/net/wlan12
    DEVTYPE=wlan
    EVENT=FW_ERROR
    IFINDEX=6
    INTERFACE=wlan12
    SEQNUM=2489
    SOURCE=wil6210
    SUBSYSTEM=net
    Signed-off-by: NVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
    Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
    7269494e
wil6210.h 11.6 KB