Re: conf/143079: hostapd(8) startup missing multi wlan functionality

2013-01-02 Thread Matthias Meyser
The following reply was made to PR conf/143079; it has been noted by GNATS.

From: Matthias Meyser mey...@xenet.de
To: bug-follo...@freebsd.org, mey...@xenet.de
Cc:  
Subject: Re: conf/143079: hostapd(8) startup missing multi wlan functionality
Date: Wed, 02 Jan 2013 12:14:37 +0100

 Updated patch for /etc/rc.d/hostapd
 
 --- hostapd.orig2013-01-02 11:13:29.0 +0100
 +++ hostapd 2013-01-02 12:04:04.0 +0100
 @@ -13,7 +13,9 @@
   rcvar=hostapd_enable
   command=/usr/sbin/${name}
 
 -conf_file=/etc/${name}.conf
 +load_rc_config ${name}
 +
 +conf_file=${hostapd_config:-/etc/${name}.conf}
   pidfile=/var/run/${name}.pid
 
   command_args=-P ${pidfile} -B ${conf_file}
 @@ -21,5 +23,4 @@
   required_modules=wlan_xauth wlan_wep wlan_tkip wlan_ccmp
   extra_commands=reload
 
 -load_rc_config ${name}
   run_rc_command $1
 
 
 
 -- 
 Matthias Meyser| XeNET Gesellschaft fuer Informations- und 
 Kommunikationssysteme mbH
 Tel.:  +49-5323-94018  | 38678 Clausthal-Zellerfeld, Burgstaetter Strasse 6
 Fax:   +49-5323-94014  | Registergericht: Amtsgericht Braunschweig, HRB 110823
 Email: mey...@xenet.de | Geschaeftsfuehrer: Matthias Meyser
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org


Re: ath0: could not map interrupt

2013-01-02 Thread Adrian Chadd
... sounds like a definite interrupt routing issue.

Who's been knee deep in the interrupt handling code in MIPS lately? Grrr.
I know there's been some FDT work in MIPS and that's touched some
interrupt code.. maybe that's interfering?


Adrian


On 2 January 2013 12:40, Monthadar Al Jaberi montha...@gmail.com wrote:
 I tested some more. First I changed the miniPCI slot. Now boot looks like 
 this:

 pcib0 at irq 0 on nexus0
 pci0: PCI bus on pcib0
 ath0: Atheros 5413 irq 2 at device 19.0 on pci0
 ath0: AR5413 mac 10.5 RF5413 phy 6.1
 ath0: 2GHz radio: 0x; 5GHz radio: 0x0063


 Then I created a hostap. But none of my other devices sees it (laptop, 
 iphone).

 A scan results in:

 # ifconfig wlan0 scan
 wlan0: ieee80211_scanreq: flags 0x1b duration 0x7fff mindwell 0
 maxdwell 0 nssid 0
 wlan0: start_scan_locked: active scan, duration 2147483647 mindwell 0
 maxdwell 0, desired mode 11g, append, nopick, once
 wlan0: scan set 11g dwell min 200ms max 200ms
 wlan0: scan_task: chan  11g -  11g [active, dwell min 200ms max 200ms]
 wlan0: ieee80211_ref_node (ieee80211_send_probereq:1822)
 0xc6f270:15:6d:67:21:8d refcnt 4
 wlan0: send probe req on channel 11 bssid ff:ff:ff:ff:ff:ff ssid 
 wlan0: scan_task: done, [ticks 2657909, dwell min 200 scanend 2150141333]
 wlan0: notify scan done
 root@rb433ah:~ # ath0: device timeout

 And when I try to ping a random IP address I get the following.
 Interesting is that it seems to bail out when it tries to send
 probe_resp (last in output):
 $ ping -c 1 172.168.3.2
 PING 172.168.3.2 (172.168.3.2): 56 data bytes
 ath0: device timeout
 wlan0: received beacon from 74:44:01:2d:cb:5e rssi 14
 wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 47, len 1
 wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 74, len 
 14
 wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 127, len 
 1
 wlan0: received beacon from 28:10:7b:8e:7a:ec rssi 46
 wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8
 wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8
 wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 127, len 
 1
 wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 11, len 5
 wlan0: [28:10:7b:8e:7a:ec] discard beacon frame, for off-channel 10
 wlan0: received beacon from 74:44:01:2d:cb:5e rssi 13
 wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 47, len 1
 wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 74, len 
 14
 wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 127, len 
 1
 wlan0: received beacon from 74:44:01:2d:cb:5e rssi 14
 wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 47, len 1
 wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 74, len 
 14
 wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 127, len 
 1
 wlan0: received beacon from 00:11:50:4d:c5:08 rssi 8
 wlan0: [00:11:50:4d:c5:08] discard unhandled information element, id 47, len 1
 wlan0: received beacon from 28:10:7b:8e:7a:ec rssi 40
 wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8
 wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8
 wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 127, len 
 1
 wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 11, len 5
 wlan0: [28:10:7b:8e:7a:ec] discard beacon frame, for off-channel 10
 wlan0: received beacon from 74:44:01:2d:cb:5e rssi 12
 wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 47, len 1
 wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 74, len 
 14
 wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 127, len 
 1
 wlan0: [94:0c:6d:ad:61:18] discard frame, not to bss
 wlan0: received beacon from 74:44:01:2d:cb:5e rssi 13
 wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 47, len 1
 wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 74, len 
 14
 wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 127, len 
 1
 wlan0: received beacon from 28:10:7b:8e:7a:ec rssi 48
 wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8
 wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8
 wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 127, len 
 1
 wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 11, len 5
 wlan0: [28:10:7b:8e:7a:ec] discard beacon frame, for off-channel 10
 wlan0: received probe_req from 00:16:cf:3c:f7:7f rssi 2
 [00:16:cf:3c:f7:7f] discard probe_req frame, ssid mismatch:
 0x9ccca48e6a3b0c7f661c24413d7b9e54c5e59ddbe0c2bd96a2e65410b662f71a
 wlan0: received probe_req from 00:16:cf:3c:f7:7f rssi 5
 [00:16:cf:3c:f7:7f] discard probe_req frame, ssid mismatch: default
 wlan0: received beacon from 74:44:01:2d:cb:5e