From owner-freebsd-wireless@FreeBSD.ORG Sun Nov 17 04:09:31 2013 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 19B0769F for ; Sun, 17 Nov 2013 04:09:31 +0000 (UTC) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.225]) by mx1.freebsd.org (Postfix) with ESMTP id CCE2B2664 for ; Sun, 17 Nov 2013 04:09:30 +0000 (UTC) Received: from [96.28.178.143] ([96.28.178.143:37735] helo=localhost) by cdptpa-oedge01 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 86/76-16054-97148825; Sun, 17 Nov 2013 04:09:29 +0000 Date: Sun, 17 Nov 2013 04:09:29 +0000 Message-ID: <86.76.16054.97148825@cdptpa-oedge01> From: "Thomas Mueller" To: freebsd-wireless@freebsd.org References: <87.6E.31125.9DE47825@cdptpa-oedge03> Subject: Re: Question about online ath man page regarding access point X-RR-Connecting-IP: 107.14.168.118:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Sun, 17 Nov 2013 04:09:31 -0000 from Warren Block and my previous message: > "hostap" is to make a FreeBSD system with a wireless card into a > wireless router. > > Access point, if I understand correctly, would have a wired > > connection, such as cable or DSL, and the other computer, with the > > wireless adapter, would have the Atheros or other wireless adapter. > No, a router generally has at least two network interfaces. A FreeBSD > wireless router would have both wired and wireless interfaces. I have a wireless router, but not a FreeBSD wireless router as such. Wireless router has four Ethernet ports and a little antenna, is connected by an Ethernet cable to a cable modem which is in turn connected to cable jack. If this router is the access point, I guess I wouldn't use hostap on ifconfig command line. Use "wlanmode sta" in ifconfig? Tom From owner-freebsd-wireless@FreeBSD.ORG Sun Nov 17 22:17:55 2013 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 0779C122 for ; Sun, 17 Nov 2013 22:17:55 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B0F0428C2 for ; Sun, 17 Nov 2013 22:17:54 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id rAHMHqFu052963; Sun, 17 Nov 2013 15:17:52 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id rAHMHqff052960; Sun, 17 Nov 2013 15:17:52 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 17 Nov 2013 15:17:52 -0700 (MST) From: Warren Block To: Thomas Mueller Subject: Re: Question about online ath man page regarding access point In-Reply-To: <86.76.16054.97148825@cdptpa-oedge01> Message-ID: References: <87.6E.31125.9DE47825@cdptpa-oedge03> <86.76.16054.97148825@cdptpa-oedge01> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sun, 17 Nov 2013 15:17:52 -0700 (MST) Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Sun, 17 Nov 2013 22:17:55 -0000 On Sun, 17 Nov 2013, Thomas Mueller wrote: > from Warren Block and my previous message: > >> "hostap" is to make a FreeBSD system with a wireless card into a >> wireless router. > >>> Access point, if I understand correctly, would have a wired >>> connection, such as cable or DSL, and the other computer, with the >>> wireless adapter, would have the Atheros or other wireless adapter. > >> No, a router generally has at least two network interfaces. A FreeBSD >> wireless router would have both wired and wireless interfaces. > > I have a wireless router, but not a FreeBSD wireless router as such. > > Wireless router has four Ethernet ports and a little antenna, is > connected by an Ethernet cable to a cable modem which is in turn > connected to cable jack. > > If this router is the access point, I guess I wouldn't use hostap on > ifconfig command line. Use "wlanmode sta" in ifconfig? It depends on what you are trying to accomplish. Most of the time, the FreeBSD system is just a client trying to connect to the access point. This article shows how to set that up both in /etc/rc.conf and manually with commands: http://www.wonkity.com/~wblock/docs/html/wireless.html From owner-freebsd-wireless@FreeBSD.ORG Mon Nov 18 11:07:00 2013 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 412DFB37 for ; Mon, 18 Nov 2013 11:07:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2FEB320A0 for ; Mon, 18 Nov 2013 11:07:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rAIB70QO009275 for ; Mon, 18 Nov 2013 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rAIB6x04009270 for freebsd-wireless@FreeBSD.org; Mon, 18 Nov 2013 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Nov 2013 11:06:59 GMT Message-Id: <201311181106.rAIB6x04009270@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-wireless@FreeBSD.org Subject: Current problem reports assigned to freebsd-wireless@FreeBSD.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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, 18 Nov 2013 11:07:00 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/183759 wireless [iwn] [wlan] Interface dies, OACTIVE set on wlan0 o kern/183727 wireless [wlan] ENOBUFFS incorrectly returned when tx packet is o kern/183644 wireless [ath] [patch] ath(4) "stops" working o kern/183430 wireless [iwn] latest change to the rate code setup uses 11n ra o kern/183428 wireless [net80211] [iwn] Some APs seem to announce HT but no H o kern/181898 wireless [iwn] [patch] Centrino Advanced-N 6235 with latest iwn o kern/181694 wireless [iwn] [patch] Initialize hardware in iwn(4) resume cod o kern/181161 wireless [wl] config a old compaq wl-110 wireless card make ker o kern/181132 wireless [iwn] stream calculation is wrong for the Intel 4965 o kern/181100 wireless [bwi] Turning up bwi0 crashes / deadlocks the kernel o kern/180816 wireless [iwl] Intel Centrino Wireless-N 2200 not supported o kern/179847 wireless [ath] [patch] Update regdomain in ath drivers includin o kern/179709 wireless [ath] Atheros 5212 does not work: stuck beacon; resett o kern/179547 wireless [ath] Add AR9485 custom board fixes (CUS198) o kern/179482 wireless [ath] [patch] Fix AR9462 external LNA configuration o kern/179269 wireless [ath] [AR9285] RX antenna diversity is not functioning o kern/179232 wireless [ath] panic in ath o kern/178986 wireless [ath] Change mac address of ath(4) is not reflected wh o kern/178492 wireless [ath] ath0 (AR9287) panic o kern/178491 wireless [ath] ath0 (AR9287) stuck beacon o kern/178477 wireless [ath] missed beacon / soft reset in STA mode results i o kern/178470 wireless [panic][ath] bss vap can and does change o kern/178411 wireless [ral] [panic] FreeBSD kernel crash in rt2860 o kern/178379 wireless [net80211] [ath] WPA rekey on the STA side fails when o kern/178378 wireless [net80211] crypto state isn't reset during a reassocia o kern/178263 wireless [ath] review the use of ic_freq / ic_ieee / ic_flags / o kern/177847 wireless [ath] With TPC enabled, TX power values aren't clamped o kern/177846 wireless [ath] [net80211] net80211 TX power limit isn't correct o conf/177688 wireless WiFi regodmains information is inconsistent between "e o kern/177530 wireless [ath] ath driver isn't 32 bit int clean o kern/177465 wireless [iwn] 20%-100% packet loss with iwn driver o kern/177451 wireless [ieee80211] page fault in ieee80211_tx_mgt_timeout o kern/176238 wireless [ath] [patch] Correct buffer size calculation and simp o kern/176201 wireless [net80211] [patch] 11n station includes unrelated ht p o kern/176104 wireless [iwn] iwn0: iwn_intr: fatal firmware error o kern/175722 wireless [ath]lot of bad seriesx hwrate in kernel messages o kern/175446 wireless [ath] high volumes of PHY errors lead to BB/MAC hangs o kern/175227 wireless [ath] beacon timers aren't necessarily reprogrammed af o kern/175183 wireless [iwn] iwn(4) becomes unresponsive during initial confi o kern/175053 wireless [iwn] iwn firmware error on 9-stable with Ultimate-N 6 o kern/174891 wireless [ieee80211] struct ieee80211_node is freed during acti o kern/174722 wireless [wlan] can't use channel 12 and 13 (14) with my wifi i o kern/174661 wireless [wlan] lost alias on wlan interface o kern/174283 wireless [net80211] panics in ieee80211_ff_age() and ieee80211_ o kern/174276 wireless [ath] if_ath memory modified after free o kern/174273 wireless [net80211] taking down a net80211 node with active fas o kern/173917 wireless [iwn] wpa-supplicant issues on iwn o kern/173898 wireless [iwn] [patch] iwn(4) DOES support 6235 chip. o kern/173883 wireless [ath] ath0: unable to attach - pci issue? o kern/173711 wireless [ath] powerd kills ath on the Asus EeePC 1005HA o kern/173342 wireless PS-Poll isn't working o kern/173336 wireless [ath] Atheros card improper device poweroff handling o o kern/172955 wireless [ath] 11n does not work in adhoc mode o kern/172706 wireless [wpi] wpi0 fails to load firmware when using country o kern/172672 wireless [ubt] Bluetooth device recognised but not working o kern/172661 wireless hostapd(8) securing wireless adapter in HostAP mode is o kern/172338 wireless [ath] [net80211] CCMP IV transmit counters are not cor o kern/171598 wireless [ath] TP-Link TL-WN951N W-LAN PCI Adapter 300 MBit stu o kern/171235 wireless [ath] ath loses connection, system freezes on netif re o kern/170889 wireless [ath] ath driver uses some uninitilized memory o kern/170620 wireless [ath] LOR and deadlock when multiple vaps are used o kern/170573 wireless [iwi] Intel 2200BG iwi NIC hangs with need multicast c o kern/170513 wireless [ath] ath logs: ath_tx_aggr_comp_aggr: AR5416 bug: o kern/170433 wireless [ath] TX hang after a stuck beacon message with active o kern/170411 wireless [ath] Uninitialized variables in if_ath.c o kern/170397 wireless [ath] [patch] Uninitialized variables in ah_eeprom_928 o kern/170302 wireless [ath] 802.11n frames are not being transmitted with mu o kern/170281 wireless [ath] 802.11n locks up on aggregation setup (ampdutx) o kern/170098 wireless [ath] [net80211] VAPs (Virtual access points) with Ath o kern/170066 wireless [ral] ral(4) rt61pci Linksys freezes the machine as so o kern/169432 wireless [ath] BAR TX hang when aggregation session is reset du p kern/169362 wireless [ath] AR5416: radar pulse PHY errors sometimes include o kern/169336 wireless [ath] ANI isn't triggering in a busy/noisy environment o kern/169199 wireless [ath] Cannot set up static ip addresses for wireless w o kern/169084 wireless [ath] suspend/resume doesn't cause a rescan; the assoc o kern/168530 wireless [ath] Broken WEP probably o kern/168393 wireless AR9285: suspend/resume sometimes fails o kern/168170 wireless [net80211] ieee80211_send_bar() doesn't complete corre o kern/167870 wireless [ath] adhoc wifi client does not join an existing IBSS o kern/167834 wireless [ath] kickpcu; 'handled 0 packets' o kern/167828 wireless [iwn] iwn(4) doesn't recover automatically after firmw o kern/167798 wireless ifconfig(8): problem with "ifconfig list scan" command o kern/167491 wireless [ath] TID != hardware queue TID in ath_tx_aggr_comp_ag o kern/167113 wireless [ath] AR5210: "stuck" TX seems to be occuring, without o kern/167080 wireless [ath] channel switch on another VAP break channel setu o kern/166684 wireless [ath] [net80211] mgmtrate/mcastrate isn't updated base p kern/166642 wireless [ieee80211] [patch] in 802.11n mode for FreeBSD AP, ha o kern/166641 wireless [ieee80211] [patch] mbuf/cluster leak in AP mode in 80 p kern/166357 wireless [ath] 802.11n TX stall when the first frame in the BAW o kern/166286 wireless [net80211] [ath] initial switch to HT40 isn't causing p kern/166190 wireless [ath] TX hangs and frames stuck in TX queue o kern/166086 wireless [Patch][ath] Reflect state of rfkill switch in a sysct o kern/165969 wireless [ath] Slower performance in adhoc mode vs Client/AP mo o kern/165966 wireless [ath] ath0: device timeout on SMP machines due to race o kern/165895 wireless [ath] overly busy cabq can tie up all tx buffers o kern/165870 wireless [bwn] bwn driver does not attach on HP Pavilion dv9420 o kern/165866 wireless [ath] TX hangs, requiring a "scan" to properly reset t o kern/165849 wireless [ath] [hang] network ath driver freeze o kern/165595 wireless [ipw] ipw(4): Can't load firmare for ipw2200bg o kern/165543 wireless [ath] ath0 endless scanning of channels without connec o kern/165517 wireless [net80211] bgscan isn't triggered when invalid beacons o kern/165475 wireless [ath] operational mode change doesn't poke the underly o kern/165382 wireless [kernel] taskqueue_unblock doesn't unblock currently q o kern/165306 wireless [ath] race conditions between scanning and beacon time o kern/165220 wireless [ath] "ath_rx_tasklet: sc_inreset_cnt > 0; skipping" m o kern/165214 wireless [ieee80211] Kernel panic in ieee80211_output.c:2505 o kern/165212 wireless [ath] No WiFi on Acer Aspire One 751h (Atheros AR5BHB6 o kern/165149 wireless [ath] [net80211] Ping with data length more than iv_fr o kern/165146 wireless [net80211] Net802.11 Fragment number is assigned 1 (sh o kern/165060 wireless [ath] vap->iv_bss race conditions causing crashes insi o kern/165021 wireless [ath] ath device timeout during scan/attach, if wlan_c o kern/164721 wireless [ath] ath device timeouts o kern/164382 wireless [ath] crash when down/deleting a vap - inside ieee8021 o kern/164365 wireless [iwi] iwi0: UP/DOWN in o bin/164102 wireless hostapd not configured for 802.11n o kern/163759 wireless [ath] ath(4) "stops working" in hostap mode o kern/163724 wireless [mwl] [patch] NULL check before dereference o kern/163719 wireless [ath] ath interface do not receive multicast o kern/163689 wireless [ath] TX timeouts when sending probe/mgmt frames durin o kern/163574 wireless [net80211] overly-frequent HT occupancy changes o kern/163573 wireless [ath] hostap mode TX buffer hang o kern/163559 wireless [ath] kernel panic AH_DEBUG o kern/163318 wireless [ath] ath(4) stops working p kern/163312 wireless [panic] [ath driver] kernel panic: page fault with ath o kern/163237 wireless [ath] AR5416 as HostAP. Delays among clients when a cl o kern/163082 wireless [ath] ar9285 diversity fixes o kern/162648 wireless [ath] AR9227 ADC DC calibration failure o kern/162647 wireless [ath] 11n TX aggregation session / TX hang o kern/161293 wireless [iwn] hang at startup when starting network o kern/161035 wireless [ieee80211] Incorrect number describing 11ng MCS rate o kern/160391 wireless [ieee80211] [patch] Panic in mesh mode o kern/160296 wireless [zyd] [panic] 802.11 usb device reboots system on 'ifc o misc/160176 wireless [mips] [panic] Kernel panic on AR7161 platform with AR o kern/157449 wireless [ath] MAC address conflict causes system to freeze o kern/157243 wireless [ath] investigate beacon TX (AP) / RX (STA) when under o kern/156904 wireless [ath] AR9285 antenna diversity algorithm is buggy and o kern/156884 wireless [ath] ath instablity o kern/156327 wireless [bwn] bwn driver causes 20%-50% packet loss o kern/156322 wireless [wpi] no ahdemo support for if_wpi o kern/156321 wireless [ath] ahdemo doesn't work with if_ath o kern/155498 wireless [ral] ral(4) needs to be resynced with OpenBSD's to ga o kern/155100 wireless [ath] ath driver on busy channel: "stuck beacon" p kern/154598 wireless [ath] Atheros 5424/2424 can't connect to WPA network o kern/154567 wireless [ath] ath(4) lot of bad series(0) o kern/154327 wireless [ath] AR5416 in station mode hangs when transmitting f o kern/154284 wireless [ath] Modern ath wifi cards (such as AR9285) have miss o kern/154153 wireless [ath] AR5213 + MIPS + WPA group key packet corruption o kern/153594 wireless [wlan] netif/devd race o kern/153448 wireless [ath] ath networking device loses association after a o kern/152750 wireless [ath] ath0 lot of bad series hwrate o kern/151198 wireless [ath] ath/5416 fails bgscan with "ath0: ath_chan_set: o kern/149786 wireless [bwn] bwn on Dell Inspiron 1150: connections stall o kern/149516 wireless [ath] ath(4) hostap with fake MAC/BSSID results in sta o kern/149373 wireless [realtek/atheros]: None of my network card working o kern/148322 wireless [ath] Triggering atheros wifi beacon misses in hostap o kern/148317 wireless [ath] FreeBSD 7.x hostap memory leak in net80211 or At o kern/148078 wireless [ath] wireless networking stops functioning o kern/146426 wireless [mwl] 802.11n rates not possible on mwl o kern/146425 wireless [mwl] mwl dropping all packets during and after high u o kern/145826 wireless [panic] [ath] Unable to configure adhoc mode on ath0/w o kern/144987 wireless [wpi] [panic] injecting packets with wlaninject using o kern/144755 wireless [wlan] netif/devd race o bin/144109 wireless hostapd(8) uses the MAC of the wireless interface, but o conf/143079 wireless hostapd(8) startup missing multi wlan functionality p kern/140567 wireless [ath] [patch] ath is not worked on my notebook PC o kern/140245 wireless [ath] [panic] Kernel panic during network activity on o kern/137592 wireless [ath] panic - 7-STABLE (Aug 7, 2009 UTC) crashes on ne o kern/136943 wireless [wpi] [lor] wpi0_com_lock / wpi0 o kern/136836 wireless [ath] atheros card stops functioning after about 12 ho o kern/132722 wireless [ath] Wifi ath0 associates fine with AP, but DHCP or I o bin/131549 wireless ifconfig(8) can't clear 'monitor' mode on the wireless o kern/126475 wireless [ath] [panic] ath pcmcia card inevitably panics under o kern/125721 wireless [ath] Terrible throughput/high ping latency with Ubiqu o kern/125617 wireless [ath] [panic] ath(4) related panic o kern/125501 wireless [ath] atheros cardbus driver hangs o kern/125332 wireless [ath] [panic] crash under any non-tiny networking unde o kern/124767 wireless [iwi] Wireless connection using iwi0 driver (Intel 220 o kern/124753 wireless [ieee80211] net80211 discards power-save queue packets o kern/121061 wireless [ath] [panic] panic while ejecting ath(4)-adapter duri o docs/120456 wireless ath(4) needs to specify requirement on wlan_scan_sta o kern/119513 wireless [ath] [irq] inserting dlink dwl-g630 wireless card res o kern/116747 wireless [ndis] FreeBSD 7.0-CURRENT crash with Dell TrueMobile f kern/105348 wireless [ath] ath device stopps TX 183 problems total. From owner-freebsd-wireless@FreeBSD.ORG Mon Nov 18 11:07:45 2013 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 D17D4BA for ; Mon, 18 Nov 2013 11:07:45 +0000 (UTC) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.226]) by mx1.freebsd.org (Postfix) with ESMTP id 9BBC42156 for ; Mon, 18 Nov 2013 11:07:45 +0000 (UTC) Received: from [96.28.178.143] ([96.28.178.143:14227] helo=localhost) by cdptpa-oedge01 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id A0/BC-16054-BF4F9825; Mon, 18 Nov 2013 11:07:39 +0000 Date: Mon, 18 Nov 2013 11:07:39 +0000 Message-ID: From: "Thomas Mueller" To: freebsd-wireless@freebsd.org References: <87.6E.31125.9DE47825@cdptpa-oedge03> <86.76.16054.97148825@cdptpa-oedge01> Subject: Re: Question about online ath man page regarding access point X-RR-Connecting-IP: 107.14.168.118:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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, 18 Nov 2013 11:07:45 -0000 from Warren Block: > It depends on what you are trying to accomplish. Most of the time, the FreeBSD system is just a client trying to connect to the access point. This article shows how to set that up both in /etc/rc.conf and manually with commands: http://www.wonkity.com/~wblock/docs/html/wireless.html Thanks for helpful link. I don't think I can try it now. Now I can't get Internet access through the wireless router, even though the computer sees it. I now have a TPLink wireless router on order, scheduled to be delivered today. I get Internet access by directly connecting the Ethernet cable from computer to cable modem, but this is only good for one computer at a time. I was unable to connect with USB wireless adapter Hiro H50191, driver rsu, though FreeBSD recognized this adapter. I couldn't find any networks by scanning. Maybe that could be related to wireless router gradually failing? I did read the FreeBSD Handbook chapter on wireless networking, and subsequently googled for info on wi-fi setup in Linux. Tom From owner-freebsd-wireless@FreeBSD.ORG Mon Nov 18 15:48:06 2013 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 BF7109A2 for ; Mon, 18 Nov 2013 15:48:06 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 73B4A231D for ; Mon, 18 Nov 2013 15:48:06 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id rAIFm4gv059291; Mon, 18 Nov 2013 08:48:04 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id rAIFm3tY059279; Mon, 18 Nov 2013 08:48:04 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 18 Nov 2013 08:48:03 -0700 (MST) From: Warren Block To: Thomas Mueller Subject: Re: Question about online ath man page regarding access point In-Reply-To: Message-ID: References: <87.6E.31125.9DE47825@cdptpa-oedge03> <86.76.16054.97148825@cdptpa-oedge01> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 18 Nov 2013 08:48:04 -0700 (MST) Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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, 18 Nov 2013 15:48:06 -0000 On Mon, 18 Nov 2013, Thomas Mueller wrote: > from Warren Block: > >> It depends on what you are trying to accomplish. Most of the time, > the FreeBSD system is just a client trying to connect to the access > point. This article shows how to set that up both in /etc/rc.conf and > manually with commands: > http://www.wonkity.com/~wblock/docs/html/wireless.html > > Thanks for helpful link. I don't think I can try it now. > > Now I can't get Internet access through the wireless router, even though the computer sees it. > > I now have a TPLink wireless router on order, scheduled to be delivered today. > > I get Internet access by directly connecting the Ethernet cable from computer to cable modem, but this is only good for one computer at a time. > > I was unable to connect with USB wireless adapter Hiro H50191, driver rsu, though FreeBSD recognized this adapter. > > I couldn't find any networks by scanning. Maybe that could be related to wireless router gradually failing? That can happen. Sometimes, it's the cheap wall-wart AC adapter that fails. Sometimes the capacitors inside the router itself go bad. If you have moved equipment around, make certain the AC adapter plugged into the router is actually the right one for it. I once spent a couple of days "de-bricking" a Linksys that just would not work. It had a Linksys 9V AC adapter... that was actually from another Linksys unit. With a 12V adapter, it was fine. From owner-freebsd-wireless@FreeBSD.ORG Tue Nov 19 04:06:07 2013 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 3AC3CFE1 for ; Tue, 19 Nov 2013 04:06:07 +0000 (UTC) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.225]) by mx1.freebsd.org (Postfix) with ESMTP id E969E20EA for ; Tue, 19 Nov 2013 04:06:06 +0000 (UTC) Received: from [96.28.178.143] ([96.28.178.143:27950] helo=localhost) by cdptpa-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 85/4C-31125-7A3EA825; Tue, 19 Nov 2013 04:05:59 +0000 Date: Tue, 19 Nov 2013 04:05:59 +0000 Message-ID: <85.4C.31125.7A3EA825@cdptpa-oedge03> From: "Thomas Mueller" To: freebsd-wireless@freebsd.org References: <87.6E.31125.9DE47825@cdptpa-oedge03> <86.76.16054.97148825@cdptpa-oedge01> Subject: Re: Question about online ath man page regarding access point X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Tue, 19 Nov 2013 04:06:07 -0000 from Warren Block and my previous message: > > I now have a TPLink wireless router on order, scheduled to be delivered today. > > I get Internet access by directly connecting the Ethernet cable from computer to cable modem, but this is only good for one computer at a time. > > I was unable to connect with USB wireless adapter Hiro H50191, driver rsu, though FreeBSD recognized this adapter. > > I couldn't find any networks by scanning. Maybe that could be related to wireless router gradually failing? > That can happen. Sometimes, it's the cheap wall-wart AC adapter that > fails. Sometimes the capacitors inside the router itself go bad. > If you have moved equipment around, make certain the AC adapter > plugged into the router is actually the right one for it. I once > spent a couple of days "de-bricking" a Linksys that just would not > work. It had a Linksys 9V AC adapter... that was actually from > another Linksys unit. With a 12V adapter, it was fine. I guess you had a power shortage before you used the 12V adapter. I would use the adapter that comes with the router package. I don't really want to try the wireless with a faulty router, might fail to work when it would work with a good router. Now the new TP-Link router has arrived, but I just opened the package. Tom From owner-freebsd-wireless@FreeBSD.ORG Tue Nov 19 15:35:23 2013 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 68707F9F for ; Tue, 19 Nov 2013 15:35:23 +0000 (UTC) Received: from mail-ob0-x22b.google.com (mail-ob0-x22b.google.com [IPv6:2607:f8b0:4003:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 38D64283B for ; Tue, 19 Nov 2013 15:35:23 +0000 (UTC) Received: by mail-ob0-f171.google.com with SMTP id wp18so4121109obc.30 for ; Tue, 19 Nov 2013 07:35:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=qFrvhmvy0y6CnzeoP21oxKJo0efwitl1BgD9Zkyyfws=; b=NGuTVrblLgyWgXEING0+pYZrL5GTt6Aaaw5OfealNxSbnH5pbYhpNY7C6lewInt9Wp vVFMbfpa3dGRrcWhxRCOdPW7/r/nZuo6jfP3kZirJkGRFZtmS3favGc9ezJztjnvGcMb lFNqALyjgL9RWm0xyToOtV4PKCOyhaystclbPPVLdcWZh/p3zPk6+L2e/d+V11iqOQ+D JHGWst0UcIaft8aiRRJzJ8QdXRJri3/5hsd/TUUjPVFWMb6Ud4dJ/8iaTXDgw8GcCtcd DjvP3TfqGs4QoSDQ+a4o2QOhl+4TBkV/qat5nNf+q8hYPT8hnLqmj6at48SSpPiT2Dcu z1rQ== MIME-Version: 1.0 X-Received: by 10.182.135.194 with SMTP id pu2mr25985271obb.38.1384875322419; Tue, 19 Nov 2013 07:35:22 -0800 (PST) Received: by 10.182.95.35 with HTTP; Tue, 19 Nov 2013 07:35:22 -0800 (PST) Date: Tue, 19 Nov 2013 16:35:22 +0100 Message-ID: Subject: r257955 breaks my if_run device From: =?UTF-8?Q?Mika=C3=ABl_Urankar?= To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Tue, 19 Nov 2013 15:35:23 -0000 Hi, Please CC: me on replies, I am not subscribed to freebsd-wireless. The subject says it all, since r257955 my run device is unable to scan the network, associate to an AP, etc. The patch at [1] fixes the problem. I've put some debugging info at [2] and [3] if it has any use (wlandebug +scan +auth +assoc +debug) I'm running : FreeBSD desktop-xxx 11.0-CURRENT FreeBSD 11.0-CURRENT #5 r258085M: Wed Nov 13 10:27:33 CET 2013 mik@xxx:/usr/obj/usr/src/sys/ACHERON amd64 kernel and world in sync. my run card : run0: <1.0> on usbus3 run0: MAC/BBP RT2872 (rev 0x0202), RF RT2750 (MIMO 1T2R), address xx:xx:xx:xx:xx:xx run0: firmware RT2870 ver. 0.33 loaded Should I submit a PR? Thanks in advance, Mika=C3=ABl [1] http://mikael.urankar.free.fr/FreeBSD/if_runreg.h.patch [2] http://mikael.urankar.free.fr/FreeBSD/wlandebug.working [3] http://mikael.urankar.free.fr/FreeBSD/wlandebug.notworking From owner-freebsd-wireless@FreeBSD.ORG Tue Nov 19 20:11:03 2013 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 C309650A; Tue, 19 Nov 2013 20:11:03 +0000 (UTC) Received: from mail-qc0-x234.google.com (mail-qc0-x234.google.com [IPv6:2607:f8b0:400d:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 75B1A28ED; Tue, 19 Nov 2013 20:11:03 +0000 (UTC) Received: by mail-qc0-f180.google.com with SMTP id e16so3241973qcx.39 for ; Tue, 19 Nov 2013 12:11:02 -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:content-transfer-encoding; bh=OhvywKx7uNxUEhL2jZZXtLh0PdTuj4Daj0ZcVcGjchY=; b=g4NK8NTcnZGgUq51DnXnyMKnCNhKvt70gNNPq10FatEddvP2w5w4Maoyl4Wyg+WFwV FSLvBGnY7NnEYwVLVyxALzVD0b5gT0cz+Vh7zbH/sw5I1AkVHRzatrG3zm1NqY6WEi+s R3kHy39HlmTENAVUFaT4V22BlgCgfcOaZVS4/2JMLG3f+O6w7v9hPEb70v67liTTKzIq mRpnzSOx0BKahHXOhG4qfjrY+qonXR7GqpoGozexQXIl7GZlPJ+qERV9Khev+gkIqaax YjJbs9YQwHEzaNnOyxsP3Y3IhyJ5ubhb1sSKv+RupkqWmdeQofM9AC8+JB6O+mS1EnWL cJ6w== MIME-Version: 1.0 X-Received: by 10.224.64.200 with SMTP id f8mr46744419qai.55.1384891862496; Tue, 19 Nov 2013 12:11:02 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Tue, 19 Nov 2013 12:11:02 -0800 (PST) In-Reply-To: References: Date: Tue, 19 Nov 2013 12:11:02 -0800 X-Google-Sender-Auth: 9y7NG8Z4v07iqeB9kJog33uV1tM Message-ID: Subject: Re: r257955 breaks my if_run device From: Adrian Chadd To: =?ISO-8859-1?Q?Mika=EBl_Urankar?= , Kevin Lo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Tue, 19 Nov 2013 20:11:03 -0000 Yup Kevin? -adrian On 19 November 2013 07:35, Mika=EBl Urankar wrot= e: > Hi, > > Please CC: me on replies, I am not subscribed to freebsd-wireless. > > The subject says it all, since r257955 my run device is unable to scan > the network, associate to an AP, etc. The patch at [1] fixes the > problem. > > I've put some debugging info at [2] and [3] if it has any use > (wlandebug +scan +auth +assoc +debug) > > I'm running : FreeBSD desktop-xxx 11.0-CURRENT FreeBSD 11.0-CURRENT #5 > r258085M: Wed Nov 13 10:27:33 CET 2013 > mik@xxx:/usr/obj/usr/src/sys/ACHERON amd64 > kernel and world in sync. > > my run card : > run0: <1.0> on usbus3 > run0: MAC/BBP RT2872 (rev 0x0202), RF RT2750 (MIMO 1T2R), address > xx:xx:xx:xx:xx:xx > run0: firmware RT2870 ver. 0.33 loaded > > Should I submit a PR? > > Thanks in advance, > Mika=EBl > > [1] http://mikael.urankar.free.fr/FreeBSD/if_runreg.h.patch > [2] http://mikael.urankar.free.fr/FreeBSD/wlandebug.working > [3] http://mikael.urankar.free.fr/FreeBSD/wlandebug.notworking > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or= g" From owner-freebsd-wireless@FreeBSD.ORG Tue Nov 19 20:29:27 2013 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 9092AB22 for ; Tue, 19 Nov 2013 20:29:27 +0000 (UTC) Received: from mail-lb0-x22d.google.com (mail-lb0-x22d.google.com [IPv6:2a00:1450:4010:c04::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2286629FD for ; Tue, 19 Nov 2013 20:29:26 +0000 (UTC) Received: by mail-lb0-f173.google.com with SMTP id u14so3017244lbd.18 for ; Tue, 19 Nov 2013 12:29:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=jWc6VLp03as6qtUYatRChERqo/M1hKsIWrjoRvQWcLg=; b=NDM6YLZY6H1o1G8m50CygXJhZ2K/UcNPvpmPObjxMEfpgQCsdBelmUpvj17hLPfu4X +hW7KrXuKvJ/xXbTCkzQw8Me16QzFlMf8ZUePQedSdzBb081akH9StD7dhv+R8fIXexG RGJq93dwy6TBBd4e64kbjvob0C8rBgq4o+hZEWpLQb09j5AjZsbJXmPLRqAwdAX8eDXB M57rxaiLNqsh06q1uuI0E25kZcPJdQtW3NnQ5GG/W6FrGUQI9JmkBZAKy2WcOtrIRfu8 d0FooOxAJg3dmddTb31THsP+w4jXf/pImJgMDvGlIGwXpwswD/KHQSyKmBweQQJDKByg 7hqA== MIME-Version: 1.0 X-Received: by 10.112.154.42 with SMTP id vl10mr2382986lbb.38.1384892965056; Tue, 19 Nov 2013 12:29:25 -0800 (PST) Received: by 10.114.151.131 with HTTP; Tue, 19 Nov 2013 12:29:25 -0800 (PST) Date: Tue, 19 Nov 2013 22:29:25 +0200 Message-ID: Subject: Atheros 9271 From: Jonas Liepuonius To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.16 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Tue, 19 Nov 2013 20:29:27 -0000 Hello, So I have been thinking about starting driver development in FreeBSD. So I thought about porting some drivers from linux as a starting point. It will mainly be for the Atheros 9271 USB chip. So any comments or ideas or tips are welcome :) -- Pagarbiai, Jonas From owner-freebsd-wireless@FreeBSD.ORG Tue Nov 19 22:55:22 2013 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 E3125539 for ; Tue, 19 Nov 2013 22:55:22 +0000 (UTC) Received: from nm4-vm9.access.bullet.mail.bf1.yahoo.com (nm4-vm9.access.bullet.mail.bf1.yahoo.com [216.109.114.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7AF8123E0 for ; Tue, 19 Nov 2013 22:55:22 +0000 (UTC) Received: from [66.196.81.166] by nm4.access.bullet.mail.bf1.yahoo.com with NNFMP; 19 Nov 2013 22:53:27 -0000 Received: from [98.139.221.158] by tm12.access.bullet.mail.bf1.yahoo.com with NNFMP; 19 Nov 2013 22:53:27 -0000 Received: from [127.0.0.1] by smtp118.sbc.mail.bf1.yahoo.com with NNFMP; 19 Nov 2013 22:53:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bellsouth.net; s=s1024; t=1384901607; bh=aN6tAPvM61ycQwI9Kq9U6at7H9TDzVJ+M/a7i6tZqsI=; h=X-Yahoo-Newman-Id:Message-ID:Date:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:From:To:CC:References:Subject; b=S/TGQpyTyjp4+EfgckzpxCFzgOwWIpGGIU/eU8N9Tvo089e/5MQxTgaYQQ124Bs5eWlwUU2yFmMMesKPRhkvf0Qp5T4Yh8jQVPhY8gqd4RsntNfVU4P/64JA8ija6rq+a3fmVvd+QM96sPQ5y+hoH+689ot3kTcb1kCIaVoQUKM= X-Yahoo-Newman-Id: 187461.40439.bm@smtp118.sbc.mail.bf1.yahoo.com Message-ID: <187461.40439.bm@smtp118.sbc.mail.bf1.yahoo.com> Date: Tue, 19 Nov 2013 22:53:27 +0000 (UTC) X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: P8aqpYwVM1l.9q2BLHrwWTFAvstmFwuTydSKZ.FBWdRlRsv m4fk86N_uQRB_d8jps.wOQCPxtvbvg3xNo4WLcEXL7EV0ALNi2zcdRkXK3dT soK.TGeQ0qEs4UBIet3shAHKtwWJDUW13z2iM_DcdRjFCo4SAxCQELznJ5EM XTdYCKv0PfDHYaqsjgahflZqj8OGlkRSIzTB3iWhSNXi8CiQlAbHp7pQLh_A LzW3d8gGIIbR87.hVaJFnqD6kZf6aWrFYMhtc0LUSlaf7Y3ae7sHtuKuJK2P Y2iEiBLDcLAVzDKISw2oZgAXI3o.fjqkZG1YnMOl0WPi8CUMLz9ekCwjN11. ZzGIhY4BD7IAnfU7MnNrMW2ZdZ4GZfQnu7XLWdBzMkBJfrGMHCkzh4o5oGMZ .vZggF7u3YbKD5LPzkHXwqye9aQKKXvHp_W9.kPNYz5keQ0I3FPwnfoVmVYi pdtx.xQCrQm1G3IeFg3TdBAUg8SztrZiCv.QE2C0IhexNXzaVkBDKGaYGXsW Hv_irw7u1LdQyJKMcOL9r2Idp1xNC3x9xy60mWti24UtvZk.Hmqg7tuvBehz WGx8Z.32raxrrVtkIVb43bqX3JHnAhETo8tDi4_YZut1pgDj._8w_7_ClkQo EM0_ZdjZCgJ9hmIEadUsdb_6nKZClHh5DEjumZVBTG.RCH8ZVU5gV X-Yahoo-SMTP: Kz_aW1.swBBYof3zAD7.RWzXz9ZAQVDMml1VADsbgPT4Kq79LC0- X-Rocket-Received: from localhost (mueller6724@96.28.178.143 with ) by smtp118.sbc.mail.bf1.yahoo.com with SMTP; 19 Nov 2013 22:53:27 +0000 UTC From: "Thomas Mueller" To: freebsd-wireless@freebsd.org References: Subject: Re: Atheros 9271 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Tue, 19 Nov 2013 22:55:22 -0000 from Jonas Liepuonius : > So I have been thinking about starting driver development in FreeBSD. So I > thought about porting some drivers from linux as a starting point. It will > mainly be for the Atheros 9271 USB chip. So any comments or ideas or tips > are welcome :) > -- > Pagarbiai, > Jonas I have MSI Z77 MPOWER motherboard with onboard AR9271 quasi-USB chip and would be glad to be a tester on FreeBSD-current. Bug in re driver makes this particular version of Realtek 8111E Ethernet not work in FreeBSD or OpenBSD as of 5.3, but good in NetBSD-current amd64 and Linux. I notice NetBSD and OpenBSD have athn driver which includes AR9271. On how I update FreeBSD source tree with no Internet access through FreeBSD, I built subversion from pkgsrc on a NetBSD-current amd64 USB-stick installation, and use that successfully. With GPT, NetBSD accesses FreeBSD partition with no problem reading disklabels. OpenBSD, from live USB (http://liveusb-openbsd.sourceforge.net/), can't read my hard drive at all, due to lack of GPT support. Tom From owner-freebsd-wireless@FreeBSD.ORG Tue Nov 19 23:02:02 2013 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 2F097826 for ; Tue, 19 Nov 2013 23:02:02 +0000 (UTC) Received: from mail-qe0-x235.google.com (mail-qe0-x235.google.com [IPv6:2607:f8b0:400d:c02::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E7AA12453 for ; Tue, 19 Nov 2013 23:02:01 +0000 (UTC) Received: by mail-qe0-f53.google.com with SMTP id cy11so5528587qeb.40 for ; Tue, 19 Nov 2013 15:02:01 -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:content-transfer-encoding; bh=4WZVM74TTwXyEtlGR8FCRl+XvIZxLOMrXvZ4p1kjRUI=; b=wV1jOqMz7E8ifKnmZuUXnOKucfJ+aHI3CTqN82oGlfoBGcLUco8LoLeRVJsf+CnkEV TC3oRSA8fgIyDtpv2MSd9y8Y6zfbi6Y59IWar4MN/0AVgn5J96l9Ro1Ax74fUU8J7V3r tlwPwLrMSt1cnl2k4AOXySXtR3pX9i/faJvpG1IvDWlo57ZDduNBNrzGPceTUGh7Uqjh LYW5rUJFvjFt3qlMj0Qi3pgz39OpyvEFpyAV2+TKpYb4gyjJtQBnGRh0uOak8W6LyGsk hokgX6FrLljoOuE7mCYsFKFjKISHH4zotUzdif1PrvuEBfG3IeEelX+O9BdiJllWZfUH JZPw== MIME-Version: 1.0 X-Received: by 10.224.64.200 with SMTP id f8mr47912386qai.55.1384902121038; Tue, 19 Nov 2013 15:02:01 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Tue, 19 Nov 2013 15:02:00 -0800 (PST) In-Reply-To: <187461.40439.bm@smtp118.sbc.mail.bf1.yahoo.com> References: <187461.40439.bm@smtp118.sbc.mail.bf1.yahoo.com> Date: Tue, 19 Nov 2013 15:02:00 -0800 X-Google-Sender-Auth: F6Nv1vK3UdXqs27q1dWH7AbkGoU Message-ID: Subject: Re: Atheros 9271 From: Adrian Chadd To: Thomas Mueller Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Tue, 19 Nov 2013 23:02:02 -0000 THere are a bunch of supported 11n NICS in -HEAD and -10. You should buy a cheap one for now, until someone writes the AR7010/AR9271 driver. -adrian On 19 November 2013 14:53, Thomas Mueller wrote= : > from Jonas Liepuonius : > >> So I have been thinking about starting driver development in FreeBSD. So= I >> thought about porting some drivers from linux as a starting point. It wi= ll >> mainly be for the Atheros 9271 USB chip. So any comments or ideas or tip= s >> are welcome :) > >> -- >> Pagarbiai, >> Jonas > > I have MSI Z77 MPOWER motherboard with onboard AR9271 quasi-USB chip and = would be glad to be a tester on FreeBSD-current. > > Bug in re driver makes this particular version of Realtek 8111E Ethernet = not work in FreeBSD or OpenBSD as of 5.3, but good in NetBSD-current amd64 = and Linux. > > I notice NetBSD and OpenBSD have athn driver which includes AR9271. > > On how I update FreeBSD source tree with no Internet access through FreeB= SD, I built subversion from pkgsrc on a NetBSD-current amd64 USB-stick inst= allation, and use that successfully. With GPT, NetBSD accesses FreeBSD par= tition with no problem reading disklabels. > > OpenBSD, from live USB (http://liveusb-openbsd.sourceforge.net/), can't r= ead my hard drive at all, due to lack of GPT support. > > Tom > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or= g" From owner-freebsd-wireless@FreeBSD.ORG Wed Nov 20 02:15:08 2013 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 275C2452 for ; Wed, 20 Nov 2013 02:15:08 +0000 (UTC) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.226]) by mx1.freebsd.org (Postfix) with ESMTP id DAC412E0F for ; Wed, 20 Nov 2013 02:15:07 +0000 (UTC) Received: from [96.28.178.143] ([96.28.178.143:52617] helo=localhost) by cdptpa-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 5A/AB-29861-52B1C825; Wed, 20 Nov 2013 02:15:01 +0000 Date: Wed, 20 Nov 2013 02:15:01 +0000 Message-ID: <5A.AB.29861.52B1C825@cdptpa-oedge02> From: "Thomas Mueller" To: freebsd-wireless@freebsd.org References: <187461.40439.bm@smtp118.sbc.mail.bf1.yahoo.com> Subject: Re: Atheros 9271 X-RR-Connecting-IP: 107.14.168.130:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Wed, 20 Nov 2013 02:15:08 -0000 > THere are a bunch of supported 11n NICS in -HEAD and -10. > You should buy a cheap one for now, until someone writes the > AR7010/AR9271 driver. > -adrian How do I find which 11n NICs are supported, or USB wireless adapters? It's very difficult to find in advance what the chipset is. Now I have Hiro H50191 USB wireless adapter, chipset RTL8191SU, driver rsu. FreeBSD-head recognized it, but I couldn't find any networks by scanning. Now my wireless router seems to be not working. I now access the Internet by plugging Ethernet cable direct from computer's Ethernet port to cable modem. This is good for Internet access for one computer at a time, and no wireless. I intend to try to set up again, watchful for making correct connections. I also just ordered and received a new TP-Link wireless router and would like to try that. But I still would want to participate in the testing of AR9271 driver when it is ready for testing. Tom From owner-freebsd-wireless@FreeBSD.ORG Wed Nov 20 02:16:11 2013 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 4CD08479 for ; Wed, 20 Nov 2013 02:16:11 +0000 (UTC) Received: from ns.kevlo.org (220-135-115-6.HINET-IP.hinet.net [220.135.115.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E8C9D2E1B for ; Wed, 20 Nov 2013 02:16:09 +0000 (UTC) Received: from netsys.kevlo.org (mail.kevlo.org [220.135.115.6]) by ns.kevlo.org (8.14.6/8.14.6) with ESMTP id rAK2FHvJ040347; Wed, 20 Nov 2013 10:15:19 +0800 (CST) (envelope-from kevlo@FreeBSD.org) Message-ID: <528C1B5E.70400@FreeBSD.org> Date: Wed, 20 Nov 2013 10:15:58 +0800 From: Kevin Lo User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Mika=EBl_Urankar?= , freebsd-wireless@freebsd.org Subject: Re: r257955 breaks my if_run device References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Wed, 20 Nov 2013 02:16:11 -0000 On 2013/11/19 23:35, Mikaël Urankar wrote: > Hi, Hi, > > Please CC: me on replies, I am not subscribed to freebsd-wireless. > > The subject says it all, since r257955 my run device is unable to scan > the network, associate to an AP, etc. The patch at [1] fixes the > problem. r258082 should fix your problem. :-) > > I've put some debugging info at [2] and [3] if it has any use > (wlandebug +scan +auth +assoc +debug) > > I'm running : FreeBSD desktop-xxx 11.0-CURRENT FreeBSD 11.0-CURRENT #5 > r258085M: Wed Nov 13 10:27:33 CET 2013 > mik@xxx:/usr/obj/usr/src/sys/ACHERON amd64 > kernel and world in sync. > > my run card : > run0: <1.0> on usbus3 > run0: MAC/BBP RT2872 (rev 0x0202), RF RT2750 (MIMO 1T2R), address > xx:xx:xx:xx:xx:xx > run0: firmware RT2870 ver. 0.33 loaded > > Should I submit a PR? If r258082 doesn't work for you, please file a PR, thanks. > > Thanks in advance, > Mikaël > > [1] http://mikael.urankar.free.fr/FreeBSD/if_runreg.h.patch > [2] http://mikael.urankar.free.fr/FreeBSD/wlandebug.working > [3] http://mikael.urankar.free.fr/FreeBSD/wlandebug.notworking Kevin From owner-freebsd-wireless@FreeBSD.ORG Wed Nov 20 02:19:13 2013 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 08C59626; Wed, 20 Nov 2013 02:19:13 +0000 (UTC) Received: from ns.kevlo.org (220-135-115-6.HINET-IP.hinet.net [220.135.115.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9EE1C2E2F; Wed, 20 Nov 2013 02:19:12 +0000 (UTC) Received: from netsys.kevlo.org (mail.kevlo.org [220.135.115.6]) by ns.kevlo.org (8.14.6/8.14.6) with ESMTP id rAK2IRF3040359; Wed, 20 Nov 2013 10:18:28 +0800 (CST) (envelope-from kevlo@FreeBSD.org) Message-ID: <528C1C1C.9010308@FreeBSD.org> Date: Wed, 20 Nov 2013 10:19:08 +0800 From: Kevin Lo User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Adrian Chadd , =?ISO-8859-1?Q?Mika=EBl_Urankar?= Subject: Re: Re: r257955 breaks my if_run device References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Wed, 20 Nov 2013 02:19:13 -0000 Handling. Kevin On 2013/11/20 04:11, Adrian Chadd wrote: > Yup > > Kevin? > > > -adrian > > > On 19 November 2013 07:35, Mikaël Urankar wrote: >> Hi, >> >> Please CC: me on replies, I am not subscribed to freebsd-wireless. >> >> The subject says it all, since r257955 my run device is unable to scan >> the network, associate to an AP, etc. The patch at [1] fixes the >> problem. >> >> I've put some debugging info at [2] and [3] if it has any use >> (wlandebug +scan +auth +assoc +debug) >> >> I'm running : FreeBSD desktop-xxx 11.0-CURRENT FreeBSD 11.0-CURRENT #5 >> r258085M: Wed Nov 13 10:27:33 CET 2013 >> mik@xxx:/usr/obj/usr/src/sys/ACHERON amd64 >> kernel and world in sync. >> >> my run card : >> run0: <1.0> on usbus3 >> run0: MAC/BBP RT2872 (rev 0x0202), RF RT2750 (MIMO 1T2R), address >> xx:xx:xx:xx:xx:xx >> run0: firmware RT2870 ver. 0.33 loaded >> >> Should I submit a PR? >> >> Thanks in advance, >> Mikaël >> >> [1] http://mikael.urankar.free.fr/FreeBSD/if_runreg.h.patch >> [2] http://mikael.urankar.free.fr/FreeBSD/wlandebug.working >> [3] http://mikael.urankar.free.fr/FreeBSD/wlandebug.notworking >> _______________________________________________ >> 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" > From owner-freebsd-wireless@FreeBSD.ORG Wed Nov 20 03:17:43 2013 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 BCE62427 for ; Wed, 20 Nov 2013 03:17:43 +0000 (UTC) Received: from mail-qe0-x235.google.com (mail-qe0-x235.google.com [IPv6:2607:f8b0:400d:c02::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 832C026E9 for ; Wed, 20 Nov 2013 03:17:43 +0000 (UTC) Received: by mail-qe0-f53.google.com with SMTP id cy11so5866791qeb.12 for ; Tue, 19 Nov 2013 19:17:42 -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=baXAJ8Y0KdzFe8lEHz56YkH8vyJjT5KIiKUzUFR9TSw=; b=NIJYRZCUW/p0J829TniJdMlwNg48p5TNg6xIbwSN5t03+iQRTtgJndNQMdWIsV/IQC 8FmNSIX24C77HSfFEX23wPqJnWMNavVt4VeSNxoLvkm9lSdCwhAjeCdh3miZPEPAiRon MpK5K64f6vk1vmMXeEiNRXo8SHDqFxnv7oLXl9rR4Y57Q1Ul0fW9CU59NcVSBMHptV9i KW1Wv7mD0doehMqNb6Pmu774LTUEiTdqk7VJW0kvC/rk8wRrVXO2xtLMS5PWD+xpGfro ef3++Ed5vFMiO64dRJ02pgn4uiais8UZkZBedt3Uxm17t9TSzMpA/S5jKWrENE89gd7d SGNg== MIME-Version: 1.0 X-Received: by 10.224.111.197 with SMTP id t5mr48926450qap.49.1384917462556; Tue, 19 Nov 2013 19:17:42 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Tue, 19 Nov 2013 19:17:42 -0800 (PST) In-Reply-To: References: Date: Tue, 19 Nov 2013 19:17:42 -0800 X-Google-Sender-Auth: WGbx7cVgE2hmkvz33EbPqhwP1Ns Message-ID: Subject: Re: Atheros 9271 From: Adrian Chadd To: Jonas Liepuonius Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Wed, 20 Nov 2013 03:17:43 -0000 Hi! Ok, so the rundown on the USB stuff. The athn (openbsd/netbsd) and ath9k_htc (linux) NICs are little USB things that have a normal (yes, normal) atheros chip in them. There's three main flavours: * AR7010 + AR9280 * AR7010 + AR9287 * AR9271 Now, the AR7010 is a little CPU with memory, flash, USB and PCIe. A normal wireless chip plugs into the side. THe AR9271 is effectively an AR7010 (with different memory/flash layout) with an AR9285 glued directly to it inside. No PCIe. So, the other drivers implement this by adding USB stuff to the PCI driver (ie, "ath" would grow USB methods), add HAL support for the AR9271 (as it's a new wifi chip, but there's not much code to do it!) and a handful of USB commands that the driver would call to do things (like add/delete a wireless node, transmit a frame, blink LEDs, etc.) I have all the hardware, I just don't have the time. I started hacking on an AR9170 driver but I quickly got stuck dealing with writing "correct" basic USB handling for command transmit and reception. So, if you'd like to bring up FreeBSD on the AR9271, I really suggest you first get an AR7010 + (something) NIC, as the existing driver/HAL already supports the AR9280 and the AR9287. Once that's done, bringing up AR9271 is easy (read: adrian merges in the HAL changes and bats at it with a big stick until it works.) -adrian On 19 November 2013 12:29, Jonas Liepuonius wrote: > Hello, > > So I have been thinking about starting driver development in FreeBSD. So I > thought about porting some drivers from linux as a starting point. It will > mainly be for the Atheros 9271 USB chip. So any comments or ideas or tips > are welcome :) > > -- > Pagarbiai, > Jonas > _______________________________________________ > 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" From owner-freebsd-wireless@FreeBSD.ORG Wed Nov 20 18:02:03 2013 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 07EF23E7 for ; Wed, 20 Nov 2013 18:02:03 +0000 (UTC) Received: from mail-ea0-x232.google.com (mail-ea0-x232.google.com [IPv6:2a00:1450:4013:c01::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 870D32D8F for ; Wed, 20 Nov 2013 18:02:02 +0000 (UTC) Received: by mail-ea0-f178.google.com with SMTP id d10so3828714eaj.37 for ; Wed, 20 Nov 2013 10:02:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject:openpgp :content-type; bh=j3CXDAMu18M3CICoLHrtTpMiZLvO0ojWwoNpF9jyHcg=; b=nLTnlpHv3C50w7pZdHlPNLynDlw8k9mXNexKiXbxemelZfIfMq5FJ1sxwcx7k8g9jN f5DcBT++CBK8v8x3nQjlOZMnosYRP71iFb/yV8abX7VMB7OVCEESKfROmtM3tC7O/wCO vNnbtTo64Ve7b1GRylA/9qYbydt38xgUfoBntX8sr3Xip7q2QxsASKaFGZsQjS+Gfw76 O7uPSOFgcPg674juNnWGEC9IukgicOuxowuyXkZEy1T14arYncI255OJHc43FAgEYQ2x 6fEy2p23dMKrGGNLESoVvg2G2rdfdwFRqy5vuCgx4IS/zP/mXRqTXE/VkBks/XW8iY9L e72A== X-Received: by 10.14.87.3 with SMTP id x3mr92673eee.76.1384970520721; Wed, 20 Nov 2013 10:02:00 -0800 (PST) Received: from [192.168.1.105] ([193.106.246.105]) by mx.google.com with ESMTPSA id j46sm62347862eew.18.2013.11.20.10.01.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 20 Nov 2013 10:01:59 -0800 (PST) Message-ID: <528CF902.8080208@gmail.com> Date: Wed, 20 Nov 2013 19:01:38 +0100 From: Piotr Kubaj User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: freebsd-wireless@freebsd.org Subject: Atheros 9271 X-Enigmail-Version: 1.6 OpenPGP: id=11B1F63E Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="e1mr6neCnJMAxc82wdT6207HXtwrMCIp5" X-Content-Filtered-By: Mailman/MimeDel 2.1.16 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Wed, 20 Nov 2013 18:02:03 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --e1mr6neCnJMAxc82wdT6207HXtwrMCIp5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I myself use Edimax EW-7811Un (urtwn driver) which works quite nicely with stable/10. Note that it's available only in stable/10 and head and requires non-free firmware module (already in base, but if you care about using only free software, you should look for something else) --e1mr6neCnJMAxc82wdT6207HXtwrMCIp5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJSjPkCAAoJEC9nKukRsfY++BYQAJ+84wjBi84mlkf0EVtInphZ UqlBiK37RHL4LnjVj1jTA4VQjO4hEqtf+j+PSGAOOWkDYgaYbb2RJQkE3iH2dNsH ZboQuVR+KrkSVL+o7Cm+k1hry73YoQ6HCak//tRkTDdGtTYoiy8KNFP2I14ruH1u k4T3gLdSAdn6FG2U0u6sHD9gSCpeSd+dQgtFghma2CEiU5SahDk+B02yLEggL7Uf 1Qd6tG8y2LR/69grmuXsfywex029FXRP8WAu8b66tNLVD/3TIYg+zg+6imk6HPXf RyORduwilrUt2ljru3joL6VKCDOY7T0yAh+YUw9mH2Abnhf1hFxq/lUFFZKgTgva O0vHcQ/m97yErE1O0E+bnJSMdYuqgwCI7KDFO50bxybgv3+d02z2x02HwuOUfjb3 TzqurkJrDWasmasts3NqxiAkaIKIZS07PuWnqRl4XDjOTSHLlvxvcjX0LYGPLgWC X14Yfc1qguoxd0E8XUgA3xp6d5134xJupty8MsKlO5HYzOTPQbTFj8eRvrAmYgNX Dr5E+g3W1gs28d68W5qONHx9REqfS4Y7KxLQNFsW+NgYSdEj49HoK+vopLeFjcqP bhMON16URSPBDu/H7gjdrH/9wLBRxH3+90QRKOmQjEof/F2XLncbqsWBG7VEXBRT cB4/sjGt88aWYjNcsdzi =uRWP -----END PGP SIGNATURE----- --e1mr6neCnJMAxc82wdT6207HXtwrMCIp5-- From owner-freebsd-wireless@FreeBSD.ORG Wed Nov 20 18:56:50 2013 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 827267DD; Wed, 20 Nov 2013 18:56:50 +0000 (UTC) Received: from mail-oa0-x232.google.com (mail-oa0-x232.google.com [IPv6:2607:f8b0:4003:c02::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 429D8217C; Wed, 20 Nov 2013 18:56:50 +0000 (UTC) Received: by mail-oa0-f50.google.com with SMTP id n16so1109157oag.23 for ; Wed, 20 Nov 2013 10:56:49 -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:content-transfer-encoding; bh=Yb5kS5r8VlMTc3kXDIB9If1XBJN/CYkDWdOZgktP7cM=; b=fqnbbL7A/eizKfS0ouGygWPeGgC/t2ZujkOBXcEcyZJ6rzs1lB8ovbJo16NO/8vVP+ YeUrWWZPF6YEpZRCyHZNYUC3TVUy+mSpHzMkzC5VlTajqlRoEu3/AuWWSevHJpa74cMd leDE9Bj+wLd6gYFDRZMwIApq5m6Ddkbrwzb0jnsdSAVTpjbPi/VWcllOwRICruvHJbMv V+KZ5KwK7kx3mVGc5bsuV/avShZaA1BNeds72DWC48zvIsXo+3MGYBrjFhEmIdD1nvMZ +Ht3EJfgkubXe7UTSS1qmr68IbVWQYZhxn3SqGmMmVjeqqnOtyUxaui6oVF7aNqkpXyT bKFA== MIME-Version: 1.0 X-Received: by 10.60.156.232 with SMTP id wh8mr1695573oeb.56.1384973809406; Wed, 20 Nov 2013 10:56:49 -0800 (PST) Received: by 10.182.95.35 with HTTP; Wed, 20 Nov 2013 10:56:49 -0800 (PST) In-Reply-To: <528C1C1C.9010308@FreeBSD.org> References: <528C1C1C.9010308@FreeBSD.org> Date: Wed, 20 Nov 2013 19:56:49 +0100 Message-ID: Subject: Re: Re: r257955 breaks my if_run device From: =?UTF-8?Q?Mika=C3=ABl_Urankar?= To: Kevin Lo Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Wed, 20 Nov 2013 18:56:50 -0000 Hi, I've tried with the following revision of if_run.c, if_runreg.h, if_runvar.h but the problem is still there. (258082, 258083, 257955) I've created a PR : kern/184122 Thanks, Mika=C3=ABl 2013/11/20 Kevin Lo : > Handling. > >> >> On 19 November 2013 07:35, Mika=C3=ABl Urankar >> wrote: >>> >>> Hi, >>> >>> Please CC: me on replies, I am not subscribed to freebsd-wireless. >>> >>> The subject says it all, since r257955 my run device is unable to scan >>> the network, associate to an AP, etc. The patch at [1] fixes the >>> problem. >>> >>> I've put some debugging info at [2] and [3] if it has any use >>> (wlandebug +scan +auth +assoc +debug) >>> >>> I'm running : FreeBSD desktop-xxx 11.0-CURRENT FreeBSD 11.0-CURRENT #5 >>> r258085M: Wed Nov 13 10:27:33 CET 2013 >>> mik@xxx:/usr/obj/usr/src/sys/ACHERON amd64 >>> kernel and world in sync. >>> >>> my run card : >>> run0: <1.0> on usbus3 >>> run0: MAC/BBP RT2872 (rev 0x0202), RF RT2750 (MIMO 1T2R), address >>> xx:xx:xx:xx:xx:xx >>> run0: firmware RT2870 ver. 0.33 loaded >>> >>> Should I submit a PR? >>> >>> Thanks in advance, >>> Mika=C3=ABl >>> >>> [1] http://mikael.urankar.free.fr/FreeBSD/if_runreg.h.patch >>> [2] http://mikael.urankar.free.fr/FreeBSD/wlandebug.working >>> [3] http://mikael.urankar.free.fr/FreeBSD/wlandebug.notworking From owner-freebsd-wireless@FreeBSD.ORG Thu Nov 21 01:59:34 2013 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 EC8E5B0F for ; Thu, 21 Nov 2013 01:59:34 +0000 (UTC) Received: from ns.kevlo.org (220-135-115-6.HINET-IP.hinet.net [220.135.115.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 764AE28B5 for ; Thu, 21 Nov 2013 01:59:33 +0000 (UTC) Received: from [127.0.0.1] (mail.kevlo.org [220.135.115.6]) by ns.kevlo.org (8.14.6/8.14.6) with ESMTP id rAL1wkMr075760; Thu, 21 Nov 2013 09:58:47 +0800 (CST) (envelope-from kevlo@FreeBSD.org) Message-ID: <528D6901.7020306@FreeBSD.org> Date: Thu, 21 Nov 2013 09:59:29 +0800 From: Kevin Lo User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: =?UTF-8?B?TWlrYcOrbCBVcmFua2Fy?= Subject: Re: r257955 breaks my if_run device References: <528C1C1C.9010308@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Thu, 21 Nov 2013 01:59:35 -0000 Mikaël Urankar wrote: > Hi, > > I've tried with the following revision of if_run.c, if_runreg.h, > if_runvar.h but the problem is still there. (258082, 258083, 257955) > I've created a PR : kern/184122 Could you use usbconfig(8) to show your USB vendor id and device id? Thanks. > Thanks, > Mikaël Kevin From owner-freebsd-wireless@FreeBSD.ORG Thu Nov 21 19:45:53 2013 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 5ABE489C; Thu, 21 Nov 2013 19:45:53 +0000 (UTC) Received: from mail-ob0-x229.google.com (mail-ob0-x229.google.com [IPv6:2607:f8b0:4003:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1A4282044; Thu, 21 Nov 2013 19:45:53 +0000 (UTC) Received: by mail-ob0-f169.google.com with SMTP id wm4so261578obc.0 for ; Thu, 21 Nov 2013 11:45:51 -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:content-transfer-encoding; bh=9IWKjl8PPq/gJ/FyNS+TnnAMTf3RBbQ3BShf77K++CQ=; b=P6WH+jrHxuTq6snjEB2cdywcTipEfXn4fUVPTfCW6rzZFECp0Sj8w/zmsCXHXYvC+f 2r2XfpANnY5/F4kc+sKrpuVxl5cMYierRQhs8/4XZ6iSok08c3Zm7jVp2v6iNvPiHq19 dCK9pXBGZIyaCTE5ApAN/Zh1FZMGIJT+kD0W2T1304ZZE8t495Bk3OeEvRCIn8t4Fuki Bs631jVBZ/We60Aku1yKp4T454Ug5Y1VmzyNslwaVZ4PMSw4utvQQ6godZYRc/6KEZlJ zeWEcMQXWfI3Ak2bE1bdKA36Dp0aGpNzo8iA0qZuYweO6/OGiV9cLMhKaEXVp/95V8Jv y4kg== MIME-Version: 1.0 X-Received: by 10.182.44.167 with SMTP id f7mr6955909obm.3.1385063151600; Thu, 21 Nov 2013 11:45:51 -0800 (PST) Received: by 10.182.95.35 with HTTP; Thu, 21 Nov 2013 11:45:51 -0800 (PST) In-Reply-To: <528D6901.7020306@FreeBSD.org> References: <528C1C1C.9010308@FreeBSD.org> <528D6901.7020306@FreeBSD.org> Date: Thu, 21 Nov 2013 20:45:51 +0100 Message-ID: Subject: Re: r257955 breaks my if_run device From: =?UTF-8?Q?Mika=C3=ABl_Urankar?= To: Kevin Lo Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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: Thu, 21 Nov 2013 19:45:53 -0000 2013/11/21 Kevin Lo : > Mika=C3=ABl Urankar wrote: >> >> Hi, >> >> I've tried with the following revision of if_run.c, if_runreg.h, >> if_runvar.h but the problem is still there. (258082, 258083, 257955) >> I've created a PR : kern/184122 > > Could you use usbconfig(8) to show your USB vendor id and device id? Than= ks. here it is : idVendor =3D 0x148f idProduct =3D 0x2770 From owner-freebsd-wireless@FreeBSD.ORG Fri Nov 22 09:03:27 2013 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 B2E94221 for ; Fri, 22 Nov 2013 09:03:27 +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 7A9382387 for ; Fri, 22 Nov 2013 09:03:27 +0000 (UTC) Received: by mail-qc0-f175.google.com with SMTP id e9so389914qcy.34 for ; Fri, 22 Nov 2013 01:03:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=YvtMqgph9mjHneYqN0bTQEPDJUDtkYjpgGuZkmLoAvk=; b=dARLFW+XUW24aGphHVfJbsRJC7mGukAVxWx2x157Sdvhmd/slw8fzgpOVJzmhWLjpW ZnzOUhOZfeNM0EwRQWVu0xItcEgqauUQBo/n0T8QwI87yJd3M7fIWGuld9z61riRUil7 gw/zIrj8RqT7W7ybb3nQ1YVIYYeu7Fuak3ZbAO+H9lrr6zikLYzjOiazPKcsGHDyqBCV j4eJe+HzJr8ba2NiGAMxvlWlikndWX8/1gYKHYagnREjigufJ+n/FdUutHkxcG/S3v94 TjP+IHJOyvz7KYm8PwivM180wsIpq0CwAEQAiTdQKOR7Zxl5EmjoEKu4QXTE7NiT64VH N7FA== MIME-Version: 1.0 X-Received: by 10.224.103.131 with SMTP id k3mr19626831qao.76.1385111006622; Fri, 22 Nov 2013 01:03:26 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Fri, 22 Nov 2013 01:03:26 -0800 (PST) Date: Fri, 22 Nov 2013 01:03:26 -0800 X-Google-Sender-Auth: pCm4ZkLJYQnkJ3EfUOyG-82MFzw Message-ID: Subject: iwn(4) issues to date From: Adrian Chadd To: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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 Nov 2013 09:03:27 -0000 Hi, Here's my shortlist of iwn(4) issues. Please feel free to acquire one or more of these particular tasks. * the 6235 doesn't work. I have one, but I'm busy doing ${WORK} so chasing down why isn't on my todo list for a few weeks. Sorry. * The scan code is broken. We're not setting the active/passive values correctly, we're not setting the service maximum time field correctly. Thus, the scan command can hang when scanning passive channels. Setting these things correctly (based on iwlwifi) mostly works. service_time is a bit wonky as the iwlwifi code sets it to (blah) | (some other blah << 22) and so I've seen it scan channel 13 for 4 million microseconds, which I don't think is "right." * We should block sending scan if we've already sent a scan command (ie, we should fail that scan) if it hasn't completed. * We should block sending RXON if we've sent a scan command if it hasn't completed - we should error out * .. and then clear the scan tracking flag when we do a chipset reset. * The scan beacon timer config has to take the beacon interval into account AND make sure that we come back on channel for long enough to do traffic/hear beacons. That way we don't disassociate when we are scanning because we stopped hearing our real traffic. * The NIC is rejecting frame TX on passive channels (eg 5GHZ radar channels) until it hears a beacon. Since we're not doing software retransmit of frames in this case, we end up failing to associate reliably on these channels. The correct mechanism is to queue the frame again and when we receive a beacon, clear the "TX queue paused" flag and re-schedule frames. Maybe, if someone is evil enough, they could abuse the net80211 powersave queue to re-queue an 802.11 frame and wake up the power save queue when it's done. There's also a net80211 bug where if the scan is cancelled at the wrong spot (I think at the end) then it ends up never resetting the ss_next value to 0, and subsequent scan requests end up failing as there's no channels to scan. That also has to be fixed. I think those are the annoying bugs. They mostly show up in various company offices (Yahoo, Netflix) rather than at home. It'd also be nice to correctly use the scan infrastructure on iwn(4) to do bulk scans. net80211 scans one channel at a time. We should be able to write an iwn(4) specific scan module in the driver that registers a scan module optimised for the NIC. The NIC can scan multiple channels and send out multiple SSID probes by the firmware; it doesn't have to transition in and out of the SCAN state to do this. The intel NIC support is getting better but I really could do with some help here. I'm kind of still feeling a bit burnt out here. :-) -adrian