{"object_kind":"push","event_name":"push","before":"17c41cad10ab76facb9f0bcfbdc0ae254ae26bf4","after":"64e06635f0dcad413313b4f9f0ea896cbbf4b705","ref":"refs/heads/main","ref_protected":false,"checkout_sha":"64e06635f0dcad413313b4f9f0ea896cbbf4b705","message":null,"user_id":1050,"user_name":"Beniamino Galvani","user_username":"bgalvani","user_email":"","user_avatar":"https://gitlab.freedesktop.org/uploads/-/system/user/avatar/1050/avatar.png","project_id":411,"project":{"id":411,"name":"NetworkManager","description":"NetworkManager — network management daemon","web_url":"https://gitlab.freedesktop.org/NetworkManager/NetworkManager","avatar_url":"https://gitlab.freedesktop.org/uploads/-/system/project/avatar/411/nm_logo.png","git_ssh_url":"git@ssh.gitlab.freedesktop.org:NetworkManager/NetworkManager.git","git_http_url":"https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git","namespace":"NetworkManager","visibility_level":20,"path_with_namespace":"NetworkManager/NetworkManager","default_branch":"main","ci_config_path":"","homepage":"https://gitlab.freedesktop.org/NetworkManager/NetworkManager","url":"git@ssh.gitlab.freedesktop.org:NetworkManager/NetworkManager.git","ssh_url":"git@ssh.gitlab.freedesktop.org:NetworkManager/NetworkManager.git","http_url":"https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git"},"commits":[{"id":"486ce67461a7830d94b5659929f6b028301e0ab0","message":"wifi-p2p: set P2P device name on wpa_supplicant before connecting\n\nWhen establishing a Wi-Fi P2P (Wi-Fi Direct) connection for Miracast,\nno device name was configured on wpa_supplicant, so this device did\nnot identify itself to peers with a human-readable name.\n\nAdd nm_supplicant_interface_p2p_set_device_name(), which sets the\n\"DeviceName\" key of the \"P2PDeviceConfig\" property on the interface's\nfi.w1.wpa_supplicant1.Interface.P2PDevice D-Bus interface, and call it\nin act_stage2_config() before initiating the P2P connection.\n\nThe name is the current system hostname as tracked by\nNMHostnameManager, coerced to valid UTF-8 and truncated to the 32\nbytes that the WPS \"Device Name\" attribute allows at most. The new\nnm_wifi_common_get_p2p_device_name() helper lives in nm-wifi-common.c\nso that the IWD P2P device can use the same name.\n\nAssisted-By: Claude (Anthropic)\n","title":"wifi-p2p: set P2P device name on wpa_supplicant before connecting","timestamp":"2026-07-28T09:41:32+02:00","url":"https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/486ce67461a7830d94b5659929f6b028301e0ab0","author":{"name":"Christian Glombek","email":"c.glombek@cosa.systems"},"added":[],"modified":["src/core/devices/wifi/nm-device-wifi-p2p.c","src/core/devices/wifi/nm-wifi-common.c","src/core/devices/wifi/nm-wifi-common.h","src/core/supplicant/nm-supplicant-interface.c","src/core/supplicant/nm-supplicant-interface.h"],"removed":[]},{"id":"2971e510c658f77dd5d43aa8ab6fb8dea6de27a9","message":"iwd-p2p: set P2P device name before connecting\n\nWhen establishing a Wi-Fi P2P connection via IWD, no device name was\nconfigured, so this device did not identify itself to peers with a\nhuman-readable name.\n\nSet the \"Name\" property on IWD's p2p.Device interface in\nact_stage2_config() before initiating the P2P connection, using the\nsame hostname-derived name as the wpa_supplicant path\n(nm_wifi_common_get_p2p_device_name()).\n\nAssisted-By: Claude (Anthropic)\n","title":"iwd-p2p: set P2P device name before connecting","timestamp":"2026-07-28T09:41:32+02:00","url":"https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/2971e510c658f77dd5d43aa8ab6fb8dea6de27a9","author":{"name":"Christian Glombek","email":"c.glombek@cosa.systems"},"added":[],"modified":["src/core/devices/wifi/nm-device-iwd-p2p.c"],"removed":[]},{"id":"6582e921ce8f0eb3171a37232533c707544839d2","message":"wifi-p2p: apply the device name when the device is ready\n\nSetting the P2P device name only in act_stage2_config() is too late\nfor it to matter everywhere: the name travels in the P2P device-info\nattribute of our probe requests and provision-discovery frames, and\nsinks display it while the user confirms the pairing - frames that go\nout before, or at the very moment, stage 2 pushes the name. Some sinks\neven reject nameless sources outright (gnome-network-displays#454).\n\nPush the name as soon as the device is ready instead, and merely\nre-assert it in stage 2: for wpa_supplicant when the management\ninterface becomes operational, for IWD when its p2p.Device object\nshows up (IWD accepts the \"Name\" property at any time).\n\nAlso make the name configurable: a new NetworkManager.conf key\n\"wifi-p2p.device-name\" under [device] overrides the hostname default,\nfollowing the wifi.* per-device key precedent. The lookup lives in\nnm_wifi_common_get_p2p_device_name(), so both backends honor the key.\n\nAssisted-By: Claude (Anthropic)\n","title":"wifi-p2p: apply the device name when the device is ready","timestamp":"2026-07-28T09:42:22+02:00","url":"https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/6582e921ce8f0eb3171a37232533c707544839d2","author":{"name":"Christian Glombek","email":"c.glombek@cosa.systems"},"added":[],"modified":["man/NetworkManager.conf.xml","src/core/devices/wifi/nm-device-iwd-p2p.c","src/core/devices/wifi/nm-device-wifi-p2p.c","src/core/devices/wifi/nm-wifi-common.c","src/core/nm-config.c","src/libnm-base/nm-config-base.h"],"removed":[]},{"id":"b0d0a193ec85a4746b922f1a9fccfc3dbd5f67a9","message":"NEWS: mention the Wi-Fi P2P device name\n\nAssisted-By: Claude (Anthropic)\n","title":"NEWS: mention the Wi-Fi P2P device name","timestamp":"2026-07-28T09:42:24+02:00","url":"https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/b0d0a193ec85a4746b922f1a9fccfc3dbd5f67a9","author":{"name":"Christian Glombek","email":"c.glombek@cosa.systems"},"added":[],"modified":["NEWS"],"removed":[]},{"id":"64e06635f0dcad413313b4f9f0ea896cbbf4b705","message":"merge: branch 'p2p-device-name'\n\nwifi-p2p: set and announce a P2P device name\n\nhttps://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2487","title":"merge: branch 'p2p-device-name'","timestamp":"2026-07-28T08:12:46+00:00","url":"https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/64e06635f0dcad413313b4f9f0ea896cbbf4b705","author":{"name":"Beniamino Galvani","email":"bgalvani@redhat.com"},"added":[],"modified":["NEWS","man/NetworkManager.conf.xml","src/core/devices/wifi/nm-device-iwd-p2p.c","src/core/devices/wifi/nm-device-wifi-p2p.c","src/core/devices/wifi/nm-wifi-common.c","src/core/devices/wifi/nm-wifi-common.h","src/core/nm-config.c","src/core/supplicant/nm-supplicant-interface.c","src/core/supplicant/nm-supplicant-interface.h","src/libnm-base/nm-config-base.h"],"removed":[]}],"total_commits_count":5,"push_options":{},"repository":{"name":"NetworkManager","url":"git@ssh.gitlab.freedesktop.org:NetworkManager/NetworkManager.git","description":"NetworkManager — network management daemon","homepage":"https://gitlab.freedesktop.org/NetworkManager/NetworkManager","git_http_url":"https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git","git_ssh_url":"git@ssh.gitlab.freedesktop.org:NetworkManager/NetworkManager.git","visibility_level":20}}