From owner-freebsd-wireless@freebsd.org Sun Jan 3 23:39:53 2021 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 609C64C34B1 for ; Sun, 3 Jan 2021 23:39:53 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4D8Fbs0Z9Kz3D43 for ; Sun, 3 Jan 2021 23:39:53 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 137AE4C3591; Sun, 3 Jan 2021 23:39:53 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1343C4C34B0 for ; Sun, 3 Jan 2021 23:39:53 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D8Fbr74g5z3D2M; Sun, 3 Jan 2021 23:39:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-qk1-x731.google.com with SMTP id f26so22226644qka.0; Sun, 03 Jan 2021 15:39:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=h2+OdSU9BoMAxIRdrWuaEJ+XR8FrYIoTquefUtl9eLQ=; b=G86LWQg2KfKJbbo00Yurl8LlS4u9FU8Xvl8Q+zgUxJ8ejgJ5Gc/sLqKw0hzRvXBplD 4RxTWKMHH/EFaJgW4/w4FjCA8yQo+cNvzX9Df5esHgtktfhxQ8F4dshg4i9qhubDzf2q dnpORDSI/SjAQ0ng9Y6DynGqGl+OzVAw9vzKq9N94foHRtCdl0A/gXyDaBaEusQX2BeI XsRYUqre4gt/YVEiE9UWfnT/6t1CWX3VN8hMetwzcCWL7CJitAB0A2v/2bipahSav1EU vfbAD0bGw67kXg7g6lsxdFUC7ngcsUisAUGpiJsTECnSRSN++RJi+ZZQ4tmsHpZZFzYv p6+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=h2+OdSU9BoMAxIRdrWuaEJ+XR8FrYIoTquefUtl9eLQ=; b=DMsqgoaNPmC9Z76m8insNHTwUCdOs/lF6JYB2r/WXhHJUJb7qNZvwbXZOOZMsouLq6 kx3Z8rtG4TtMPDwfLdn1M/Vmr/qAH9icQjdLq/FH5OgBGl2gaB5yXDC3rC2DhDorEo8Y o8CQFQ080poLbp4y4Eb+6i1tVzAk5uQDGS55ppAjl6lBw2tlzqi7bhngCw/6nPADCcsf CvlLyoOh5OBqheOni/55+Cod4T+7bhplZba3k13joGl2R5UmYwPtPB44gf1MPinLmaAw U4hpoMIjLZUsZyEor3lLXk5G+z8UY/zMckSBhowJXxQpFW9O904cNaPUG11USP7mgl+w q6Pg== X-Gm-Message-State: AOAM530Q5yVKMnml63X5K8QXYW9zrXv/uQCIwSQkUfV+/w5NhdFF4GEM S4m4fOVbRHkQ6p4RdWmUwFdQ6RDASgV9RhXgGPHc2CNprTU= X-Google-Smtp-Source: ABdhPJx0sExvOraSiSLrTBqQ6b4loQa22yoldNlcQFpUX89Lxhk9dRZ03MAkd84usr4/q4l6YFrnZlTYNbym6S1o1GI= X-Received: by 2002:ac8:7a82:: with SMTP id x2mr58206023qtr.20.1609716786767; Sun, 03 Jan 2021 15:33:06 -0800 (PST) MIME-Version: 1.0 References: <11e9b90a-443a-cb50-b995-44d040dabe16@FreeBSD.org> In-Reply-To: <11e9b90a-443a-cb50-b995-44d040dabe16@FreeBSD.org> From: Adrian Chadd Date: Sun, 3 Jan 2021 15:32:54 -0800 Message-ID: Subject: Re: per-VAP vs shared ifconfig options To: Andriy Gapon Cc: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4D8Fbr74g5z3D2M X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2021 23:39:53 -0000 On Sun, 3 Jan 2021 at 03:08, Andriy Gapon wrote: > > > Is there an easy way to tell which wireless ifconfig option is shared > and which is per VAP? > I mean, 'channel' is shared, 'ssid' is per VAP obviously. > But how about the rest? > Is that explicitly documented somewhere? > Is there something obvious to search for in the source? Hi! So, the easy answer is "look at ieee80211com versus ieee80211vap, and the ioctl routines to see what option reads what." It can be a bit more complicated, with how things are kept in sync with other things, but that's a good start. -adrian > > -- > Andriy Gapon > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"