From owner-freebsd-wireless@FreeBSD.ORG Sun Nov 4 00:26:34 2012 Return-Path: Delivered-To: freebsd-wireless@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5181FB55; Sun, 4 Nov 2012 00:26:34 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 1BBCA8FC08; Sun, 4 Nov 2012 00:26:34 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qA40QXFf030392; Sun, 4 Nov 2012 00:26:33 GMT (envelope-from rpaulo@freefall.freebsd.org) Received: (from rpaulo@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qA40QXHm030388; Sun, 4 Nov 2012 00:26:33 GMT (envelope-from rpaulo) Date: Sun, 4 Nov 2012 00:26:33 GMT Message-Id: <201211040026.qA40QXHm030388@freefall.freebsd.org> To: rpaulo@FreeBSD.org, adrian@FreeBSD.org, freebsd-wireless@FreeBSD.org From: rpaulo@FreeBSD.org Subject: Re: kern/173342: PS-Poll isn't working X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 04 Nov 2012 00:26:34 -0000 Synopsis: PS-Poll isn't working Responsible-Changed-From-To: adrian->freebsd-wireless Responsible-Changed-By: rpaulo Responsible-Changed-When: Sun Nov 4 00:26:21 UTC 2012 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=173342 From owner-freebsd-wireless@FreeBSD.ORG Sun Nov 4 11:19:49 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 61A3CB81 for ; Sun, 4 Nov 2012 11:19:49 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 1E8378FC08 for ; Sun, 4 Nov 2012 11:19:48 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:dc:ffe:46f:81d2]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id DE1D84AC1C for ; Sun, 4 Nov 2012 15:19:41 +0400 (MSK) Date: Sun, 4 Nov 2012 15:19:35 +0400 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <905704199.20121104151935@serebryakov.spb.ru> To: freebsd-wireless@freebsd.org Subject: ath still uses non-initialized memory sometimes MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 04 Nov 2012 11:19:49 -0000 Hello, Freebsd-wireless. r242489: ath0: ath_reset: called ath0: ath_stoptxdma: tx queue [9] 0x2e9a000, link 0 ath0: ath_tx_stopdma: tx queue [0] 0, link 0 ath0: ath_tx_stopdma: tx queue [1] 0, link 0 ath0: ath_tx_stopdma: tx queue [2] 0, link 0 ath0: ath_tx_stopdma: tx queue [3] 0, link 0 ath0: ath_tx_stopdma: tx queue [8] 0, link 0 ath0: ath_legacy_stoprecv: rx queue 0x2e9b1e0, link 0xd5e9b120 R[ 0] (DS.V:0xd5e9b180 DS.P:0x2e9b180) L:02e9b1e0 D:06141800 * aa55aa55 00000800 1b800f13 00000125 00035263 00000100 14800300 80808080 80808080 80808080 00000003 -- // Black Lion AKA Lev Serebryakov From owner-freebsd-wireless@FreeBSD.ORG Sun Nov 4 06:45:31 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8C73E63B for ; Sun, 4 Nov 2012 06:45:31 +0000 (UTC) (envelope-from gosha-necr@yandex.ru) Received: from forward14.mail.yandex.net (forward14.mail.yandex.net [IPv6:2a02:6b8:0:801::4]) by mx1.freebsd.org (Postfix) with ESMTP id 024C78FC0A for ; Sun, 4 Nov 2012 06:45:30 +0000 (UTC) Received: from web4f.yandex.ru (web4f.yandex.ru [95.108.130.101]) by forward14.mail.yandex.net (Yandex) with ESMTP id 2D53919803E3 for ; Sun, 4 Nov 2012 10:45:07 +0400 (MSK) Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) by web4f.yandex.ru (Yandex) with ESMTP id E7045368005A; Sun, 4 Nov 2012 10:45:06 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1352011507; bh=GuRo7ADv9Dm4Qf5Wn+MFMa09V3z7dBT5r/AT1h2GuD8=; h=From:To:In-Reply-To:References:Subject:Date; b=TMQZ35HK8CMmIpNLmzZRfRa8o1xShjtF+6HtZKmToduWu1aRCOnG/6QrMup/M+QMn TxAidNUUH/li/yMpBR2b8lhjoZglr+yt13qH0OWE7IIoxLQLPrTapPMr4XWIuApW5E 4/BkDUVMPD48XriTjlJYRDLl8uMza2Mna9QqsIs0= Received: from mx0.manul-it.ru (mx0.manul-it.ru [92.54.86.120]) by web4f.yandex.ru with HTTP; Sun, 04 Nov 2012 10:45:06 +0400 From: =?koi8-r?B?59XM0cXXIOfP28E=?= To: freebsd-wireless@freebsd.org In-Reply-To: References: <799601351977961@web6f.yandex.ru> Subject: Re: Wireless card Realtek RTL8723AE is not recognized in 9.0, 9.1-RC2 and 10-Current Message-Id: <846531352011506@web4f.yandex.ru> Date: Sun, 04 Nov 2012 12:45:06 +0600 X-Mailer: Yamail [ http://yandex.ru ] 5.0 X-Mailman-Approved-At: Sun, 04 Nov 2012 12:20:20 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 04 Nov 2012 06:45:31 -0000 Thanks for answer! It is a bad news, it seems that i need to use USB Wi-Fi dongle for my laptop :) Thanks! 04.11.2012, 04:11, "Adrian Chadd" : Hi! There's currently no real maintainer for the realtek wireless cards in FreeBSD. I'd love someone to step up and take this over! Adrian _______________________________________________ [1]freebsd-wireless@freebsd.org mailing list [2]http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "[3]freebsd-wireless-unsubscribe@freebsd.org" -------------------------------------------- С уважением, Гуляев Гоша. References 1. mailto:freebsd-wireless@freebsd.org 2. http://lists.freebsd.org/mailman/listinfo/freebsd-wireless 3. mailto:freebsd-wireless-unsubscribe@freebsd.org From owner-freebsd-wireless@FreeBSD.ORG Sun Nov 4 13:04:51 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 31CA899F for ; Sun, 4 Nov 2012 13:04:51 +0000 (UTC) (envelope-from gosha-necr@yandex.ru) Received: from forward16.mail.yandex.net (forward16.mail.yandex.net [IPv6:2a02:6b8:0:1402::1]) by mx1.freebsd.org (Postfix) with ESMTP id 9BC778FC12 for ; Sun, 4 Nov 2012 13:04:50 +0000 (UTC) Received: from web29g.yandex.ru (web29g.yandex.ru [95.108.253.238]) by forward16.mail.yandex.net (Yandex) with ESMTP id 1D007D21015 for ; Sun, 4 Nov 2012 17:04:49 +0400 (MSK) Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) by web29g.yandex.ru (Yandex) with ESMTP id D949C6A98001; Sun, 4 Nov 2012 17:04:48 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1352034288; bh=0cICfevo5xB/MQ7fybVnU4D+klZzwmOMvs4DqEKRjkM=; h=From:To:In-Reply-To:References:Subject:Date; b=InPbWkAB2gpYn2quiJuS1s4HcTFKHOO80uFC+6IX/Ivy+8HNVUywijEWElNXUL3Vk EuP2pXGKgjQP6GTMwqgOvICleGeghPDtCH+AsWIMVP3bea82lzgqxDpVM8W85e0s7u epbXpzBstzO0S2WbAs6XJMrTz31izI+nKCTdTRug= Received: from mx0.manul-it.ru (mx0.manul-it.ru [92.54.86.120]) by web29g.yandex.ru with HTTP; Sun, 04 Nov 2012 17:04:48 +0400 From: =?koi8-r?B?59XM0cXXIOfP28E=?= To: "freebsd-wireless@freebsd.org" In-Reply-To: <846531352011506@web4f.yandex.ru> References: <799601351977961@web6f.yandex.ru> <846531352011506@web4f.yandex.ru> Subject: Re: Wireless card Realtek RTL8723AE is not recognized in 9.0, 9.1-RC2 and 10-Current Message-Id: <956681352034288@web29g.yandex.ru> Date: Sun, 04 Nov 2012 19:04:48 +0600 X-Mailer: Yamail [ http://yandex.ru ] 5.0 X-Mailman-Approved-At: Sun, 04 Nov 2012 13:35:02 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 04 Nov 2012 13:04:51 -0000 Sorry for my annoyin, but I just tryin to find solution :) I'm try to set up that card with ndisgen, but it fails. Kernel module builds without any problem from files: netrtwlane.inf, rtwlane.sys ANd firmware files: rtl8723fw.bin, rtl8723fw_B.bin but after loading (manual or throught /boot/loader.conf) nothing new interface appears. But I'm think maybe my researches help to FreeBSD developers make driver from linux version? If so, there is a link to thread about that drivers in linux with link to driver: http://askubuntu.com/questions/139632/wireless-card-realtek-rtl8723ae-b t-is-not-recognized If it is needed, I'm give root access to my laptop Thanks! From owner-freebsd-wireless@FreeBSD.ORG Sun Nov 4 17:53:49 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B4C54E7 for ; Sun, 4 Nov 2012 17:53:49 +0000 (UTC) (envelope-from onyx@z-up.ru) Received: from mx.z-up.ru (mx.z-up.ru [92.50.244.44]) by mx1.freebsd.org (Postfix) with ESMTP id 258AC8FC14 for ; Sun, 4 Nov 2012 17:53:46 +0000 (UTC) Received: from onyx-y550p.loc (unknown [10.178.237.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.z-up.ru (Postfix) with ESMTPSA id 472D811464 for ; Sun, 4 Nov 2012 21:43:56 +0400 (GMT-4) From: Dmitry Kolosov To: freebsd-wireless@freebsd.org Subject: Replacing wireless nic on my router Date: Sun, 4 Nov 2012 21:44:08 +0400 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; i386; ; ) MIME-Version: 1.0 X-KMail-Markup: true Message-Id: <201211042144.08807.onyx@z-up.ru> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: onyx@z-up.ru 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, 04 Nov 2012 17:53:49 -0000 I have wireless environment: 1. FreeBSD 8.2-STABLE wireless router 2. FreeBSD 9-STABLE wireless client 3. FreeBSD 8-STABLE wireless client 4. WinXP wireless client on same hardware as for 3 5. Cell wireless clients (Nokia N900, Touchpad) I have replaced wireless card on 1). Previously it was 11b/g ath-based pci card, now it is 11b/g/n ath-based pci card: ath0: mem 0xff9f0000-0xff9fffff irq 21 at device 0.0 on pci5 ath0: AR9280 mac 128.2 RF5133 phy 13.0 ath0@pci0:5:0:0: class=0x028000 card=0x3a781186 chip=0x0029168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' class = network Configuration on 1) does not changed at all, i.e. ssid, mode, channel and hostapd settings are the same. Actually, it means that bssid of my software AP is changed. Clients 2), 4) and 5) are OK with that, and working just fine! But 3)... Laptop 3) is successfuly associating with my 1) (as for ifconfig wlan0), but when it tries to get dhcp settings from 1) - it fails. I have turned on isc- dhcpd logging on 1) and i have see that 3) sends DHCPDISCOVER and it reaches 1): DHCPDISCOVER from 00:1f:3a:52:47:e2 (laptop3) via wlan0 More, 1) answering to 3) with: DHCPOFFER on 192.168.15.130 to 00:1f:3a:52:47:e2 (laptop3) via wlan0 BUT the answer never reaches 3) and dhclient on 3) starting to discover again and it looks like this: DHCPDISCOVER from 00:1f:3a:52:47:e2 (laptop3) via wlan0 DHCPOFFER on 192.168.15.130 to 00:1f:3a:52:47:e2 (laptop3) via wlan0 DHCPDISCOVER from 00:1f:3a:52:47:e2 (laptop3) via wlan0 DHCPOFFER on 192.168.15.130 to 00:1f:3a:52:47:e2 (laptop3) via wlan0 DHCPDISCOVER from 00:1f:3a:52:47:e2 (laptop3) via wlan0 DHCPOFFER on 192.168.15.130 to 00:1f:3a:52:47:e2 (laptop3) via wlan0 and so on and it never ends. 3) failed to get dhcp settings. After that, i have got my tcpdump. Even if i configure wlan0 on 3) manually with ifconfig and start pinging 1) - 3) sends ARP who-has request, it reaches 1) and 1) answering with correct ARP reply to 3) - BUT this packet never reaches 3) and it sends ARP who-has again and again. Some facts: * 3) can send requests via wireless, and they will reach 1) and other clients * everyone can see wireless traffic from 3) and can answer to it BUT * 3) NEVER recieved a single wireless packet from 1) or other clients, * 3) can associate with 1) Same time, all other client, and some new, working ok with this AP. Please help, it's so weird. From owner-freebsd-wireless@FreeBSD.ORG Mon Nov 5 11:06:41 2012 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 09DFCD01 for ; Mon, 5 Nov 2012 11:06:41 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E22198FC16 for ; Mon, 5 Nov 2012 11:06:40 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qA5B6ekJ001347 for ; Mon, 5 Nov 2012 11:06:40 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qA5B6eoZ001345 for freebsd-wireless@FreeBSD.org; Mon, 5 Nov 2012 11:06:40 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 5 Nov 2012 11:06:40 GMT Message-Id: <201211051106.qA5B6eoZ001345@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.14 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, 05 Nov 2012 11:06:41 -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/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/171394 wireless [ath] ath0: ath_tx_aggr_comp_aggr: num frames seen=1; o kern/171235 wireless [ath] ath loses connection, system freezes on netif re o kern/170904 wireless [ath] ath driver: configure related parameters when ra 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/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/164499 wireless [wi] [patch] if_wi needs fix for big endian architectu 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 p bin/137484 wireless [patch] Integer overflow in wpa_supplicant(8) base64 e 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 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 135 problems total. From owner-freebsd-wireless@FreeBSD.ORG Mon Nov 5 14:49:57 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB69CC78 for ; Mon, 5 Nov 2012 14:49:56 +0000 (UTC) (envelope-from onyx@z-up.ru) Received: from mx.z-up.ru (mx.z-up.ru [92.50.244.44]) by mx1.freebsd.org (Postfix) with ESMTP id 428588FC15 for ; Mon, 5 Nov 2012 14:49:55 +0000 (UTC) Received: from onyx-y550p.loc (unknown [10.178.237.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.z-up.ru (Postfix) with ESMTPSA id B885C11464 for ; Mon, 5 Nov 2012 18:49:36 +0400 (GMT-4) From: Dmitry Kolosov To: freebsd-wireless@freebsd.org Subject: Re: Replacing wireless nic on my router Date: Mon, 5 Nov 2012 18:49:50 +0400 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; i386; ; ) References: <201211042144.08807.onyx@z-up.ru> In-Reply-To: <201211042144.08807.onyx@z-up.ru> X-KMail-Markup: true MIME-Version: 1.0 Message-Id: <201211051849.51278.onyx@z-up.ru> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: onyx@z-up.ru 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, 05 Nov 2012 14:49:57 -0000 Please take a look at this: http://pastebin.com/7H0BGTfZ This is a tcpdump output on wireless router. Here, f0:7d:68:af:0e:b6 - is my wireless router 1) 00:1f:3a:25:47:2e - is my wireless client 3) First 2 packets from client (after powering up) contains something like "Receiver not Ready". Huh.. Also, packets from 1) to 3) never reaches 3). As you can see, 00:1f:3a:25:47:2e asking for DHCP (BOOTP/DHCP, Request packets) over and over again. Same time, on client 3) tcpdump shows only request and no reply coming at all, except packets with ethertype EAPOL (0x888e) (auth?) Any ideas? From owner-freebsd-wireless@FreeBSD.ORG Mon Nov 5 15:54:04 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F9AA2A5 for ; Mon, 5 Nov 2012 15:54:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-da0-f54.google.com (mail-da0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6E75A8FC12 for ; Mon, 5 Nov 2012 15:54:04 +0000 (UTC) Received: by mail-da0-f54.google.com with SMTP id z9so2868192dad.13 for ; Mon, 05 Nov 2012 07:54:03 -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 :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=zMSYG1fhQBr8JNIwLq567JkOTc4tCCALtVazaic//8Q=; b=PCFa2lKJaVpQgYU7ET2IyMavyqp2/Gn+qfIDfwBULF8igxZCNso4V1nLojPXnLiwwn jzd0SJgf9245mR6/H4G8b6Nqua0VEwMsI9WIVmBY8LiPuw/hqZwMmlfXNXzyyogdOQT/ bfDvPkdATEB9dboHrGv4SXK0W+gEZnj9PRv+xiWAW4CHunK7U2sB8HjBPnMWrqfpKggy DhSPAXDBHKjqHZKPUN+9qmsmDvYY93t4zaWP5Ohei+N0ahWOCZOtijhWR35LYZhQIfFY 6QfJsPCQDtV2T1FDtSMMEe8elQK5fG++wgzPSDwHIqJFHgAv6pAZg3xnGWHfYGl5yHm9 bAOg== MIME-Version: 1.0 Received: by 10.68.238.199 with SMTP id vm7mr18615732pbc.105.1352130843654; Mon, 05 Nov 2012 07:54:03 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.68.124.130 with HTTP; Mon, 5 Nov 2012 07:54:03 -0800 (PST) In-Reply-To: <201211051849.51278.onyx@z-up.ru> References: <201211042144.08807.onyx@z-up.ru> <201211051849.51278.onyx@z-up.ru> Date: Mon, 5 Nov 2012 07:54:03 -0800 X-Google-Sender-Auth: j4LDVog1XLWUYXJ_j5mm2dZ38-I Message-ID: Subject: Re: Replacing wireless nic on my router From: Adrian Chadd To: onyx@z-up.ru Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 05 Nov 2012 15:54:04 -0000 On 5 November 2012 06:49, Dmitry Kolosov wrote: > Please take a look at this: http://pastebin.com/7H0BGTfZ > This is a tcpdump output on wireless router. > > Here, > f0:7d:68:af:0e:b6 - is my wireless router 1) > 00:1f:3a:25:47:2e - is my wireless client 3) > > First 2 packets from client (after powering up) contains something like > "Receiver not Ready". Huh.. Also, packets from 1) to 3) never reaches 3). As The RnR is just a broadcast frame generated from hostap. > you can see, 00:1f:3a:25:47:2e asking for DHCP (BOOTP/DHCP, Request packets) > over and over again. > > Same time, on client 3) tcpdump shows only request and no reply coming at all, > except packets with ethertype EAPOL (0x888e) (auth?) > > Any ideas? The first thing I'd do is start by verifying that the packet actually went out over the air. Put one of the atheros stations into monitor mode, then tcpdump -ni wlanX -y IEEE802_11_RADIO. If you run wireshark on FreeBSD as root, you can select the 802.11 capture format and it'll do that for you. That lets you see exactly what's going on. However, it only can decrypt frames sent to itself - so either you have to be running WEP or OPEN. WPA /WPA2 won't let you see frames destined to other stations. I'd also add "options ATH_DEBUG", AH_DEBUG and ATH_DIAGAPI to the kernel, so you can do more detailed debugging. I'd also use athstats to see if your station is receiving the DHCP replies. The "Rx" counter should be going up each time the server sends the response. Adrian From owner-freebsd-wireless@FreeBSD.ORG Mon Nov 5 15:58:09 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C361C343 for ; Mon, 5 Nov 2012 15:58:09 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-da0-f54.google.com (mail-da0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8F42C8FC08 for ; Mon, 5 Nov 2012 15:58:09 +0000 (UTC) Received: by mail-da0-f54.google.com with SMTP id z9so2869827dad.13 for ; Mon, 05 Nov 2012 07:58:09 -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 :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Z8qHOzXJ6KguQxD6oK+mjbfM/1xyc7QuH16RHlqZkZQ=; b=x38I8gSxhRZ1j/+erAkeyOTjAth8FCLQSh0ESK7viruV6QwLilHWXWpbt6/v8zno6h CXxpRPYLzdgH2BTtxXW+Nc8C9ACu+t052ZllkrQH3i3hoIwTxF+e+M5C9vtCHekmagaC fOocHpFmxK6w5nsne7P1YTwakKyptH93aG97T+vJKzCuV5QQqFtoBsO9rz4sz4+k4aEA OHS5iiyqgqQ2XDF3xSEiHDVAPxoaSqwgUUHsWXzWV/Nih3HiDhfMYia4SShQR3XvDYeM 0lXdDmu5/gFbevF2ZWIYCllnLmsQWFMK4VV9x70KdIWXozMR/ucLcf/iSdnuUisP2AjB nboQ== MIME-Version: 1.0 Received: by 10.66.72.136 with SMTP id d8mr29684311pav.4.1352131089347; Mon, 05 Nov 2012 07:58:09 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.68.124.130 with HTTP; Mon, 5 Nov 2012 07:58:09 -0800 (PST) In-Reply-To: <956681352034288@web29g.yandex.ru> References: <799601351977961@web6f.yandex.ru> <846531352011506@web4f.yandex.ru> <956681352034288@web29g.yandex.ru> Date: Mon, 5 Nov 2012 07:58:09 -0800 X-Google-Sender-Auth: xRg_9xsWENwKt8CHIoXyoO4sfe8 Message-ID: Subject: Re: Wireless card Realtek RTL8723AE is not recognized in 9.0, 9.1-RC2 and 10-Current From: Adrian Chadd To: =?KOI8-R?B?59XM0cXXIOfP28E=?= Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 05 Nov 2012 15:58:09 -0000 Hi, Again - we don't have any maintainer for this wireless driver or wireless chipset family. I'd love it if someone would step up and port the driver from Linux. Or OpenBSD, if it's there. Thanks, Adrian On 4 November 2012 05:04, =E7=D5=CC=D1=C5=D7 =E7=CF=DB=C1 wrote: > Sorry for my annoyin, but I just tryin to find solution :) > > I'm try to set up that card with ndisgen, but it fails. > > Kernel module builds without any problem from files: > > netrtwlane.inf, rtwlane.sys ANd firmware files: rtl8723fw.bin, > rtl8723fw_B.bin > > but after loading (manual or throught /boot/loader.conf) nothing new > interface appears. > > But I'm think maybe my researches help to FreeBSD developers make > driver from linux version? > > If so, there is a link to thread about that drivers in linux with link > to driver: > http://askubuntu.com/questions/139632/wireless-card-realtek-rtl8723ae-= b > t-is-not-recognized > > If it is needed, I'm give root access to my laptop > > Thanks! > _______________________________________________ > 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 Mon Nov 5 16:40:01 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6CE2E61D; Mon, 5 Nov 2012 16:40:01 +0000 (UTC) (envelope-from onyx@z-up.ru) Received: from mx.z-up.ru (mx.z-up.ru [92.50.244.44]) by mx1.freebsd.org (Postfix) with ESMTP id C7A918FC14; Mon, 5 Nov 2012 16:40:00 +0000 (UTC) Received: from onyx-y550p.loc (unknown [10.178.237.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.z-up.ru (Postfix) with ESMTPSA id 5606611464; Mon, 5 Nov 2012 20:39:41 +0400 (GMT-4) From: Dmitry Kolosov To: Adrian Chadd Subject: Re: Replacing wireless nic on my router Date: Mon, 5 Nov 2012 20:39:54 +0400 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; i386; ; ) References: <201211042144.08807.onyx@z-up.ru> <201211051849.51278.onyx@z-up.ru> In-Reply-To: X-KMail-Markup: true MIME-Version: 1.0 Message-Id: <201211052039.55188.onyx@z-up.ru> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: onyx@z-up.ru 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, 05 Nov 2012 16:40:01 -0000 > The first thing I'd do is start by verifying that the packet actually > went out over the air. I think they do. In both ways. I can see it on AP with tcpdump. Linux and WinXP installed on the same laptop working fine with same AP before and after changing wireless nic on AP. > I'd also use athstats to see if your station is receiving the DHCP > replies. The "Rx" counter should be going up each time the server > sends the response. Can't i see it with tcpdump? I'm starting tcpdump on AP and on client at the same time and run `dhclient wlan0` on client. On client i see outgoing DHCP request after association with AP. On AP i see incoming DHCP request from client! On AP i see outgoing DHCP reply to client! But i don't see incoming DHCP reply on clinet with tcpdump -y IEEE802_11_RADIO or with default media type. Thanks in advance, Adrian. Really weird. All other devices working just fine. From owner-freebsd-wireless@FreeBSD.ORG Mon Nov 5 16:47:37 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52F5B89B for ; Mon, 5 Nov 2012 16:47:37 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 216278FC0C for ; Mon, 5 Nov 2012 16:47:37 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so4265244pbb.13 for ; Mon, 05 Nov 2012 08:47:37 -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 :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=ByJDiYK6l9IF+VwN9cmbQrYnEdBlUUAS3HeSHi4ZSko=; b=PQ3HTZv7o3dMeDmTfhU0tcXkCEh2Wa9aiw1sEyP9hTP3iuptmdby3Tfz0+GpqDrfVY LUPBlfj+QG4jZpQBHdfrE9ohkKcBckUrvmfGJMg1jdNq0zbOuja7pug9ru+yThHYeqoI hICQeAPSiZ1ZGSqVenVhpLsLGcIm02KKkSdcBrqGPDDBVOEvYIdlimXvUU5OF7wjBb0A LxswMPOkt7I/ihRSKGtiYyTlS+CCGFxk1PKRMNpcyt0TBnMFk7i+po2GmcZncPqlpLkP 9a/+gjqDDN+hVDJG7sQOosiPmP2vcL2PBszjxJmplwMxXDp8f+bz9elZUtsicP0EEVID o+tg== MIME-Version: 1.0 Received: by 10.68.137.41 with SMTP id qf9mr31695396pbb.103.1352134056954; Mon, 05 Nov 2012 08:47:36 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.68.124.130 with HTTP; Mon, 5 Nov 2012 08:47:36 -0800 (PST) In-Reply-To: <201211052039.55188.onyx@z-up.ru> References: <201211042144.08807.onyx@z-up.ru> <201211051849.51278.onyx@z-up.ru> <201211052039.55188.onyx@z-up.ru> Date: Mon, 5 Nov 2012 08:47:36 -0800 X-Google-Sender-Auth: Cg0W8Bn06MbOCwE3MAICb8RM_8A Message-ID: Subject: Re: Replacing wireless nic on my router From: Adrian Chadd To: onyx@z-up.ru Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 05 Nov 2012 16:47:37 -0000 Hi, You need to verify that the packet is actually going out over the air, and that it's being received by the client. It could be rejected for a variety of reasons: * If it's going out the wrong rate, because somehow it's going out (say) 11n when the client i 11g; * It's being received at the other end but it's being rejected - eg out of sequence, or incorrect encryption setup. The newer NIC brings with it a different HAL (AR5416/AR9002 HAL versus AR5212 HAL) and so there may be some subtle behavioural changes. Have you tried running the AP in open mode and ensuring everything can associate? Thanks, Adrian On 5 November 2012 08:39, Dmitry Kolosov wrote: >> The first thing I'd do is start by verifying that the packet actually > >> went out over the air. > > I think they do. In both ways. I can see it on AP with tcpdump. Linux and > WinXP installed on the same laptop working fine with same AP before and > after changing wireless nic on AP. > >> I'd also use athstats to see if your station is receiving the DHCP > >> replies. The "Rx" counter should be going up each time the server > >> sends the response. > > > > Can't i see it with tcpdump? I'm starting tcpdump on AP and on client at the > same time and run `dhclient wlan0` on client. On client i see outgoing DHCP > request after association with AP. On AP i see incoming DHCP request from > client! On AP i see outgoing DHCP reply to client! But i don't see incoming > DHCP reply on clinet with tcpdump -y IEEE802_11_RADIO or with default media > type. > > > > Thanks in advance, Adrian. > > Really weird. All other devices working just fine. From owner-freebsd-wireless@FreeBSD.ORG Tue Nov 6 17:54:09 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E1AE42B; Tue, 6 Nov 2012 17:54:09 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 183BB8FC15; Tue, 6 Nov 2012 17:54:09 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so617268pbb.13 for ; Tue, 06 Nov 2012 09:54:08 -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 :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Var1G2eiEYO6h0Ei0IAF3isPUpYqiyjVWDplNvEPvI8=; b=t3NssNb95l+25b0I5m1PLgOdGaJVV3C2roykwRCEnTMtQzIHaV9EJzWWdjHjFdXjPk OWcFql7wNeR3BdgE7HMhjrXKppLKSIlXhtfTkMPO1jQ3IUJwrjcUNOFcaIojmcxqhfIy PTbqKNQGATvdtXtXqIm5+YzFgyr1MuboGOELA6coVcGJgRzdVaFOYQY0pyFE0a746JLE yA6Uh1fKJmoGRLNDypGBe00fHXvqX9iGhSyRK4LTe3X5kGI/BQXedNkKupAgm++zMGEl 2iY0+2MMsM5zSMLd52zNt5I3+y0nvYpdgyhmSb7YhS0Swes+1LAsiqCNm2KQ2GGqHmy3 hGXw== MIME-Version: 1.0 Received: by 10.66.77.74 with SMTP id q10mr4514117paw.81.1352224448655; Tue, 06 Nov 2012 09:54:08 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.68.124.130 with HTTP; Tue, 6 Nov 2012 09:54:08 -0800 (PST) In-Reply-To: <905704199.20121104151935@serebryakov.spb.ru> References: <905704199.20121104151935@serebryakov.spb.ru> Date: Tue, 6 Nov 2012 09:54:08 -0800 X-Google-Sender-Auth: 2oo3d64G2OhJb5jCp9oeKIAjwyo Message-ID: Subject: Re: ath still uses non-initialized memory sometimes From: Adrian Chadd To: Lev Serebryakov Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 06 Nov 2012 17:54:09 -0000 Hi, That's fine. It's an RX descriptor that hasn't been totally DMAed out. You called ath_reset(), which stops DMA. ;) adrian On 4 November 2012 03:19, Lev Serebryakov wrote: > Hello, Freebsd-wireless. > > r242489: > > ath0: ath_reset: called > ath0: ath_stoptxdma: tx queue [9] 0x2e9a000, link 0 > ath0: ath_tx_stopdma: tx queue [0] 0, link 0 > ath0: ath_tx_stopdma: tx queue [1] 0, link 0 > ath0: ath_tx_stopdma: tx queue [2] 0, link 0 > ath0: ath_tx_stopdma: tx queue [3] 0, link 0 > ath0: ath_tx_stopdma: tx queue [8] 0, link 0 > ath0: ath_legacy_stoprecv: rx queue 0x2e9b1e0, link 0xd5e9b120 > R[ 0] (DS.V:0xd5e9b180 DS.P:0x2e9b180) L:02e9b1e0 D:06141800 * > aa55aa55 00000800 1b800f13 00000125 > 00035263 00000100 14800300 80808080 80808080 80808080 00000003 > > > -- > // Black Lion AKA Lev Serebryakov > > _______________________________________________ > 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 Tue Nov 6 18:31:27 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 426B6DBD for ; Tue, 6 Nov 2012 18:31:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-da0-f54.google.com (mail-da0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 145AC8FC14 for ; Tue, 6 Nov 2012 18:31:26 +0000 (UTC) Received: by mail-da0-f54.google.com with SMTP id z9so335172dad.13 for ; Tue, 06 Nov 2012 10:31:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=ygsdYvbVEp+rhjNIwH5Y4vCg8ZbO6ARalRpHJBHhHKU=; b=ZcHGXyO1u9oEwZOfYZ4dBMkEtpfliP4UDrf2gizrnp+df6kVbBQLKyJ+IYjBEXY9Uz 4m+UHORrluYc3cZDB9cLydIvyZ3Efv5rqqfnhUAyjQII/i8zmKroQplQ8dbXReSawgp0 YwZh/hMxwxkVAtD/iGtMKeZwofNHJXwjdK0zNtMbSfxTww4rgGJqqqaHdnMvWVSMHUTj 0nZt/VW8j7TXXibogUK4TvZua0O4oo95UE4cJlO6tEJSCV2bzzxOHP5PcjBjqx7mfXxT PvfGQSkqRihC7JHbFHEA2LLfIT8K0y5UMFfJKkAfShyGLbppN14WIdds2p9Mp7IbbLuf 8+Vg== MIME-Version: 1.0 Received: by 10.68.137.198 with SMTP id qk6mr5850248pbb.60.1352226686602; Tue, 06 Nov 2012 10:31:26 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.68.124.130 with HTTP; Tue, 6 Nov 2012 10:31:26 -0800 (PST) Date: Tue, 6 Nov 2012 10:31:26 -0800 X-Google-Sender-Auth: nkCh3Of2eEEu8TK75_a2YNQoVeI Message-ID: Subject: Update: TX aggregation code changes in preparation for AR9380 support; PS-POLL is really broken 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.14 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, 06 Nov 2012 18:31:27 -0000 Hi all, Here's the update! I've rearchitected how the TX descriptor setup code runs so 802.11n aggregation setup re-uses much of the same code as non-aggregation. This allowed me to enable TX aggregation for my AR9380 NIC. I've only tested it to 2 streams (as I don't have a 3 stream AP at home :-) It's possible this has had some unintended side-effects for the existing 11n and non-11n chips so if you can test, please do. My power save code works great RIGHT until you use ps-poll. Then things go completely whacked. Simply - I now correctly update the TIM and pause the software TX queue for a given station if it goes into power save mode. But when a PS-POLL is received, there's no way to send anything back to the node. I now need to finish my power save work so PS-POLL can leak frames from the driver first, THEN leak frames from the net80211 psq. It's a bit tricky as the net80211 psq frames are queued before they're encapsulated. So when the stack leaks out PS-POLL frames, it sends them to the driver with M_PWR_SAV set in the mbuf. The driver then needs to ensure those frames get handled correctly. Ie: * if there's anything in the software queue, leak those out one at a time (obeying all of the 802.11n aggregation checks and block-ack window stuff); * If the software queue is empty, allow net80211 to schedule traffic to that node from the psq (which will send the frame through the net80211 stack to be encapsulated), then again make sure that only -one- frame gets sent out. I don't think it's going to be that difficult. I just have to teach the software queue handling to: * Have some concept of a "leak exactly one frame out, then clear this flag" ps-poll flag for each node; * When a node gets scheduled, check if the ps-poll node flag is set and if so, schedule it at high priority (ie, in a "ps-poll" software queue, rather than putting the node on the normal software queue); * When doing the software dispatch run, only leak one node out at a time, rather than "send all the frames until the hardware queue is busy". So for now, as this is going to take a tad longer than I thought, I'll push in a change to disable my power save work so the TIM and software TX pausing/unpausing doesn't get updated. I'll enable it locally for development, but it'll disable to the older behaviour of "just keep sending stuff to the STA." That will at least unbreak ps-poll devices. Thanks to Garrett Cooper for sending me a HP Touchpad - primarily so I have a reference ARM+ath6kl wireless platform, but also because it turns out that _it_ does aggressive ps-poll handling. I can now figure out how to correctly behave here. :-) Adrian From owner-freebsd-wireless@FreeBSD.ORG Wed Nov 7 02:42:24 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0A02EF7A; Wed, 7 Nov 2012 02:42:24 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 5420C8FC0A; Wed, 7 Nov 2012 02:42:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id qA72SP1O009685; Wed, 7 Nov 2012 13:28:26 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 7 Nov 2012 13:28:25 +1100 (EST) From: Ian Smith To: Adrian Chadd Subject: Re: Replacing wireless nic on my router In-Reply-To: Message-ID: <20121107132255.I83367@sola.nimnet.asn.au> References: <201211042144.08807.onyx@z-up.ru> <201211051849.51278.onyx@z-up.ru> <201211052039.55188.onyx@z-up.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 07 Nov 2012 02:42:24 -0000 On Mon, 5 Nov 2012 08:47:36 -0800, Adrian Chadd wrote: > Hi, > > You need to verify that the packet is actually going out over the air, > and that it's being received by the client. > > It could be rejected for a variety of reasons: > > * If it's going out the wrong rate, because somehow it's going out > (say) 11n when the client i 11g; > * It's being received at the other end but it's being rejected - eg > out of sequence, or incorrect encryption setup. > > The newer NIC brings with it a different HAL (AR5416/AR9002 HAL versus > AR5212 HAL) and so there may be some subtle behavioural changes. > > Have you tried running the AP in open mode and ensuring everything can > associate? > > Thanks, > > > > Adrian Maybe a silly question, it's more likely a wireless problem as you suspect, but are we sure there's no firewall involved that might be dropping DHCP responses on the client? cheers, Ian > > On 5 November 2012 08:39, Dmitry Kolosov wrote: > >> The first thing I'd do is start by verifying that the packet actually > > > >> went out over the air. > > > > I think they do. In both ways. I can see it on AP with tcpdump. Linux and > > WinXP installed on the same laptop working fine with same AP before and > > after changing wireless nic on AP. > > > >> I'd also use athstats to see if your station is receiving the DHCP > > > >> replies. The "Rx" counter should be going up each time the server > > > >> sends the response. > > > > > > > > Can't i see it with tcpdump? I'm starting tcpdump on AP and on client at the > > same time and run `dhclient wlan0` on client. On client i see outgoing DHCP > > request after association with AP. On AP i see incoming DHCP request from > > client! On AP i see outgoing DHCP reply to client! But i don't see incoming > > DHCP reply on clinet with tcpdump -y IEEE802_11_RADIO or with default media > > type. > > > > > > > > Thanks in advance, Adrian. > > > > Really weird. All other devices working just fine. From owner-freebsd-wireless@FreeBSD.ORG Wed Nov 7 06:08:05 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DC8A65F2; Wed, 7 Nov 2012 06:08:05 +0000 (UTC) (envelope-from onyx@z-up.ru) Received: from mx.z-up.ru (mx.z-up.ru [92.50.244.44]) by mx1.freebsd.org (Postfix) with ESMTP id 883FA8FC14; Wed, 7 Nov 2012 06:08:04 +0000 (UTC) Received: from onyx-y550p.loc (unknown [192.168.0.180]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.z-up.ru (Postfix) with ESMTPSA id 22E9C11464; Wed, 7 Nov 2012 10:07:37 +0400 (GMT-4) From: Dmitry Kolosov To: Ian Smith Subject: Re: Replacing wireless nic on my router Date: Wed, 7 Nov 2012 10:07:56 +0400 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; i386; ; ) References: <201211042144.08807.onyx@z-up.ru> <20121107132255.I83367@sola.nimnet.asn.au> In-Reply-To: <20121107132255.I83367@sola.nimnet.asn.au> X-KMail-Markup: true MIME-Version: 1.0 Message-Id: <201211071007.57225.onyx@z-up.ru> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: onyx@z-up.ru 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, 07 Nov 2012 06:08:05 -0000 > Maybe a silly question, it's more likely a wireless problem as you > suspect, but are we sure there's no firewall involved that might be > dropping DHCP responses on the client? I will double check it. If so, this firewall is not on client, cuz packets did not come to wireless nic at all. Firewall might to drop received packets, but tcpdump -y IEEE802_11_RADIO is silent of any packets from my AP (except auth). I will check firewall on AP. From owner-freebsd-wireless@FreeBSD.ORG Thu Nov 8 05:12:47 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45FC33F9 for ; Thu, 8 Nov 2012 05:12:47 +0000 (UTC) (envelope-from cpatrick08@rocketmail.com) Received: from nm34-vm3.bullet.mail.ne1.yahoo.com (nm34-vm3.bullet.mail.ne1.yahoo.com [98.138.229.83]) by mx1.freebsd.org (Postfix) with ESMTP id D98A88FC08 for ; Thu, 8 Nov 2012 05:12:46 +0000 (UTC) Received: from [98.138.90.51] by nm34.bullet.mail.ne1.yahoo.com with NNFMP; 08 Nov 2012 05:09:31 -0000 Received: from [98.138.87.2] by tm4.bullet.mail.ne1.yahoo.com with NNFMP; 08 Nov 2012 05:09:30 -0000 Received: from [127.0.0.1] by omp1002.mail.ne1.yahoo.com with NNFMP; 08 Nov 2012 05:09:30 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 954247.17474.bm@omp1002.mail.ne1.yahoo.com Received: (qmail 99293 invoked by uid 60001); 8 Nov 2012 05:09:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1352351370; bh=cBzW5bl9zlQ9JRjuv5zvyIm/OCFDN7k4bYU3uVVgzmc=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=pACOMftH3LDDcLycjV9VKwrSuM2S6Qxd4jpAkBTqQIx5wDy57TEVInz9Hq2OBt8zO1FpytWTzrZE0Y1FBsZDNXlZVd5e6uTgFomcCm/Hi7AcaJfmIStrANZ6fExIchjBR8sdjlM5jR3J1eEgFVSJPiS638gO9ZsWx/2C17dEbSI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rocketmail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=vhEi6FDmW/JJi3t4EZGG2A5J53r/Usd05QHxbGB10O/dV1tpN6PAEWVO953gSoUuIpyM2OjD/e/pLR6GR8AgnKqGNfKW7YXd63LMzH5unG9UTFZBgBfinhOWn2hEY/pXV8nBHnviA4sdUHz34Qw0m2yQvdDl7T6NQfJfmIUbzHA=; X-YMail-OSG: FBIwvboVM1m7ZvFpSJyovLYTwkN_MO22g2Bw4xtSAVtAKKT Sb5a4UMGRpbTc2lRAJoss24NFjncKuTcIgv5gdrznbzHKSDSK1kUaMy.X2f1 _LWDOh53XLaP2S8tfWgF_2Tsy_.vXj_vDdVpjxiVX2dE.W3wLMjFLoqeGBsi mjyvGwyJ8cQGXo6cseBbTNYuiomV7Tsil.jr1v3hZeOOsJ327oxyfFAA6zX1 HEknfNW0vs0f0Py_gECti5BYdI7t1RBBmFnvCvDTYWm_iSqfcYURn4q3TQPc AFk90W1MHbI.VzCGRTu0SIXPjvxOy1YqV4_R64IhI2lZTb1RED4Vg_obkHiO 5CX8gtPAReXgpJYrhUHUlDk3ueEofPgLOhW6iYq_I.7EGKQhf0TaRFIvK.Y2 4LzTBx8J7cOesKTl2695PKU3Cwc_bi4u1HowlLozXFpYFq1AaoRRAm9rn4xr JC0y4gclzAHjAZWyouCxrDXqKECNxiHpmckhYwLAXBcVDhmZTuEIbf6oUwyL Bbucog6yrdW8- Received: from [98.67.168.8] by web122401.mail.ne1.yahoo.com via HTTP; Wed, 07 Nov 2012 21:09:30 PST X-Rocket-MIMEInfo: 001.001, CgpJIHdhcyB3b25kZXJpbmcgSWYgeW91IHdvdWxkIGJlIGtpbmQgZW5vdWdoIHRvIHBvcnQgdXJ0d24gZnJvbSBPcGVuYnNkLiBJIHdvdWxkIGJlIHdpbGxpbmcgdG8gdGVzdCBpdCBpZiB5b3Ugd291bGQgcGxlYXNlIHBvcnQgaXQuATABAQEB X-Mailer: YahooMailWebService/0.8.123.460 References: <1352350980.91751.YahooMailNeo@web122401.mail.ne1.yahoo.com> Message-ID: <1352351370.96695.YahooMailNeo@web122401.mail.ne1.yahoo.com> Date: Wed, 7 Nov 2012 21:09:30 -0800 (PST) From: Christopher Patrick Subject: porting urtwn from openbsd to freebsd for RTL8188CE Driver Support To: "freebsd-wireless@freebsd.org" In-Reply-To: <1352350980.91751.YahooMailNeo@web122401.mail.ne1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Christopher Patrick 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, 08 Nov 2012 05:12:47 -0000 I was wondering If you would be kind enough to port urtwn from Openbsd. I would be willing to test it if you would please port it. From owner-freebsd-wireless@FreeBSD.ORG Thu Nov 8 06:15:33 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 67380B7B for ; Thu, 8 Nov 2012 06:15:33 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3487E8FC08 for ; Thu, 8 Nov 2012 06:15:32 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so1859681pad.13 for ; Wed, 07 Nov 2012 22:15:32 -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 :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=p/rNdOnKh531ZL5/nFeijsWrqb1FlQeB5sTAqsqdBN0=; b=dkZB0g33R5i8RYMD7d/mW59h0aEpvXJshye/z50A6XfMVaown+AHmqWG7NbKwQW0vz Pu4RfE1MyoIPRvSjmd2pkzjlZZjJlkxNN0kZD1ZmCZKNXbdUQEhfHRD8ipIitZsjpzLk +h+9aCt7mi6whtS+Kf1kTINBp45cXN4JitzSZwJxZUe/wQ+GS1yJ2kke2Q0oG+TwGMtc lydpCSBuc+Y5b0/91aZI8VPEyurH3ER4YsupBUkCCEtSNJy9uQPg7S2n+cUryLz3eaLw DIlUmLmHCZQp8WJqbTMI/LTmd0lmazXobmGJKCuAm+AO+VZr/ZkhZvnJpIIv2J+EzGXA haeg== MIME-Version: 1.0 Received: by 10.68.137.41 with SMTP id qf9mr20874427pbb.103.1352355332575; Wed, 07 Nov 2012 22:15:32 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.68.124.130 with HTTP; Wed, 7 Nov 2012 22:15:32 -0800 (PST) In-Reply-To: <1352351370.96695.YahooMailNeo@web122401.mail.ne1.yahoo.com> References: <1352350980.91751.YahooMailNeo@web122401.mail.ne1.yahoo.com> <1352351370.96695.YahooMailNeo@web122401.mail.ne1.yahoo.com> Date: Wed, 7 Nov 2012 22:15:32 -0800 X-Google-Sender-Auth: TUijzgyIjyQh3LIHLVD15oaMDc8 Message-ID: Subject: Re: porting urtwn from openbsd to freebsd for RTL8188CE Driver Support From: Adrian Chadd To: Christopher Patrick Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 08 Nov 2012 06:15:33 -0000 I'd love if someone would do this. Anyone? Adrian On 7 November 2012 21:09, Christopher Patrick wrote: > > > I was wondering If you would be kind enough to port urtwn from Openbsd. I would be willing to test it if you would please port it. > _______________________________________________ > 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 Thu Nov 8 09:15:53 2012 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 885E23AE; Thu, 8 Nov 2012 09:15:53 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from ns.kevlo.org (kevlo.org [220.128.136.52]) by mx1.freebsd.org (Postfix) with ESMTP id 1B2418FC16; Thu, 8 Nov 2012 09:15:48 +0000 (UTC) Received: from srg.kevlo.org (git.kevlo.org [220.128.136.52]) by ns.kevlo.org (8.14.5/8.14.5) with ESMTP id qA89FYPN034894; Thu, 8 Nov 2012 17:15:34 +0800 (CST) (envelope-from kevlo@FreeBSD.org) Message-ID: <509B783D.6010403@FreeBSD.org> Date: Thu, 08 Nov 2012 17:15:41 +0800 From: Kevin Lo User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20121009 Thunderbird/15.0.1 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: Re: porting urtwn from openbsd to freebsd for RTL8188CE Driver Support References: <1352350980.91751.YahooMailNeo@web122401.mail.ne1.yahoo.com> <1352351370.96695.YahooMailNeo@web122401.mail.ne1.yahoo.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Christopher Patrick , "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 08 Nov 2012 09:15:53 -0000 I am by no means a serious wireless expert. After hours of porting/hacking, I came up with code what finally compiled and a basic function worked for me. Wish I had more free time to finish it. # dmesg |grep urtwn urtwn0: on usbus1 urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R # ifconfig urtwn0 urtwn0: flags=8802 metric 0 mtu 2290 ether 00:1f:1f:dd:35:43 nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier Kevin On 2012/11/08 14:15, Adrian Chadd wrote: > I'd love if someone would do this. Anyone? > > > > Adrian > > > On 7 November 2012 21:09, Christopher Patrick wrote: >> >> I was wondering If you would be kind enough to port urtwn from Openbsd. I would be willing to test it if you would please port it. >> _______________________________________________ >> 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" > _______________________________________________ > 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 Thu Nov 8 10:04:21 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 303E74D2 for ; Thu, 8 Nov 2012 10:04:21 +0000 (UTC) (envelope-from cpatrick08@rocketmail.com) Received: from nm36-vm7.bullet.mail.gq1.yahoo.com (nm36-vm7.bullet.mail.gq1.yahoo.com [98.136.216.222]) by mx1.freebsd.org (Postfix) with ESMTP id DDF2F8FC14 for ; Thu, 8 Nov 2012 10:04:20 +0000 (UTC) Received: from [98.137.12.62] by nm36.bullet.mail.gq1.yahoo.com with NNFMP; 08 Nov 2012 10:01:20 -0000 Received: from [98.137.0.69] by tm7.bullet.mail.gq1.yahoo.com with NNFMP; 08 Nov 2012 10:01:20 -0000 Received: from [127.0.0.1] by smtp121-mob.biz.mail.gq1.yahoo.com with NNFMP; 08 Nov 2012 10:01:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1352368880; bh=y3OU1zaBDu9gbJOXIIOMHyu1bIvbzoPrNqiES4UFSEI=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Subject:References:From:Content-Type:X-Mailer:In-Reply-To:Message-Id:Date:To:Content-Transfer-Encoding:Mime-Version; b=1C3QGBYBYvACkTLHALRqVvzSfnYmtpMlh5cz2FTRWtFgJUryCAyBl0wHurol2AgezTYNBT4g61IVO/XvpMCQUKREFKLRXPIcfbWd0+gaC3onJPD5HH2AIOsGXXbuESe9HPOCTGsANC1lPxynMUa5PiP7DRdTnV/kQOGD50izhKg= X-Yahoo-Newman-Id: 68074.77128.bm@smtp121-mob.biz.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: .IB8bToVM1leMVVlTc1uc5bqq27fKJDqlt3_XEABjyhjxsb YEfUmPRg9X7U4fBIZ8Nt_v9F7VjvY_UwAGvjiZoXtXn8mHt7g0kHeayEsXg4 dEG3X8Ycdnezm0d2CRB7sAt6brbTda_HQUt.GzAKgGm381Apz.vODikbtful pklMOt3JGOvQBoLau7ZPPU_63Eyw4SWrUrQua5GMdwtIeWwJdpvXL1KL.ZVA A4xaTazpSWnKA7TQj0mzhkpF2qWPF30hy3blw3ZnlYNgzbPIGb6aJBPhjVQN em_wxk97t661gbv.V7upngKLYwR8msvRHtHrYamI7b.TNqj_EMEBqvE2FH9L u.OrHK_2FWhUugCqRcgSvZaFoh4aBFw0Rwe2CCodWLs7M.4BiPojRf5U7q4A NhWqGhWdPyYJtd5gSc4fUcmmOdYCH4GbxwZv8o2PTMuN0ga_2qJ2.4ePzOuY C2qRwNyLOQyfQsVscQIrfcMMlzd4P9wTQLVrEZrnh9xxX8xp9iQqPcr2nyg- - X-Yahoo-SMTP: BLHOmSSswBAQ19BLk39WnamgRE5sD9dK.mGFQzOWz9OExAs_Z_s- Received: from [192.168.1.101] (cpatrick08@98.67.166.161 with xymcookie) by smtp121-mob.biz.mail.gq1.yahoo.com with SMTP; 08 Nov 2012 10:01:19 +0000 UTC Subject: Re: Re: Re: porting urtwn from openbsd to freebsd for RTL8188CE Driver Support References: <1352350980.91751.YahooMailNeo@web122401.mail.ne1.yahoo.com> <1352351370.96695.YahooMailNeo@web122401.mail.ne1.yahoo.com> <509B783D.6010403@FreeBSD.org> From: Christopher Patrick Content-Type: text/plain; charset=us-ascii X-Mailer: iPod Mail (10B5095f) In-Reply-To: <509B783D.6010403@FreeBSD.org> Message-Id: <3D14720C-45F9-414D-A5B5-43824EA9A7DD@rocketmail.com> Date: Thu, 8 Nov 2012 04:01:16 -0600 To: "freebsd-wireless@freebsd.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 08 Nov 2012 10:04:21 -0000 Could you post the code somewhere so somebody maybe could finish it with/for= you Sent from my iPod On Nov 8, 2012, at 3:15, Kevin Lo wrote: > I am by no means a serious wireless expert. After hours of porting/hacking= , > I came up with code what finally compiled and a basic function worked for m= e. > Wish I had more free time to finish it. >=20 > # dmesg |grep urtwn > urtwn0: o= n usbus1 > urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R >=20 > # ifconfig urtwn0 > urtwn0: flags=3D8802 metric 0 mtu 2290 > ether 00:1f:1f:dd:35:43 > nd6 options=3D29 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier >=20 > Kevin >=20 > On 2012/11/08 14:15, Adrian Chadd wrote: >> I'd love if someone would do this. Anyone? >>=20 >>=20 >>=20 >> Adrian >>=20 >>=20 >> On 7 November 2012 21:09, Christopher Patrick = wrote: >>>=20 >>> I was wondering If you would be kind enough to port urtwn from Openbsd. I= would be willing to test it if you would please port it. >>> _______________________________________________ >>> freebsd-wireless@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.o= rg" >> _______________________________________________ >> 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" >=20 From owner-freebsd-wireless@FreeBSD.ORG Thu Nov 8 10:07:25 2012 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B1F56715; Thu, 8 Nov 2012 10:07:25 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from ns.kevlo.org (kevlo.org [220.128.136.52]) by mx1.freebsd.org (Postfix) with ESMTP id 48D428FC21; Thu, 8 Nov 2012 10:07:25 +0000 (UTC) Received: from [127.0.0.1] (git.kevlo.org [220.128.136.52]) by ns.kevlo.org (8.14.5/8.14.5) with ESMTP id qA8A7HT9035230; Thu, 8 Nov 2012 18:07:17 +0800 (CST) (envelope-from kevlo@FreeBSD.org) Message-ID: <1352369243.2368.4.camel@nsl> Subject: Re: Re: porting urtwn from openbsd to freebsd for RTL8188CE Driver Support From: Kevin Lo To: Adrian Chadd Date: Thu, 08 Nov 2012 18:07:23 +0800 In-Reply-To: <509B783D.6010403@FreeBSD.org> References: <1352350980.91751.YahooMailNeo@web122401.mail.ne1.yahoo.com> <1352351370.96695.YahooMailNeo@web122401.mail.ne1.yahoo.com> <509B783D.6010403@FreeBSD.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Cc: Christopher Patrick , "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 08 Nov 2012 10:07:25 -0000 Kevin Lo wrote: > I am by no means a serious wireless expert. After hours of porting/hacking, > I came up with code what finally compiled and a basic function worked > for me. > Wish I had more free time to finish it. > > # dmesg |grep urtwn > urtwn0: > on usbus1 > urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R > > # ifconfig urtwn0 > urtwn0: flags=8802 metric 0 mtu 2290 > ether 00:1f:1f:dd:35:43 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier Oops, forgot to mention, the code is available at http://people.freebsd.org/~kevlo/patch-urtwn The code is ugly and not fully functional for sure. If anyone wants to finish it, please go ahead. :-) Kevin