From nobody@FreeBSD.org  Sun Apr 10 20:52:49 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1BCDC1065670
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Apr 2011 20:52:49 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 0BED08FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Apr 2011 20:52:49 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p3AKqmuB066158
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Apr 2011 20:52:48 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p3AKqmAv066155;
	Sun, 10 Apr 2011 20:52:48 GMT
	(envelope-from nobody)
Message-Id: <201104102052.p3AKqmAv066155@red.freebsd.org>
Date: Sun, 10 Apr 2011 20:52:48 GMT
From: Lyubomir Grigorov <nm.knife@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ahdemo doesn't work with if_ath
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         156321
>Category:       kern
>Synopsis:       [ath] ahdemo doesn't work with if_ath
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-wireless
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 10 21:00:19 UTC 2011
>Closed-Date:    
>Last-Modified:  Mon Apr 11 02:58:05 UTC 2011
>Originator:     Lyubomir Grigorov
>Release:        8.2
>Organization:
>Environment:
FreeBSD  8.2-STABLE FreeBSD 8.2-STABLE #1: Fri Apr  1 19:44:47 PDT 2011     root@:/usr/obj/usr/src/sys/X60KERNEL  i386
>Description:
ahdemo does not work with if_ath properly. Cannot sniff or inject packets
when attempting - it just returns to promp without any output.

Monitor mode is fine, but it can only sniff, no inject.

I used a PCMCIA card: DWL-G650
>How-To-Repeat:
Sniffing:
$ sudo ifconfig wlan0 create wlandev ath0 wlanmode ahdemo 
$ sudo ifconfig wlan0 channel 6 up
$ sudo airodump-ng wlan0
$

Injection:
$sudo aireplay-ng -9 wlan0
$
>Fix:
People claim to have gotten if_ath to work with ahdemo, but for me it
just enters mode ahdemo and can't sniff or inject.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-wireless 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Apr 11 02:56:22 UTC 2011 
Responsible-Changed-Why:  
reassign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156321 
>Unformatted:
