Even though regulatory.db is updated, but 6G is not enabled.
root@imx8qmmek:~# iw reg set JP
root@imx8qmmek:~# iw reg get
global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)
The environment is as follows.
root@imx8qmmek:/lib/firmware# uname -a
Linux imx8qmmek 6.1.55+g770c5fe2c1d1 #1 SMP PREEMPT Tue Nov 21 23:45:58 UTC 2023 aarch64 GNU/Linux
root@imx8qmmek:~# /opt/jody-w6/pcieuart/mlanutl mlan0 version
Version string received: PCIEAW693-18.99.2.p93.2-MX6X18443.p2-GPL-(FP99)
root@imx8qmmek:~# lsmod
Module Size Used by
pciexxx 782336 0
mlan 548864 1 pciexxx
......
root@imx8qmmek:~# iw dev
phy#1
Interface mwfd0
ifindex 8
wdev 0x100000003
addr 02:50:43:02:fe:02
type managed
txpower 24.00 dBm
Interface muap0
ifindex 7
wdev 0x100000002
addr 02:50:43:02:ff:02
type AP
txpower 24.00 dBm
Interface mmlan0
ifindex 6
wdev 0x100000001
addr 00:50:43:02:fe:02
type managed
txpower 24.00 dBm
phy#0
Interface wfd0
ifindex 5
wdev 0x3
addr 02:50:43:02:fe:01
type managed
txpower 24.00 dBm
Interface uap0
ifindex 4
wdev 0x2
addr 02:50:43:02:ff:01
type AP
txpower 24.00 dBm
Interface mlan0
ifindex 3
wdev 0x1
addr 00:50:43:02:fe:01
type managed
txpower 24.00 dBm
I checked . The database is the same as 2023.9.1 as shown below.
root@imx8qmmek:/lib/firmware# md5sum regulatory.db /tmp/wireless-regdb-2023.09.01/regulatory.db regulatory.db.p7s /tmp/wireless-regdb-2023.09.01/regulatory.db.p7s
712009958781c0e8b00b736c5084ec43 regulatory.db
712009958781c0e8b00b736c5084ec43 /tmp/wireless-regdb-2023.09.01/regulatory.db
89ceedb9d1c909be3147e2f9deebab7b regulatory.db.p7s
89ceedb9d1c909be3147e2f9deebab7b /tmp/wireless-regdb-2023.09.01/regulatory.db.p7s
Are there any problems? If additional logs are required, please provide instructions.
I don't think wifi drivers etc. are relevant at this level yet.
BestRegards
Hiroaki Okoshi
Solved! Go to Solution.
The problem was solved by making CFG80211 a module. thank you very much.
user@rz3900:/tmp/tmp/work/imx8qmmek-poky-linux/linux-imx/6.1.y+gitAUTOINC+770c5fe2c1-r0/build$ diff .config /work/imx-yocto-bsp-6.1.55-2.2.0/fsl-imx-xwayland_imx8qmmek/tmp/work/imx8qmmek-poky-linux/linux-imx/6.1.y+gitAUTOINC+770c5fe2c1-r0/build/.config
< CONFIG_CFG80211=y
---
> CONFIG_CFG80211=m
1579c1579
< CONFIG_MAC80211=y
---
> CONFIG_MAC80211=m
3014c3014
< CONFIG_RTL_CARDS=y
---
> CONFIG_RTL_CARDS=m
------------------------------
root@imx8qmmek:/etc/modprobe.d# modprobe jody-w6-pcieuart
root@imx8qmmek:/etc/modprobe.d# iw reg set JP
root@imx8qmmek:/etc/modprobe.d# iw reg get
global
country JP: DFS-JP
(2402 - 2482 @ 40), (N/A, 20), (N/A)
(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM
(4910 - 4990 @ 40), (N/A, 23), (N/A)
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
(5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
(5925 - 6425 @ 160), (N/A, 23), (N/A), NO-OUTDOOR <------------
(57000 - 66000 @ 2160), (N/A, 10), (N/A)
root@imx8qmmek:/etc/modprobe.d# dmesg | grep X.5
[ 2.318345] Loading compiled-in X.509 certificates
[ 7.914983] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 7.938226] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
The problem was solved by making CFG80211 a module. thank you very much.
user@rz3900:/tmp/tmp/work/imx8qmmek-poky-linux/linux-imx/6.1.y+gitAUTOINC+770c5fe2c1-r0/build$ diff .config /work/imx-yocto-bsp-6.1.55-2.2.0/fsl-imx-xwayland_imx8qmmek/tmp/work/imx8qmmek-poky-linux/linux-imx/6.1.y+gitAUTOINC+770c5fe2c1-r0/build/.config
< CONFIG_CFG80211=y
---
> CONFIG_CFG80211=m
1579c1579
< CONFIG_MAC80211=y
---
> CONFIG_MAC80211=m
3014c3014
< CONFIG_RTL_CARDS=y
---
> CONFIG_RTL_CARDS=m
------------------------------
root@imx8qmmek:/etc/modprobe.d# modprobe jody-w6-pcieuart
root@imx8qmmek:/etc/modprobe.d# iw reg set JP
root@imx8qmmek:/etc/modprobe.d# iw reg get
global
country JP: DFS-JP
(2402 - 2482 @ 40), (N/A, 20), (N/A)
(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM
(4910 - 4990 @ 40), (N/A, 23), (N/A)
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
(5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
(5925 - 6425 @ 160), (N/A, 23), (N/A), NO-OUTDOOR <------------
(57000 - 66000 @ 2160), (N/A, 10), (N/A)
root@imx8qmmek:/etc/modprobe.d# dmesg | grep X.5
[ 2.318345] Loading compiled-in X.509 certificates
[ 7.914983] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 7.938226] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'