From owner-freebsd-bugbusters@FreeBSD.ORG Mon Mar 31 23:47:48 2008 Return-Path: Delivered-To: freebsd-bugbusters@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B3EF1065673 for ; Mon, 31 Mar 2008 23:47:48 +0000 (UTC) (envelope-from kvilius.simas@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.186]) by mx1.freebsd.org (Postfix) with ESMTP id EAC4D8FC29 for ; Mon, 31 Mar 2008 23:47:47 +0000 (UTC) (envelope-from kvilius.simas@gmail.com) Received: by rv-out-0910.google.com with SMTP id g13so1217482rvb.43 for ; Mon, 31 Mar 2008 16:47:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=ltoxmwqFd5ZOWDo4pXTtKCGcNuQB6IqDdJ/Gmha3QPg=; b=t4RSzE3RDetnYhW/Zicd1QAdBwirU+VDxRUW0Ck7I84G116IbZXgIxGBzTeyJN10GsH7lhChyKDRpMvOJsLiJ7iaWvvcuwXMqsLA8oBuGZ91faDlOjQYAnkXh2Ffx1rXVE4Yudu/xKMcUeiLwwGjoDb8RDmxtH6+cEfiW+k3r3U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=mvOlqIF+4tPyonkRZ5At0BZJM1Dk6DRyBGLRA76trqhB8aW8e4aAJ6ZrlA/qLvk0sf/GxoeQhPr5HVoTavmu42gI6+89UKrJrXlFclizFW6xk7vXYtnxdxAqpg6Wu1ZdaQyJ7ZR39AyddaT+U1gnFutqPbTYAfese2CL5gC5W54= Received: by 10.140.165.21 with SMTP id n21mr2720926rve.289.1207005789309; Mon, 31 Mar 2008 16:23:09 -0700 (PDT) Received: by 10.141.49.9 with HTTP; Mon, 31 Mar 2008 16:23:03 -0700 (PDT) Message-ID: Date: Tue, 1 Apr 2008 02:23:03 +0300 From: "Simas Kvilius" To: freebsd-bugbusters@freebsd.org, freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: wi driver ad-hoc demo mode X-BeenThere: freebsd-bugbusters@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Coordination of the Problem Report handling effort." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2008 23:47:48 -0000 I'm using old Lucent orinoco wireless card in ad-hoc demo mode. It seems someone forgot to implement ad-hoc demo mode in the newest wi driver (driver which comes with RELENG7). I added following statement to if_wi.c line 407 to indicate, that my card supports ad-hoc demo mode (someone definitely forgot to include this): ic->ic_caps |= IEEE80211_C_AHDEMO; Now I can enable ad-hoc demo mode using ifconfig utility (with command ifconfig wi0 mode 11b media DS/11Mbps mediaopt adhoc mediaopt flag0), but it seems there is another bug. Now I cannot change radio channel (nic is always stuck in channel 3, i think this channel is hardcoded as default ibss channel inside my nic). Could anyone fix this bug with channels (I tried to figure out where problem is, but it seems I'm to lame to do kernel hacking of this level by myself). My card was working fine with FreeBSD 5.1 (both with ifconfig and wicontrol tools) and Linux. Regards, Simas