>> Still no luck for me with master mode, even after editing >> wireless-testing/drivers/net/wireless/ath5k/base.c. 2.6.28 is >> supposed to work but I'm wondering if it's not in 2.6.28-hardened or >> something. I still get "Failed to set interface ath0 to master mode" >> from hostapd. >> >> - Grant >> >> > 2.6.28 did not work for me either. > Get the wireless-testing kernel as described here: > http://linuxwireless.org/en/developers/Documentation/git-guide > Apply the modification to ath5k/base.c. > > You will have a 2.6.29-rc kernel with wireless-testing modifications. > This one should do the trick. > > Norman
I'm a step closer in 2.6.28 after applying this patch: --- wireless-testing.orig/net/mac80211/cfg.c 2008-10-28 10:32:35.000000000 +0200 +++ wireless-testing/net/mac80211/cfg.c 2008-10-28 10:32:40.000000000 +0200 @@ -26,6 +26,8 @@ #ifdef CONFIG_MAC80211_MESH case NL80211_IFTYPE_MESH_POINT: #endif + case NL80211_IFTYPE_AP: + case NL80211_IFTYPE_AP_VLAN: case NL80211_IFTYPE_WDS: return true; default: The interface will go into master mode now but it errors when trying to set the channel. Are you using an AR5xxx? - Grant