Hi All,
I am using silex SDIO wifi card SX-SDCAN2 with chipset Qualcomm Atheros AR6234 SiP. This uses atheros ath6kl driver and AR6004 firmware. Am using linux BSP of version L3.0.35_4.0.0_130424.
Support for this chip in ath6kl driver has started from backports-3.18.1-1 version. So I have used backports-3.18.1-1 and for the firmware I got it from qca git (File Finder · GitHub ). The linux-firmware don't have the firmware for this AR6004 hw3.0.
I want use the p2p mode, so inserted all the modules like below.
insmod compat.ko
insmod cfg80211.ko
insmod ath6kl_core.ko ath6kl_p2p=1
insmod ath6kl_sdio.ko
Set up is up and got an interface wlan0. Below is the log
root@freescale /$ insmod compat.ko
Loading modules backported from Linux version v4.0.1-0-g1b0ebf2
Backport generated by backports.git v4.0.1-1-0-g807a2bb
root@freescale /$ insmod cfg80211.ko
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211: DFS Master region: unsetroot@freescale /$
cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
icfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
ncfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
scfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
mcfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
ocfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
dcfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
acfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
th6kl_core.ko ath6kl_p2p=1
root@freescale /$ insmod ath6kl_sdio.ko
mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
mmc1: queuing unknown CIS tuple 0x14 (0 bytes)
ath6kl: host only supports scatter of :1 entries, need: 16
ath6kl: ar6004 hw 3.0 sdio fw 3.5.0.349-1 api 5
ath6kl: firmware supports: 64bit-rates,map-lp-endpoint,ratetable-mcs15,no-ip-checksum
Now started the wap_supplicant and using wpa_cli to issue p2p commands, like p2p_find to start discovery.
My issue is, am not able to discover the device. I am getting errors like below. After these errors, even p2p_find command also fails.
> p2p_find
OK
ath6kl: req failed (status:-110, ep:1, len:41 creds:1)
ath6kl: tx complete error: -110
Am wondering what is this error. What is going wrong ?
-Regards,
Shiva Kumar
Hello Shiva ,
I have 2 pieces of advice on your quesiton:
(1)Getting firmware of provider for AR6234 from provider
It is very important for you to get correct firmare for AR6234 , becuase it will be downloaded into WIFI module when inserting ath6kl_sdio.ko.
(2) loading ath6kl_sdio.ko
You should add firmware when loading driver, like this:
# insmod ath6kl_sdio.ko "firmeare is here"
Hope above information is helpful for you!
Best Regards,
Weidong
I am still waiting for some reply. No reply from community support yet.