From nobody@FreeBSD.org  Sun Nov 13 11:37:47 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A5FD416A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 Nov 2005 11:37:47 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4972A43D4C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 Nov 2005 11:37:47 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id jADBbk0M034780
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 Nov 2005 11:37:46 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id jADBbkKl034779;
	Sun, 13 Nov 2005 11:37:46 GMT
	(envelope-from nobody)
Message-Id: <200511131137.jADBbkKl034779@www.freebsd.org>
Date: Sun, 13 Nov 2005 11:37:46 GMT
From: Li RUi jiang <lithium7456@sohu.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ipw can not work in adhoc mode
X-Send-Pr-Version: www-2.3

>Number:         88917
>Category:       kern
>Synopsis:       [ipw] ipw can not work in adhoc mode
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 13 11:40:22 GMT 2005
>Closed-Date:    Fri Sep 01 22:21:34 GMT 2006
>Last-Modified:  Fri Sep 01 22:21:34 GMT 2006
>Originator:     Li RUi jiang
>Release:        6.0
>Organization:
Fudan university,ShangHai,China
>Environment:
FreeBSD lith.3322.org 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Fri Nov  4 04:19:50 CST 2005     root@:/usr/obj/usr/src/sys/CUSTOM_6  i386

>Description:
The machine running windows is set to adhoc mode. 
ssid is cat

On FreeBSD machine, I type:
----------------------------------
ipwcontrol -f /usr/local/share/ipw-firmware/ipw-i.fw
ifconfig ipw0 mediaopt adhoc
ifconfig ipw0 ssid cat
ifconfig ipw0 192.168.0.1 netmask 255.255.255.0
ifconfig ipw0 up
-------------------------------------
the led of wireless is on. 

then the windows machine says that it has detected a wireless network..
I choose join..and it said that the signal is very good.

But the windows machine can not receive any packet...and it was sending packet
continual. 

when I
---------------------
sysctl net.wlan.debug=-1
sysctl net.wlan.0.debug=-1
--------------------
the first tty said that:

"discard frame, not to bss"

continual
-------------------------------------
I am sure that my wireless card is good, and the windows machine's setting is right,
because the wireless worked when I run Windows.

My machine is 

IBM thinkpad T42
and my wireless card is 

ipw0: <Intel(R) PRO/Wireless 2100 MiniPCI> mem 0xc0210000-0xc0210fff irq 11 at device 2.0 on pci2
ipw0: Ethernet address:xxxxxxxxxx

>How-To-Repeat:
The machine running windows is set to adhoc mode. 
ssid is cat

On FreeBSD machine, I type:
----------------------------------
ipwcontrol -f /usr/local/share/ipw-firmware/ipw-i.fw
ifconfig ipw0 mediaopt adhoc
ifconfig ipw0 ssid cat
ifconfig ipw0 192.168.0.1 netmask 255.255.255.0
ifconfig ipw0 up
-------------------------------------
the led of wireless is on. 

then the windows machine says that it has detected a wireless network..
I choose join..and it said that the signal is very good.

But the windows machine can not receive any packet...and it was sending packet
continual. 

when I
---------------------
sysctl net.wlan.debug=-1
sysctl net.wlan.0.debug=-1
--------------------
the first tty said that:"discard frame, not to bss"continual

 
>Fix:
              
>Release-Note:
>Audit-Trail:

From: Denis Shaposhnikov <dsh@vlink.ru>
To: bug-followup@FreeBSD.org, lithium7456@sohu.com
Cc:  
Subject: Re: kern/88917: [ipw] ipw can not work in adhoc mode
Date: Sat, 01 Jul 2006 19:02:24 +0400

 Hi!
 
 Could you try a patch from kern/84861?
 
 -- 
 DSS5-RIPE DSS-RIPN 2:550/5068@fidonet 2:550/5069@fidonet
 xmpp:dsh@vlink.ru mailto:dsh@vlink.ru http://neva.vlink.ru/~dsh/
State-Changed-From-To: open->closed 
State-Changed-By: sam 
State-Changed-When: Fri Sep 1 22:20:18 UTC 2006 
State-Changed-Why:  
this is a dup of kern/84861; consolidate 

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