From owner-freebsd-wireless@FreeBSD.ORG Fri Aug 22 15:40:27 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6B7DB1EB for ; Fri, 22 Aug 2014 15:40:27 +0000 (UTC) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3F7D130FA for ; Fri, 22 Aug 2014 15:40:27 +0000 (UTC) Received: by mail-ig0-f170.google.com with SMTP id h3so1339191igd.5 for ; Fri, 22 Aug 2014 08:40:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=kSq7FxV+v555lN1tcq90nlSu0TeF4LOqEJ+iTBmG8KA=; b=jWgpPomJI38oxDbZmOWK8lwgxLn77ahq58kdPX3FAJxgk9DM8tRLgfwyaBfT5NBVEv yM/VGmVWL1pz44xcDoQ6Uc0DwFC2JEtt8lD2Wm9AL9Dofa73RSXZaEapnjb0eddHpPv+ /CSVJi/8U0TNyv/InupG9uR7eRQoub7uPbGfuAPccd9DpQukCndFtT90m12On2hXg/cd Cg8lIFiOFKXj4ZY5OG6HHYVIhRtFHG2FbGBo3AiIc/LE5M+ka/NDrVA6y/XHgfqtADTO m66MobRAiYuY8f4uj26ewfhZwFswSoFrzM1E/sNFckaNbLkNmzernBj2QXq11Rg5SYP2 ITJg== MIME-Version: 1.0 X-Received: by 10.43.107.133 with SMTP id dy5mr10250721icc.14.1408722026710; Fri, 22 Aug 2014 08:40:26 -0700 (PDT) Received: by 10.107.153.208 with HTTP; Fri, 22 Aug 2014 08:40:26 -0700 (PDT) Date: Fri, 22 Aug 2014 11:40:26 -0400 Message-ID: Subject: enabling HT mode on ath 938x and WPA question From: Peter Lai To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 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: Fri, 22 Aug 2014 15:40:27 -0000 What is the correct way to invoke HT (ng) mode on 938x cards? I have a TP LINK WDN4800, and it seems to require 2 invocations of ifconfig mode 11g to put it into ng mode. The first invocation sets it to 11g then the second one turns on 11ng/HT40+ (according to the output of ifconfig). It seems that when the card is first initialized/booted it randomly picks a band. Is there a way in rc.conf to specify this behavior? Also, when I am using hostapd, my wireless clients see the BSSID as WPA-enabled whereas yonder generic routers (linksys, 2wire, etc.) show up as WPA/WPA2 (but I only tested this with Android clients). My hostapd.conf: interface=wlan0 debug=2 #doesn't seem to do anything, how do I turn on logging to /var/log/messages ctrl_interface=/var/run/hostapd ctrl_interface_group=wheel ssid=myssid wpa=1 wpa_passphrase=mysekret wpa_key_mgmt=WPA-PSK wpa_pairwise=CCMP