大破雑記帳

個人用メモな雑記ブログ いろんなことをざっくりと。

WN-AG300DGR/WN-AC1xxxDGRx NVMEM MAC addressメモ

現状、OpenWrtにおけるNVMEMフレームワークを通したテキストベースなMACの取得はPlatform Deviceに限定されており、PCI(e)デバイスにおいてはテキスト絡みの処理が実装されておらず利用不可。

WN-AG300DGR

  • 5GHz (AR9382) calibrationデータはFlash内に無し
[   10.383090] of_get_mac_addr_nvmem: pdev is not null, call nvmem_get_mac_address
[   10.415812] ieee80211 phy0: Atheros AR9340 Rev:1 mem=0xb8100000, irq=12
[   10.423397] ath9k 0000:00:00.0: enabling device (0000 -> 0002)
[   10.429785] of_get_mac_addr_nvmem: pdev is null, continue...
[   10.550322] ieee80211 phy1: Atheros AR9300 Rev:3 mem=0xb0000000, irq=20

WN-AC1600DGR

  • 5GHz (QCA9880) calibrationデータはFlash内に無し
[    8.580881] ath10k 5.15 driver, optimized for CT firmware, probing pci device: 0x3c.
[    8.590211] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[    8.598866] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   12.366974] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   12.376403] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   12.388332] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-ecad3248 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 3e4cf97f
[   12.505983] ath10k_pci 0000:00:00.0: Loading BDF type 0
[   13.263138] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   13.270638] of_get_mac_addr_nvmem: pdev is null, continue...
[   14.279870] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   14.303277] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   14.309630] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   14.317793] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24984 iram: 38672'
[   14.371650] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[   14.385926] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   14.584075] of_get_mac_addr_nvmem: pdev is not null, call nvmem_get_mac_address
[   14.628351] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=12

WN-AC1167DGR

  • 5GHz (QCA9880) calibrationデータはFlash内に有り
[    8.579403] ath10k 5.15 driver, optimized for CT firmware, probing pci device: 0x3c.
[    8.588739] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[    8.597395] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   12.367619] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000
[   12.377043] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   12.388961] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-ecad3248 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 3e4cf97f
[   12.507894] ath10k_pci 0000:00:00.0: Loading BDF type 0
[   13.262655] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   13.270150] of_get_mac_addr_nvmem: pdev is null, continue...
[   14.248471] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   14.272380] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   14.278730] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   14.286887] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24984 iram: 38672'
[   14.343799] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal nvmem max-sta 128 raw 0 hwcrypto 1
[   14.359062] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   14.564635] of_get_mac_addr_nvmem: pdev is not null, call nvmem_get_mac_address
[   14.608367] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=12