Package: wpasupplicant
Version: 2:2.9.0-15
Severity: important
Tags: patch fixed-upstream


Dear maintainer,

Could you consider including the following upstream commit:

http://w1.fi/cgit/hostap/commit/?id=c0b88d1 merged on 2020-10-10:

P2P: Limit P2P_DEVICE name to appropriate ifname size
Otherwise the WPA_IF_P2P_DEVICE cannot be created if the base ifname
is long enough. As this is not a netdev device, it is acceptable if
the name is not completely unique. As such, simply insert a NUL byte
at the appropriate place. Signed-off-by: Benjamin Berg
<bb...@redhat.com>

or packaging a more recent version of wpa_supplicant master branch in
Debian since there was no new tag after the 2.9 version released 16
months ago ?

The above commit fixes an important issue impacting Wi-Fi P2P and
Wi-Fi Display as raised in these 2 projects as concrete examples:

https://gitlab.gnome.org/GNOME/gnome-network-displays/-/issues/70
https://github.com/albfan/miraclecast/issues/285

The result can be seen quite easily with iw, for users who have a long
Wi-Fi interface name as it is my case with "wlp109s0". With the
current 2:2.9.0-15 wpa_supplicant, the P2P-device interface is missing
:

$ sudo iw dev
phy#0
    Interface wlp109s0
        ifindex 2
        wdev 0x1
        addr xx:xx:xx:xx:xx:xx
        ssid SSID
        type managed
        channel 36 (5180 MHz), width: 80 MHz, center1: 5210 MHz
        txpower 22.00 dBm
        multicast TXQ:
            qsz-byt    qsz-pkt    flows    drops    marks    overlmt
 hashcol    tx-bytes    tx-packets
            0    0    0    0    0    0    0    0        0


and once the above commit is included, the P2P-device interface shows
up properly:

$ sudo iw dev
phy#0
    Unnamed/non-netdev interface
        wdev 0xd
        addr xx:xx:xx:xx:xx:xx
        type P2P-device
        txpower 0.00 dBm
    Interface wlp109s0
        ifindex 2
        wdev 0x1
        addr xx:xx:xx:xx:xx:xx
        ssid SSID
        type managed
        channel 36 (5180 MHz), width: 80 MHz, center1: 5210 MHz
        txpower 22.00 dBm
        multicast TXQ:
            qsz-byt    qsz-pkt    flows    drops    marks    overlmt
 hashcol    tx-bytes    tx-packets
            0    0    0    0    0    0    0    0        0

Thank you,
Jérôme

Reply via email to