Linux imx6q ath6kl

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Linux imx6q ath6kl

670 Views
推土机
Contributor II

Hello,

I have a AR6302 chip on imx6q linux.

I build the ath6kl driver and do as follows

$ insmod ath6kl.ko

$ ifconfig wlan0 up

$ iwlist wlan0 scan

all the above are ok except adding ath6kl.ko the kernel prints :

ath6kl: hif-scatter: host only supports scatter of : 1 entries, need: 16       

ath6kl: hif does not support scatter requests (-22)                            

ath6kl: hw 2.1.1 fw 3.1.1.149

Seems not a problem.

But when I run

$ wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant.conf

The kernel shows:

ioctl[SIOCSIWAUTH]: Operation not supported

WEXT auth param 4 value 0x0 -

------------[ cut here ]--------

WARNING: at net/wireless/sme.c:517 cfg80211_connect_result+0x134/0x14c()

Modules linked in: ath6kl

[<800468e0>] (unwind_backtrace+0x0/0xf8) from [<800700dc>] (warn_slowpath_commo)

[<800700dc>] (warn_slowpath_common+0x4c/0x64) from [<80070110>] (warn_slowpath_)

[<80070110>] (warn_slowpath_null+0x1c/0x24) from [<804c1a88>] (cfg80211_connect)

[<804c1a88>] (cfg80211_connect_result+0x134/0x14c) from [<7f0080b4>] (ath6kl_cf)

[<7f0080b4>] (ath6kl_cfg80211_connect_event+0x35c/0x3ec [ath6kl]) from [<7f00ae)

[<7f00aea0>] (ath6kl_connect_event+0x58/0x3f4 [ath6kl]) from [<7f011248>] (ath6)

[<7f011248>] (ath6kl_wmi_control_rx+0xdc4/0x1b28 [ath6kl]) from [<7f0015b0>] (d)

[<7f0015b0>] (do_rx_completion+0x40/0x50 [ath6kl]) from [<7f003b74>] (htc_rxmsg)

[<7f003b74>] (htc_rxmsg_pending_handler+0x780/0xcd8 [ath6kl]) from [<7f000e10>])

[<7f000e10>] (ath6kldev_intr_bh_handler+0x1c0/0x4c4 [ath6kl]) from [<7f013504>])

[<7f013504>] (ath6kl_sdio_irq_handler+0x28/0x5c [ath6kl]) from [<803681e0>] (sd)

[<803681e0>] (sdio_irq_thread+0x1d4/0x2ac) from [<80089edc>] (kthread+0x80/0x88)

[<80089edc>] (kthread+0x80/0x88) from [<800400e4>] (kernel_thread_exit+0x0/0x8)

---[ end trace 1615f0a468277e84 ]---

AnyBody can help me?

Thank you!

Labels (2)
0 Kudos
1 Reply

330 Views
alejandrolozan1
NXP Employee
NXP Employee

Hi,

Which BSP are you using?

How did you add the AR6302 support and the corresponding firmware?

/Alejandro

0 Kudos