ath6k SDIO in 5GHz AP mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to get a ath6kl SDIO adapter to work as a 5GHz AP (and
concurrent client if possible) and running into issues with my Yocto /
FreeScale iMX6 3.10.53 build.

2.4GHz wpa_supplicant client or hostapd does seem to work.

First I tried to add a station as I did with another adapter for
concurrent client and station mode:
iw dev wlan0 interface add wlan1 type station
command failed: Operation not supported (-95)
or with different fw
command failed: Operation not permitted (-1)

So then forget about concurrency I tried just starting a 5GHz AP on wlan0
hostapd.conf file:
interface=wlan0
driver=nl80211
ssid=test
hw_mode=a
channel=149
wpa=1
wpa_passphrase=1234567890

hostapd /etc/hostapd.conf
Configuration file: /etc/hostapd.conf
nl80211: Failed to set interface wlan0 into AP mode
nl80211 driver initialization failed.
ELOOP: remaining socket: sock=4 eloop_data=0x83a70 user_data=0x83ff8
handler=0x28b4d
ELOOP: remaining socket: sock=6 eloop_data=0x858f8 user_data=(nil)
handler=0x2e72d


Here is the ath6kl_sdio version from modinfo from my Yocto / Freescale build:
filename:
/lib/modules/3.10.53-1.1.0_ga+g496fbe0/kernel/drivers/net/wireless/ath/ath6kl/ath6kl_sdio.ko
firmware:       ath6k/AR6004/hw1.3/bdata.bin
firmware:       ath6k/AR6004/hw1.3/bdata.bin
firmware:       ath6k/AR6004/hw1.3/fw.ram.bin
firmware:       ath6k/AR6004/hw1.2/bdata.bin
firmware:       ath6k/AR6004/hw1.2/bdata.bin
firmware:       ath6k/AR6004/hw1.2/fw.ram.bin
firmware:       ath6k/AR6004/hw1.1/bdata.DB132.bin
firmware:       ath6k/AR6004/hw1.1/bdata.bin
firmware:       ath6k/AR6004/hw1.1/fw.ram.bin
firmware:       ath6k/AR6004/hw1.0/bdata.DB132.bin
firmware:       ath6k/AR6004/hw1.0/bdata.bin
firmware:       ath6k/AR6004/hw1.0/fw.ram.bin
firmware:       ath6k/AR6003/hw2.1.1/bdata.SD31.bin
firmware:       ath6k/AR6003/hw2.1.1/bdata.bin
firmware:       ath6k/AR6003/hw2.1.1/data.patch.bin
firmware:       ath6k/AR6003/hw2.1.1/athwlan.bin
firmware:       ath6k/AR6003/hw2.1.1/otp.bin
firmware:       ath6k/AR6003/hw2.0/bdata.SD31.bin
firmware:       ath6k/AR6003/hw2.0/bdata.bin
firmware:       ath6k/AR6003/hw2.0/data.patch.bin
firmware:       ath6k/AR6003/hw2.0/athwlan.bin.z77
firmware:       ath6k/AR6003/hw2.0/otp.bin.z77
license:        Dual BSD/GPL
description:    Driver support for Atheros AR600x SDIO devices
author:         Atheros Communications, Inc.
srcversion:     7AD6100F1A897E5DCD0907C
alias:          sdio:c*v0271d0401*
alias:          sdio:c*v0271d0400*
alias:          sdio:c*v0271d0301*
alias:          sdio:c*v0271d0300*
depends:        ath6kl_core
intree:         Y
vermagic:       3.10.53-1.1.0_ga+g496fbe0 SMP preempt mod_unload
modversions ARMv7 p2v8


And here is my iw list output:

# iw list
Wiphy phy0
        max # scan SSIDs: 16
        max scan IEs length: 1000 bytes
        Coverage class: 0 (up to 0m)
        Device supports roaming.
        Supported Ciphers:
                * WEP40 (00-0f-ac:1)
                * WEP104 (00-0f-ac:5)
                * TKIP (00-0f-ac:2)
                * CCMP (00-0f-ac:4)
                * 00-40-96:255
                * WPI-SMS4 (00-14-72:1)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
        Band 1:
                Capabilities: 0x20
                        HT20
                        Static SM Power Save
                        RX HT20 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 8191 bytes (exponent: 0x000)
                Minimum RX AMPDU time spacing: No restriction (0x00)
                HT RX MCS rate indexes supported: 0-7
                HT TX MCS rate indexes are undefined
                Bitrates (non-HT):
                        * 1.0 Mbps
                        * 2.0 Mbps
                        * 5.5 Mbps
                        * 11.0 Mbps
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 2412 MHz [1] (20.0 dBm)
                        * 2417 MHz [2] (20.0 dBm)
                        * 2422 MHz [3] (20.0 dBm)
                        * 2427 MHz [4] (20.0 dBm)
                        * 2432 MHz [5] (20.0 dBm)
                        * 2437 MHz [6] (20.0 dBm)
                        * 2442 MHz [7] (20.0 dBm)
                        * 2447 MHz [8] (20.0 dBm)
                        * 2452 MHz [9] (20.0 dBm)
                        * 2457 MHz [10] (20.0 dBm)
                        * 2462 MHz [11] (20.0 dBm)
                        * 2467 MHz [12] (20.0 dBm) (passive scanning, no IBSS)
                        * 2472 MHz [13] (20.0 dBm) (passive scanning, no IBSS)
                        * 2484 MHz [14] (20.0 dBm) (passive scanning, no IBSS)
        Band 2:
                Capabilities: 0x62
                        HT20/HT40
                        Static SM Power Save
                        RX HT20 SGI
                        RX HT40 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 8191 bytes (exponent: 0x000)
                Minimum RX AMPDU time spacing: No restriction (0x00)
                HT RX MCS rate indexes supported: 0-7
                HT TX MCS rate indexes are undefined
                Bitrates (non-HT):
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 5170 MHz [34] (disabled)
                        * 5180 MHz [36] (20.0 dBm) (passive scanning, no IBSS)
                        * 5190 MHz [38] (20.0 dBm) (passive scanning, no IBSS)
                        * 5200 MHz [40] (20.0 dBm) (passive scanning, no IBSS)
                        * 5210 MHz [42] (20.0 dBm) (passive scanning, no IBSS)
                        * 5220 MHz [44] (20.0 dBm) (passive scanning, no IBSS)
                        * 5230 MHz [46] (20.0 dBm) (passive scanning, no IBSS)
                        * 5240 MHz [48] (20.0 dBm) (passive scanning, no IBSS)
                        * 5260 MHz [52] (disabled)
                        * 5280 MHz [56] (disabled)
                        * 5300 MHz [60] (disabled)
                        * 5320 MHz [64] (disabled)
                        * 5500 MHz [100] (disabled)
                        * 5520 MHz [104] (disabled)
                        * 5540 MHz [108] (disabled)
                        * 5560 MHz [112] (disabled)
                        * 5580 MHz [116] (disabled)
                       * 5600 MHz [120] (disabled)
                        * 5620 MHz [124] (disabled)
                        * 5640 MHz [128] (disabled)
                        * 5660 MHz [132] (disabled)
                        * 5680 MHz [136] (disabled)
                        * 5700 MHz [140] (disabled)
                        * 5745 MHz [149] (20.0 dBm) (passive scanning, no IBSS)
                        * 5765 MHz [153] (20.0 dBm) (passive scanning, no IBSS)
                        * 5785 MHz [157] (20.0 dBm) (passive scanning, no IBSS)
                        * 5805 MHz [161] (20.0 dBm) (passive scanning, no IBSS)
                        * 5825 MHz [165] (20.0 dBm) (passive scanning, no IBSS)
                        * 5920 MHz [184] (disabled)
                        * 5940 MHz [188] (disabled)
                        * 5960 MHz [192] (disabled)
                        * 5980 MHz [196] (disabled)
                        * 6000 MHz [200] (disabled)
                        * 6020 MHz [204] (disabled)
                        * 6040 MHz [208] (disabled)
                        * 6060 MHz [212] (disabled)
                        * 6080 MHz [216] (disabled)
        Supported commands:
                 * new_interface
                 * set_interface
                 * new_key
                 * start_ap
                 * join_ibss
                 * set_pmksa
                 * del_pmksa
                 * flush_pmksa
                 * remain_on_channel
                 * set_tx_bitrate_mask
                 * frame
                 * set_channel
                 * connect
                 * disconnect
        Supported TX frame types:
                 * managed: 0x50 0xd0
                 * AP: 0x50 0xd0
                 * P2P-client: 0x50 0xd0
                 * P2P-GO: 0x50 0xd0
        Supported RX frame types:
                 * managed: 0x40 0xd0
                 * AP: 0x40 0xd0
                 * P2P-client: 0x40 0xd0
                 * P2P-GO: 0x40 0xd0
        WoWLAN support:
                 * wake up on disconnect
                 * wake up on magic packet
                 * wake up on pattern match, up to 4 patterns of 1-64 bytes,
                   maximum packet offset 0 bytes
                 * can do GTK rekeying
                 * wake up on GTK rekey failure
                 * wake up on EAP identity request
                 * wake up on 4-way handshake
        software interface modes (can always be added):
        interface combinations are not supported
        Device supports scan flush.

Do I need to patch in a newer driver to my 3.10 build?

Any help is greatly appreciated!

_______________________________________________
ath6kl mailing list
ath6kl@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/ath6kl




[Index of Archives]     [Linux Kernel]     [Linux Wireless]     [Linux Bluetooth]     [Linux WPAN]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]

  Powered by Linux