From owner-freebsd-wireless@FreeBSD.ORG Sun Jul 10 10:55:11 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B766106566C for ; Sun, 10 Jul 2011 10:55:11 +0000 (UTC) (envelope-from venture37@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 05D188FC13 for ; Sun, 10 Jul 2011 10:55:10 +0000 (UTC) Received: by vxg33 with SMTP id 33so2986353vxg.13 for ; Sun, 10 Jul 2011 03:55:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Z3W9mBCBD/ulRoYD7h6rrjsN7KRh9lCPhW3oSiWPuyc=; b=Yu5QZFrgGxS+nt+nXilRMG8crOb+471C5k70jWez7IuRQB4erP3fETP0Oc7AukGFYc jwW00wZXfU1vj255UCsnkKD/9+LfTXvaTDsP18b3A/rVE5EdzwoGyfvjhZsxKdsIbDgW 293oy8LMYyB/3sfwZQf27vDE8hhf4qdMFHtuc= MIME-Version: 1.0 Received: by 10.52.37.131 with SMTP id y3mr1266388vdj.403.1310295310137; Sun, 10 Jul 2011 03:55:10 -0700 (PDT) Received: by 10.52.155.67 with HTTP; Sun, 10 Jul 2011 03:55:10 -0700 (PDT) In-Reply-To: <4E163F7B.8030804@gmail.com> References: <4E13F39E.1000302@gmail.com> <4E14F2B8.4090200@gmail.com> <4E163F7B.8030804@gmail.com> Date: Sun, 10 Jul 2011 11:55:10 +0100 Message-ID: From: "Sevan / Venture37" To: Matt Content-Type: text/plain; charset=UTF-8 Cc: freebsd-wireless@freebsd.org Subject: Re: RT2860/RT3090/RAL: Any brave testers? X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 10 Jul 2011 10:55:11 -0000 On 8 July 2011 00:21, Matt wrote: > Did both patches apply successfully? It sounds like Makefile patch is > applied but patch to /usr/src/sys/dev/ral is not. Ralpatch.diff is the > actual driver code, ralmakepatch.diff patches the makefile to use it. > > For what it's worth, I just erased /usr/src/sys/dev/ral, csup'd to current, > applied the patches from the link and was able to build it. I have been > building it seperately as a module by going to /usr/src/sys/modules/ral and > typing "make && make install". Not sure if that's the difference. > > I'd be glad to help get this built...sorry for any frustration! > > Matt > Try this, add the delete keyword to your supfile & re-fetch src this should remove all your local changes to files already in the src repo now apply your diff & attempt to build a kernel or the individual module, does it work?? your diff also contains a .rej file which does'nt need to be there Sevan From owner-freebsd-wireless@FreeBSD.ORG Mon Jul 11 04:23:49 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5F74106564A for ; Mon, 11 Jul 2011 04:23:49 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9C2E28FC08 for ; Mon, 11 Jul 2011 04:23:49 +0000 (UTC) Received: by iyb11 with SMTP id 11so4280816iyb.13 for ; Sun, 10 Jul 2011 21:23:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=7LLtiJ+5tVfdiOhS/rfKq4MIzRxGgO54CMTYOsElhHw=; b=kOrSkbMcQG6scVD5fm7ckqUt/VT3RTT0LoAAz81/2MyFy1jxcAHtT4+aHl6h5JdQKD ceK+/y9ZcK6NL9W21F1T6ko4doo8MdFSHVWD0hLIN7TkHlxZOGvz+RmIX6szE4DPtQdK xtgQrqW308Uwy3NkUh18xYloNOUjMZmea692c= Received: by 10.42.154.201 with SMTP id r9mr4130052icw.99.1310358228857; Sun, 10 Jul 2011 21:23:48 -0700 (PDT) Received: from sidhe.local ([75.111.38.94]) by mx.google.com with ESMTPS id my4sm7505044ibb.20.2011.07.10.21.23.45 (version=SSLv3 cipher=OTHER); Sun, 10 Jul 2011 21:23:46 -0700 (PDT) Message-ID: <4E1A7ACF.9060306@gmail.com> Date: Sun, 10 Jul 2011 21:23:43 -0700 From: Matt User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.18) Gecko/20110624 Thunderbird/3.1.11 MIME-Version: 1.0 To: Sevan / Venture37 References: <4E13F39E.1000302@gmail.com> <4E14F2B8.4090200@gmail.com> <4E163F7B.8030804@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-wireless@freebsd.org Subject: Re: RT2860/RT3090/RAL: Any brave testers? X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 11 Jul 2011 04:23:49 -0000 On 07/10/11 03:55, Sevan / Venture37 wrote: > On 8 July 2011 00:21, Matt wrote: >> Did both patches apply successfully? It sounds like Makefile patch is >> applied but patch to /usr/src/sys/dev/ral is not. Ralpatch.diff is the >> actual driver code, ralmakepatch.diff patches the makefile to use it. >> >> For what it's worth, I just erased /usr/src/sys/dev/ral, csup'd to current, >> applied the patches from the link and was able to build it. I have been >> building it seperately as a module by going to /usr/src/sys/modules/ral and >> typing "make&& make install". Not sure if that's the difference. >> >> I'd be glad to help get this built...sorry for any frustration! >> >> Matt >> > Try this, > add the delete keyword to your supfile& re-fetch src > this should remove all your local changes to files already in the src repo > now apply your diff& attempt to build a kernel or the individual > module, does it work?? > your diff also contains a .rej file which does'nt need to be there > > > Sevan > Let me test again wipe out /usr/obj and /usr/src, csup and try again. That tends to wipe things out just as well. The module builds on other machines with fresh source trees. Do you have any more specific info, such as arch, release, error messages, etc? Do you have a file at /usr/src/sys/dev/ral/rt2860.c? Thanks Matt From owner-freebsd-wireless@FreeBSD.ORG Mon Jul 11 11:07:15 2011 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93477106566B for ; Mon, 11 Jul 2011 11:07:15 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 79F138FC08 for ; Mon, 11 Jul 2011 11:07:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p6BB7FPL077168 for ; Mon, 11 Jul 2011 11:07:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6BB7E6I077166 for freebsd-wireless@FreeBSD.org; Mon, 11 Jul 2011 11:07:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Jul 2011 11:07:14 GMT Message-Id: <201107111107.p6BB7E6I077166@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 Cc: Subject: Current problem reports assigned to freebsd-wireless@FreeBSD.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 11 Jul 2011 11:07:15 -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/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/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/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/149307 wireless [ath] Doesn't work Atheros 9285 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/148112 wireless [ath] Atheros 9285 cannot register with wifi AP (timeo o kern/148078 wireless [ath] wireless networking stops functioning 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 bin/144109 wireless hostapd(8) uses the MAC of the wireless interface, but o kern/143868 wireless [ath] [patch] [request] allow Atheros watchdog timeout o conf/143079 wireless hostapd(8) startup missing multi wlan functionality o kern/140796 wireless [ath] [panic] Cannot attach (unable to attach hardware 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 49 problems total. From owner-freebsd-wireless@FreeBSD.ORG Tue Jul 12 00:31:23 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D0751065753 for ; Tue, 12 Jul 2011 00:31:23 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 152858FC18 for ; Tue, 12 Jul 2011 00:31:22 +0000 (UTC) Received: by iyb11 with SMTP id 11so5397330iyb.13 for ; Mon, 11 Jul 2011 17:31:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=799VAyQiSSxKm/IBwGWp3mC9xC/EJLvfr49RkAmMX6k=; b=KMgnU+/yxHKPgqGxwh9m+Cmn0vATuH3f+JJUGxv3mg4cQaTLEV+qrqlydFb6OwbzES tEmA5aO3oWGAAHId1vI53eS7bOjbb09fSVYro0cL3tQ+84k66zo3QJVXAdDteQVICQJ3 jxQNr5oAU5QF15QESSi2Maci8gOCTvEBKeNLU= Received: by 10.42.180.10 with SMTP id bs10mr6278932icb.321.1310430682174; Mon, 11 Jul 2011 17:31:22 -0700 (PDT) Received: from sidhe.local ([75.111.38.94]) by mx.google.com with ESMTPS id x11sm1711852ibd.24.2011.07.11.17.31.19 (version=SSLv3 cipher=OTHER); Mon, 11 Jul 2011 17:31:20 -0700 (PDT) Message-ID: <4E1B95D6.4050003@gmail.com> Date: Mon, 11 Jul 2011 17:31:18 -0700 From: Matt User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.18) Gecko/20110624 Thunderbird/3.1.11 MIME-Version: 1.0 To: Sevan / Venture37 References: <4E13F39E.1000302@gmail.com> <4E14F2B8.4090200@gmail.com> <4E163F7B.8030804@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-wireless@freebsd.org Subject: Re: RT2860/RT3090/RAL: Any brave testers? X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 12 Jul 2011 00:31:23 -0000 On 07/10/11 03:55, Sevan / Venture37 wrote: > On 8 July 2011 00:21, Matt wrote: >> Did both patches apply successfully? It sounds like Makefile patch is >> applied but patch to /usr/src/sys/dev/ral is not. Ralpatch.diff is the >> actual driver code, ralmakepatch.diff patches the makefile to use it. >> >> For what it's worth, I just erased /usr/src/sys/dev/ral, csup'd to current, >> applied the patches from the link and was able to build it. I have been >> building it seperately as a module by going to /usr/src/sys/modules/ral and >> typing "make&& make install". Not sure if that's the difference. >> >> I'd be glad to help get this built...sorry for any frustration! >> >> Matt >> > Try this, > add the delete keyword to your supfile& re-fetch src > this should remove all your local changes to files already in the src repo > now apply your diff& attempt to build a kernel or the individual > module, does it work?? > your diff also contains a .rej file which does'nt need to be there > > > Sevan > I do have delete set in supfile. I also did this: rm -rf /usr/src rm -rf /usr/obj csup ~/localsupfile (identical to example but with cvsup2.freebsd.org) tar xvzf ralpatch.tar.gz mv ralpatch/*.diff . patch -p1 < ralpatch.diff patch -p1 < ralmakepatch.diff and module makes fine...I have only tested thus far against current, so if you are not on current or are running a different arch than amd64, please let me know that information as well as detailed make output failure. I'm sorry there appears to be some issue here, hopefully with more info I can resolve it? Matt From owner-freebsd-wireless@FreeBSD.ORG Tue Jul 12 15:22:34 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 389E8106567A for ; Tue, 12 Jul 2011 15:22:34 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id F319E8FC1E for ; Tue, 12 Jul 2011 15:22:33 +0000 (UTC) Received: by gxk28 with SMTP id 28so2472442gxk.13 for ; Tue, 12 Jul 2011 08:22:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=Ec9JLf9KxiNDajzjpOqWIdCpP9DZbrOmhSh/JlL9js4=; b=gDkqi9I3/dYCooPeaT1SybzrPbGp52d6E8z5nzYGr+Zl6W+cU/Mt5NlWwHaADK9hn5 3+MM755sJoHN1wyRqSAagnlKgz/5V+nb2AORR3Rq5SCtZ+vmMS+4IsmEvQ0OPU0GigQO uZb5losML4ONn0+ZI16yz/rJrDZ45kLa0aSkE= MIME-Version: 1.0 Received: by 10.151.6.3 with SMTP id j3mr266632ybi.44.1310484153241; Tue, 12 Jul 2011 08:22:33 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.150.189.1 with HTTP; Tue, 12 Jul 2011 08:22:33 -0700 (PDT) Date: Tue, 12 Jul 2011 23:22:33 +0800 X-Google-Sender-Auth: 0yHdv-RtR8iG83AwtKlHXpfcut4 Message-ID: From: Adrian Chadd To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: [patch] ifconfig: display DFS related information X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 12 Jul 2011 15:22:34 -0000 Hi, I'd like to extend the channel list output in ifconfig to include the DFS flags. These include: * D: channel is DFS enabeld * R: radar event has been detected on this channel * I: interference has been detected on this channel * C: CAC has completed on this channel (and thus can be used) This is primarily to aid IBSS/hostap developers who are tinkering with DFS/radar detection, but will be useful moving forward when users are configuring ibss/hostap in DFS enabled areas (when DFS is fully supported, that is.) Thanks, Adrian Index: ifieee80211.c =================================================================== --- ifieee80211.c (revision 223861) +++ ifieee80211.c (working copy) @@ -3451,9 +3451,13 @@ { char buf[14]; - printf("Channel %3u : %u%c MHz%-14.14s", + printf("Channel %3u : %u%c%c%c%c%c MHz%-14.14s", ieee80211_mhz2ieee(c->ic_freq, c->ic_flags), c->ic_freq, IEEE80211_IS_CHAN_PASSIVE(c) ? '*' : ' ', + IEEE80211_IS_CHAN_DFS(c) ? 'D' : ' ', + IEEE80211_IS_CHAN_RADAR(c) ? 'R' : ' ', + IEEE80211_IS_CHAN_CWINT(c) ? 'I' : ' ', + IEEE80211_IS_CHAN_CACDONE(c) ? 'C' : ' ', get_chaninfo(c, verb, buf, sizeof(buf))); } From owner-freebsd-wireless@FreeBSD.ORG Tue Jul 12 15:24:41 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DE701065674 for ; Tue, 12 Jul 2011 15:24:41 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 649698FC1E for ; Tue, 12 Jul 2011 15:24:40 +0000 (UTC) Received: by gyf3 with SMTP id 3so2472724gyf.13 for ; Tue, 12 Jul 2011 08:24:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=wegKXnL+5jRnTtMWymVCv2l/lQmQtYYBAqj4h5+M948=; b=i1AcsaJp1nv8c6Fd2A5r5TjzEumEyNmi6G5L/Gx3I6g+neDOFgexEzpCUY8w1ta2sl Jw3RTe3G+7iv53MA3YRhmAHsc0uR3a3XQOV85BCZBI0vky/+GlRB5vWXS0vlIYVlSUzf PZQSyjUmXtYhAr741fNjO5XqSxr4EEMZ56/Do= MIME-Version: 1.0 Received: by 10.151.6.3 with SMTP id j3mr269336ybi.44.1310484280541; Tue, 12 Jul 2011 08:24:40 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.150.189.1 with HTTP; Tue, 12 Jul 2011 08:24:40 -0700 (PDT) Date: Tue, 12 Jul 2011 23:24:40 +0800 X-Google-Sender-Auth: AuTqbpgWwBoVBLDLokEglNgx3HE Message-ID: From: Adrian Chadd To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: [patch] net80211: update BSS channel after CSA X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 12 Jul 2011 15:24:41 -0000 The BSS channel isn't updated after a CSA has completed. The BSS channel (iv_bss->ni_chan) is only set during an explicit channel change (via an ioctl); it isn't at all updated through the CSA code path. This patch kicks the channel update after the CSA is complete, changing the channel of all VAPs in the CSA state. It does resolve the issue (ie, ifconfig wlanX in STA mode shows the wrong BSS channel.) Thanks, adrian Index: ieee80211_proto.c =================================================================== --- ieee80211_proto.c (revision 223943) +++ ieee80211_proto.c (working copy) @@ -1510,8 +1510,10 @@ ic->ic_flags &= ~IEEE80211_F_CSAPENDING; TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) - if (vap->iv_state == IEEE80211_S_CSA) + if (vap->iv_state == IEEE80211_S_CSA) { + vap->iv_bss->ni_chan = ic->ic_curchan; ieee80211_new_state_locked(vap, IEEE80211_S_RUN, 0); + } } From owner-freebsd-wireless@FreeBSD.ORG Tue Jul 12 20:07:03 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48DA61065674 for ; Tue, 12 Jul 2011 20:07:03 +0000 (UTC) (envelope-from ulsanrub@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 18D3A8FC17 for ; Tue, 12 Jul 2011 20:07:02 +0000 (UTC) Received: by iwr19 with SMTP id 19so6372381iwr.13 for ; Tue, 12 Jul 2011 13:07:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=qfCpINQll9iwKnxa921eW45Uql4Aq4MI0zEjxxYh9zo=; b=PMsgNZrRffus63A0N6vSxsjSKsitbJngdDWUB4J+NpfjOed6FNDlLOu85NUwYrq/c9 0PHT9EPvm1InJVMXqfOdMJb8rxRGJlrqsS9xAahEoDmC+hgHBIvMim0fM8sBxrRkgteq EkRglmtkkxTwyPKQYNANaifHnCRFFJwqR0Yx4= MIME-Version: 1.0 Received: by 10.231.123.10 with SMTP id n10mr216805ibr.182.1310499624726; Tue, 12 Jul 2011 12:40:24 -0700 (PDT) Received: by 10.231.13.70 with HTTP; Tue, 12 Jul 2011 12:40:24 -0700 (PDT) Date: Tue, 12 Jul 2011 15:40:24 -0400 Message-ID: From: Kyungsoo Lee To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Disable CCA X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 12 Jul 2011 20:07:03 -0000 Hi guys, I'm using TDMA on FreeBSD for wireless LAN. Recently, I found that it still uses CCA. Is it possible to turn off CCA? Or may I change carrier sense threshold not to detect other's transmissions when the node transmits data packets? Thanks, Kyungsoo From owner-freebsd-wireless@FreeBSD.ORG Tue Jul 12 23:06:47 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21E8C106564A for ; Tue, 12 Jul 2011 23:06:47 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id D7FB38FC17 for ; Tue, 12 Jul 2011 23:06:46 +0000 (UTC) Received: by ywf7 with SMTP id 7so2684011ywf.13 for ; Tue, 12 Jul 2011 16:06:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=edQBIGsmyzjUUHUO4oQQ/6sMo1+qeduW0qkYHdScMfU=; b=gIemoTSHtLrso+bn2o0uoaR4fQKlky2SBNl8DupwyFULKVBWxJc8j1npCQCK2mRqR3 /eef/0k4tuE5E4WO6dom7P7hJ6JnwKD6vnIzU7ALl4CTtpmWWGP+E7lHwJbShjtShR1X 9I/mTnRlIdB6fE6mKE/UP3XmDez17Arb7iVgI= MIME-Version: 1.0 Received: by 10.150.46.4 with SMTP id t4mr627834ybt.386.1310512006077; Tue, 12 Jul 2011 16:06:46 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.150.189.1 with HTTP; Tue, 12 Jul 2011 16:06:45 -0700 (PDT) In-Reply-To: References: Date: Wed, 13 Jul 2011 07:06:45 +0800 X-Google-Sender-Auth: 3aYuIBarHLKEccpqRSLwddIXJYU Message-ID: From: Adrian Chadd To: Kyungsoo Lee Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: Disable CCA X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 12 Jul 2011 23:06:47 -0000 I may look at implemnting this later on; but disabling CCA breaks the standard in many ways. It will "burst" though - ie, once it acquires the medium, it'll transmit for as long as burstTime says so. adrian On 13 July 2011 03:40, Kyungsoo Lee wrote: > Hi guys, > > I'm using TDMA =A0on FreeBSD for wireless LAN. Recently, I found that it = still > uses CCA. > > Is it possible to turn off CCA? Or may I change carrier sense threshold n= ot > to detect other's transmissions when the node transmits data packets? > > Thanks, > Kyungsoo > _______________________________________________ > 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 Jul 12 23:27:31 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A212B106564A for ; Tue, 12 Jul 2011 23:27:31 +0000 (UTC) (envelope-from ulsanrub@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 622AC8FC19 for ; Tue, 12 Jul 2011 23:27:31 +0000 (UTC) Received: by iyb11 with SMTP id 11so6553226iyb.13 for ; Tue, 12 Jul 2011 16:27:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2D37TxxdBSUqnppL/I5z+uTNBX0kLscohvHjTSfOqgY=; b=KVyj6TWhtIy7e6VvhnSU8d4YOKMK6M0hIxUPFNcSo0FbLib1tEsz2P3oKwlIEiH4vJ iOrSqhFCn4PuRRz9fO0jj5348JeScxxXaIqQQZKkWhkilmum7f61MLQtEIqTq0zbisd2 PvjW23D7/tUMKmne66FeVSd0ZiIDtvxqvgtvk= MIME-Version: 1.0 Received: by 10.231.123.10 with SMTP id n10mr391051ibr.182.1310513250220; Tue, 12 Jul 2011 16:27:30 -0700 (PDT) Received: by 10.231.13.70 with HTTP; Tue, 12 Jul 2011 16:27:30 -0700 (PDT) In-Reply-To: References: Date: Tue, 12 Jul 2011 19:27:30 -0400 Message-ID: From: Kyungsoo Lee To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-wireless@freebsd.org Subject: Re: Disable CCA X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 12 Jul 2011 23:27:31 -0000 Thank you for your kind response. If it is possible to disable CCA, it'd be interesting to see what happened. I set AR_DIAG_IGNORE_CS bit but it doesn't work. If it is impossible to disable CCA, I want to do it with pseudo way like increasing threshold. But I couldn't find the way. Let me know, please. Kyungsoo On Tue, Jul 12, 2011 at 7:06 PM, Adrian Chadd wrote: > I may look at implemnting this later on; but disabling CCA breaks the > standard in many ways. > > It will "burst" though - ie, once it acquires the medium, it'll > transmit for as long as burstTime says so. > > > > adrian > > On 13 July 2011 03:40, Kyungsoo Lee wrote: > > Hi guys, > > > > I'm using TDMA on FreeBSD for wireless LAN. Recently, I found that it > still > > uses CCA. > > > > Is it possible to turn off CCA? Or may I change carrier sense threshold > not > > to detect other's transmissions when the node transmits data packets? > > > > Thanks, > > Kyungsoo > > _______________________________________________ > > 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 Jul 12 23:32:15 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33799106564A for ; Tue, 12 Jul 2011 23:32:15 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id E842F8FC17 for ; Tue, 12 Jul 2011 23:32:14 +0000 (UTC) Received: by gxk28 with SMTP id 28so2702810gxk.13 for ; Tue, 12 Jul 2011 16:32:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=sa94cM7znR8GCGYjvRqoSi2TxM5vTaSomEQldeGTXJo=; b=pKilxH0rtXvPxRhXkTBGYojSozxloXg9S2yFuihhd9E56NPNWvI2WWzwEHf7VMafdc w/0d0Q8RsWjkpQORUGnv8Qza2VI5qulBgeEhRbblDHXGAF+M18ox0lJKSV/y5SVZfFd0 3TzXhDPG7fSFXtZEuYaLw/4QmkVpp+GT5xY/M= MIME-Version: 1.0 Received: by 10.150.46.4 with SMTP id t4mr639857ybt.386.1310513534055; Tue, 12 Jul 2011 16:32:14 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.150.189.1 with HTTP; Tue, 12 Jul 2011 16:32:14 -0700 (PDT) In-Reply-To: References: Date: Wed, 13 Jul 2011 07:32:14 +0800 X-Google-Sender-Auth: X-sRW03aU7OJAe3H0GOcLpAESRU Message-ID: From: Adrian Chadd To: Kyungsoo Lee Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: Disable CCA X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 12 Jul 2011 23:32:15 -0000 On 13 July 2011 07:27, Kyungsoo Lee wrote: > Thank you for your kind response. If it is possible to disable CCA, it'd be > interesting to see what happened. > > I set AR_DIAG_IGNORE_CS bit but it doesn't work. If it is impossible to > disable CCA, I want to do it with pseudo way like increasing threshold. But > I couldn't find the way. Let me know, please. I've honestly not yet sat down and tried. :) Thanks, Adrian From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 13 12:34:34 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A3441065674 for ; Wed, 13 Jul 2011 12:34:34 +0000 (UTC) (envelope-from alex@zagrebin.ru) Received: from mail.zagrebin.ru (gw.zagrebin.ru [91.215.205.128]) by mx1.freebsd.org (Postfix) with ESMTP id 0236E8FC12 for ; Wed, 13 Jul 2011 12:34:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zagrebin.ru; s=mail; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=z3Tp8XWyumuqry/oO8bHmdhpqhg3j5ZZp7SMr5RLfEA=; b=D0T7i1bwXooQZRAdlNEha741tM8REr9xYi8CNfiUBTb1oboupTeUzwzrYJNsup2hravN8jxPGgU+C26jY/NyIfFeZAOOImhOvjuXsxXxVQ78EzBdHMARgPN2FN9rDDasNuFUlBmPmJk9pWQ+H28MJQCmlCa03EDXXM3BqXm+RK8=; Received: from alex by mail.zagrebin.ru with local (Exim 4.76 (FreeBSD)) (envelope-from ) id 1QgyCb-0001By-Ol for freebsd-wireless@freebsd.org; Wed, 13 Jul 2011 16:06:05 +0400 Date: Wed, 13 Jul 2011 16:06:05 +0400 From: Alexander Zagrebin To: freebsd-wireless@freebsd.org Message-ID: <20110713120605.GA3461@gw.zagrebin.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: RT2870: "run0: device timeout" issue X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 13 Jul 2011 12:34:34 -0000 Hi! I'm having a serious issue with an RT2872-based USB dongle running in the hostap mode: from time to time the device stops operating. On stations, connected to this AP, it looks like an access point disappears. The log (with debug enabled) contains records like this: kernel: run_bulk_tx_callbackN: USB transfer error, USB_ERR_TIMEOUT kernel: run0: device timeout kernel: run_bulk_tx_callbackN: cmdq_store=14 To restore normal operation I have to do anything from the following: unplug an adapter and plug it again or ifconfig wlan0 down && ifconfig wlan0 up or ifconfig run0 down && ifconfig run0 up On the 8.2-RELEASE this happened relatively seldom (for example, once in a week), but on the recent STABLE this occurs very frequently (may be once in some minutes). I've tried to use an alternative driver developed by Alexander Egorenkov (rt2870), and it seems that this driver doesn't have this issue. The access point running with the rt2870 driver is absolutely stable for about 3 weeks. So it isn't a hardware issue. Could anybody help me to fix this issue for the run(4)? -- Alexander Zagrebin From owner-freebsd-wireless@FreeBSD.ORG Thu Jul 14 05:52:57 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 431121065672; Thu, 14 Jul 2011 05:52:57 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id EB50A8FC16; Thu, 14 Jul 2011 05:52:56 +0000 (UTC) Received: by yxl31 with SMTP id 31so1859453yxl.13 for ; Wed, 13 Jul 2011 22:52:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=ov843xHUUyIOpLDbSCvo4aabwCUZ7eMxFEyY3a2eoRc=; b=F3kvxoFhb5SGHUt7sN3yhWmAky6AnRGwQs4QNSjkc+Fdu7Y4lhVk/Le1w1pYhKk6TM rv7oUftyY5m101ZF8L2JZD0vp/08+JmHgSZU68iTTeBbH1lDf3d/VNtRoaQcn1PEmxA0 Pnx3zu0DmtkdtCAyQNCpkZN099pgxm6cWsJmo= MIME-Version: 1.0 Received: by 10.151.134.4 with SMTP id l4mr2110375ybn.272.1310622776393; Wed, 13 Jul 2011 22:52:56 -0700 (PDT) Received: by 10.150.189.1 with HTTP; Wed, 13 Jul 2011 22:52:56 -0700 (PDT) Date: Thu, 14 Jul 2011 13:52:56 +0800 Message-ID: From: Adrian Chadd To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current Subject: 802.11 regulatory update - Japan X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 14 Jul 2011 05:52:57 -0000 Hi all, I've updated the -current regulatory domain database to include some of the missing 5ghz channels that are now allowed in Japan. Please test/comment. Thanks! Adrian From owner-freebsd-wireless@FreeBSD.ORG Thu Jul 14 07:02:01 2011 Return-Path: Delivered-To: freebsd-wireless@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9440106564A; Thu, 14 Jul 2011 07:02:01 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9250A8FC12; Thu, 14 Jul 2011 07:02:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p6E721jj012327; Thu, 14 Jul 2011 07:02:01 GMT (envelope-from ae@freefall.freebsd.org) Received: (from ae@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6E721Y4012318; Thu, 14 Jul 2011 07:02:01 GMT (envelope-from ae) Date: Thu, 14 Jul 2011 07:02:01 GMT Message-Id: <201107140702.p6E721Y4012318@freefall.freebsd.org> To: ae@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: ae@FreeBSD.org Cc: Subject: Re: kern/155498: [ral] ral(4) needs to be resynced with OpenBSD's to gain RT2860/2870 support. X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 14 Jul 2011 07:02:01 -0000 Synopsis: [ral] ral(4) needs to be resynced with OpenBSD's to gain RT2860/2870 support. Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: ae Responsible-Changed-When: Thu Jul 14 07:00:44 UTC 2011 Responsible-Changed-Why: Reassign to wireless team. http://www.freebsd.org/cgi/query-pr.cgi?pr=155498 From owner-freebsd-wireless@FreeBSD.ORG Thu Jul 14 13:27:15 2011 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26A42106564A for ; Thu, 14 Jul 2011 13:27:15 +0000 (UTC) (envelope-from paulfrottawa@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id A3F978FC08 for ; Thu, 14 Jul 2011 13:27:14 +0000 (UTC) Received: by wyg24 with SMTP id 24so206579wyg.13 for ; Thu, 14 Jul 2011 06:27:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=m8bfyHopFf+7BDoVl3gmibrZ528pGoFCauWNIZY4mCI=; b=uv676Kl4MtNTMRr3Cs+U/lzJvxE2/lad3Lk2YMCeZ5jp41lSNooALEA38ZsBj1JWZr d8URocKO4RULXmZbhufVPZ9LMX/CQidjIeEWbnit5B7AM6cik8qLP/fVRKWe3ZpL8OaS z0ooVbcUH/xBX5H8VKcuXVqU01MCY1dQtDvU8= MIME-Version: 1.0 Received: by 10.216.63.68 with SMTP id z46mr6020220wec.82.1310648551027; Thu, 14 Jul 2011 06:02:31 -0700 (PDT) Received: by 10.216.1.146 with HTTP; Thu, 14 Jul 2011 06:02:30 -0700 (PDT) Date: Thu, 14 Jul 2011 09:02:30 -0400 Message-ID: From: paul belair To: freebsd-wireless@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Realtek RTL8191SE/RTL8192SE WiFi chipset X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 14 Jul 2011 13:27:15 -0000 FreeBSD comp2.mywlan.ca 8.2-RELEASE-p1 FreeBSD 8.2-RELEASE-p1 #1: Mon May 16 10:05:47 EDT 2011 root@comp2.mywlan.ca:/usr/obj/usr/src/sys/amd64 amd64 Trying to build a driver for this device. > > none2@pci0:3:0:0: class=0x028000 card=0x815110ec chip=0x817210ec rev=0x10 hdr=0x00 > vendor = 'Realtek Semiconductor' > device = 'Realtek RTL8191SE wireless LAN 802.11N PCI-E NIC (RTL8191SE ?)' > class = network > bar [10] = type I/O Port, range 32, base 0x2000, size 256, enabled > bar [14] = type Memory, range 32, base 0x94600000, size 16384, enabled > cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0 > cap 05[50] = MSI supports 1 message, 64 bit > cap 10[70] = PCI-Express 1 legacy endpoint max data 128(256) link x1(x1) > ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected > ecap 0002[140] = VC 1 max VC0 > ecap 0003[160] = Serial 1 885522feff4ce000 The windows drivers are missing the firmware. Explained in Suse forums. So I need to build this driver from Realtek > > RTL8191SE-VA2 > From: > http://www.realtek.com.tw/downloads/...Downloads=true comp5# make > "Makefile", line 11: Need an operator > "Makefile", line 14: Missing dependency operator > "Makefile", line 18: Need an operator > "Makefile", line 21: Missing dependency operator > "Makefile", line 22: warning: duplicate script for target "ifeq" ignored > "Makefile", line 23: Need an operator > "Makefile", line 26: Need an operator > "Makefile", line 49: Missing dependency operator > "Makefile", line 50: warning: duplicate script for target "ifeq" ignored > "Makefile", line 50: warning: duplicate script for target "(RTL8192SE,)" > ignored > "Makefile", line 50: warning: duplicate script for target "(RTL8192SE_SA)" > ignored > "Makefile", line 51: Need an operator > "Makefile", line 52: Missing dependency operator > "Makefile", line 53: warning: duplicate script for target "ifeq" ignored > "Makefile", line 53: warning: duplicate script for target "(RTL8192SE,)" > ignored > "Makefile", line 54: Need an operator > make: fatal errors encountered -- cannot continue > comp5# gmake > make: chdir /lib/modules/8.2-RELEASE/build: No such file or directory > gmake: *** [all] Error 1 > comp5# > So I create /lib/modules/8.2-RELEASE/build and get this error. Code: comp5# gmake make: don't know how to make modules. Stop gmake: *** [all] Error 2 comp5#