I don't think so. The handbook chapter(s) on wireless need updating. :(


-adrian

On 20 July 2013 20:49, Sam Fourman Jr. <sfour...@gmail.com> wrote:
> hello wifi list,
>
> I want to test out 802.11n in hostap mode on FreeBSD, my aim is to provide
> the developers with as much feedback as I can..
>
> is there a wiki somewhere, that says how to put up a ath device in hostap
> and specifically use 802.11n (2.4 band)
> I want to know things like, what lines specifically do I put in my
> /etc/rc.conf so that it starts up on boot.
>
> What lines do I use in rc.conf to get a client to connect via 802.11n (in
> FreeBSD HEAD)
> I know ath has a manpage, but it doesn't specify any 802.11n stuff, even if
> you build -HEAD
>
>
> I have read this page, https://wiki.freebsd.org/dev/ath%284%29/80211n and
> built a kernel with the correct options..
> as you can see from the output below, using a command similar to:
> # ifconfig wlan0 channel 6:ht/40
>
>
> i am new to the whole 802.11n thing, if I have 2.4gz 11n stuff that means
> it is ht/20 only correct?
>
> I just need a bit of a primer on this whole thing, and that is why I am
> asking about a wiki page...
>
>
> here is some random output from commands I typed that should give some more
> background as to the hardware I have.
>
> root@Border:~ # dmesg | more
>
> Copyright (c) 1992-2013 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>         The Regents of the University of California. All rights reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 10.0-CURRENT #1 r253505: Sat Jul 20 17:46:47 UTC 2013
>     root@Border:/usr/obj/usr/src/sys/BORDER amd64
> FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
> WARNING: WITNESS option enabled, expect reduced performance.
> CPU: Intel(R) Core(TM)2 Quad CPU           @ 2.40GHz (2400.03-MHz K8-class
> CPU)
>   Origin = "GenuineIntel"  Id = 0x6f7  Family = 0x6  Model = 0xf  Stepping
> = 7
>
> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>   Features2=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
>   AMD Features=0x20100800<SYSCALL,NX,LM>
>   AMD Features2=0x1<LAHF>
>   TSC: P-state invariant, performance statistics
> real memory  = 8589934592 (8192 MB)
> avail memory = 7970045952 (7600 MB)
> Event timer "LAPIC" quality 400
> ACPI APIC Table: <Nvidia ASUSACPI>
> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
> FreeBSD/SMP: 1 package(s) x 4 core(s)
> ...................
>
>
> root@Border:~ # dmesg | grep ath
> ath0: <Atheros AR938x> mem 0xefac0000-0xefadffff irq 16 at device 0.0 on
> pci4
> ath0: RX status length: 48
> ath0: RX buffer size: 4096
> ath0: TX descriptor length: 128
> ath0: TX status length: 36
> ath0: TX buffers per descriptor: 4
> ath0: ath_edma_setup_rxfifo: type=0, FIFO depth = 16 entries
> ath0: ath_edma_setup_rxfifo: type=1, FIFO depth = 128 entries
> ath0: [HT] enabling HT modes
> ath0: [HT] enabling short-GI in 20MHz mode
> ath0: [HT] 1 stream STBC receive enabled
> ath0: [HT] 1 stream STBC transmit enabled
> ath0: [HT] 3 RX streams; 3 TX streams
> ath0: AR9380 mac 448.3 RF5110 phy 0.0
> ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000
> ath0: stuck beacon; resetting (bmiss count 4)
> ath0: stuck beacon; resetting (bmiss count 0)
> ath0: stuck beacon; resetting (bmiss count 0)
> ath0: stuck beacon; resetting (bmiss count 0)
> ath0: stuck beacon; resetting (bmiss count 0)
>
>
>
> root@Border:~ # ifconfig wlan0 create wlandev ath0 wlanmode hostap ssid
> FreeBSD-WIFI mode 11n up
> ifconfig: SIOCSIFMEDIA (media): Device not configured
> root@Border:~ # ifconfig wlan0
> wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         ether 7c:c3:a1:b3:fc:af
>         inet6 fe80::7ec3:a1ff:feb3:fcaf%wlan0 prefixlen 64 scopeid 0x8
>         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
>         media: IEEE 802.11 Wireless Ethernet autoselect mode 11na <hostap>
>         status: running
>         ssid FreeBSD-WIFI channel 52 (5260 MHz 11a ht/40+) bssid
> 7c:c3:a1:b3:fc:af
>         regdomain 100 indoor ecm authmode OPEN privacy OFF txpower 30
>         mcastrate 6 mgmtrate 6 scanvalid 60 ampdulimit 64k ampdudensity 8
>         shortgi wme burst dtimperiod 1 -dfs
> root@Border:~ #
>
> root@Border:~ # ifconfig wlan0 destroy
>
> root@Border:~ # ifconfig -v wlan0 list chan
> Channel   1 : 2412      MHz 11b          Channel  40 : 5200      MHz 11a
>
> Channel   1 : 2412      MHz 11g          Channel  40 : 5200      MHz 11a
> ht/20
> Channel   1 : 2412      MHz 11g ht/20    Channel  40 : 5200      MHz 11a
> ht/40-
> Channel   2 : 2417      MHz 11b          Channel  44 : 5220      MHz 11a
>
> Channel   2 : 2417      MHz 11g          Channel  44 : 5220      MHz 11a
> ht/20
> Channel   2 : 2417      MHz 11g ht/20    Channel  44 : 5220      MHz 11a
> ht/40+
> Channel   3 : 2422      MHz 11b          Channel  48 : 5240      MHz 11a
>
> Channel   3 : 2422      MHz 11g          Channel  48 : 5240      MHz 11a
> ht/20
> Channel   3 : 2422      MHz 11g ht/20    Channel  48 : 5240      MHz 11a
> ht/40-
> Channel   4 : 2427      MHz 11b          Channel  52 : 5260      MHz 11a
>
> Channel   4 : 2427      MHz 11g          Channel  52 : 5260      MHz 11a
> ht/20
> Channel   4 : 2427      MHz 11g ht/20    Channel  52 : 5260      MHz 11a
> ht/40+
> Channel   5 : 2432      MHz 11b          Channel  56 : 5280      MHz 11a
>
> Channel   5 : 2432      MHz 11g          Channel  56 : 5280      MHz 11a
> ht/20
> Channel   5 : 2432      MHz 11g ht/20    Channel  56 : 5280      MHz 11a
> ht/40-
> Channel   6 : 2437      MHz 11b          Channel  60 : 5300      MHz 11a
>
> Channel   6 : 2437      MHz 11g          Channel  60 : 5300      MHz 11a
> ht/20
> Channel   6 : 2437      MHz 11g ht/20    Channel  60 : 5300      MHz 11a
> ht/40+
> Channel   7 : 2442      MHz 11b          Channel  64 : 5320      MHz 11a
>
> Channel   7 : 2442      MHz 11g          Channel  64 : 5320      MHz 11a
> ht/20
> Channel   7 : 2442      MHz 11g ht/20    Channel  64 : 5320      MHz 11a
> ht/40-
> Channel   8 : 2447      MHz 11b          Channel 149 : 5745      MHz 11a
>
> Channel   8 : 2447      MHz 11g          Channel 149 : 5745      MHz 11a
> ht/20
> Channel   8 : 2447      MHz 11g ht/20    Channel 149 : 5745      MHz 11a
> ht/40+
> Channel   9 : 2452      MHz 11b          Channel 153 : 5765      MHz 11a
>
> Channel   9 : 2452      MHz 11g          Channel 153 : 5765      MHz 11a
> ht/20
> Channel   9 : 2452      MHz 11g ht/20    Channel 153 : 5765      MHz 11a
> ht/40-
> Channel  10 : 2457      MHz 11b          Channel 157 : 5785      MHz 11a
>
> Channel  10 : 2457      MHz 11g          Channel 157 : 5785      MHz 11a
> ht/20
> Channel  10 : 2457      MHz 11g ht/20    Channel 157 : 5785      MHz 11a
> ht/40+
> Channel  11 : 2462      MHz 11b          Channel 161 : 5805      MHz 11a
>
> Channel  11 : 2462      MHz 11g          Channel 161 : 5805      MHz 11a
> ht/20
> Channel  11 : 2462      MHz 11g ht/20    Channel 161 : 5805      MHz 11a
> ht/40-
> Channel  36 : 5180      MHz 11a          Channel 165 : 5825*     MHz 11a
>
> Channel  36 : 5180      MHz 11a ht/20    Channel 165 : 5825*     MHz 11a
> ht/20
> Channel  36 : 5180      MHz 11a ht/40+
> root@Border:~ #
>
> --
>
> Sam Fourman Jr.
> _______________________________________________
> freebsd-wireless@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
_______________________________________________
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to