I have more panics, with couple of minutes gap between ieee80211_setkeysdone() from ieee80211_proto.c and panic in ieee80211_encrypt() from ieee80211_crypto.c.
Sorry for wrapped lines, but I added Time::HiRes in a rush, the console grabbing script. 20211115.100422.505898Z: MMM: ieee80211_setkeysdone() [ie 20211115.100422.509617Z: ee80211_proto.c|478] case 0 ic_d 20211115.100422.514646Z: ef_txkey modified, kid=1 20211115.101422.795265Z: MMM: ieee80211_setkeysdone() [ie 20211115.101422.797748Z: ee80211_proto.c|478] case 0 ic_d 20211115.101422.802819Z: ef_txkey modified, kid=2 20211115.102422.848460Z: MMM: ieee80211_setkeysdone() [ie 20211115.102422.850955Z: ee80211_proto.c|478] case 0 ic_d 20211115.102422.856249Z: ef_txkey modified, kid=1 20211115.102808.208425Z: MMM: ar5008_tx() [ar5008.c|1527] 20211115.102808.210902Z: 20211115.102808.211113Z: MMM: ar5008_tx() [ar5008.c|153 20211115.102808.213753Z: 0]: key unset for sw crypto: 0 20211115.102808.216256Z: MMM: ieee80211_encrypt() [ieee80 20211115.102808.220014Z: 211_crypto.c|278]: k_id: 0x0 20211115.102808.220209Z: MM 20211115.102808.222697Z: M: ieee80211_encrypt() [ieee8021 20211115.102808.225240Z: 1_crypto.c|279]: k_flags: 0x0 20211115.102808.225432Z: M 20211115.102808.227965Z: MM: ieee80211_encrypt() [ieee802 20211115.102808.230494Z: 11_crypto.c|280]: k_len: 0x0 20211115.102808.230688Z: MM 20211115.102808.233198Z: M: ieee80211_encrypt() [ieee8021 20211115.102808.237003Z: 1_crypto.c|281]: k_cipher: 0x0 20211115.102808.239697Z: MMM: ieee80211_encrypt() [ieee80 20211115.102808.242241Z: 211_crypto.c|282]: k_key: 0x0000 20211115.102808.244862Z: 00000000000000000000000000000000 20211115.102808.247484Z: 0000000000000000000000000000 20211115.102808.247701Z: pa 20211115.102808.251455Z: nic: ieee80211_encrypt: key unse 20211115.102808.253992Z: t for sw crypto: id=0 cipher=0 f 20211115.102808.257874Z: lags=0x0 20211115.102808.258082Z: Stopped at db_ent 20211115.102808.260586Z: er+0x10: popq %rbp 20211115.102808.260821Z: TID 20211115.102808.263206Z: PID UID PRFLAGS PF 20211115.102808.268250Z: LAGS CPU COMMAND 20211115.102808.268458Z: db_enter() a 20211115.102808.272210Z: t db_enter+0x10 20211115.102808.272424Z: panic(ffffffff8 20211115.102808.277336Z: 1ea5c64) at panic+0xbf 20211115.102808.277579Z: ieee8021 20211115.102808.279966Z: 1_encrypt(ffff80000009c048,fffff 20211115.102808.282488Z: d80cfe72900,ffff800000ca51c0) at 20211115.102808.288881Z: ieee80 20211115.102808.289080Z: 211_encrypt+0x473 20211115.102808.289213Z: ar50 20211115.102808.291614Z: 08_tx(ffff80000009c000,fffffd80c 20211115.102808.295377Z: fe72900,ffff800000ca5000,0) at a 20211115.102808.299236Z: r5008_tx+0x 20211115.102808.299444Z: 1e7 20211115.102808.299575Z: athn_start(fff 20211115.102808.302005Z: f80000009c048) at athn_start+0x1 20211115.102808.307016Z: 08 20211115.102808.307225Z: ar5008_intr(ffff80000009c000 20211115.102808.310961Z: ) at ar5008_intr+0x216 20211115.102808.311176Z: intr_han 20211115.102808.314831Z: dler(ffff8000225a6c50,ffff800000 20211115.102808.319896Z: 08f780) at intr_handler+0x6e 20211115.102808.320109Z: Xi 20211115.102808.323842Z: ntr_ioapic_level3_untramp() at X 20211115.102808.326381Z: intr_ioapic_level3_untramp+0x193 20211115.102808.331482Z: 20211115.102808.331664Z: acpicpu_idle() at acpicpu_idle 20211115.102808.335460Z: +0x11f 20211115.102808.335689Z: sched_idle(ffffffff82166 20211115.102808.339334Z: ff0) at sched_idle+0x27e 20211115.102808.339556Z: end tr 20211115.102808.341948Z: ace frame: 0x0, count: 5 20211115.102808.342152Z: https: 20211115.102808.345907Z: //www.openbsd.org/ddb.html descr 20211115.102808.348382Z: ibes the minimum info required i 20211115.102808.350979Z: n bug 20211115.102808.351159Z: reports. Insufficient in 20211115.102808.354957Z: fo makes it difficult to find an 20211115.102808.358755Z: d fix bugs. 20211115.102808.358969Z: ddb{0}> -- Regards, Mikolaj