From owner-freebsd-net@FreeBSD.ORG Mon Mar 31 23:50:41 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACD3C106564A for ; Mon, 31 Mar 2008 23:50:41 +0000 (UTC) (envelope-from kvilius.simas@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6FF0A8FC2B for ; Mon, 31 Mar 2008 23:50:41 +0000 (UTC) (envelope-from kvilius.simas@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so2669988pyb.10 for ; Mon, 31 Mar 2008 16:50:40 -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-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2008 23:50:41 -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