From nobody Thu Feb 26 03:56:20 2026 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 4fLyLX5nFhz6TBJt for ; Thu, 26 Feb 2026 03:56:20 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fLyLX4bb6z3Clh for ; Thu, 26 Feb 2026 03:56:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1772078180; 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=0doAuEpIX1KOhS+t/tlxvUz/5daFQfGtTb6Qhx/t7hU=; b=ozU5haHDhllIjZlw/QxY00RCrk/u0wg3hZEMD9aMmnL72q5xiXqJWPOaTnCj23bUWUccYF IjImU37aTMxL4rrIa+Zo73X6QtW9r1q+GzOOUsei9HIs8Bnnb40tJkr8IZvTc4G52f7kZb xGK3M02h1JuwQJepP8oiwU+Hcps6FFpOofijaYjZfN5ftuZEVkjpi8DxoeptjwJAkGyQtt H3Medug0Doqgsb6keT6WVIqj9vVppLoKZwk7C0992uAFer9KjBlaegjQrOP6R80y9emHBS D1RYnAlCSDMpLkrDUAgravwN98g2yFcuIX0vdVOKRCDXPBuE3iy7cLMSnD87OQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1772078180; a=rsa-sha256; cv=none; b=X4Iy7Dlr4I/BJaYv93Dnz+DHZaI9u+uiqqt6W93Q5RHkb5Jg3vrytXkH0K7YpuJ6EjjoRU VuzHlMhHanItED/21sPFrPf5vRsLZZGAaVh+cW/abW9Hgp1WfdwNl4Cj/gBXKCBFGQCFCR U9hUhxKgEU6gapVyt1z9pfcl7XpNnUTunqIcOVveI2Vsy6P1xq6nNqtPv+z4rHiW7NV5iP Du0X8q6ix2LABNyAv79IDOVCeItgmpkqFd1Gi1ZshKmf+9D8irtkJlZm9aK/x8SMetmEVJ zAYq0vcNqI7XEXN4JS8sNpEXEq47r5cRcgbdaP50xtlPaAxg4+0fxi/V/6LT7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1772078180; 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=0doAuEpIX1KOhS+t/tlxvUz/5daFQfGtTb6Qhx/t7hU=; b=BmI/dVQamn8PwcOX6m9SNjYV1X7BCXwbZ7Zl85WvxQZo27Hh3uxWMK+4ruZqZUe5vtmwKh q+wnvjO/Paybs4ElwKa3E6aR2dJhfX47R8t5CU8aO6v6Unh+fUGWHvwwmF6+Toviq11fpL TDJDQ0Qm/BRgd9Zud2flbUmozRyRewQoCvxdaMeBc1bpVKjLvtdfd3aTJnwDa0ZkV5f701 1ZZH4cEfP3h8i0jDbMBXLfYiLRtYnpPw5YVqbNgE5wIj3JRIgVo/6logA+Ty03otOei2oe K3pUHA+aCCut34awKl31Tiz88jhzYhXVcK7gsMO2TXg8rkRN24OREDV7LrZPGg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fLyLX3xXwz1GR for ; Thu, 26 Feb 2026 03:56:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 328ce by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 26 Feb 2026 03:56:20 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Adrian Chadd Subject: git: fec9453dcea4 - main - ipw: migrate to new net80211 encryption key API 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: adrian X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fec9453dcea41f2716baa350c7e0fe33cdeb4d4b Auto-Submitted: auto-generated Date: Thu, 26 Feb 2026 03:56:20 +0000 Message-Id: <699fc464.328ce.5fa66cc7@gitrepo.freebsd.org> The branch main has been updated by adrian: URL: https://cgit.FreeBSD.org/src/commit/?id=fec9453dcea41f2716baa350c7e0fe33cdeb4d4b commit fec9453dcea41f2716baa350c7e0fe33cdeb4d4b Author: Adrian Chadd AuthorDate: 2026-02-26 03:49:34 +0000 Commit: Adrian Chadd CommitDate: 2026-02-26 03:49:34 +0000 ipw: migrate to new net80211 encryption key API Migrate to the new encryption key API rather than poking at the key struct directly. Differential Revision: https://reviews.freebsd.org/D54480 --- sys/dev/ipw/if_ipw.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/dev/ipw/if_ipw.c b/sys/dev/ipw/if_ipw.c index 9db562669487..a1c4f7ad8041 100644 --- a/sys/dev/ipw/if_ipw.c +++ b/sys/dev/ipw/if_ipw.c @@ -2020,9 +2020,10 @@ ipw_setwepkeys(struct ipw_softc *sc) continue; wepkey.idx = i; - wepkey.len = wk->wk_keylen; + wepkey.len = ieee80211_crypto_get_key_len(wk); memset(wepkey.key, 0, sizeof wepkey.key); - memcpy(wepkey.key, wk->wk_key, wk->wk_keylen); + memcpy(wepkey.key, ieee80211_crypto_get_key_data(wk), + ieee80211_crypto_get_key_len(wk)); DPRINTF(("Setting wep key index %u len %u\n", wepkey.idx, wepkey.len)); error = ipw_cmd(sc, IPW_CMD_SET_WEP_KEY, &wepkey,