Search Linux Wireless

Re: ath5k master (AP) mode

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

 



2008/11/14 RUMI Szabolcs <rumi_ml@xxxxxxx>:
> On Thu, 13 Nov 2008 18:49:10 +0100
> Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
>
>> > I have compiled a kernel from wireless-testing git of today (2.6.28-rc4-wl)
>> > then recompiled and tested hostapd-0.6.5 against that,
>>
>> look, you need hostapd from git
>
> If you look a bit further down in that email, I've also tried
> exactly that afterwards but unfortunately it made no difference.
>
> BTW I've made a diff -rduN between hostapd-0.6.5 and todays -git
> but haven't spotted anything relevant to my problem anyway.
>
> To summarize:
>
> 2.6.27 + hostapd-0.6.5 = NO
> 2.6.27 + OpenWRT hack + hostapd-0.6.5 = NO
> compat-wireless-2008-11-12 + hostapd-0.6.5 = NO
> wireless-testing-git + hostapd-0.6.5 = NO
> wireless-testing-git + hostapd-git = NO
>
> In fact I've also tried hostapd-0.6.4 and 0.5.10 at some point
> but they didn't make anything better.
>
> Thanks,
>
> Sab

Have you enabled AP mode on the driver ?

diff --git a/drivers/net/wireless/ath5k/base.c
b/drivers/net/wireless/ath5k/base.c
index e09ed2c..69aad6e 100644
--- a/drivers/net/wireless/ath5k/base.c
+++ b/drivers/net/wireless/ath5k/base.c
@@ -488,6 +488,7 @@ ath5k_pci_probe(struct pci_dev *pdev,

      hw->wiphy->interface_modes =
              BIT(NL80211_IFTYPE_STATION) |
+               BIT(NL80211_IFTYPE_AP) |
              BIT(NL80211_IFTYPE_ADHOC) |
              BIT(NL80211_IFTYPE_MESH_POINT);

Code for AP mode is there but it's not enabled yet until we do further
tests (it didn't work on some 5413 hw etc, now after PCU updates it
should work but we still need to test it)


-- 
GPG ID: 0xD21DB2DB
As you read this post global entropy rises. Have Fun ;-)
Nick
--
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