• Vadim Kochan's avatar
    wireless: Support of IFLA_INFO_KIND rtnl attribute · ba1debdf
    Vadim Kochan authored
    
    
    It allows to identify the wlan kind of device for the user application,
    e.g.:
    
        # ip -d link
    
        1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
            link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 promiscuity 0
        2: enp0s25: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
            link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff promiscuity 0
        3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
            link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff promiscuity 0
            wlan
    Signed-off-by: default avatarVadim Kochan <vadim4j@gmail.com>
    Acked-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    [make wireless_link_ops const]
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    ba1debdf
core.c 29.5 KB