IPQ807x: No regulatory rules available in the event info
Sven Eckelmann
sven at narfation.org
Wed Oct 21 11:51:07 EDT 2020
Hi,
I've just tried QC_IMAGE_VERSION_STRING=WLAN.HK.2.4.0.1.r1-00026-
QCAHKSWPL_SILICONZ-2 on IPQ8074. The board.bin I am loading *has the
regulatory domain information* included. This worked fine in the past but now
I get following when I am trying to change the regulatory from US to CA (or
DE):
ath11k c000000.wifi1: No regulatory rules available in the event info
ath11k c000000.wifi1: failed to extract regulatory info from received event
The data which is send down to the device via WMI_SET_INIT_COUNTRY_CMDID is:
00000000: 0c 00 87 02 02 00 00 00 00 00 00 00 43 41 00 00
Interestingly, this works fine with QC_IMAGE_VERSION_STRING=WLAN.HK.
2.1.0.1-01228-QCAHKSWPL_SILICONZ-1
The skb->data I get in ath11k_pull_reg_chan_list_update_ev is with WLAN.HK.
2.4.0.1.r1-00026-QCAHKSWPL_SILICONZ-2 (fails) is:
00000000: 38 00 61 02 01 00 00 00 01 00 00 00 43 41 00 00
00000010: 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 12 00
and with WLAN.HK.2.1.0.1-01228-QCAHKSWPL_SILICONZ-1 (works):
00000000: 38 00 61 02 00 00 00 00 00 00 00 00 43 41 00 00
00000010: 02 00 00 00 7c 00 00 00 0f 00 00 00 01 00 00 00
00000020: 00 00 00 00 00 00 00 00 28 00 00 00 02 00 00 00
00000030: a0 00 00 00 01 00 00 00 05 00 00 00 60 00 12 00
00000040: 0c 00 60 02 62 09 a8 09 28 00 1e 00 00 00 00 00
00000050: 0c 00 60 02 1e 14 82 14 50 00 17 06 00 02 00 00
00000060: 0c 00 60 02 82 14 e6 14 50 00 18 06 08 00 00 00
00000070: 0c 00 60 02 5e 15 e0 15 50 00 18 06 08 00 00 00
00000080: 0c 00 60 02 12 16 62 16 50 00 18 06 08 00 00 00
00000090: 0c 00 60 02 67 16 cb 16 50 00 1e 06 00 00 00 00
But on bootup (when the US gets "automatically" set), I get with WLAN.HK.
2.4.0.1.r1-00026-QCAHKSWPL_SILICONZ-2 (which usually fails otherwise):
00000000: 38 00 61 02 00 00 00 00 00 00 00 00 55 53 00 00
00000010: 02 00 00 00 48 03 00 00 3d 00 00 00 01 00 00 00
00000020: 00 00 00 00 00 00 00 00 28 00 00 00 02 00 00 00
00000030: a0 00 00 00 01 00 00 00 04 00 00 00 50 00 12 00
00000040: 0c 00 60 02 62 09 a8 09 28 00 1e 06 00 00 00 00
00000050: 0c 00 60 02 32 14 82 14 50 00 17 06 00 00 00 00
00000060: 0c 00 60 02 82 14 d2 14 50 00 17 06 08 00 00 00
00000070: 0c 00 60 02 72 15 62 16 a0 00 17 06 08 00 00 00
00000080: 0c 00 60 02 67 16 cb 16 50 00 1e 06 00 00 00 00
00000000: 38 00 61 02 00 00 00 00 01 00 00 00 55 53 00 00
00000010: 02 00 00 00 48 03 00 00 3d 00 00 00 01 00 00 00
00000020: 00 00 00 00 00 00 00 00 28 00 00 00 00 00 00 00
00000030: 00 00 00 00 01 00 00 00 00 00 00 00 10 00 12 00
00000040: 0c 00 60 02 62 09 a8 09 28 00 1e 06 00 00 00 00
Here an overview of tested firmware version:
* WLAN.HK.2.0.0.1-00043-QCAHKSWPL_SILICONZ-1: Q6 fails to boot
* WLAN.HK.2.0.0.1-00240-QCAHKSWPL_SILICONZ-1: Q6 fails to boot
* WLAN.HK.2.1.0.1-00410-QCAHKSWPL_SILICONZ-2: Q6 fails to boot
* WLAN.HK.2.1.0.1-00629-QCAHKSWPL_SILICONZ-1: Q6 fails to boot
* WLAN.HK.2.1.0.1-01161-QCAHKSWPL_SILICONZ-1: works
* WLAN.HK.2.1.0.1-01228-QCAHKSWPL_SILICONZ-1: works
* WLAN.HK.2.1.0.1-01238-QCAHKSWPL_SILICONZ-2: works
* WLAN.HK.2.4.0.1.r1-00019-QCAHKSWPL_SILICONZ-1: fails
* WLAN.HK.2.4.0.1.r1-00026-QCAHKSWPL_SILICONZ-2: fails
A board.bin is attached which causes the problem. It is just the
bus=ahb,qmi-chip-id=0,qmi-board-id=255.bin (from IPQ8074/hw2.0/board-2.bin)
with the REGULATORY_DB_SECTION.regDbFlag set to 1 and the regdb included.
Kind regards,
Sven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: board.bin
Type: application/octet-stream
Size: 131072 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath11k/attachments/20201021/836e0501/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ath11k-dbg-regdb-printk.patch
Type: text/x-patch
Size: 3515 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath11k/attachments/20201021/836e0501/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.infradead.org/pipermail/ath11k/attachments/20201021/836e0501/attachment-0001.sig>
More information about the ath11k
mailing list