| From | Sent On | Attachments |
|---|---|---|
| PseudoCylon | Mar 4, 2010 12:50 am | |
| Rui Paulo | Mar 4, 2010 4:02 pm | |
| PseudoCylon | Mar 4, 2010 8:25 pm | |
| Bruce Simpson | Mar 5, 2010 1:26 am | |
| Rui Paulo | Mar 5, 2010 8:24 am | |
| Weongyo Jeong | Mar 12, 2010 4:18 pm | |
| Rui Paulo | Mar 12, 2010 6:42 pm | |
| PseudoCylon | Mar 12, 2010 9:00 pm | |
| Hans Petter Selasky | Mar 12, 2010 11:36 pm | |
| Rui Paulo | Mar 13, 2010 12:24 am | |
| Rui Paulo | Mar 13, 2010 12:24 am | |
| Alexander Egorenkov | Mar 13, 2010 12:48 am | |
| Weongyo Jeong | Mar 13, 2010 6:06 pm | |
| Oliver Brandmueller | Mar 15, 2010 3:57 am | |
| Ganbold | Mar 16, 2010 8:29 am | |
| PseudoCylon | Mar 16, 2010 2:34 pm | |
| PseudoCylon | Mar 16, 2010 6:22 pm | |
| Ganbold.TS | Mar 16, 2010 7:20 pm | |
| Ganbold | Mar 18, 2010 6:32 am | |
| Rui Paulo | Mar 18, 2010 6:55 am | |
| PseudoCylon | Mar 18, 2010 4:13 pm | |
| Ganbold | Mar 19, 2010 7:32 am | |
| PseudoCylon | Mar 27, 2010 2:11 am | |
| Ganbold | Mar 27, 2010 3:32 am | |
| Ganbold | Mar 27, 2010 6:01 am | |
| PseudoCylon | Mar 30, 2010 2:57 am | |
| Ganbold | Mar 31, 2010 6:58 am | |
| Ganbold | Mar 31, 2010 7:08 am | |
| PseudoCylon | Apr 1, 2010 3:47 am | |
| Ganbold | Apr 6, 2010 6:28 am | |
| PseudoCylon | Apr 8, 2010 12:27 am | |
| Ganbold | Apr 8, 2010 7:47 am | |
| PseudoCylon | Apr 23, 2010 3:36 am | |
| Ganbold | Apr 24, 2010 3:49 am | |
| Ganbold | Apr 24, 2010 3:55 am | |
| Ganbold | Apr 24, 2010 4:05 am | |
| Hans Petter Selasky | Apr 24, 2010 6:55 am | |
| Ganbold | Apr 24, 2010 8:01 am | |
| PseudoCylon | Apr 24, 2010 9:32 pm | |
| Ganbold | Apr 25, 2010 12:43 am | |
| PseudoCylon | May 1, 2010 9:32 pm | |
| Ganbold | May 3, 2010 7:53 am | |
| PseudoCylon | May 3, 2010 5:14 pm | |
| Ganbold | May 3, 2010 5:32 pm | |
| Ganbold | May 4, 2010 7:31 am | |
| Hans Petter Selasky | May 5, 2010 12:59 pm | |
| PseudoCylon | May 5, 2010 10:57 pm | |
| Ganbold | May 26, 2010 9:10 am | |
| PseudoCylon | May 27, 2010 2:57 am | |
| Ganbold Tsagaankhuu | May 27, 2010 3:01 am | |
| Ganbold | May 27, 2010 8:06 am | |
| Ganbold | Jun 9, 2010 8:08 am | |
| PseudoCylon | Jun 9, 2010 6:05 pm | |
| PseudoCylon | Jun 9, 2010 8:27 pm | |
| Ganbold | Jun 10, 2010 9:53 am | |
| PseudoCylon | Jun 10, 2010 10:28 pm | |
| Hans Petter Selasky | Jun 11, 2010 11:29 pm | |
| PseudoCylon | Jun 12, 2010 5:44 pm | |
| Ganbold | Jun 14, 2010 8:23 am | |
| PseudoCylon | Jun 15, 2010 3:21 am | |
| Ganbold | Jun 15, 2010 7:01 am | |
| Ganbold | Jun 15, 2010 1:18 pm | |
| PseudoCylon | Jun 16, 2010 3:43 am | |
| Ganbold | Jun 16, 2010 4:04 am | |
| Ganbold | Jun 16, 2010 5:33 am | |
| Ganbold | Jun 16, 2010 9:21 am | |
| PseudoCylon | Jun 17, 2010 3:01 am | |
| Ganbold | Jun 18, 2010 7:27 am | |
| PseudoCylon | Jul 5, 2010 1:09 am | |
| Ganbold Tsagaankhuu | Jul 5, 2010 8:04 pm | |
| PseudoCylon | Jul 5, 2010 11:26 pm | |
| Hans Petter Selasky | Jul 5, 2010 11:54 pm | |
| PseudoCylon | Jul 7, 2010 3:49 am | |
| Hans Petter Selasky | Jul 7, 2010 4:05 am | |
| PseudoCylon | Jul 12, 2010 7:01 pm | |
| Ganbold | Jul 13, 2010 10:04 am | |
| PseudoCylon | Jul 14, 2010 5:32 am |
| Subject: | Re: CALL for TEST [HOSTAP] run(4) ralink usb wireless | |
|---|---|---|
| From: | PseudoCylon (moon...@yahoo.ca) | |
| Date: | Jun 17, 2010 3:01:24 am | |
| List: | org.freebsd.freebsd-current | |
----- Original Message ----
From: Ganbold <ganb...@gmail.com> To: PseudoCylon <moon...@yahoo.ca> Cc: free...@freebsd.org; Ganbold Tsagaankhuu <ganb...@mobicom.mn> Sent: Wed, June 16, 2010 6:33:47 AM Subject: Re: CALL for TEST [HOSTAP] run(4) ralink usb wireless
AK-san,
PseudoCylon wrote:
Strange, looks like this time works as expected, but sometimes it doesn't work.
In some cases it doesn't work and you can find complete tcpdump output from very beginning to the modem hang:
Hello,
Are following true? When manually load/reload hostapd, works When loaded by rc.conf, doesn't work
If so, please try attached patch. (patch to if_run.c only) Or, here is a patched
file.
http://gitorious.org/run/run/blobs/raw/cmdq_fix/dev/usb/wlan/if_run.c
When auto-loading, the driver is brought up and down a few times. It might be
the cause. So, when you test, please reboot rspro and let rc.conf handle init
process rather than manually start driver/hostapd. And
#arp -d -a
on rspro, freebsd laptop. and macbook would help for testing. (If it works on
mac) So, that clients have to send arp request. If macbook receives "who-has
192.168.1.50" arp request packets, it should work. If macbook supports
# tcpdump -vv -xxx -i wlan0 'arp'
and see if macbook gets this.
19:34:30.469720 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has
192.168.1.50 tell 192.168.1.1, length 46
0x0000: ffff ffff ffff 0030 5462 3d24 0806 0001
0x0010: 0800 0604 0001 0030 5462 3d24 c0a8 0101
0x0020: 0000 0000 0000 c0a8 0132 0000 0000 0000
0x0030: 0000 0000 0000 0000 0000 0000
AK
-- begin patch --
diff --git a/dev/usb/wlan/if_run.c b/dev/usb/wlan/if_run.c index e4fc8d2..f302246 100644 --- a/dev/usb/wlan/if_run.c +++ b/dev/usb/wlan/if_run.c @@ -17,7 +17,7 @@ */
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/sys/dev/usb/wlan/if_run.c,v 1.11 2010/06/14 23:01:50
jkim Exp $");
+__FBSDID("$FreeBSD$");
/*- * Ralink Technology RT2700U/RT2800U/RT3000U chipset driver. @@ -830,9 +830,6 @@ run_vap_create(struct ieee80211com *ic, if(sc->rvp_cnt++ == 0) ic->ic_opmode = opmode;
-if(opmode == IEEE80211_M_HOSTAP) -sc->cmdq_run = RUN_CMDQ_GO; - DPRINTF("rvp_id=%d bmap=%x rvp_cnt=%d\n", rvp->rvp_id, sc->rvp_bmap, sc->rvp_cnt);
@@ -894,7 +891,9 @@ run_cmdq_cb(void *arg, int pending) for(i = sc->cmdq_exec; sc->cmdq[i].func && pending; i = sc->cmdq_exec, pending--){ DPRINTFN(6, "cmdq_exec=%d pending=%d\n", i, pending); -if(sc->cmdq_run == RUN_CMDQ_GO){ +if(sc->cmdq_run == RUN_CMDQ_GO || + (sc->cmdq_key_set == RUN_CMDQ_GO && + sc->cmdq[i].func == run_key_set_cb)){ /* * If arg0 is NULL, callback func needs more * than one arg. So, pass ptr to cmdq struct. @@ -4798,7 +4797,7 @@ run_stop(void *arg) ifp->if_drv_flags &= ~(IFF_DRV_RUNNING | IFF_DRV_OACTIVE);
sc->ratectl_run = RUN_RATECTL_OFF; -sc->cmdq_run = sc->cmdq_key_set; +sc->cmdq_run = RUN_CMDQ_ABORT;
RUN_UNLOCK(sc);
-- end patch --
_______________________________________________ free...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "free...@freebsd.org"





