From owner-freebsd-stable@FreeBSD.ORG Mon Feb 24 15:53:49 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 54B234F2; Mon, 24 Feb 2014 15:53:49 +0000 (UTC) Received: from mail-qc0-x22f.google.com (mail-qc0-x22f.google.com [IPv6:2607:f8b0:400d:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 004BC166B; Mon, 24 Feb 2014 15:53:48 +0000 (UTC) Received: by mail-qc0-f175.google.com with SMTP id e16so2158939qcx.6 for ; Mon, 24 Feb 2014 07:53:48 -0800 (PST) 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=6Py68FAz+5na1XPGLabNRnu3MnZFfT5S0Ndy8DxGTek=; b=KLVyd+QwHPO+M+h4vJcP94s/scgd7tyMoLohKz+jAIA5Dawd6y3F24JBxgQNiiZijy y9WqNlSM2DcCXm4LatHKh/XTpbPvcDEDBuNEObLO7K3PM375DrbZYfauVpVQCHgWecPJ K3cTmXEUme6rR6UuInDkRe1yAh+rFsmCJP+kPbVOaLHwaB7NaKize2TkIJBZEyTkwFJR gQ/VLXYVOauaR9txhyCb/lI92EahNURRsbbsnyfdVl7oiBrEjZnTy0DuhxtDaJSbVNkY gjZvYS8gz/tZLpPhX2PQvDyH2Ndsg4L/D6nnZTnwWDyM2ANYs/rdaGgcC6gVXq9un46T S/wg== MIME-Version: 1.0 X-Received: by 10.224.121.137 with SMTP id h9mr31083234qar.55.1393257228239; Mon, 24 Feb 2014 07:53:48 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.16.10 with HTTP; Mon, 24 Feb 2014 07:53:48 -0800 (PST) In-Reply-To: References: Date: Mon, 24 Feb 2014 07:53:48 -0800 X-Google-Sender-Auth: b-W2tfpKyivbrrhoH_Mzgt70jUQ Message-ID: Subject: Re: WiFi configuration From: Adrian Chadd To: Michael BlackHeart Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-wireless@freebsd.org" , freebsd-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2014 15:53:49 -0000 Hi, It's a hold-over from what wifi will let you get away with. Just stick to 1500 and let the 802.11n A-MPDU aggregate things as appropriate. -a On 24 February 2014 00:56, Michael BlackHeart wrote: > > > > 2014-02-24 10:35 GMT+04:00 Adrian Chadd : > >> Hi >> >> all you need is: >> >> interface=wlan0 >> driver=bsd >> ssid=CACHEBOY_11N_1 >> wpa=3 >> wpa_key_mgmt=WPA-PSK >> wpa_passphrase=PasswordGoesHere >> wpa_pairwise=CCMP >> ctrl_interface=/var/run/hostapd >> >> >> I haven't tried running the wifi with an mtu greater than the default >> (1500). Why are you trying to do this? >> > > As far I understand MTU 2290 is native to wireless/ath/freebsd driver. > > Look at this > ath0: flags=8843 metric 0 mtu 2290 > ether cc:b2:55:00:68:1f > media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng > status: running > > But when freebsd creates wlan0 it's lowered to 1500. I tried with another > ath WiFi card this way - worked fine with 2290 MTU in a bridge. BTW 2290 is > max value, but it seems than noone looked into wifi MTU under freebsd, > theoretically it could be about 7k to 9k - normal jumbo frame. 2290 is some > kinda way of baby jumbo frames - they're slightly bigger than 1.5k. > > So next is the bridge. By default bridge uses the MTU of a first member, so > if it will be a stock ethernet i-face so it'll be again 1500. > > If you're asking me why am I to use increased MTU - I see it reasonable. > >> >> you also don't need to say ht, it'll automatically do ht for you. >> >> -a > > > > > -- > amd_miek > Think different. > Just superior.