All of lore.kernel.org
 help / color / mirror / Atom feed
* Installing ath10k drivers/firmware
@ 2020-06-18 11:24 MM
  0 siblings, 0 replies; only message in thread
From: MM @ 2020-06-18 11:24 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 2417 bytes --]

Dear all,

I am using sumo release of Yocto Project. I have a QCA6174-5 chip which I would use as wireless Access Point. I have added “linux-firmware” recipe to IMAGE_INSTALL_append.

I can see the following kernel configuration:

CONFIG_NET_VENDOR_ATHEROS=y
CONFIG_ATH_COMMON=y
CONFIG_WLAN_VENDOR_ATH=y
CONFIG_ATH10K=y
CONFIG_ATH10K_PCI=y

I can also see the wlan0 interface in my target.

~# ethtool -i wlan0
driver: ath10k_pci
version: 4.14.98
firmware-version: WLAN.RM.4.4.1-00140-QCARMSWPZ-1
expansion-rom-version:
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

However I can’t use 5GHz band for wireless (for any country). CRDA and wireless-regdb are installed. Hostapd software indicates (for channel=48, hw_mode=a and country_code=US):

nl80211: Regulatory information – country=US (DFS-FCC)
nl80211: 2402-2472 @ 40 MHz 30 mBm
nl80211: 5170-5250 @ 80 MHz 23 mBm
nl80211: 5250-5330 @ 80 MHz 23 mBm (DFS)
nl80211: 5490-5730 @ 160 MHz 23 mBm (DFS)
nl80211: 5735-5835 @ 80 MHz 30 mBm
nl80211: 57240-63720 @ 2160 MHz 40 mBm
nl80211: Added 802.11b mode based on 802.11g information
nl80211: Mode IEEE 802.11g: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[DISABLED][NO_IR] 2472[DISABLED][NO_IR] 2484[DISABLED]
nl80211: Mode IEEE 802.11a: 5180[NO_IR] 5200[NO_IR] 5220[NO_IR] 5240[NO_IR] 5260[NO_IR][RADAR] 5280[NO_IR][RADAR] 5300[NO_IR][RADAR] 5320[NO_IR][RADAR] 5500[NO_IR][RADAR] 5520[NO_IR][RADAR] 5540[NO_IR][RADAR]
nl80211: Mode IEEE 802.11b: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[DISABLED][NO_IR] 2472[DISABLED][NO_IR] 2484[DISABLED]

[…]

Channel 48 (primary) not allowed for AP mode, flags: 0x4073 NO-IR
wlan0: IEEE 802.11 Configured channel (48) not found from the channel list of current mode (2) IEEE 802.11a
wlan0: IEEE 802.11 Hardware does not support configured channel
Could not select hw_mode and channel. (-3)
With another driver/firmware ("kernel-module-qca6174" and "firmware-qca6174" recipes) , ethtool shows "hif_pci" driver installed. All works fine. In this case, I can use 5GHZ band. However I can’t change wlan txpower with: iw dev wlan0 set txpower fixed 900 (for example, 900mBm = 9dB).

What driver/firmware or kernel configuration should I use to solve it?

Thanks very much in advance,

M del Mar


[-- Attachment #2: Type: text/html, Size: 4921 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-18 11:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-18 11:24 Installing ath10k drivers/firmware MM

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.