Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2025 20:19:26 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@freebsd.org>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        FreeBSD wireless mailing list <wireless@freebsd.org>
Subject:   Re: iwlwifi unable to create wlan0
Message-ID:  <r51602p6-0oqo-34rs-8583-1so394ps7637@serrofq.bet>
In-Reply-To: <z2cg65iiejk4bvnldv6w4zlgmk52vq2erwmhpfv5mnzrrvpauz@vb5soatwbcar>
References:  <2cpg7jp6r37xlkodljpb3h6drozcrhzxsjaeuj3zg4kn5wt3pq@oacdr4db3l3v> <p2q4p0p5-8126-5078-qp19-31n4opnp9nr0@SerrOFQ.bet> <z2cg65iiejk4bvnldv6w4zlgmk52vq2erwmhpfv5mnzrrvpauz@vb5soatwbcar>

index | next in thread | previous in thread | raw e-mail

On Thu, 27 Mar 2025, Baptiste Daroussin wrote:

>>> iwlwifi0: Detected Intel(R) Wi-Fi 6 AX101
>>
>> That's the first time we see one of those special ones.
>> Can you tell us what kind of Laptop this is?
>
> This is a beelink mini s PC
> (https://www.bee-link.com/products/beelink-mini-s12-pro-n100)
>
> Note that a year ago creating wlan0 was working and I could even join a network,
> but it was too slow to be usable.

I understand.  I believe we imported this functionality last year in
September after vendor branches got sorted out.  I believe the AX101 is
a 1T1R device, so don't expect 700Mbit/s either.


>>> Anything I am missing on my side?
>>
>> No, likely not.  Just the first one hitting this in all Intel internal code.
>>
>> It's trying to see if it can read 6Ghz regulatory information from UEFI
>> (which LinuxKPI does not yet support) and so it should just fail but it
>> walks over it due to what looks like a wrong return code and tries to
>> program the unprovided information to firmware.
>
> Note that a year ago, this was working but slow correctly but slow.
>>
>> Can you bluntly give this a try and let us know if it helps?
>>
>> diff --git sys/contrib/dev/iwlwifi/fw/uefi.h sys/contrib/dev/iwlwifi/fw/uefi.h
>> index 1f8884ca8997..0fba500b00be 100644
>> --- sys/contrib/dev/iwlwifi/fw/uefi.h
>> +++ sys/contrib/dev/iwlwifi/fw/uefi.h
>> @@ -318,7 +318,7 @@ static inline
>>  int iwl_uefi_get_uats_table(struct iwl_trans *trans,
>>                             struct iwl_fw_runtime *fwrt)
>>  {
>> -       return 0;
>> +       return -ENOENT;
>>  }
>>  #endif /* CONFIG_EFI */
>>  #endif /* __iwl_fw_uefi__ */
>>
> Will test ASAP

Great!  Thank you!  I'll be more than happy to have more people testing
the current code.  Everythig we can flesh out before 14.3-R will be
good (and I hear others waiting on other fixes).

/bz

-- 
Bjoern A. Zeeb                                                     r15:7


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?r51602p6-0oqo-34rs-8583-1so394ps7637>