Re: Kernel panic in ieee80211_chan2mode <- SIOCS80211 ioctl

From: Marcin Cieslak <saper_at_saper.info>
Date: Thu, 10 Sep 2026 02:01:48 UTC
On Wed, 9 Sep 2026, Bjoern A. Zeeb wrote:

> On Wed, 9 Sep 2026, Marcin Cieslak wrote:
>
>> On Wed, 9 Sep 2026, Bjoern A. Zeeb wrote:
>>

(quick answers)

> Now the question is:  what's your VAIO kernel?  GENERIC 
> or NODEBUG?

Roughly based on GENERIC + additional debug. I should probably include GENERIC at some point. (Diff to GENERIC attached)

(...)

> That leads me to the question: what does your AP send 
> you?
> Can you capture a beacon frame (on a different machine)?

I can do it on a Linux laptop (how?)

Besides, if I kill devd and do not launch anything else
I can "ifconfig wlan0 scan" and get the results without
crashing. Is ther any way I get the scan structures out easily on that machine (dtrace maybe) - it crashes only
if I try to associate.

> Speaking of that, what machine did you say do you have 
> with a brmcfmac in it?

Apple MacBookPro13,1 without touch bar (no T1 chip).
One of the last Intel ones.

> The reason I replied to the AI driver was that I was 
> seeing the chance of net80211
> improvements (even if the real problem may sit 
> elsehwere).  And net80211 tech debt
> is on my agenda.

I was using wifibox before and also tried to build your
driver.

Thank you for the effort, will dig more in few hours