From owner-freebsd-current@freebsd.org Fri Jun 1 19:40:07 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EFBF0EFD8EE for ; Fri, 1 Jun 2018 19:40:06 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-vk0-x234.google.com (mail-vk0-x234.google.com [IPv6:2607:f8b0:400c:c05::234]) (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 8799E6EE06 for ; Fri, 1 Jun 2018 19:40:06 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-vk0-x234.google.com with SMTP id x66-v6so16219015vka.11 for ; Fri, 01 Jun 2018 12:40:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=HSW0Q81giaB91AG+fWo4ddyXiGZ4yl62HEjkstbxP3Y=; b=bryJIoOTr6KwRA+5o5sEnRnWrq+nTjLlKvBK9/2kDxzamAyVFMpDvuKJF3ioQq0MGU chV6356DDZXytvS9t4uHvSTZZas/Q8ZrE6fL28LdbtEyYIeDztP0BE4XCOqSdZ2ycqxr HXlCwI8AgHR/EO30uJV7AKXJutL3jtsdpR6dgPdyZKz4e9w/LkYvYh2kG2BaxaevpjmM OWsLF8JJn8eoN10N0QyF8VdVyy2X/xG9ivOjxfaHrRmMAUpRSdTHL2v1jv+yTcDhpiRi AtqgLYRcmaFGxoM2WSWK/Y85krWiYdfjQ+K1CwtYruInHCwENZ1IXYkk6ABFzrN2e74+ Q1Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=HSW0Q81giaB91AG+fWo4ddyXiGZ4yl62HEjkstbxP3Y=; b=o5IVmNyQtDxZByDf1Un0GRtKBs/vzluwhr8TEgKKQhUd+NNOcIMM/G2UU1wqfZ+/k7 KicqjOFuaxPc9u/nE0UOyQhtqTu3CiofBvcCNP7IZOmsyZrenpknRotVQGBY3x1lfsfn p6otujy0vrc+j9/VlnziVgukVfZqWLUoqWBTgbQu9MlssxYmwZC36UDsg2JJ5KrLAxjG fqhkJE2tAcw0knJ1rgPAdnoUpDKd0R8WLSx0e5lB4qMZNVRfxmPbwMAlyof8gqBkcF5c R5SqHR8rbaLG8ZAkkiJcXlZuwpkgUsX5oXRKMU2sQFE+M/BaHKIQyfPkTQrV2GAeRVsQ k5hA== X-Gm-Message-State: APt69E3WB+rbzJYyH/O+wYPbll22LglTns0hE/JjNRDmh0Jb3t7byeQ4 3jENLVN+6cXi1LQ+7YoeDasrcoZtokDta9oUTytTEbkf X-Google-Smtp-Source: ADUXVKJ2QI1VduzQ4a4qj4NYuNsaTAJYABZdVtRMGPfbhXszuz3SiRGcmz02Z4ZE8Ygb+ohkIcB9KLgxcbDhaP5Zm3c= X-Received: by 2002:a1f:2444:: with SMTP id k65-v6mr2272911vkk.115.1527882005866; Fri, 01 Jun 2018 12:40:05 -0700 (PDT) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 2002:a67:8f05:0:0:0:0:0 with HTTP; Fri, 1 Jun 2018 12:40:05 -0700 (PDT) In-Reply-To: <20180601091031.72u7tqfkatsl3guh@kazhap> References: <20180601091031.72u7tqfkatsl3guh@kazhap> From: Kevin Oberman Date: Fri, 1 Jun 2018 12:40:05 -0700 X-Google-Sender-Auth: p1x4kSqZbnOqbmYbr9zE8dPVyE0 Message-ID: Subject: Re: Can't seem to use 5GHz APs with Intel wireless To: Dhananjay Balan Cc: FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2018 19:40:07 -0000 On Fri, Jun 1, 2018 at 2:10 AM, Dhananjay Balan wrote: > Hi, > > (Apologies if this is the wrong list, please point me at the right one if > you know) > > I run 12-CURRENT (r334442) on a Thinkpad X230. This machine has an Intel > Centrino Advanced N 6205. But freebsd only uses in in 11g mode. When I > try to scan, it won't even display 5GHz aps. > > > wlan0: flags=8843 metric 0 mtu > 1500 > ether a4:4e:31:02:70:3c > inet 192.168.1.108 netmask 0xffff0000 broadcast 192.168.255.255 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet MCS mode 11ng > status: associated > ssid SSID channel 7 (2442 MHz 11g ht/20) bssid bc:8a:e8:0b:a9:3f > regdomain FCC4 country DE authmode WPA2/802.11i privacy ON > deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 10 scanvalid 60 > protmode CTS ampdulimit 32k ampdudensity 16 -amsdutx amsdurx > shortgi > -stbc -ldpc wme roaming MANUAL > groups: wlan > > > > From reading man pages, I can see that iwn(4) supports 11n. Is it > really supprted? What can I do to enable 11n? > > > Here are my configs > > /etc/rc.conf > wlans_iwn0="wlan0" > ifconfig_wlan0="ssid SSID WPA SYNCDHCP" > > > /etc/wpa_supplicant.conf > ctrl_interface=/var/run/wpa_supplicant > eapol_version=2 > ap_scan=1 > fast_reauth=1 > > network={ > ssid="SSID" > scan_ssid=0 > psk="PSK" > priority=5 > } > > > /boot/loader.conf > # wifi > if_iwn_load="YES" > iwn1000fw_load="YES" > iwn100fw_load="YES" > iwn105fw_load="YES" > iwn135fw_load="YES" > iwn2000fw_load="YES" > iwn2030fw_load="YES" > iwn4965fw_load="YES" > iwn5000fw_load="YES" > iwn5150fw_load="YES" > iwn6000fw_load="YES" > iwn6000g2afw_load="YES" > iwn6000g2bfw_load="YES" > iwn6050fw_load="YES" > ___________________ > First, if you are using GENERIC, the driver and firmware are either in the kernel (driver) or auto-loaded. Yo should not have anything about this in your loader.conf. As far as other configuration goes, rc.local should not need (or want) the SSID. That is why it is in wpa_supplicant.conf. All global wpa_supplicant global definition is not needed except for eapol_version=2 as 1 is default. Normally teh default works, but some APs insist on V2. Still, it should not hurt to define everything. I do find the iwn driver to be pretty poor and sometimes a bit unstable, but it does work. I have 11n and 54 MHz working. what do you see with 'ifconfig wlan0 list aps'? If 54M is available, it should show up. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683