Date: Mon, 24 Feb 2014 07:53:48 -0800 From: Adrian Chadd <adrian@freebsd.org> To: Michael BlackHeart <amdmiek@gmail.com> Cc: "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>, freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: WiFi configuration Message-ID: <CAJ-Vmom9wfFp7D9in2tMCroRwnKiUpqsj2DSu0GQbpsgmOmQLw@mail.gmail.com> In-Reply-To: <CA%2BAz77MFQNhQCJ8mw_M2HnOsrVzju8pEF2Xn5=_4svmqDrX4Yg@mail.gmail.com> References: <CA%2BAz77NBr91hEHAPTBrNmuEdnhbZD%2BnywB-%2BsVvRFES8sE9Ttw@mail.gmail.com> <CAJ-VmokY3c1tRHSzk9UsBcxriHUjsmH4TEByHxXqadEy8pAyRQ@mail.gmail.com> <CA%2BAz77MFQNhQCJ8mw_M2HnOsrVzju8pEF2Xn5=_4svmqDrX4Yg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <amdmiek@gmail.com> wrote: > > > > 2014-02-24 10:35 GMT+04:00 Adrian Chadd <adrian@freebsd.org>: > >> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290 > ether cc:b2:55:00:68:1f > media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng <hostap> > 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmom9wfFp7D9in2tMCroRwnKiUpqsj2DSu0GQbpsgmOmQLw>