Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3210002ybf; Tue, 3 Mar 2020 01:31:53 -0800 (PST) X-Google-Smtp-Source: ADFU+vuYS9nxcXHMHThHROWB7x1fe7gUKimz6URTTvTQ0XT5pDllg1xs6itO8nxC6RtvtazZ/jO4 X-Received: by 2002:a9d:10d:: with SMTP id 13mr2150877otu.334.1583227912815; Tue, 03 Mar 2020 01:31:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583227912; cv=none; d=google.com; s=arc-20160816; b=ZUx9QQpxbKQrMrZyIlr1BbK6epr3qBVh8PJ5tGpcA37lSYn7yz3kcRf5H/P5GVRwV1 B7M6JMUpw+Aqv77dIpQM/Dh8v3L7gB3P2cw24GRCjMUVCdh6o83fi2kVbz+h2EfmNa6t peWrJgoj9JiRx/txfTHbAayjRSre7bAmQTckE2fGUmAI1LgwLBuSO0pbJY9iI7pJLVwX 7JLrMopu+Hbv0dZe7y4sqQ9sP4E7FFHxBBLgt9m0tOZmV5pawpcLbbFQSJeCEGXGGvgJ v1HKMeYX3mKCxWB7YtBwEn872oZXw+X+CDaOE6Dz6toDC1kumvFAkk7G6uPRUvoh6MXz I7Xg== 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:cc:to:from:subject :message-id; bh=1pfbpvQI0a+YmOFwalRp/UhHWAa2qrSgrXdv5T1n26o=; b=L5hLUdWZUvojRWSASI7jrdlpD8kLSXvha9ZT5ZXagXs0R+GL4H+Nfgo+iIHJifieD/ SuzNFmUf3bPn3OK1tv/WdPrR8PG/40fpKYQzlSvcdNz0SVyaCYbVgKIj3rnRYAkcIgdQ 10Z2HSoGcz/Eh6bxGWpchUO5wcEvRxzxJwHyv6iqjeRGnxEpOrH6dJEQbxAaHXhbqwlr xb5RNB2OGCErsiXdwgLmv6OiQXZij3jv90zM3F8dgxuuxY01f+BKc8bsraaCdA8iSeWT 7ZjKQAas2WPQm/NBWCaORgSEzn5YktSWoA9eVlUoWlZ531jH6TzNRgPYYUB7yH3QC13k GbVQ== 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 r4si7086246otq.188.2020.03.03.01.31.30; Tue, 03 Mar 2020 01:31:52 -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 S1728180AbgCCJbD (ORCPT + 99 others); Tue, 3 Mar 2020 04:31:03 -0500 Received: from s3.sipsolutions.net ([144.76.43.62]:51318 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728171AbgCCJbD (ORCPT ); Tue, 3 Mar 2020 04:31:03 -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 1j93tE-00CJUn-AU; Tue, 03 Mar 2020 10:31:00 +0100 Message-ID: Subject: Re: [mac80211]: wds link and Radius authentication issue From: Johannes Berg To: Cedric VONCKEN , Steve deRosier Cc: "linux-wireless@vger.kernel.org" Date: Tue, 03 Mar 2020 10:30:59 +0100 In-Reply-To: References: (sfid-20200228_022737_077710_BB93474D) 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 Hi Cedric, Umm, that was hard to read. You should quote my writing, not your own :) > > The wlan0.sta1 net dev was created by hostapd to manage the wds sta. > > This netdev type is AP VLAN. The function ieee80211_lookup_ra_sta > > return > > -ENOLINK because the pointer sdata->u.vlan.sta was not defined. Right. > > In mac80211, where this rcu pointer is allocated? Which NL message the user space use ? Look at ieee80211_change_station(), called from nl80211_set_station() with params.vlan = get_vlan(info, rdev); johannes