Re: iwm updates from dfbsd; AR9462/QCA9565 bluetooth coex updates

2016-06-04 Thread Ben Woods
On 2 June 2016 at 07:49, Adrian Chadd  wrote:

> hi!
>
> Firstly - I've just merged in some fixes from dragonflybsd via the
> maintainer there, Imre Vadasz. He's been pushing patches to me against
> -HEAD to commit. Thanks!
>
> I'd like those tested, so if you're using iwm please test them out and
> let me know.
> ...
> Thanks!
>
> -adrian
>

Hi Adrian,

I have just rebuilt my 11-current laptop and am using the newest updates to
the iwm(4) driver. Haven't yet connected to a WPA2 network, but so far, so
good connecting to the open cafe wifi :)

Thanks!
Ben

--
From: Benjamin Woods
woods...@gmail.com
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: WPA_SUPPLICANT, auth timeouts

2016-06-04 Thread Adrian Chadd
hi!

It could be a crappy signal strength and/or we're using the antennas
wrong. The driver is still in development.

Unfortunately I don't yet trust the signal level report from the
firmware, so I can't even ask for that. :( I'll see what I can do.



-a


On 4 June 2016 at 19:37, Larry Rosenman  wrote:
> When I'm sitting in my living room, the IWM (7160) card seems(!) to have 
> issues connecting.
>
> As soon as I walk into the room with the AP, it connects right up and will 
> then stay connected.
>
> Ideas?
>
>
>
> Jun  4 20:01:17 pita pkg: wpa_supplicant reinstalled: 2.5_2 -> 2.5_2
> Jun  4 20:26:26 pita wpa_supplicant[367]: wlan0: WPA: Group rekeying 
> completed with bc:ee:7b:6f:41:bc [GTK=CCMP]
> Jun  4 20:33:13 pita kernel: iwm0:  mem 
> 0xdf20-0xdf201fff irq 17 at device 0.0 on pci5
> Jun  4 20:33:13 pita kernel: iwm0: revision: 0x140, firmware 25.228 (API ver. 
> 9)
> Jun  4 20:33:13 pita kernel: iwm0: iwm_update_edca: called
> Jun  4 20:34:24 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-DISCONNECTED 
> bssid=bc:ee:7b:6f:41:b8 reason=0
> Jun  4 20:34:24 pita wpa_supplicant[375]: ioctl[SIOCS80211, op=20, val=0, 
> arg_len=7]: Can't assign requested address
> Jun  4 20:34:24 pita wpa_supplicant[375]: ioctl[SIOCS80211, op=103, val=0, 
> arg_len=128]: Operation now in progress
> Jun  4 20:34:24 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-SCAN-FAILED 
> ret=-1 retry=1
> Jun  4 20:34:25 pita wpa_supplicant[375]: ioctl[SIOCS80211, op=103, val=0, 
> arg_len=128]: Operation now in progress
> Jun  4 20:34:25 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-SCAN-FAILED 
> ret=-1 retry=1
> Jun  4 20:34:26 pita wpa_supplicant[375]: ioctl[SIOCS80211, op=103, val=0, 
> arg_len=128]: Operation now in progress
> Jun  4 20:34:26 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-SCAN-FAILED 
> ret=-1 retry=1
> Jun  4 20:34:27 pita wpa_supplicant[375]: ioctl[SIOCS80211, op=103, val=0, 
> arg_len=128]: Operation now in progress
> Jun  4 20:34:27 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-SCAN-FAILED 
> ret=-1 retry=1
> Jun  4 20:34:28 pita wpa_supplicant[375]: ioctl[SIOCS80211, op=103, val=0, 
> arg_len=128]: Operation now in progress
> Jun  4 20:34:28 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-SCAN-FAILED 
> ret=-1 retry=1
> Jun  4 20:34:29 pita kernel: iwm0: device timeout
> Jun  4 20:34:29 pita kernel: iwm0: dumping device error log
> Jun  4 20:34:29 pita kernel: iwm0: errlog not found, skipping
> Jun  4 20:34:32 pita wpa_supplicant[375]: wlan0: Trying to associate with 
> bc:ee:7b:6f:41:bc (SSID='LERCTR NETWORK 5' freq=5765 MHz)
> Jun  4 20:34:32 pita kernel: iwm0: iwm_update_edca: called
> Jun  4 20:34:42 pita wpa_supplicant[375]: wlan0: Authentication with 
> bc:ee:7b:6f:41:bc timed out.
> Jun  4 20:34:42 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-DISCONNECTED 
> bssid=bc:ee:7b:6f:41:bc reason=3 locally_generated=1
> Jun  4 20:34:44 pita wpa_supplicant[375]: wlan0: Trying to associate with 
> f8:7b:8c:19:e1:22 (SSID='LERCTR NETWORK 2.5' freq=2452 MHz)
> Jun  4 20:34:44 pita kernel: iwm0: iwm_update_edca: called
> Jun  4 20:34:55 pita wpa_supplicant[375]: wlan0: Authentication with 
> f8:7b:8c:19:e1:22 timed out.
> Jun  4 20:34:55 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-DISCONNECTED 
> bssid=f8:7b:8c:19:e1:22 reason=3 locally_generated=1
> Jun  4 20:34:57 pita wpa_supplicant[375]: wlan0: Trying to associate with 
> 00:0e:8e:1f:43:17 (SSID='LERCTR GUEST' freq=2427 MHz)
> Jun  4 20:34:57 pita kernel: iwm0: iwm_update_edca: called
> Jun  4 20:35:07 pita wpa_supplicant[375]: wlan0: Authentication with 
> 00:0e:8e:1f:43:17 timed out.
> Jun  4 20:35:07 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-DISCONNECTED 
> bssid=00:0e:8e:1f:43:17 reason=3 locally_generated=1
> Jun  4 20:35:10 pita wpa_supplicant[375]: wlan0: Trying to associate with 
> bc:ee:7b:6f:41:bc (SSID='LERCTR NETWORK 5' freq=5765 MHz)
> Jun  4 20:35:10 pita kernel: iwm0: iwm_update_edca: called
> Jun  4 20:35:20 pita wpa_supplicant[375]: wlan0: Authentication with 
> bc:ee:7b:6f:41:bc timed out.
> Jun  4 20:35:20 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-DISCONNECTED 
> bssid=bc:ee:7b:6f:41:bc reason=3 locally_generated=1
> Jun  4 20:35:20 pita wpa_supplicant[375]: wlan0: 
> CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="LERCTR NETWORK 5" auth_failures=1 
> duration=10 reason=CONN_FAILED
> Jun  4 20:35:22 pita wpa_supplicant[375]: wlan0: Trying to associate with 
> f8:7b:8c:19:e1:22 (SSID='LERCTR NETWORK 2.5' freq=2452 MHz)
> Jun  4 20:35:22 pita kernel: iwm0: iwm_update_edca: called
> Jun  4 20:35:32 pita wpa_supplicant[375]: wlan0: Authentication with 
> f8:7b:8c:19:e1:22 timed out.
> Jun  4 20:35:32 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-DISCONNECTED 
> bssid=f8:7b:8c:19:e1:22 reason=3 locally_generated=1
> Jun  4 20:35:32 pita wpa_supplicant[375]: wlan0: 
> CTRL-EVENT-SSID-TEMP-DISABLED id=1 ssid="LERCTR NETWORK 2.5" auth_failures=1 
> duration=10 reason=CONN_FAILED
> Jun  4 20:35:35 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-SSID-REENABLED 
> id=0 

WPA_SUPPLICANT, auth timeouts

2016-06-04 Thread Larry Rosenman
When I'm sitting in my living room, the IWM (7160) card seems(!) to have issues 
connecting.

As soon as I walk into the room with the AP, it connects right up and will then 
stay connected. 

Ideas?



Jun  4 20:01:17 pita pkg: wpa_supplicant reinstalled: 2.5_2 -> 2.5_2 
Jun  4 20:26:26 pita wpa_supplicant[367]: wlan0: WPA: Group rekeying completed 
with bc:ee:7b:6f:41:bc [GTK=CCMP]
Jun  4 20:33:13 pita kernel: iwm0:  mem 
0xdf20-0xdf201fff irq 17 at device 0.0 on pci5
Jun  4 20:33:13 pita kernel: iwm0: revision: 0x140, firmware 25.228 (API ver. 9)
Jun  4 20:33:13 pita kernel: iwm0: iwm_update_edca: called
Jun  4 20:34:24 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-DISCONNECTED 
bssid=bc:ee:7b:6f:41:b8 reason=0
Jun  4 20:34:24 pita wpa_supplicant[375]: ioctl[SIOCS80211, op=20, val=0, 
arg_len=7]: Can't assign requested address
Jun  4 20:34:24 pita wpa_supplicant[375]: ioctl[SIOCS80211, op=103, val=0, 
arg_len=128]: Operation now in progress
Jun  4 20:34:24 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 
retry=1
Jun  4 20:34:25 pita wpa_supplicant[375]: ioctl[SIOCS80211, op=103, val=0, 
arg_len=128]: Operation now in progress
Jun  4 20:34:25 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 
retry=1
Jun  4 20:34:26 pita wpa_supplicant[375]: ioctl[SIOCS80211, op=103, val=0, 
arg_len=128]: Operation now in progress
Jun  4 20:34:26 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 
retry=1
Jun  4 20:34:27 pita wpa_supplicant[375]: ioctl[SIOCS80211, op=103, val=0, 
arg_len=128]: Operation now in progress
Jun  4 20:34:27 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 
retry=1
Jun  4 20:34:28 pita wpa_supplicant[375]: ioctl[SIOCS80211, op=103, val=0, 
arg_len=128]: Operation now in progress
Jun  4 20:34:28 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 
retry=1
Jun  4 20:34:29 pita kernel: iwm0: device timeout
Jun  4 20:34:29 pita kernel: iwm0: dumping device error log
Jun  4 20:34:29 pita kernel: iwm0: errlog not found, skipping
Jun  4 20:34:32 pita wpa_supplicant[375]: wlan0: Trying to associate with 
bc:ee:7b:6f:41:bc (SSID='LERCTR NETWORK 5' freq=5765 MHz)
Jun  4 20:34:32 pita kernel: iwm0: iwm_update_edca: called
Jun  4 20:34:42 pita wpa_supplicant[375]: wlan0: Authentication with 
bc:ee:7b:6f:41:bc timed out.
Jun  4 20:34:42 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-DISCONNECTED 
bssid=bc:ee:7b:6f:41:bc reason=3 locally_generated=1
Jun  4 20:34:44 pita wpa_supplicant[375]: wlan0: Trying to associate with 
f8:7b:8c:19:e1:22 (SSID='LERCTR NETWORK 2.5' freq=2452 MHz)
Jun  4 20:34:44 pita kernel: iwm0: iwm_update_edca: called
Jun  4 20:34:55 pita wpa_supplicant[375]: wlan0: Authentication with 
f8:7b:8c:19:e1:22 timed out.
Jun  4 20:34:55 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-DISCONNECTED 
bssid=f8:7b:8c:19:e1:22 reason=3 locally_generated=1
Jun  4 20:34:57 pita wpa_supplicant[375]: wlan0: Trying to associate with 
00:0e:8e:1f:43:17 (SSID='LERCTR GUEST' freq=2427 MHz)
Jun  4 20:34:57 pita kernel: iwm0: iwm_update_edca: called
Jun  4 20:35:07 pita wpa_supplicant[375]: wlan0: Authentication with 
00:0e:8e:1f:43:17 timed out.
Jun  4 20:35:07 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-DISCONNECTED 
bssid=00:0e:8e:1f:43:17 reason=3 locally_generated=1
Jun  4 20:35:10 pita wpa_supplicant[375]: wlan0: Trying to associate with 
bc:ee:7b:6f:41:bc (SSID='LERCTR NETWORK 5' freq=5765 MHz)
Jun  4 20:35:10 pita kernel: iwm0: iwm_update_edca: called
Jun  4 20:35:20 pita wpa_supplicant[375]: wlan0: Authentication with 
bc:ee:7b:6f:41:bc timed out.
Jun  4 20:35:20 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-DISCONNECTED 
bssid=bc:ee:7b:6f:41:bc reason=3 locally_generated=1
Jun  4 20:35:20 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED 
id=0 ssid="LERCTR NETWORK 5" auth_failures=1 duration=10 reason=CONN_FAILED
Jun  4 20:35:22 pita wpa_supplicant[375]: wlan0: Trying to associate with 
f8:7b:8c:19:e1:22 (SSID='LERCTR NETWORK 2.5' freq=2452 MHz)
Jun  4 20:35:22 pita kernel: iwm0: iwm_update_edca: called
Jun  4 20:35:32 pita wpa_supplicant[375]: wlan0: Authentication with 
f8:7b:8c:19:e1:22 timed out.
Jun  4 20:35:32 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-DISCONNECTED 
bssid=f8:7b:8c:19:e1:22 reason=3 locally_generated=1
Jun  4 20:35:32 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED 
id=1 ssid="LERCTR NETWORK 2.5" auth_failures=1 duration=10 reason=CONN_FAILED
Jun  4 20:35:35 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-SSID-REENABLED id=0 
ssid="LERCTR NETWORK 5"
Jun  4 20:35:35 pita wpa_supplicant[375]: wlan0: Trying to associate with 
00:0e:8e:1f:43:17 (SSID='LERCTR GUEST' freq=2427 MHz)
Jun  4 20:35:35 pita kernel: iwm0: iwm_update_edca: called
Jun  4 20:35:45 pita wpa_supplicant[375]: wlan0: Authentication with 
00:0e:8e:1f:43:17 timed out.
Jun  4 20:35:45 pita wpa_supplicant[375]: wlan0: CTRL-EVENT-DISCONNECTED 
bssid=00:0e:8e:1f:43:17 reason=3 locally_generated=1
Jun  4 20:35:45 pita wpa_supplicant[375]

CURRENT && BCM4312

2016-06-04 Thread Matthias Apitz

Hello,

I have updated an older Acer Aspire One laptop to a recent CURRENT r300951.
Should the BCM4312 now working? It says in dmesg:

$ dmesg | fgrep bwn0
siba_bwn0:  mem 0x5710-0x57103fff irq 
16 at device 0.0 on pci1
bwn0 on siba_bwn0
bwn0: WLAN (chipid 0x4312 rev 15) PHY (analog 6 type 5 rev 1) RADIO (manuf 
0x17f ver 0x2062 rev 2)
bwn0: DMA (64 bits)
bwn0: Using 1 MSI messages

$ ifconfig wlan0
wlan0: flags=8802 metric 0 mtu 1500
ether 90:4c:e5:00:06:ce
nd6 options=29
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid "" channel 1 (2412 MHz 11b)
regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 7
scanvalid 60 wme bintval 0
groups: wlan 

in /etc/rc.conf I have:

wlans_bwn0="wlan0"
ifconfig_wlan0="WPA DHCP"

Do I miss anything? Thanks

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
"Die Verkaufsschlager des Buchmarkts geben Auskunft über den Zustand einer 
Gesellschaft bzw.
sind, was diese Zeiten angeht, Gradmesser fortschreitenden Schwachsinns. ..." 
(jW 19.05.2016)
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2016-06-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745

--- Comment #31 from Hans Petter Selasky  ---
Some headsets use mpeg4. I need some help to support that.

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2016-06-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745

--- Comment #30 from Adrian Chadd  ---
I hacked on the negotiation bits after reading the spec.

The spec mandates SBC, but the initial config fetch doesn't return SBC. It's
returning some non-mandatory codec. I'm not sure if we have to ask it another
way or not.

I overrode some things, and it fails the set_configuration call, but the
headset makes the "i'm ready!" noise. So something's happening.

backend_bt: media: 0x4
backend_bt: No frequency and mode match (avail=0x00 freqmode=0x12, freq=3,
chmode=2
backend_bt: sending config: freq=12, blk=15, supmin=23, supmax=23
backend_bt: OPEN FAILED
backend_bt: info: len=19
backend_bt: i=2: 0x1 0x0 0x7 0x9 0x0 0xff
backend_bt: media: 0x1
backend_bt: i=4: 0x7 0x9 0x0 0xff 0x4f 0x0
backend_bt: media: 0x7
backend_bt: codec : 0xff
backend_bt: i=15: 0x4 0x2 0x2 0x0 0x0 0x0
backend_bt: media: 0x4
backend_bt: No frequency and mode match (avail=0x00 freqmode=0x12, freq=3,
chmode=2
backend_bt: sending config: freq=12, blk=15, supmin=23, supmax=23
backend_bt: OPEN FAILED
^C

I'll read the error values back from the call soon and see what's going on.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2016-06-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745

--- Comment #29 from Adrian Chadd  ---
It's odd; it's decoding it as "codecType 0xff" and then "contentprotection",
with no SBC codec. What's the story? I thought SBC was mandated.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


[Bug 203745] A2DP Support for Bluetooth Headphone Audio

2016-06-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203745

Adrian Chadd  changed:

   What|Removed |Added

 Status|In Progress |Open
 CC||adr...@freebsd.org

--- Comment #28 from Adrian Chadd  ---
Two problems:

* it's choppy on atheros bluetooth with -s 1024, I need -s 4096 for it to not
sound choppy. it sonuds like wifi beacons are interfering but it happens when I
disable beacons/wifi!

* I can't talk to a pair of B&W P5 headphones:

root@gertrude:/home/adrian/svn/virtual_oss # ./run ubt0hci ec:66:d1:83:e5:22
hw.snd.basename_clone: 0 -> 1
hw.snd.basename_clone: 1 -> 0
backend_bt: 0x1 0x0 0x7 0x9 0x0 0xff
backend_bt: 0x7 0x9 0x0 0xff 0x4f 0x0
backend_bt: 0x4 0x2 0x2 0x0 0x0 0x0
backend_bt: No frequency and mode match (avail=0x00 freqmode=0x12, freq=3,
chmode=2
backend_bt: 0x1 0x0 0x7 0x9 0x0 0xff
backend_bt: 0x7 0x9 0x0 0xff 0x4f 0x0
backend_bt: 0x4 0x2 0x2 0x0 0x0 0x0
backend_bt: No frequency and mode match (avail=0x00 freqmode=0x18, freq=3,
chmode=0
backend_bt: AUTOCONFIG FAILED
backend_bt: 0x1 0x0 0x7 0x9 0x0 0xff
backend_bt: 0x7 0x9 0x0 0xff 0x4f 0x0
backend_bt: 0x4 0x2 0x2 0x0 0x0 0x0
backend_bt: No frequency and mode match (avail=0x00 freqmode=0x12, freq=3,
chmode=2
backend_bt: 0x1 0x0 0x7 0x9 0x0 0xff
backend_bt: 0x7 0x9 0x0 0xff 0x4f 0x0
backend_bt: 0x4 0x2 0x2 0x0 0x0 0x0
backend_bt: No frequency and mode match (avail=0x00 freqmode=0x18, freq=3,
chmode=0
backend_bt: AUTOCONFIG FAILED

..

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"