svn commit: r220105 - head/sys/netinet

2011-03-28 Thread Weongyo Jeong
Author: weongyo Date: Mon Mar 28 19:03:56 2011 New Revision: 220105 URL: http://svn.freebsd.org/changeset/base/220105 Log: Covers values if (BYTES_THIS_ACK(tp, th) / tp->t_maxseg) value is from 2.0 to 3.0. Reviewed by: lstewart Modified: head/sys/netinet/tcp_sack.c Modified: head/sys

svn commit: r207176 - head/sys/dev/bwn

2010-04-24 Thread Weongyo Jeong
Author: weongyo Date: Sat Apr 24 23:32:24 2010 New Revision: 207176 URL: http://svn.freebsd.org/changeset/base/207176 Log: ifp->if_ipackets++ when RX packet interrupts are occurred. MFC after:3 days Modified: head/sys/dev/bwn/if_bwn.c Modified: head/sys/dev/bwn/if_bwn.c

svn commit: r208120 - head/sys/dev/bwn

2010-05-15 Thread Weongyo Jeong
Author: weongyo Date: Sat May 15 21:18:15 2010 New Revision: 208120 URL: http://svn.freebsd.org/changeset/base/208120 Log: - fixes a bug that it didn't initialize the ratectl after association; so ni_txrate returned 0 which is a invalid result. - The fourth argument of ieee80211_ratectl_tx

svn commit: r209597 - head/sys/dev/bwi

2010-06-29 Thread Weongyo Jeong
Author: weongyo Date: Tue Jun 29 21:52:40 2010 New Revision: 209597 URL: http://svn.freebsd.org/changeset/base/209597 Log: Fixes NULL pointer reference that it's occurred when the state is changed to RUN because ic->ic_newassoc isn't set anywhere now. In the previous bwi_newassoc() is used

svn commit: r209598 - head/sys/dev/bwi

2010-06-29 Thread Weongyo Jeong
Author: weongyo Date: Tue Jun 29 21:56:42 2010 New Revision: 209598 URL: http://svn.freebsd.org/changeset/base/209598 Log: Initializes the ratectl for a node when the state is changed to RUN. This prevents a kernel fault by dividing with zero because the initial rate was 0 and didn't be init

svn commit: r209619 - head/share/man/man4

2010-06-30 Thread Weongyo Jeong
Author: weongyo Date: Thu Jul 1 00:33:50 2010 New Revision: 209619 URL: http://svn.freebsd.org/changeset/base/209619 Log: Adds `Dell Truemobile 1300' to the supported list. Submitted by: Warren Block Modified: head/share/man/man4/bwi.4 Modified: head/share/man/man4/bwi.4 =

svn commit: r209888 - head/sys/dev/bwn

2010-07-10 Thread Weongyo Jeong
Author: weongyo Date: Sat Jul 10 21:39:03 2010 New Revision: 209888 URL: http://svn.freebsd.org/changeset/base/209888 Log: Fixes a bug for LP PHY that some frames have 2 padding bytes at the start so we should adjust the mbuf if the driver is running in PIO mode. Now it should work well with

svn commit: r209892 - head/sys/dev/bwi

2010-07-10 Thread Weongyo Jeong
Author: weongyo Date: Sat Jul 10 22:37:23 2010 New Revision: 209892 URL: http://svn.freebsd.org/changeset/base/209892 Log: Fixes a page fault in bwi_pci_probe() because the array isn't terminated with NULL. PR: kern/148473 Submitted by: Grzegorz Dabrowski MFC after:1 we

svn commit: r210393 - head/sys/dev/bwn

2010-07-22 Thread Weongyo Jeong
Author: weongyo Date: Thu Jul 22 20:08:02 2010 New Revision: 210393 URL: http://svn.freebsd.org/changeset/base/210393 Log: Fixes a mistake to calculate CALC_COEFF2() value that tmp[3] is used even if it's unreachable. PR: kern/144505 Submitted by: Henning Petersen MFC after

svn commit: r212270 - head/share/man/man4

2010-09-06 Thread Weongyo Jeong
Author: weongyo Date: Mon Sep 6 22:02:08 2010 New Revision: 212270 URL: http://svn.freebsd.org/changeset/base/212270 Log: Adds bwi(4) at SEE ALSO section because some old devices aren't supported by the bwn(4) firmware that as fas as I know the vendor dropped its support. Bumps date also.

svn commit: r212271 - head/share/man/man4

2010-09-06 Thread Weongyo Jeong
Author: weongyo Date: Mon Sep 6 22:10:57 2010 New Revision: 212271 URL: http://svn.freebsd.org/changeset/base/212271 Log: Adds a CAVEATS section to mention DMA issues that currently only a solution is using PIO mode. As fas as I know all open source based broadcom drivers for specially LP

svn commit: r212272 - head/share/man/man4

2010-09-06 Thread Weongyo Jeong
Author: weongyo Date: Mon Sep 6 22:23:35 2010 New Revision: 212272 URL: http://svn.freebsd.org/changeset/base/212272 Log: Adds LOADER TUNABLES section to mention knobs which could be controlled by loader(8) interface. Modified: head/share/man/man4/bwn.4 Modified: head/share/man/man4/bwn.4

Re: svn commit: r212270 - head/share/man/man4

2010-09-08 Thread Weongyo Jeong
On Wed, Sep 08, 2010 at 07:49:54AM -0600, M. Warner Losh wrote: > In message: <201009062202.o86m29b4067...@svn.freebsd.org> > Weongyo Jeong writes: > : Author: weongyo > : Date: Mon Sep 6 22:02:08 2010 > : New Revision: 212270 > : URL: http://svn.freebsd.o

svn commit: r212480 - head/share/man/man4

2010-09-11 Thread Weongyo Jeong
Author: weongyo Date: Sat Sep 11 21:49:28 2010 New Revision: 212480 URL: http://svn.freebsd.org/changeset/base/212480 Log: Mentions cases when bwi(4) driver should be used that it only wrote about chipset type instead of card names because it's not easy to sort names what cards use these chi

svn commit: r212625 - head/share/man/man4

2010-09-14 Thread Weongyo Jeong
Author: weongyo Date: Tue Sep 14 23:27:06 2010 New Revision: 212625 URL: http://svn.freebsd.org/changeset/base/212625 Log: Fixes spellings and uses the better sentence. While I'm here bumps date. Pointed by: imp, Ruslan Mahmatkhanov Modified: head/share/man/man4/bwn.4 Modified: he

svn commit: r215649 - in head/sys: conf dev/usb dev/usb/controller modules/usb/usb

2010-11-21 Thread Weongyo Jeong
Author: weongyo Date: Mon Nov 22 01:11:28 2010 New Revision: 215649 URL: http://svn.freebsd.org/changeset/base/215649 Log: Adds a USB packet filter feature to the stack that it could capture packets which go through each USB host controllers. Its implementations are almost based on BPF code

svn commit: r215651 - head/usr.sbin/usbdump

2010-11-21 Thread Weongyo Jeong
ts of usbus2 into the file without packet +size limit: +.Pp +.Dl "usbdump -i usbus2 -s 0 -w /tmp/dump_pkts" +.Pp +Read the USB raw packets from the file: +.Pp +.Dl "usbdump -r /tmp/dump_pkts -v" +.Sh SEE ALSO +.Xr usbconfig 8 +.Sh AUTHORS +.An Weongyo Jeong +.Aq weon...@freebsd.or

svn commit: r215764 - head/sys/dev/usb

2010-11-23 Thread Weongyo Jeong
Author: weongyo Date: Tue Nov 23 20:23:25 2010 New Revision: 215764 URL: http://svn.freebsd.org/changeset/base/215764 Log: Fixes a kernel crash when usb module is reloaded after unload that it didn't destroy the cdev properly. Pointy hat to:me Reported by: Brandon Gooch , jkim

svn commit: r215802 - in head/sys/dev/usb: . controller

2010-11-24 Thread Weongyo Jeong
Author: weongyo Date: Wed Nov 24 19:11:32 2010 New Revision: 215802 URL: http://svn.freebsd.org/changeset/base/215802 Log: Removes all duplicated code with BPF that it's greatly simplified and take all benefits whenever BPF code is improved. Pointed by: jkim Reviewed by: thompsa Mod

svn commit: r215803 - head/usr.sbin/usbdump

2010-11-24 Thread Weongyo Jeong
Author: weongyo Date: Wed Nov 24 19:15:26 2010 New Revision: 215803 URL: http://svn.freebsd.org/changeset/base/215803 Log: As a refection of r215802 it should use BPF interfaces because the duplication code of USB pf is removed. Modified: head/usr.sbin/usbdump/usbdump.c Modified: head/usr.

svn commit: r215804 - head/sys/dev/usb

2010-11-24 Thread Weongyo Jeong
Author: weongyo Date: Wed Nov 24 21:43:36 2010 New Revision: 215804 URL: http://svn.freebsd.org/changeset/base/215804 Log: Fixes a compiler warning when it's compiled with INVARIANTS. Pointy hat to:me Modified: head/sys/dev/usb/usb_pf.c Modified: head/sys/dev/usb/usb_pf.c ==

svn commit: r215810 - head/sys/dev/usb

2010-11-24 Thread Weongyo Jeong
Author: weongyo Date: Thu Nov 25 03:02:53 2010 New Revision: 215810 URL: http://svn.freebsd.org/changeset/base/215810 Log: Assigning the unit number for each interfaces could not use ubus->parent because it could differ depending on the host controller type. It could lead the duplicate unit

svn commit: r215812 - in head/sys/dev/usb: . controller

2010-11-24 Thread Weongyo Jeong
Author: weongyo Date: Thu Nov 25 03:30:43 2010 New Revision: 215812 URL: http://svn.freebsd.org/changeset/base/215812 Log: Handles the unit number correctly that the previous commit had a problem (wrong unit number for a host controller) when the module is load / unloaded repeatly. Attachin

svn commit: r215846 - in head/sys/dev/usb: . controller

2010-11-25 Thread Weongyo Jeong
Author: weongyo Date: Thu Nov 25 22:56:26 2010 New Revision: 215846 URL: http://svn.freebsd.org/changeset/base/215846 Log: Removes a unused function `usb_bus_find'. Modified: head/sys/dev/usb/controller/usb_controller.c head/sys/dev/usb/usb_controller.h Modified: head/sys/dev/usb/controlle

svn commit: r216089 - head/sbin/ifconfig

2010-11-30 Thread Weongyo Jeong
Author: weongyo Date: Wed Dec 1 03:24:38 2010 New Revision: 216089 URL: http://svn.freebsd.org/changeset/base/216089 Log: Don't print usbus[0-9] interfaces that it's not the interesting interface type for ifconfig(8). Modified: head/sbin/ifconfig/ifconfig.c Modified: head/sbin/ifconfig/if

svn commit: r216091 - head/sys/dev/usb

2010-11-30 Thread Weongyo Jeong
Author: weongyo Date: Wed Dec 1 03:51:06 2010 New Revision: 216091 URL: http://svn.freebsd.org/changeset/base/216091 Log: Explicitly UP and DOWN the usbus interfaces (IFT_USB) when it's attached or detached. Normally it should be changed through user land ioctl(2) system calls but it looks

Re: svn commit: r216091 - head/sys/dev/usb

2010-12-02 Thread Weongyo Jeong
On Wed, Dec 01, 2010 at 06:58:18PM -0500, Jung-uk Kim wrote: > On Tuesday 30 November 2010 10:51 pm, Weongyo Jeong wrote: > > Author: weongyo > > Date: Wed Dec 1 03:51:06 2010 > > New Revision: 216091 > > URL: http://svn.freebsd.org/changeset/base/216091 > > >

svn commit: r216138 - head/usr.sbin/usbdump

2010-12-02 Thread Weongyo Jeong
Author: weongyo Date: Fri Dec 3 00:44:07 2010 New Revision: 216138 URL: http://svn.freebsd.org/changeset/base/216138 Log: Changes the meaning of each characters '<' and '>' that it could be confused with USB OUT or USB IN packets though it just represents USB submit or done. To know the US

svn commit: r216267 - in head: sbin/ifconfig sys/dev/usb sys/net

2010-12-07 Thread Weongyo Jeong
Author: weongyo Date: Tue Dec 7 20:23:47 2010 New Revision: 216267 URL: http://svn.freebsd.org/changeset/base/216267 Log: Introduces IFF_CANTCONFIG interface flag to point that the interface isn't configurable in a meaningful way. This is for ifconfig(8) or other tools not to change code w

svn commit: r216268 - head/sys/net

2010-12-07 Thread Weongyo Jeong
Author: weongyo Date: Tue Dec 7 20:31:04 2010 New Revision: 216268 URL: http://svn.freebsd.org/changeset/base/216268 Log: Adds IFF_CANTCONFIG to IFF_CANTCHANGE that it shouldn't happen through ioctl(2). Modified: head/sys/net/if.h Modified: head/sys/net/if.h ==

svn commit: r217358 - head/usr.sbin/usbdump

2011-01-13 Thread Weongyo Jeong
+.Li xfer->sumlen . +If this is a USB done, its value is +.Li xfer->actlen . +.It <...> +Optional field used for printing an error string if the packet is from USB done. +.El .Sh SEE ALSO .Xr usbconfig 8 .Sh AUTHORS .An Weongyo Jeong -.Aq weon...@freebsd.org . +.Aq weon...@freeb

Re: svn commit: r217358 - head/usr.sbin/usbdump

2011-01-26 Thread Weongyo Jeong
On Thu, Jan 13, 2011 at 04:37:12PM +, Weongyo Jeong wrote: > Author: weongyo > Date: Thu Jan 13 16:37:12 2011 > New Revision: 217358 > URL: http://svn.freebsd.org/changeset/base/217358 > > Log: > Documents OUTPUT formats. While I'm here cleans up styles and w

svn commit: r203944 - head/sys/dev/siba

2010-02-15 Thread Weongyo Jeong
Author: weongyo Date: Tue Feb 16 01:22:33 2010 New Revision: 203944 URL: http://svn.freebsd.org/changeset/base/203944 Log: supports SPROM rev8 informations properly which are used to support low-power PHY of bwn(4) and LDO voltage adjustments. Modified: head/sys/dev/siba/siba_core.c head/

svn commit: r203945 - in head: share/man/man4 sys/dev/bwn sys/modules/bwn

2010-02-15 Thread Weongyo Jeong
.Pp +Join a specific BSS network with network name +.Dq Li my_net : +.Pp +.Dl "ifconfig wlan create wlandev bwn0 ssid my_net up" +.Pp +Join a specific BSS network with 64-bit WEP encryption: +.Bd -literal -offset indent +ifconfig wlan create wlandev bwn0 ssid my_net \e +wepmo

svn commit: r204081 - head/sys/dev/bwn

2010-02-18 Thread Weongyo Jeong
Author: weongyo Date: Fri Feb 19 03:36:02 2010 New Revision: 204081 URL: http://svn.freebsd.org/changeset/base/204081 Log: o print msgs with length if the frame is too short to pass to net80211. o print key index for debugging if the frame is attempted to decrypt for WEP, AES or TKIP thoug

svn commit: r204256 - head/sys/dev/bwn

2010-02-23 Thread Weongyo Jeong
Author: weongyo Date: Tue Feb 23 19:44:51 2010 New Revision: 204256 URL: http://svn.freebsd.org/changeset/base/204256 Log: fixes a compile error; invalid type argument of '->'. Modified: head/sys/dev/bwn/if_bwn.c Modified: head/sys/dev/bwn/if_bwn.c ===

svn commit: r204257 - head/sys/dev/bwn

2010-02-23 Thread Weongyo Jeong
Author: weongyo Date: Tue Feb 23 19:55:54 2010 New Revision: 204257 URL: http://svn.freebsd.org/changeset/base/204257 Log: o adds sysctl variables to show device statistics. o records RTS success/fail statistics. Pointed by: imp Modified: head/sys/dev/bwn/if_bwn.c head/sys/dev/bwn/

svn commit: r204326 - head/sys/modules

2010-02-25 Thread Weongyo Jeong
Author: weongyo Date: Thu Feb 25 19:42:51 2010 New Revision: 204326 URL: http://svn.freebsd.org/changeset/base/204326 Log: Add bwn(4) driver to the build. Modified: head/sys/modules/Makefile Modified: head/sys/modules/Makefile =

svn commit: r204327 - head/share/man/man4

2010-02-25 Thread Weongyo Jeong
Author: weongyo Date: Thu Feb 25 19:43:22 2010 New Revision: 204327 URL: http://svn.freebsd.org/changeset/base/204327 Log: Connect bwn.4 to the build. Modified: head/share/man/man4/Makefile Modified: head/share/man/man4/Makefile ===

svn commit: r204328 - in head: sys/boot/forth usr.sbin/sysinstall

2010-02-25 Thread Weongyo Jeong
Author: weongyo Date: Thu Feb 25 19:47:47 2010 New Revision: 204328 URL: http://svn.freebsd.org/changeset/base/204328 Log: Add bwn(4) driver. Modified: head/sys/boot/forth/loader.conf head/usr.sbin/sysinstall/devices.c Modified: head/sys/boot/forth/loader.conf =

svn commit: r204343 - head/share/man/man4

2010-02-25 Thread Weongyo Jeong
Author: weongyo Date: Fri Feb 26 00:37:49 2010 New Revision: 204343 URL: http://svn.freebsd.org/changeset/base/204343 Log: Updates what firmware module should be used for LP (low power) PHY users and bumps date. Modified: head/share/man/man4/bwn.4 Modified: head/share/man/man4/bwn.4 ==

svn commit: r204385 - head/sys/dev/bwn

2010-02-26 Thread Weongyo Jeong
Author: weongyo Date: Sat Feb 27 02:20:38 2010 New Revision: 204385 URL: http://svn.freebsd.org/changeset/base/204385 Log: don't need to check BWN_RX_PHYST0_SHORTPRMBL flag because it's already handled in later. Reported from:imp, nwhitehorn Modified: head/sys/dev/bwn/if_bwn.c

svn commit: r204436 - head/sys/dev/bwn

2010-02-27 Thread Weongyo Jeong
Author: weongyo Date: Sat Feb 27 23:04:29 2010 New Revision: 204436 URL: http://svn.freebsd.org/changeset/base/204436 Log: supports the adhoc demo mode that it's tested on modified aircrack-ng suite and worked. Submitted by: Paul B Mahol Modified: head/sys/dev/bwn/if_bwn.c Modified:

svn commit: r204437 - head/sys/dev/bwn

2010-02-27 Thread Weongyo Jeong
Author: weongyo Date: Sat Feb 27 23:42:32 2010 New Revision: 204437 URL: http://svn.freebsd.org/changeset/base/204437 Log: fixes a bug to load firmware images for LP PHY. For LP PHY always, `lp_' string is contained in its full image names. Modified: head/sys/dev/bwn/if_bwn.c Modified: he

svn commit: r204542 - head/sys/dev/bwn

2010-03-01 Thread Weongyo Jeong
Author: weongyo Date: Mon Mar 1 23:51:13 2010 New Revision: 204542 URL: http://svn.freebsd.org/changeset/base/204542 Log: calculates the integer square root if a positive integer X is larger than 256 instead of using sqrt_table. Reported by: Joe Marcus Clarke Modified: head/sys/dev/

svn commit: r204657 - in head/sys/dev: bwn siba

2010-03-03 Thread Weongyo Jeong
Author: weongyo Date: Wed Mar 3 20:06:09 2010 New Revision: 204657 URL: http://svn.freebsd.org/changeset/base/204657 Log: fixes an attached-at-boot issue that bwn(4) using device_identify interface didn't be attached automatically at boot time so changes a approach to attach children based

svn commit: r204662 - head/sys/conf

2010-03-03 Thread Weongyo Jeong
Author: weongyo Date: Wed Mar 3 21:10:13 2010 New Revision: 204662 URL: http://svn.freebsd.org/changeset/base/204662 Log: Hook up the bwn driver. Pointed by: nwhitehorn Modified: head/sys/conf/files Modified: head/sys/conf/files ===

svn commit: r204669 - head/sys/conf

2010-03-03 Thread Weongyo Jeong
Author: weongyo Date: Wed Mar 3 21:40:44 2010 New Revision: 204669 URL: http://svn.freebsd.org/changeset/base/204669 Log: Adds bwn(4) to NOTES. Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES == --- head

Re: svn commit: r204657 - in head/sys/dev: bwn siba

2010-03-03 Thread Weongyo Jeong
On Wed, Mar 03, 2010 at 08:06:09PM +, Weongyo Jeong wrote: > Author: weongyo > Date: Wed Mar 3 20:06:09 2010 > New Revision: 204657 > URL: http://svn.freebsd.org/changeset/base/204657 > > Log: > fixes an attached-at-boot issue that bwn(4) using device_identify &g

svn commit: r204922 - in head/sys/dev: bwn siba

2010-03-09 Thread Weongyo Jeong
Author: weongyo Date: Tue Mar 9 19:58:00 2010 New Revision: 204922 URL: http://svn.freebsd.org/changeset/base/204922 Log: o uses bus accessor macros to read values from ivar so no more values are referenced directly from ivar pointer. It's to do like what other buses do. [1] o change

svn commit: r204923 - in head/sys/dev: bwn siba

2010-03-09 Thread Weongyo Jeong
Author: weongyo Date: Tue Mar 9 20:07:41 2010 New Revision: 204923 URL: http://svn.freebsd.org/changeset/base/204923 Log: uses KOBJMETHOD_END macro to indicate the end of method table. Submitted by: yongari Modified: head/sys/dev/bwn/if_bwn.c head/sys/dev/siba/siba.c head/sys/dev/si

svn commit: r204992 - head/sys/dev/siba

2010-03-10 Thread Weongyo Jeong
Author: weongyo Date: Thu Mar 11 01:35:38 2010 New Revision: 204992 URL: http://svn.freebsd.org/changeset/base/204992 Log: fixes a compile error if INVARIANTS is disabled. Pointy hat to:me Submitted by: Michael Butler Modified: head/sys/dev/siba/siba_core.c Modified: head/sys

svn commit: r205140 - head/sys/net80211

2010-03-13 Thread Weongyo Jeong
Author: weongyo Date: Sun Mar 14 01:57:32 2010 New Revision: 205140 URL: http://svn.freebsd.org/changeset/base/205140 Log: fixes a broken software beacon miss handler. There is a race to check vap->iv_bmiss_count == 0 in ieee80211_swbmiss because iv_swbmiss_task is enqueued by taskqueue.

svn commit: r205141 - head/sys/dev/bwn

2010-03-13 Thread Weongyo Jeong
Author: weongyo Date: Sun Mar 14 02:13:11 2010 New Revision: 205141 URL: http://svn.freebsd.org/changeset/base/205141 Log: enables S/W beacon miss handler. Reported by: imp Modified: head/sys/dev/bwn/if_bwn.c Modified: head/sys/dev/bwn/if_bwn.c =