From owner-freebsd-wireless@FreeBSD.ORG Sun Jun 14 13:50:22 2015 Return-Path: Delivered-To: freebsd-wireless@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BCA755FB; Sun, 14 Jun 2015 13:50:22 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-vn0-x230.google.com (mail-vn0-x230.google.com [IPv6:2607:f8b0:400c:c0f::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 75B18A93; Sun, 14 Jun 2015 13:50:22 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by vnbf129 with SMTP id f129so11938475vnb.2; Sun, 14 Jun 2015 06:50:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ZgWZmGjbE1IxXy+bpy3Yvi53Iby2hMb4QSXcaKzOVXU=; b=hrYqHuXfkJGTFLVw7Xj3Vu1+LdXnk7nyippB9gyPYrFMUl6YRwpBRy4wj5HLrKws58 lqm7M+ncgcv/yBcFoFdkLny6mv270RI1Q88GX34s4GAoCuvPzt4dcB9eyGSO21caO8zd NcJP0QvqcEUW4NufOUW3zUGeZelRoagTAe9phuxFYTjMcl0DAmVcjdjPpa6cj7Z1scL8 jOuFkIyZAsEGFpSvtOTQirw+YCcaZMgAMt9srOZPt252urqvDdtayVR/RkEIRxKFqN8k 9VyfLAYnOag5V3IV/aTCi8lqa4ZBI0ekxrwjjtUV2pvpu/9dNZq2hWmHT2g5ITfVTHsm zsBQ== MIME-Version: 1.0 X-Received: by 10.53.5.170 with SMTP id cn10mr11234215vdd.76.1434289821350; Sun, 14 Jun 2015 06:50:21 -0700 (PDT) Received: by 10.31.3.198 with HTTP; Sun, 14 Jun 2015 06:50:21 -0700 (PDT) In-Reply-To: References: <15089990.yCYE9Adp01@akita> Date: Sun, 14 Jun 2015 21:50:21 +0800 Message-ID: Subject: Re: Intel 3160/7260/7265 driver From: Ben Woods To: Rui Paulo Cc: "freebsd-wireless@freebsd.org" , "dchagin@freebsd.org" , "adrian@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2015 13:50:22 -0000 On Friday, June 5, 2015, Ben Woods wrote: > > Unfortunately, it seems to connect in 802.11b mode, >> > even though I have tried forcing it to 802.11g or 802.11n modes with >> > the following entry in /etc/rc.conf: >> > ifconfig_wlan0="mode 11n country AU channel 11 WPA DHCP" >> > >> > >> > "# service netif restart" gives the following errors: >> > ifconfig: SIOCSIFMEDIA (media): Device not configured >> > kernel: iwm0: iwm_load_firmware: chunk 0 of 3 returned error 35 >> > wpa_supplicant[1662]: ioctl[SIOCS80211, op=26, val=0, arg_len=0]: >> > Operation not supported >> > >> > >> > # ifconfig >> > iwm0: flags=8843 metric 0 mtu >> 2290 >> > ether 34:02:86:34:13:18 >> > nd6 options=29 >> > media: IEEE 802.11 Wireless Ethernet autoselect mode 11b >> > status: associated >> > wlan0: flags=8843 metric 0 mtu >> 1500 >> > ether 34:02:86:34:13:18 >> > inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255 >> > nd6 options=29 >> > media: IEEE 802.11 Wireless Ethernet autoselect mode 11b >> > status: associated >> > ssid 17aHindmarshAve channel 11 (2462 MHz 11b) bssid 04:f0:21:14:c9:7d >> > regdomain ROW country AU authmode WPA2/802.11i privacy ON >> > deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 bmiss 10 >> > scanvalid 60 roaming MANUAL >> > groups: wlan >> > >> > >> > Note that the new Lenovo X1 Carbon gen3 has the same hardware, so >> > should give similar results. >> >> I'm not sure it's doing 11b. It's all firmware based, so it's probably >> doing >> 11g, but we're reporting it incorrectly. >> >> -- >> Rui Paulo >> > > The transfer speeds I am achieving support the theory that it is only > operating in 802.11b mode. > > I am achieving up to 600kB/s when I use fetch(1) to transfer a file from > an NFS mount, compared to 2000kB/s when I use my USB wifi dongle in 802.11g > mode with the run(4) driver. > > Regards, > Ben > Today I have updated my iwm driver to commit 7134abba35, and noticed 2 major improvements: 1. The driver now reports as using 802.11g 2. I now get between 1MBps and 1.2MBps download Nice improvements! Thanks again :) Regards, Ben -- -- From: Benjamin Woods woodsb02@gmail.com