IPQ8074: hw2.0: Wrong mac address for 2.4GHz PHY with firmware 2.5.0.1.r1-00004
[already send this last week but mime messages seem to be blocked on this ml]
Hi,
I have here a device which was previously using the firmware WLAN.HK.2.4.0.1.r1-00026-QCAHKSWPL_SILICONZ-2. It has a ath10k radio for scanning (phy0), an ath11k 5GHz radio0 (phy1) and a 2.4GHz radio (phy2).
/sys/class/ieee80211/phy0/macaddress:f8:d9:b8:2e:36:c4 (ath10k) /sys/class/ieee80211/phy1/macaddress:f8:d9:b8:2e:36:d0 /sys/class/ieee80211/phy2/macaddress:f8:d9:b8:2e:37:c8
Now with the new firmware WLAN.HK.2.5.0.1.r1-00004-QCAHKSWPL_SILICONZ-1, it suddenly uses a mac address which is not part of the pre-cal data.
/sys/class/ieee80211/phy0/macaddress:f8:d9:b8:2e:36:c4 (ath10k) /sys/class/ieee80211/phy1/macaddress:f8:d9:b8:2e:36:d0 /sys/class/ieee80211/phy2/macaddress:f8:d9:b8:2e:37:d0
This odd behavior causes layer 2 (mac) address conflicts - which should never ever happen.
The device was just performed a cold boot and I have no idea why the firmware reports this mac address. But the caldata is attached for further inspection to the next mail (which Kalle has to approve manually).
It has following set
* first mac (COMMON_BDF_HEADER.baseBdfHeader.macAddr[0]): f8:d9:b8:2e:36:d0 * second mac (COMMON_BDF_HEADER.baseBdfHeader.macAddr[1]): f8:d9:b8:2e:36:c8 * number macs (COMMON_BDF_HEADER.baseBdfHeader.numMacAddr): 2 * mac flag (COMMON_BDF_HEADER.baseBdfHeader.nvMacFlag): 1
Kind regards,
Sven
Signature · 3 lines
ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Quoted 3 lines · On Monday, 18 January 2021 09:14:54 CET Sven Eckelmann wrote:
/sys/class/ieee80211/phy0/macaddress:f8:d9:b8:2e:36:c4 (ath10k) /sys/class/ieee80211/phy1/macaddress:f8:d9:b8:2e:36:d0 /sys/class/ieee80211/phy2/macaddress:f8:d9:b8:2e:37:c8
There is a typo in the first list. The last mac should be f8:d9:b8:2e:36:c8. Mixed it up while copying stuff around for the mail. It was mentioned correctly at the end of the original mail.
Sorry
Kind regards,
Sven
Signature · 3 lines
ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Quoted 3 lines · On Monday, 18 January 2021 09:14:54 CET Sven Eckelmann wrote:
The device was just performed a cold boot and I have no idea why the firmware reports this mac address. But the caldata is attached for further inspection to the next mail (which Kalle has to approve manually).
See the attachment of this mail.
Kind regards,
Sven
Signature · 3 lines
ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
On Monday, 18 January 2021 09:14:54 CET Sven Eckelmann wrote:
[...]
Quoted 2 lines
Now with the new firmware WLAN.HK.2.5.0.1.r1-00004-QCAHKSWPL_SILICONZ-1, it suddenly uses a mac address which is not part of the pre-cal data.
@Kalle, the QCA firmware team assumes that this is fixed in 2.5.0.1.r2. Could you provide this also in ath11k-firmware?
Kind regards,
Sven
Signature · 3 lines
ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Quoted 7 lines · On Monday, 1 March 2021 10:46:56 CET Sven Eckelmann wrote:
On Monday, 18 January 2021 09:14:54 CET Sven Eckelmann wrote:
[...]Quoted 2 lines
Now with the new firmware WLAN.HK.2.5.0.1.r1-00004-QCAHKSWPL_SILICONZ-1, it suddenly uses a mac address which is not part of the pre-cal data.
@Kalle, the QCA firmware team assumes that this is fixed in 2.5.0.1.r2. Could you provide this also in ath11k-firmware?
Just had the chance to test it - just to confirm it before you spend the time for publishing it in your repository:
$ dmesg|grep fw_version
ath11k c000000.wifi1: qmi fw_version: 0x250b04a5 fw_build_timestamp: 2021-01-22 03:29 fw_build_id: QC_IMAGE_VERSION_STRING=WLAN.HK.2.5.0.1.r2-00013-QCAHKSWPL_SILICONZ-2 $ grep '' /sys/class/ieee80211/phy*/mac*
/sys/class/ieee80211/phy0/macaddress:f8:d9:b8:2e:36:c4
/sys/class/ieee80211/phy1/macaddress:f8:d9:b8:2e:36:d0
/sys/class/ieee80211/phy2/macaddress:f8:d9:b8:2e:36:c8So it matches now with the behavior of
WLAN.HK.2.4.0.1.r1-00026-QCAHKSWPL_SILICONZ-2.
Kind regards,
Sven
Signature · 3 lines
ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Quoted 7 lines · Sven Eckelmann
On Monday, 18 January 2021 09:14:54 CET Sven Eckelmann wrote:
[...]Quoted 2 lines
Now with the new firmware WLAN.HK.2.5.0.1.r1-00004-QCAHKSWPL_SILICONZ-1, it suddenly uses a mac address which is not part of the pre-cal data.
@Kalle, the QCA firmware team assumes that this is fixed in 2.5.0.1.r2. Could you provide this also in ath11k-firmware?
My plan is to upload it at some point, but don't know when exactly.
Signature · 8 lines
https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches -- ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k