svn commit: r243622 - head/sys/dev/iwn

2012-11-27 Thread Bernhard Schmidt
Author: bschmidt Date: Tue Nov 27 19:09:36 2012 New Revision: 243622 URL: http://svnweb.freebsd.org/changeset/base/243622 Log: fix a panic resulting from a stray '&' MFC after:1 week Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c

svn commit: r239649 - head/release/doc/en_US.ISO8859-1/relnotes

2012-08-24 Thread Bernhard Schmidt
Author: bschmidt Date: Fri Aug 24 13:55:22 2012 New Revision: 239649 URL: http://svn.freebsd.org/changeset/base/239649 Log: Document update of 802.11s IE identifiers. Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.sgml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.

svn commit: r237649 - head/sys/dev/iwn

2012-06-27 Thread Bernhard Schmidt
Author: bschmidt Date: Wed Jun 27 16:07:01 2012 New Revision: 237649 URL: http://svn.freebsd.org/changeset/base/237649 Log: We need to defer passing the DELBA request to the firmware until the aggr queue is empty or the firmware will go nuts. PR: kern/167806 Tested by:osa@

svn commit: r237647 - head/sys/dev/iwn

2012-06-27 Thread Bernhard Schmidt
Author: bschmidt Date: Wed Jun 27 15:55:34 2012 New Revision: 237647 URL: http://svn.freebsd.org/changeset/base/237647 Log: Fix a TX aggregation issue, if after the last compressed BA notification the TX queue is empty, there won't be a TX done notification, effectly resulting in an mbuf lea

svn commit: r235687 - head/sys/dev/iwn

2012-05-20 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 20 10:02:24 2012 New Revision: 235687 URL: http://svn.freebsd.org/changeset/base/235687 Log: remove unused vap variable MFC after:1 week Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c ===

svn commit: r235686 - head/sys/dev/iwn

2012-05-20 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 20 10:00:36 2012 New Revision: 235686 URL: http://svn.freebsd.org/changeset/base/235686 Log: Discard frames after a DELBA which where queued during an active BA session. MFC after:1 week Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/

svn commit: r235685 - head/sys/dev/ath

2012-05-20 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 20 09:46:48 2012 New Revision: 235685 URL: http://svn.freebsd.org/changeset/base/235685 Log: Remove unused variable. Modified: head/sys/dev/ath/if_ath_rx.c Modified: head/sys/dev/ath/if_ath_rx.c ==

svn commit: r235684 - head/sys/dev/iwn

2012-05-20 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 20 09:29:14 2012 New Revision: 235684 URL: http://svn.freebsd.org/changeset/base/235684 Log: Add some more 100/130 series device IDs. MFC after:3 days Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c =

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

2012-05-10 Thread Bernhard Schmidt
Author: bschmidt Date: Thu May 10 18:25:59 2012 New Revision: 235237 URL: http://svn.freebsd.org/changeset/base/235237 Log: remove trailing '.' Poked by: gjb MFC after:3 weeks Modified: head/share/man/man4/ral.4 Modified: head/share/man/man4/ral.4 =

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

2012-05-10 Thread Bernhard Schmidt
Author: bschmidt Date: Thu May 10 18:14:25 2012 New Revision: 235236 URL: http://svn.freebsd.org/changeset/base/235236 Log: ifconfig(8) is important, but no need to mention it twice. MFC after:3 weeks Modified: head/share/man/man4/ral.4 Modified: head/share/man/man4/ral.4 ==

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

2012-05-10 Thread Bernhard Schmidt
Author: bschmidt Date: Thu May 10 18:10:20 2012 New Revision: 235235 URL: http://svn.freebsd.org/changeset/base/235235 Log: Update man page due import of RT2800/RT3000 support. Obtained from:OpenBSD MFC after:3 weeks Modified: head/share/man/man4/ral.4 Modified: head/share

svn commit: r235233 - in head/sys: conf dev/ral modules/ral

2012-05-10 Thread Bernhard Schmidt
0302: + case 0x0401: + psc->sc_opns = &ral_rt2661_opns; + break; + default: + psc->sc_opns = &ral_rt2860_opns; + break; + } psc->mem_rid = RAL_PCI_BAR0; psc->mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &psc->mem_rid, Added: head/

svn commit: r234786 - in head/usr.sbin/wpa: hostapd wpa_supplicant

2012-04-29 Thread Bernhard Schmidt
Author: bschmidt Date: Sun Apr 29 12:48:52 2012 New Revision: 234786 URL: http://svn.freebsd.org/changeset/base/234786 Log: Fix WITHOUT_EXAMPLES build: While removing unnecessary entries from .PATH.c I missed that for the examples WPA_SUPPLICANT_DISTDIR/HOSTAPD_DISTDIR is explicitly added to

svn commit: r234759 - in head/usr.sbin/wpa: . hostapd wpa_supplicant

2012-04-28 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 28 11:11:53 2012 New Revision: 234759 URL: http://svn.freebsd.org/changeset/base/234759 Log: Move crypto stuff into a common Makefile. While here fix the WITHOUT_OPENSSL build by using the wpa's internal crypto support if openssl is not available, this allows

svn commit: r234758 - head/usr.sbin/wpa/hostapd

2012-04-28 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 28 11:02:32 2012 New Revision: 234758 URL: http://svn.freebsd.org/changeset/base/234758 Log: not only the file names have changed from eap_xxx.c to eap_server_xxx.c, the defines too MFC after:2 weeks Modified: head/usr.sbin/wpa/hostapd/Makefile Modif

svn commit: r234757 - head/usr.sbin/wpa/wpa_supplicant

2012-04-28 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 28 11:01:12 2012 New Revision: 234757 URL: http://svn.freebsd.org/changeset/base/234757 Log: enable EAP_GTC and EAP_OTP to match upstream's default configuration MFC after:2 weeks Modified: head/usr.sbin/wpa/wpa_supplicant/Makefile Modified: head/usr.s

svn commit: r234756 - in head/usr.sbin/wpa: . wpa_supplicant

2012-04-28 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 28 10:59:29 2012 New Revision: 234756 URL: http://svn.freebsd.org/changeset/base/234756 Log: Follow up r234711 and do same for the supplicant, one file/option per line. While here merge the options which are always enabled. MFC after:2 weeks Modified:

svn commit: r234711 - in head/usr.sbin/wpa: . hostapd

2012-04-26 Thread Bernhard Schmidt
Author: bschmidt Date: Thu Apr 26 17:35:11 2012 New Revision: 234711 URL: http://svn.freebsd.org/changeset/base/234711 Log: fix EAP server support after the 0.7.3 import: - eap_xxx.c files have been renamed to eap_server_xxx.c - additional crypto files are required for some options - EAP_M

svn commit: r234321 - head/sys/dev/iwn

2012-04-15 Thread Bernhard Schmidt
Author: bschmidt Date: Sun Apr 15 18:25:17 2012 New Revision: 234321 URL: http://svn.freebsd.org/changeset/base/234321 Log: Use the M_AMPDU_MPDU flag to determine when to manually set the seqno and use a BA queue. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c

svn commit: r233845 - head/sys/net80211

2012-04-03 Thread Bernhard Schmidt
Author: bschmidt Date: Tue Apr 3 17:48:42 2012 New Revision: 233845 URL: http://svn.freebsd.org/changeset/base/233845 Log: Add basic HT channel setup to ieee80211_init_channels(), this will be used by at least ral(4). Reviewed by: ray Modified: head/sys/net80211/ieee80211_regdomain.c

svn commit: r233571 - head/sys/dev/iwn

2012-03-27 Thread Bernhard Schmidt
Author: bschmidt Date: Tue Mar 27 18:27:45 2012 New Revision: 233571 URL: http://svn.freebsd.org/changeset/base/233571 Log: strip (R) to match manpage and pci_vendors MFC after:1 week Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c ===

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

2012-03-27 Thread Bernhard Schmidt
Author: bschmidt Date: Tue Mar 27 18:17:22 2012 New Revision: 233568 URL: http://svn.freebsd.org/changeset/base/233568 Log: Add a list of available devices which matches the names shown by pciconf. While here add 2 missing firmware modules. MFC after:1 week Modified: head/share/man

svn commit: r233567 - head/sys/dev/iwn

2012-03-27 Thread Bernhard Schmidt
Author: bschmidt Date: Tue Mar 27 17:45:50 2012 New Revision: 233567 URL: http://svn.freebsd.org/changeset/base/233567 Log: Add support for 6150 series devices. Tested by:Shane Riddle MFC after:1 week Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c ===

svn commit: r233387 - in head/sys/dev: ipw iwi iwn wpi

2012-03-23 Thread Bernhard Schmidt
Author: bschmidt Date: Fri Mar 23 19:32:30 2012 New Revision: 233387 URL: http://svn.freebsd.org/changeset/base/233387 Log: Use suspend/resume methods provided by net80211. This ensures that the appropriate state handling takes place, not doing so results in the device doing nothing until ma

svn commit: r233382 - head/sbin/ifconfig

2012-03-23 Thread Bernhard Schmidt
Author: bschmidt Date: Fri Mar 23 18:12:25 2012 New Revision: 233382 URL: http://svn.freebsd.org/changeset/base/233382 Log: Also fix the parameter usage in set80211meshpeering(). Submitted by: Monthadar Al Jaberi MFC after:1 week X-MFC after: r233328 Modified: head/sbin/ifconfig

svn commit: r233283 - head/sys/dev/usb/wlan

2012-03-21 Thread Bernhard Schmidt
Author: bschmidt Date: Wed Mar 21 19:08:44 2012 New Revision: 233283 URL: http://svn.freebsd.org/changeset/base/233283 Log: Load the firmware during init not attach, as a root filesystem might not yet be available. While here, also print the firmware version. Submitted by: PseudoCylon M

svn commit: r232946 - in head/sys: contrib/dev/ral modules/ralfw modules/ralfw/rt2860

2012-03-13 Thread Bernhard Schmidt
Author: bschmidt Date: Tue Mar 13 21:25:25 2012 New Revision: 232946 URL: http://svn.freebsd.org/changeset/base/232946 Log: Update the rt2860's firmware and add a Makefile for the module. While here remove the ucode header file which was used to generate the fw files but by now is outdated.

svn commit: r230620 - head/sys/dev/iwn

2012-01-27 Thread Bernhard Schmidt
Author: bschmidt Date: Fri Jan 27 17:39:02 2012 New Revision: 230620 URL: http://svn.freebsd.org/changeset/base/230620 Log: On state changes from RUN to anything else the AGGR sessions are cleared/dropped leading to qid2tap[n] being NULL as there no longer is a tap. Now, if there have been l

svn commit: r229375 - head/sys/dev/iwn

2012-01-03 Thread Bernhard Schmidt
Author: bschmidt Date: Tue Jan 3 09:42:31 2012 New Revision: 229375 URL: http://svn.freebsd.org/changeset/base/229375 Log: Don't rely on MCS7 being at index 7 while determining the amount of antennas to use. Not all APs enable all MCS rates. Poked by: Lucius Windschuh MFC after:

Re: svn commit: r229284 - head/sys/net80211

2012-01-02 Thread Bernhard Schmidt
On Tuesday 03 January 2012 01:41:32 Adrian Chadd wrote: > On 2 January 2012 08:02, Bernhard Schmidt wrote: > > Author: bschmidt > > Date: Mon Jan 2 16:02:30 2012 > > New Revision: 229284 > > URL: http://svn.freebsd.org/changeset/base/229284 > > > > Log:

svn commit: r229284 - head/sys/net80211

2012-01-02 Thread Bernhard Schmidt
Author: bschmidt Date: Mon Jan 2 16:02:30 2012 New Revision: 229284 URL: http://svn.freebsd.org/changeset/base/229284 Log: MCS32 equals 32, not 8*ic_txstream. Modified: head/sys/net80211/ieee80211_ht.c Modified: head/sys/net80211/ieee80211_ht.c ==

svn commit: r228622 - head/sys/net80211

2011-12-17 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Dec 17 10:32:31 2011 New Revision: 228622 URL: http://svn.freebsd.org/changeset/base/228622 Log: Remove now redundant mac argument. Discussed with: adrian@ Modified: head/sys/net80211/ieee80211_acl.c head/sys/net80211/ieee80211_hostap.c head/sys/net80

svn commit: r228621 - in head/sys: dev/an dev/ath dev/bwi dev/bwn dev/if_ndis dev/ipw dev/iwi dev/iwn dev/malo dev/mwl dev/ral dev/usb/wlan dev/wi dev/wpi net80211

2011-12-17 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Dec 17 10:23:17 2011 New Revision: 228621 URL: http://svn.freebsd.org/changeset/base/228621 Log: Fix some net80211 enum nits: - ic_vap_create() uses an ieee80211_opmode argument - ieee80211_rate2media() takes an ieee80211_phymode argument - ieee80211_plcp2rate()

Re: svn commit: r228514 - head/sys/net80211

2011-12-15 Thread Bernhard Schmidt
On Thu, Dec 15, 2011 at 10:35, Adrian Chadd wrote: > On 15 December 2011 00:02, Bernhard Schmidt wrote: > >> Why didn't you remove the mac argument? It is assign from wh->i_addr2 >> anyways, seems rather too redundant to me. > > Because the semantics for that ri

Re: svn commit: r228514 - head/sys/net80211

2011-12-15 Thread Bernhard Schmidt
On Thu, Dec 15, 2011 at 01:52, Adrian Chadd wrote: > Author: adrian > Date: Thu Dec 15 00:52:30 2011 > New Revision: 228514 > URL: http://svn.freebsd.org/changeset/base/228514 > > Log: >  Modify the ACL code slightly to support a few nifty things: > >  * Call it before sending probe responses, so

svn commit: r227805 - head/sys/dev/iwn

2011-11-21 Thread Bernhard Schmidt
Author: bschmidt Date: Mon Nov 21 22:19:12 2011 New Revision: 227805 URL: http://svn.freebsd.org/changeset/base/227805 Log: The DC calibration result obtained during initialization can't be passed over to the runtime firmware on 6050 devices. Instead let the runtime firmware do the calibrati

svn commit: r226679 - head/sys/dev/iwn

2011-10-24 Thread Bernhard Schmidt
Author: bschmidt Date: Mon Oct 24 07:37:01 2011 New Revision: 226679 URL: http://svn.freebsd.org/changeset/base/226679 Log: Let net80211 also know about stopped BA sessions. This fixes some issues where the driver assumed that BA resources are still available due to net80211 saying so.

svn commit: r226346 - head/sys/dev/iwn

2011-10-13 Thread Bernhard Schmidt
Author: bschmidt Date: Thu Oct 13 18:17:03 2011 New Revision: 226346 URL: http://svn.freebsd.org/changeset/base/226346 Log: Fix bmiss notifications, events should be sent when NOT scanning. MFC after:3 days Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c

svn commit: r224717 - head/sys/net80211

2011-08-08 Thread Bernhard Schmidt
Author: bschmidt Date: Mon Aug 8 16:29:07 2011 New Revision: 224717 URL: http://svn.freebsd.org/changeset/base/224717 Log: When setting a fixed channel on adapters with 11n support the scan channel list ends up with 2 entries, the HT and the legacy channel. The scan itself is currently alwa

svn commit: r222933 - head/sys/dev/iwn

2011-06-10 Thread Bernhard Schmidt
Author: bschmidt Date: Fri Jun 10 17:06:25 2011 New Revision: 222933 URL: http://svn.freebsd.org/changeset/base/222933 Log: Make sure to drop the IEEE80211_RATE_BASIC flag even for MCS rates. Reported by: Maciej Milewski Tested by:Maciej Milewski Modified: head/sys/dev/iwn/if_iw

svn commit: r222687 - head/sys/dev/iwn

2011-06-04 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 4 15:22:01 2011 New Revision: 222687 URL: http://svn.freebsd.org/changeset/base/222687 Log: Enable HT40 (40MHz channel width) support. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c =

svn commit: r222683 - head/sys/net80211

2011-06-04 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 4 15:05:32 2011 New Revision: 222683 URL: http://svn.freebsd.org/changeset/base/222683 Log: Certain adapters have HT40 support on some but not all channels. The Intel 4965 devices for example have HT40 on 2GHz completely disabled but it is still supported for

svn commit: r222682 - head/sys/net80211

2011-06-04 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 4 14:28:09 2011 New Revision: 222682 URL: http://svn.freebsd.org/changeset/base/222682 Log: Data frames sent over the mgmt path might be part of a TX aggr session too. In that case don't fiddle with the seqno as drivers are supposed to handle that. Curren

svn commit: r222680 - head/sys/dev/iwn

2011-06-04 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 4 11:56:20 2011 New Revision: 222680 URL: http://svn.freebsd.org/changeset/base/222680 Log: Only consider QoS frames for TX packet aggregation. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c

svn commit: r222679 - head/sys/dev/iwn

2011-06-04 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Jun 4 11:43:09 2011 New Revision: 222679 URL: http://svn.freebsd.org/changeset/base/222679 Log: The firmware of 4965 series adapters seems to die while trying to send probe requests at 1Mbps while being associated on a 5GHz channel. Sending those at 6Mbps does wor

svn commit: r222543 - in head/sys/dev: ipw iwi iwn wpi

2011-05-31 Thread Bernhard Schmidt
Author: bschmidt Date: Tue May 31 19:08:25 2011 New Revision: 222543 URL: http://svn.freebsd.org/changeset/base/222543 Log: Add module version to iwi/ipw/wpi and iwn. The version is used to check if a module is already preset, not setting it results in: can't re-use a leaf (ipw)! m

svn commit: r222162 - head/sys/net80211

2011-05-21 Thread Bernhard Schmidt
Author: bschmidt Date: Sat May 21 16:41:41 2011 New Revision: 222162 URL: http://svn.freebsd.org/changeset/base/222162 Log: Fix typo, it is MPDU not MDPU. Modified: head/sys/net80211/ieee80211_var.h Modified: head/sys/net80211/ieee80211_var.h =

svn commit: r222161 - head/sys/modules/wlan

2011-05-21 Thread Bernhard Schmidt
Author: bschmidt Date: Sat May 21 16:34:53 2011 New Revision: 222161 URL: http://svn.freebsd.org/changeset/base/222161 Log: Fix a typo, it is MPDU not MDPU. Modified: head/sys/modules/wlan/Makefile Modified: head/sys/modules/wlan/Makefile =

svn commit: r221945 - head/sys/dev/iwn

2011-05-15 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 15 08:09:36 2011 New Revision: 221945 URL: http://svn.freebsd.org/changeset/base/221945 Log: Only update the scheduler's byte count table for aggregation queues. The other queues, especially the command queue, uses the FIFO mode which doesn't require the byte c

svn commit: r221657 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 12:23:01 2011 New Revision: 221657 URL: http://svn.freebsd.org/changeset/base/221657 Log: Enable 11n (sans HT40) support. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c

svn commit: r221653 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 12:11:20 2011 New Revision: 221653 URL: http://svn.freebsd.org/changeset/base/221653 Log: Notify firmware about various HT parameters once associated. Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_iwnreg.h Modified: head/sys/dev/iwn/if_iwn.c

svn commit: r221651 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 12:06:12 2011 New Revision: 221651 URL: http://svn.freebsd.org/changeset/base/221651 Log: Add support for TX packet aggregation. Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_iwnreg.h head/sys/dev/iwn/if_iwnvar.h Modified: head/sys/dev/iwn/if_i

svn commit: r221650 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 11:58:23 2011 New Revision: 221650 URL: http://svn.freebsd.org/changeset/base/221650 Log: Add support for RX packet aggregation. Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_iwnvar.h Modified: head/sys/dev/iwn/if_iwn.c ==

svn commit: r221649 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 11:54:38 2011 New Revision: 221649 URL: http://svn.freebsd.org/changeset/base/221649 Log: Add support for transmitting frames at MCS rates. Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_iwnreg.h Modified: head/sys/dev/iwn/if_iwn.c ===

svn commit: r221648 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 11:49:50 2011 New Revision: 221648 URL: http://svn.freebsd.org/changeset/base/221648 Log: Prepare for transmitting frames at MCS rates: - instead of calling iwn_plcp_signal() for every frame, map the expected value directly within wn->ridx - concat plcp,

svn commit: r221642 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 11:05:03 2011 New Revision: 221642 URL: http://svn.freebsd.org/changeset/base/221642 Log: Read chainmask information before announcing it. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c ===

svn commit: r221641 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 11:03:16 2011 New Revision: 221641 URL: http://svn.freebsd.org/changeset/base/221641 Log: Add HT capabilities to probe requests. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c =

svn commit: r221640 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 11:01:53 2011 New Revision: 221640 URL: http://svn.freebsd.org/changeset/base/221640 Log: Disable background scan support for 4965 adapters. On legacy channels every once in a while the firmware throws a SYSASSERT on line 208. On HT channels though this d

svn commit: r221639 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 10:57:44 2011 New Revision: 221639 URL: http://svn.freebsd.org/changeset/base/221639 Log: RX aggregation is slightly different then the legacy path, we will only receive one RX_PHY for each aggregate and not one RX_PHY per frame. Modified: head/sys/dev/iwn/

svn commit: r221638 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 10:54:50 2011 New Revision: 221638 URL: http://svn.freebsd.org/changeset/base/221638 Log: Allocate all TX rings, those will be use for TX packet aggregation. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c

svn commit: r221637 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 10:35:16 2011 New Revision: 221637 URL: http://svn.freebsd.org/changeset/base/221637 Log: Use the enhanced TX power information availabe on newer EEPROMs. Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_iwnreg.h head/sys/dev/iwn/if_iwnvar.h Modif

svn commit: r221636 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 10:31:22 2011 New Revision: 221636 URL: http://svn.freebsd.org/changeset/base/221636 Log: Hook HT channel setup. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c =

svn commit: r221635 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 10:21:42 2011 New Revision: 221635 URL: http://svn.freebsd.org/changeset/base/221635 Log: The 6000 series adapters have a slightly different offset for band 6, 2GHz HT40 channels. Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_iwnreg.h Modified:

svn commit: r221634 - head/sys/dev/iwn

2011-05-08 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 8 10:19:29 2011 New Revision: 221634 URL: http://svn.freebsd.org/changeset/base/221634 Log: Re-add 2 device IDs which got lost. Pointed out by: benjsc Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c ==

Re: svn commit: r221301 - head/sys/conf

2011-05-02 Thread Bernhard Schmidt
On Monday 02 May 2011 14:39:57 John Baldwin wrote: > On Sunday, May 01, 2011 3:05:54 pm Bernhard Schmidt wrote: > > Author: bschmidt > > Date: Sun May 1 19:05:54 2011 > > New Revision: 221301 > > URL: http://svn.freebsd.org/changeset/base/221301 > > > > Lo

svn commit: r221329 - head/sys/i386/conf

2011-05-02 Thread Bernhard Schmidt
Author: bschmidt Date: Mon May 2 16:51:02 2011 New Revision: 221329 URL: http://svn.freebsd.org/changeset/base/221329 Log: All PCI based wireless drivers seem to be explicitly removed from the PAE kernel config, do that also for those added to GENERIC lately. Modified: head/sys/i386/conf/P

Re: svn commit: r221301 - head/sys/conf

2011-05-01 Thread Bernhard Schmidt
On Sunday 01 May 2011 21:28:28 Nathan Whitehorn wrote: > On 05/01/11 14:05, Bernhard Schmidt wrote: > > Author: bschmidt > > Date: Sun May 1 19:05:54 2011 > > New Revision: 221301 > > URL: http://svn.freebsd.org/changeset/base/221301 > > > > Log: >

svn commit: r221301 - head/sys/conf

2011-05-01 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 1 19:05:54 2011 New Revision: 221301 URL: http://svn.freebsd.org/changeset/base/221301 Log: These are of course i386/amd64 only. Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES ===

svn commit: r221300 - head/sys/conf

2011-05-01 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 1 18:42:56 2011 New Revision: 221300 URL: http://svn.freebsd.org/changeset/base/221300 Log: Add files for wpi(4) Modified: head/sys/conf/files Modified: head/sys/conf/files == --- head

svn commit: r221299 - head/sys/dev/wpi

2011-05-01 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 1 18:41:57 2011 New Revision: 221299 URL: http://svn.freebsd.org/changeset/base/221299 Log: No need for htole32(), which is an uint8_t. Modified: head/sys/dev/wpi/if_wpi.c Modified: head/sys/dev/wpi/if_wpi.c

svn commit: r221296 - in head/sys: amd64/conf conf i386/conf

2011-05-01 Thread Bernhard Schmidt
Author: bschmidt Date: Sun May 1 13:26:34 2011 New Revision: 221296 URL: http://svn.freebsd.org/changeset/base/221296 Log: Add the remaining wireless drivers. Discussed with: joel Modified: head/sys/amd64/conf/GENERIC head/sys/conf/NOTES head/sys/i386/conf/GENERIC Modified: h

Re: svn commit: r221199 - head/sys/dev/usb/wlan

2011-04-29 Thread Bernhard Schmidt
On Friday, April 29, 2011 08:28:30 Kevin Lo wrote: > Author: kevlo > Date: Fri Apr 29 06:28:29 2011 > New Revision: 221199 > URL: http://svn.freebsd.org/changeset/base/221199 > > Log: > Guard against default ni_chan > > PR: kern/144642 > Submitted by: Arthur Hartwig > > Modified: > he

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

2011-04-20 Thread Bernhard Schmidt
Author: bschmidt Date: Wed Apr 20 17:53:39 2011 New Revision: 220896 URL: http://svn.freebsd.org/changeset/base/220896 Log: Add ref to the latest firmware additions. Modified: head/share/man/man4/iwnfw.4 Modified: head/share/man/man4/iwnfw.4 ==

svn commit: r220895 - head/sys/dev/iwn

2011-04-20 Thread Bernhard Schmidt
Author: bschmidt Date: Wed Apr 20 17:49:05 2011 New Revision: 220895 URL: http://svn.freebsd.org/changeset/base/220895 Log: Now that all bits are in for 1030/6230 adapters enable those. While here pull the adapter names from the Linux driver and sort the list by ID. Modified: head/sys/dev

svn commit: r220894 - head/sys/dev/iwn

2011-04-20 Thread Bernhard Schmidt
Author: bschmidt Date: Wed Apr 20 17:43:20 2011 New Revision: 220894 URL: http://svn.freebsd.org/changeset/base/220894 Log: The 6000 series gen2 adapters have 2 firmware images, one with advanced btcoex support and one without. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn

svn commit: r220891 - head/sys/dev/iwn

2011-04-20 Thread Bernhard Schmidt
Author: bschmidt Date: Wed Apr 20 16:59:27 2011 New Revision: 220891 URL: http://svn.freebsd.org/changeset/base/220891 Log: Add basic support for advanced bluetooth coexistence required for 6005 gen2b (1030/6030) adapters. Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_iwnreg.h

svn commit: r220867 - head/sys/dev/iwn

2011-04-19 Thread Bernhard Schmidt
Author: bschmidt Date: Tue Apr 19 19:51:35 2011 New Revision: 220867 URL: http://svn.freebsd.org/changeset/base/220867 Log: Enable DC calibration for all 6000 series devices, except those with an internal PA. Override the chainmask also for the 6050. Modified: head/sys/dev/iwn/if_iwn.c M

svn commit: r220866 - head/sys/dev/iwn

2011-04-19 Thread Bernhard Schmidt
Author: bschmidt Date: Tue Apr 19 19:47:41 2011 New Revision: 220866 URL: http://svn.freebsd.org/changeset/base/220866 Log: Pull some features out of the firmware: - If a ENH_SENS TLV section exit the firmware is capable of doing enhanced sensitivity calibration. - Newer devices/firmware

Re: svn commit: r220724 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Bernhard On Saturday 16 April 2011 16:38:02 Schmidt wrote: > Author: bschmidt > Date: Sat Apr 16 14:38:01 2011 > New Revision: 220724 > URL: http://svn.freebsd.org/changeset/base/220724 > > Log: > Sync debug and error messages with OpenBSD. Forgot to mention this: The device capability announc

svn commit: r220729 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 14:56:13 2011 New Revision: 220729 URL: http://svn.freebsd.org/changeset/base/220729 Log: Add some new features: - 6000 series devices need enhanced sensitivity calibration. - 6000 series devices need a different setting for the shadow reg. - set the IWN_F

svn commit: r220728 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 14:51:46 2011 New Revision: 220728 URL: http://svn.freebsd.org/changeset/base/220728 Log: Bring over the HAL/OPS changes, instead of two const structs it is now slightly more dynamic. Obtained from:OpenBSD Modified: head/sys/dev/iwn/if_iwn.c

svn commit: r220727 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 14:49:29 2011 New Revision: 220727 URL: http://svn.freebsd.org/changeset/base/220727 Log: Read RX/TX chainmasks directly of the EEPROM. Some chips are known to have the wrong/broken information stored, keep the hardcoded values for those. Obtained from:

svn commit: r220726 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 14:40:42 2011 New Revision: 220726 URL: http://svn.freebsd.org/changeset/base/220726 Log: Just a whitespace sync, some more style(9) conform then others. Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_iwnreg.h head/sys/dev/iwn/if_iwnvar.h Modifi

svn commit: r220725 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 14:38:57 2011 New Revision: 220725 URL: http://svn.freebsd.org/changeset/base/220725 Log: Sync comments with OpenBSD. Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_iwnvar.h Modified: head/sys/dev/iwn/if_iwn.c =

svn commit: r220724 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 14:38:01 2011 New Revision: 220724 URL: http://svn.freebsd.org/changeset/base/220724 Log: Sync debug and error messages with OpenBSD. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c

svn commit: r220723 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 14:36:43 2011 New Revision: 220723 URL: http://svn.freebsd.org/changeset/base/220723 Log: Shuffle code around a bit. Mostly to group functional connected things, others to get the same order as the OpenBSD code. Modified: head/sys/dev/iwn/if_iwn.c head/sy

svn commit: r220721 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 13:40:32 2011 New Revision: 220721 URL: http://svn.freebsd.org/changeset/base/220721 Log: Rename some stuff in favour of the OpenBSD names: - prefer EDCA over WME - qid for a TXQ ID - reg for register values Modified: head/sys/dev/iwn/if_iwn.c Modified

svn commit: r220720 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 13:25:19 2011 New Revision: 220720 URL: http://svn.freebsd.org/changeset/base/220720 Log: Fix WME/QoS handling: - move the TX queue selection into iwn_tx_data/iwn_tx_data_raw - extract traffic identifier and use it - do not expect ACKs for frames marked as

svn commit: r220719 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 13:12:12 2011 New Revision: 220719 URL: http://svn.freebsd.org/changeset/base/220719 Log: Remove if_ierrors which do not necessarily indicate a RX error, also do account send packets. While here use the IWN_TX_FAIL constant. Modified: head/sys/dev/iwn/if_iw

svn commit: r220715 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 12:42:54 2011 New Revision: 220715 URL: http://svn.freebsd.org/changeset/base/220715 Log: Instead of hardcoding TX rates and using that to fill the retry table use the neogotiated ni_rates instead. Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_i

svn commit: r220711 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 11:14:42 2011 New Revision: 220711 URL: http://svn.freebsd.org/changeset/base/220711 Log: Replace RX/TX ring allocation error messages with something more sane and remove those where the caller already prints one. Modified: head/sys/dev/iwn/if_iwn.c Modifi

svn commit: r220710 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 11:11:22 2011 New Revision: 220710 URL: http://svn.freebsd.org/changeset/base/220710 Log: Prevent double-free, also use the same error codes as OpenBSD. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c =

svn commit: r220704 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 10:52:11 2011 New Revision: 220704 URL: http://svn.freebsd.org/changeset/base/220704 Log: Add missing bus_dmamap_sync calls as well as remove two duplicate ones. Obtained from:OpenBSD Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iw

svn commit: r220702 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 10:38:27 2011 New Revision: 220702 URL: http://svn.freebsd.org/changeset/base/220702 Log: Unify TX/RX ring allocation, finish the descriptior DMA stuff before starting with data. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c =

svn commit: r220701 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 10:35:02 2011 New Revision: 220701 URL: http://svn.freebsd.org/changeset/base/220701 Log: Make sure to destroy all DMA tags and maps. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c

svn commit: r220700 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 10:32:46 2011 New Revision: 220700 URL: http://svn.freebsd.org/changeset/base/220700 Log: Rewrite DMA segment handling to be more inline with the OpenBSD code. Also change the m_len == 0 hack to have less code churn. Modified: head/sys/dev/iwn/if_iwn.c Mod

svn commit: r220694 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 09:39:08 2011 New Revision: 220694 URL: http://svn.freebsd.org/changeset/base/220694 Log: scratch_paddr has the same address pre-assigned, use that instead. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c =

svn commit: r220693 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 09:34:40 2011 New Revision: 220693 URL: http://svn.freebsd.org/changeset/base/220693 Log: In case a new mbuf can't be loaded, reuse the old one. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_iwn.c =

svn commit: r220692 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 08:59:21 2011 New Revision: 220692 URL: http://svn.freebsd.org/changeset/base/220692 Log: OpenBSD uses IWN_RBUF_SIZE not MJUMPAGESIZE for the RX path, also replace caddr_t with void * to be in sync. Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/de

svn commit: r220691 - head/sys/dev/iwn

2011-04-16 Thread Bernhard Schmidt
Author: bschmidt Date: Sat Apr 16 08:57:17 2011 New Revision: 220691 URL: http://svn.freebsd.org/changeset/base/220691 Log: Remove the flags argument of iwn_dma_contig_alloc(), it is always set as BUS_DMA_NOWAIT. While here also set BUS_DMA_COHERENT. Modified: head/sys/dev/iwn/if_iwn.c Mod

  1   2   3   >