From owner-freebsd-wireless@FreeBSD.ORG Mon Feb 24 08:56:40 2014 Return-Path: Delivered-To: freebsd-wireless@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 6A109A7; Mon, 24 Feb 2014 08:56:40 +0000 (UTC) Received: from mail-qc0-x22a.google.com (mail-qc0-x22a.google.com [IPv6:2607:f8b0:400d:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 06B4B192B; Mon, 24 Feb 2014 08:56:39 +0000 (UTC) Received: by mail-qc0-f170.google.com with SMTP id c9so8581100qcz.1 for ; Mon, 24 Feb 2014 00:56:39 -0800 (PST) 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=/HR5kVXJ2BBb6dsE4ynQORZ4xzOvqSqoQOJaSazB8Jk=; b=iAmr7PU8L9xiKNMwZRZuJ9OeU1EBBd0iNmW5mvX/OE5kl1K8cZmRjjAIgOF68OGCfN gQUXM6aVCcB9UXubpDHXvPCI3+wAm0feiDsmBAGLv6PpQwuPDQ1oobmMXlgCQUsh3OTP RP9Q/s7jQcbPrdJQ78dpBjb9H/jg7rZNJRY2DwPuKRC8gmvpgLWQOJpTUIv05MKWA+Jt U7ZzXZOc45ocjZ6Jw2HBPXTvKoZUqixphor854MiydwX+qFecP+86gfu5mjA2MzRSkSM W38+7mbZfwKuPwJ5oRz4hWV5TiaSwCtASWc9LaJjA3QrUkiQruZRhE1TbWYvyxHr4kyM Wwhg== MIME-Version: 1.0 X-Received: by 10.140.50.46 with SMTP id r43mr26531577qga.22.1393232199195; Mon, 24 Feb 2014 00:56:39 -0800 (PST) Received: by 10.229.154.82 with HTTP; Mon, 24 Feb 2014 00:56:39 -0800 (PST) In-Reply-To: References: Date: Mon, 24 Feb 2014 12:56:39 +0400 Message-ID: Subject: Re: WiFi configuration From: Michael BlackHeart To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-wireless@freebsd.org" , freebsd-stable X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 24 Feb 2014 08:56:40 -0000 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.