From owner-freebsd-wireless@FreeBSD.ORG Fri Aug 22 17:45:25 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 99B2220B for ; Fri, 22 Aug 2014 17:45:25 +0000 (UTC) Received: from mail-qc0-x233.google.com (mail-qc0-x233.google.com [IPv6:2607:f8b0:400d:c01::233]) (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 5B1533FD5 for ; Fri, 22 Aug 2014 17:45:25 +0000 (UTC) Received: by mail-qc0-f179.google.com with SMTP id m20so10989742qcx.24 for ; Fri, 22 Aug 2014 10:45:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=ZvFH7cWRCRDcPy0jya70y3KlHWSAfhjIU84vhAJ7/Fk=; b=XKGvRK0vhciDfDc2qzMOv47lR83OJx6bDMiPT5GRcmJ0ZV7ZkqPDraLngHh1xtPBzC EbVWLtz6BCWAxxLlEF/qW8zafSo85BtX8EcfLnzByiuHG1leE3OfyXUX+HHXDshPaXHV DbbWMoKu91catmxOy6iAuJnPd572C+tqpUQ0gWlcVhhAf4Y/4QWI53mGm0fPXhYH2PYl gzJYaGy4XSFZ+v3la7OokX4S0FkWiaY+P0LrC1SN+khQmLrZSLkjFVFwHClQ0yWA3R01 R6X1WBBdtlnySPEkAyjeDtWpmHvYB0uaG6z4SEq8MeWIneeDm5zgW//bP7j3h3n0zYri fU2g== MIME-Version: 1.0 X-Received: by 10.224.36.4 with SMTP id r4mr6157544qad.69.1408729524400; Fri, 22 Aug 2014 10:45:24 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.39.139 with HTTP; Fri, 22 Aug 2014 10:45:24 -0700 (PDT) In-Reply-To: References: Date: Fri, 22 Aug 2014 10:45:24 -0700 X-Google-Sender-Auth: WYGYfRpuO-CltQtHfVEZDT5FRxI Message-ID: Subject: Re: enabling HT mode on ath 938x and WPA question From: Adrian Chadd To: Peter Lai Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-wireless@freebsd.org" 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 17:45:25 -0000 Hi, I'm confused. It should just default to 11n. Are you actually setting a channel when you create the VAP, or are you leaving it blank so it picks a channel? -a On 22 August 2014 08:40, Peter Lai wrote: > 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 > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"