From nobody Sun Oct 20 18:36:06 2024 X-Original-To: freebsd-wireless@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XWnGD4fBWz5Zdrr for ; Sun, 20 Oct 2024 18:36:36 +0000 (UTC) (envelope-from artemhevorhian@gmail.com) Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XWnGC6rFzz4VVw; Sun, 20 Oct 2024 18:36:35 +0000 (UTC) (envelope-from artemhevorhian@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=B1TYCfOU; spf=pass (mx1.freebsd.org: domain of artemhevorhian@gmail.com designates 2a00:1450:4864:20::429 as permitted sender) smtp.mailfrom=artemhevorhian@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-37ec4e349f4so1730461f8f.0; Sun, 20 Oct 2024 11:36:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729449392; x=1730054192; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=4MmwqkEdTuFowU9KrlXwTH54C0CxXU67LsrxV6/cTI0=; b=B1TYCfOUUoiWwh0hPN+3mwtwbjiV7DXyguhcGic8PJOCcIVqbqfnMn8uRm+ly8y9DW q5+ZeCEREeN7RtSyjEzus8J9j5xK6mcDsj+o8opFsEb+oQ0KxIn8JbFsrzcW86eivCne kATZSadbR2S0d8EkJGPF8LtaBpw1/ExZn6E7+x+BTYeoK/bmr6vqgrNtA6mhS/x4tutC 2oQ/yRoO9ngveoMRJcWGISm2bThmPwSmpIjX1lCKTT/E9tfWpB/EDXRfD6dY3NEBpZF1 nlRgo3iJf8rbuSEdh+Ol6YpnulWCZSHqXDd6bd9zQMg2tcPAhWGzJnBu7EvDwZduPZa+ Vn5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729449392; x=1730054192; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4MmwqkEdTuFowU9KrlXwTH54C0CxXU67LsrxV6/cTI0=; b=w7viArZH10zIe+acNmApSNzdu4Zy1uJgp+HMpiLwUwgdtJUtJeZyQCIwjK0ZQFnhjd YTQdGYm610qYCiuAhmJnFVXwRsp40i6DticC17CCK7xhyJzAjOqrQuY4wZkBvqpQQ8dB mrNsg6OONOj6xlQhkG8+z+WAledi/bd0H0dNyZgacDm+ASYYzY/ymnLDPQtQ2YmWNXNO LICjrJXF7+2ecK78X7Lq/sw1aRi16nsyx5wEapkGgYtKOgIqr3kvs8MDv3Uu42k2t4uT o//OGNkI245qnWfknkhItXEzpIAx1e3PwrxvaSeuqydfmvoOpck/vdSFr7NSGrpzgE9j WnmA== X-Gm-Message-State: AOJu0YwldIGLJQHQ6xfXVEh996D2xoB64kb0gNwSkloHjY3g4m0bRA++ A2rW45cneIQxPgquqM9y6NAWdTrmaQmJDbDNDT0szJETDOX2itm1zljiQR9jV855BWLcieuPhdt yy79lLJFukmK8d4sJgnSzd8sGosEltA== X-Google-Smtp-Source: AGHT+IGxsHh4doeGSCBbbv/qqJBqGISUGk+dH0KJvEHr9TOjWErqc7yEBXr3mminECkBLxmTSG+7x9S4k+HlwwsFbrE= X-Received: by 2002:adf:f88d:0:b0:371:82ec:206f with SMTP id ffacd0b85a97d-37ea2174e92mr4898391f8f.16.1729449391543; Sun, 20 Oct 2024 11:36:31 -0700 (PDT) List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 References: <5p07s859-nr38-p981-208o-279pq5509qs4@serrofq.bet> In-Reply-To: From: Artem Hevorhian Date: Sun, 20 Oct 2024 21:36:06 +0300 Message-ID: Subject: Re: Help wanted on porting a library from Linux to FreeBSD To: "Bjoern A. Zeeb" Cc: freebsd-wireless@freebsd.org Content-Type: multipart/alternative; boundary="000000000000a3e66d0624ecd04d" X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MISSING_XM_UA(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-wireless@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::429:from]; DKIM_TRACE(0.00)[gmail.com:+] X-Rspamd-Queue-Id: 4XWnGC6rFzz4VVw X-Spamd-Bar: --- --000000000000a3e66d0624ecd04d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Also, can I ask, when you mention native code, you mean 'ioctl's, right? On Sun, Oct 20, 2024 at 9:08=E2=80=AFPM Artem Hevorhian wrote: > I will have available to me as much time as is required. A year or even > more. I guess the project can be delivered in certain portions. So the > initial milestone could be something to show off in the thesis. The other > parts of the work could be done afterwards. Time is not a problem here. > > On Sun, Oct 20, 2024 at 9:00=E2=80=AFPM Bjoern A. Zeeb w= rote: > >> On Sun, 20 Oct 2024, Artem Hevorhian wrote: >> >> > The "library" is just a demonstration of how netlink events are used i= n >> > communicating the state of the wifi subsystem on Linux. I would like t= o >> > implement the same kernel backend for FreeBSD. The "library" uses >> libmnl, >> > but I can use raw netlink sockets, it's not a problem. The problem is >> the >> > lack of support (which I would like to fix) for working with nl80211 >> > netlink on FreeBSD. >> >> Okay. >> >> > I understand that you say that most of the code is >> > already there, I will have a look at that. >> >> native code; not nl80211. >> >> > But I guess that the overall >> > functionality of driving your wifi module (scan feature) from the >> userspace >> > with the help of asking the kernel to do it from the kernel space is a >> good >> > idea. >> >> I think scan is a demonstrator and probably a good start for such a >> project >> but by far not in any reality what needs to be implemented. >> >> I don't know how much time you'll have avail for your masters. >> >> I know we (Adrian, I, etc) had some discussions on the interface and >> versioning etc. and what Linux had done. I'd be curious what others >> think about going down that road? >> >> /bz >> >> -- >> Bjoern A. Zeeb r15:7 >> > --000000000000a3e66d0624ecd04d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Also, can I ask, when you mention native code, you mean &#= 39;ioctl's, right?

On Sun, Oct 20, 2024 at 9:08=E2=80=AFPM Artem Hev= orhian <artemhevorhian@gmail= .com> wrote:
I will have available to me as much time as is re= quired. A year or even more. I guess the project can be delivered in certai= n portions. So the initial milestone could be something to show off in the = thesis. The other parts of the work could be done afterwards. Time is not a= problem here.

--000000000000a3e66d0624ecd04d--