Hello list, I just started experimenting with the most recent compat-wireless ath5k driver. What I'm testing is running two virtual interfaces, one in AP mode and one STA. It appears that I can only get both interfaces working at the same time if they both use the same channel. Is this how it is suppose to work?
For example, I setup a linksys AP to use channel 5 and then configured wpa_supplicant to connect to this AP using the virtual STA. This works fine. Now if I try to start hostapd with the hostapd.conf configured for channel 11, it complains: # hostapd -B /tmp/hostapd.conf Configuration file: /tmp/hostapd.conf Could not set channel for kernel driver wlan0: Unable to setup interface. rmdir[ctrl_interface]: No such file or directory If I change hostapd.conf to use channel 5, it will start and both AP and STA connect and work as expected. # hostapd -B /tmp/hostapd.conf Configuration file: /tmp/hostapd.conf Using interface wlan0 with hwaddr 00:02:6f:21:e8:97 and ssid 'mytestap' If anyone can shed some light on this, it would be much appreciated. Here is the dmesg when I load ath5k (I'm running kernel 2.6.31.12-rt21): [ 126.242373] Compat-wireless backport release: compat-wireless-2011-06-14-3-g53583b5 [ 126.242510] Backport based on linux-next.git next-20110621 [ 126.354103] cfg80211: Calling CRDA to update world regulatory domain [ 126.483585] ath5k 0000:02:05.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 [ 126.483796] ath5k 0000:02:05.0: registered as 'phy0' [ 126.926472] ath: EEPROM regdomain: 0x0 [ 126.926479] ath: EEPROM indicates default country code should be used [ 126.926485] ath: doing EEPROM country->regdmn map search [ 126.926495] ath: country maps to regdmn code: 0x3a [ 126.926502] ath: Country alpha2 being used: US [ 126.926508] ath: Regpair used: 0x3a [ 127.061373] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 127.062383] ath5k phy0: Atheros AR5213A chip found (MAC: 0x59, PHY: 0x43) [ 127.062484] ath5k phy0: RF5112B multiband radio found (0x36) Thanks, Tom _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel