Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3824455ybl; Mon, 3 Feb 2020 07:14:03 -0800 (PST) X-Google-Smtp-Source: APXvYqw2atCIA3owkuUX/+HoDECEpRIxlURgCYX3mNkXymzQl9JDmeU392hVxegplVmj/01FTTK5 X-Received: by 2002:a05:6808:251:: with SMTP id m17mr14925955oie.15.1580742843326; Mon, 03 Feb 2020 07:14:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580742843; cv=none; d=google.com; s=arc-20160816; b=Yp94/sg8bYjdJEPqiVM1Fk2eAQN6nra2rfjULRDxZyRSlzvBx/Pkj7Uq3X+LB/2xRM RULv6iey7Re0bYIy+TE/wgMnZyU56i7uZnXdW/6a5OhZ7zIcsIlC/+Ms1AhnO64p+i2l E5VnuFd/69HcYkrR6KbghQkow+oDqcLfsNAu72om9qKiRsjvAFbU5B15oz2SjgTUNc4C I+tYEDdCWvTZI6PrnnCFJpFWOwvja1/pxcy7KdL43AF1Iwj5/lpgZZ11aq1UyoigWDHT yuhN9XKXwED1n1Ce35U/bpsSC8c2de7oVYgXwt8COLgUJ7/JEQTVSUI3bhGyP9LaVt+b cfzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:to:from:subject:message-id; bh=P8qVJtv1A1yNcUBURAK2MwpXNl7y7eU6Ipe9sEzbI8c=; b=BvSNDX949HQBj0YLZF1GBG43tRoifjQrk+jByErV/NvUBiQ+eE9UscG4QiwRitzeZx 8H9FkiLDjQZBrKiTqwzrAW4XQVKMJBz/lMT/v0cinCsZ0F73m/2tjUm8NK/A4Mi4EPgA dht5W2qrY7gDVnzbvBLiogOsHMyaP4xRRgvJc+TaJ5lsdSLScweh5N0a6du+GT/pulHS dcnsj12xbb2HFG23nW3T3ISt/L88/rsrv3pSRHhD8tKdsfgazmyfXgl9tQSUB/Wxjntv L/wmWzIFppfhMDI78iANFGqtXX52wzB+TIDb6XYQmSzixovCaOuEqHRnicl0RWKDd6uY 5UtA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i25si8425125oii.259.2020.02.03.07.13.41; Mon, 03 Feb 2020 07:14:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728247AbgBCObu (ORCPT + 99 others); Mon, 3 Feb 2020 09:31:50 -0500 Received: from s3.sipsolutions.net ([144.76.43.62]:42542 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727649AbgBCObu (ORCPT ); Mon, 3 Feb 2020 09:31:50 -0500 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) (envelope-from ) id 1iyclP-00DlX1-VF; Mon, 03 Feb 2020 15:31:48 +0100 Message-ID: <1c90ea159042d923504aaaeaf45536c6579a17e8.camel@sipsolutions.net> Subject: Re: SOCK_WIFI_STATUS for control port over nl80211? From: Johannes Berg To: Markus Theil , linux-wireless@vger.kernel.org Date: Mon, 03 Feb 2020 15:31:46 +0100 In-Reply-To: <43d429f0-5948-46d0-ef98-378dfb4ca0f0@tu-ilmenau.de> (sfid-20200203_145103_570513_D1BCA7B4) References: <43d429f0-5948-46d0-ef98-378dfb4ca0f0@tu-ilmenau.de> (sfid-20200203_145103_570513_D1BCA7B4) Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 (3.34.2-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, 2020-02-03 at 14:50 +0100, Markus Theil wrote: > In the last few weeks I used a wpa_supplicant with my patches for tx and > rx over nl80211 control port and sometimes observed longer time to > successful connection than without these patches. I think that this is a > result of wpa_supplicant using SOCK_WIFI_STATUS when transmitting EAPOL > frames over AF_PACKET sockets and using a fast retransmit, if the Wi-Fi > ack is not observed timely. So the question here is, should we add an > analog feature for tx over nl80211 control port? I think of a > control_port_tx_status message with a cookie delivered to user-space. Somehow I thought we treated this like the mgmt tx and already had a notification over nl80211 going back, but looks like not? Then yeah, we should definitely add that. johannes