From nobody Mon May 16 18:12:12 2022 X-Original-To: dev-commits-src-main@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 BEA7C1AE37F3; Mon, 16 May 2022 18:12:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L26lw53kTz4gcZ; Mon, 16 May 2022 18:12:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652724732; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sdH3cBV3idMDKWQ4/cTbqMP5P1DA9vmWCVksRrFVCU4=; b=O/d70hnIhCxba404ImrI1qQZcJOgYVmDvuolO4AB9CQ9ljPU52yyyvaOsLp2znD0y7p1Nd F37S4ZKS3BNntNDCcFT4tBzOGmE/Upu4ax+zxB/6hZqnuJlXElLecDV1jF6Np/9XtHLBZI /2zvjEk7WHgSAx0JWyqLJjh9ymrkHRbTS1Ppd8muQ6KList4hTKnXNWnq5pC+SUmSEtjTP ct42MGuxYBGMSxDoxNK6A+AoxF8BG3fkffHm2j2OgZ8knQQfa0ZxZWSbDnd7n7Wg/CjhiL eYAsu74GdhkHbqd6I4gEN4LZPqAvnrbFR8xvaFiW53ZueCsaT+z4gEdNexWlTQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8D5D225008; Mon, 16 May 2022 18:12:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24GICCY0036391; Mon, 16 May 2022 18:12:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24GICClZ036390; Mon, 16 May 2022 18:12:12 GMT (envelope-from git) Date: Mon, 16 May 2022 18:12:12 GMT Message-Id: <202205161812.24GICClZ036390@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 05d6f4d6968a - main - LinuxKPI: 802.11 add rfkill_soft_blocked() List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 05d6f4d6968a632645a5dcbedec3752098a66624 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652724732; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sdH3cBV3idMDKWQ4/cTbqMP5P1DA9vmWCVksRrFVCU4=; b=xko6ZKOquHWpIg8S5OmomG6xsXsrpEyzfCazMJRovlJ/UxGfYIWVm4oTVaki2SdVnNmkkm 8iig8kSK4n3bO0WSz+iyoES/aRyP/YYpno9FpguB4jAGZIpbtkVS8MHMyBsvu0kgBXtkmt 6UbuMa+v0THCj0o/sJYa4yk9bWrKcr3/uGQDjefKIDFCti1SY7FzCqNateZp1DWyRuTHi8 vDXUBsdaOt23X27TyxWMTLkWmD9DC+b3ObEV/hdXxV1oBI5ciCLxDjlisnrlPJX6O9KTIw r6QvDVOdzebzbBCxQOqbtkfE2T7ulr+EtRoTA6nAbEVqncvzOf4JeSf6KgbObg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652724732; a=rsa-sha256; cv=none; b=aIP7PGJHIywAQSEcIxvvIZRRzQmW7FZLKxa2560OSRnnYigYfC4FRev5RSobHYy64uAHIv eJ8yw+iBpRylUatQRQrvRZNlQm8M9V/j6rqBxd9EG7LQyotmxzxwS7alUe1xXevWQ//1Jx Z+moZ3KU9peOIVPIgJdcU8tU7qgIWnhPGvp00+cc+X7ntIeQhNPck1CNZGa5TpRKj/R72h w8lJk6Rcj7vPdIT4WAu46bfUHY5B8GdPgF/+THVDMC0Um2X7tf/8ICFBYTPSOE8sW8sr/p IsVkhDRPMPECyMJep1RteoeibjlYB16U1hMaHqqfF7iGJFa62dHDk7HWA3OZnQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=05d6f4d6968a632645a5dcbedec3752098a66624 commit 05d6f4d6968a632645a5dcbedec3752098a66624 Author: Bjoern A. Zeeb AuthorDate: 2022-05-16 15:38:31 +0000 Commit: Bjoern A. Zeeb CommitDate: 2022-05-16 15:38:31 +0000 LinuxKPI: 802.11 add rfkill_soft_blocked() Add rfkill_soft_blocked() to the list of things to implement in preparation for an iwlwifi update. Sponsored by: The FreeBSD Foundation MFC after: 3 days --- sys/compat/linuxkpi/common/include/net/cfg80211.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/net/cfg80211.h b/sys/compat/linuxkpi/common/include/net/cfg80211.h index 29fe65395385..06a3ee626f08 100644 --- a/sys/compat/linuxkpi/common/include/net/cfg80211.h +++ b/sys/compat/linuxkpi/common/include/net/cfg80211.h @@ -1117,6 +1117,13 @@ rfkill_blocked(int rfkill) /* argument type? */ return (false); } +static __inline bool +rfkill_soft_blocked(int rfkill) +{ + TODO(); + return (false); +} + static __inline int reg_query_regdb_wmm(uint8_t *alpha2, uint32_t center_freq, struct ieee80211_reg_rule *rule)