Search Linux Wireless

ath5k master (AP) mode

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

 



Hello,

I've just joined the list so don't know how to join the same thread so
to indicate that it's the same matter I use the same subject. I am
trying to make my "04:01.0 Ethernet controller: Atheros Communications
Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)" which is
identified by ath5k as
[   10.356742] ath5k phy0: Atheros AR5213A chip found (MAC: 0x59, PHY: 0x43)
[   10.356748] ath5k phy0: RF5112B multiband radio found (0x36)
work in master mode.
I've patched /drivers/net/wireless/ath5k/base.c as was suggested, I
even put a debug printk() to make sure the patched version is used:


        printk(KERN_ERR "ath5k_pci: AP PATCH APPLIED!!!\n");
        hw->wiphy->interface_modes =
                BIT(NL80211_IFTYPE_STATION) |
                BIT(NL80211_IFTYPE_AP) |
                BIT(NL80211_IFTYPE_ADHOC) |
                BIT(NL80211_IFTYPE_MESH_POINT);


in dmesg I do see this:

[    9.899231] ath5k 0000:04:01.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    9.899272] ath5k 0000:04:01.0: registered as 'phy0'
[    9.899275] ath5k_pci: AP PATCH APPLIED!!!
[   10.356742] ath5k phy0: Atheros AR5213A chip found (MAC: 0x59, PHY: 0x43)
[   10.356748] ath5k phy0: RF5112B multiband radio found (0x36)

however it still doesn't work:

# iwconfig wlan1 mode master
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan1 ; Invalid argument.

Obviously I am missing something, but can't find what. Are there any
other prerequisites? Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux