The NetBSD Project

CVS log for src/sys/dev/pci/if_iwmvar.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / pci

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20 / (download) - annotate - [select for diffs], Fri May 22 20:27:16 2020 UTC (3 years ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, netbsd-10-base, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored)

This driver sleeps during iwm_media_change(), and thus requires an
adaptive mutex for the media lock.

Revision 1.18.18.1 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:26 2020 UTC (3 years, 1 month ago) by martin
Branch: phil-wifi
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.19 / (download) - annotate - [select for diffs], Sat Oct 5 23:27:20 2019 UTC (3 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

remove __packed attribute from struct ieee80211_radiotap_header
and all the structures that include it.

this should not change anything while avoiding packed vs alignment
warnings from GCC 8, and potentially pessimised code generation
due to the packed marker (there are no misaligned members, just
that the per-device parts may end unaligned.)

all consumers of these members are done from the properly aligned
packet members directly, or, as a union with a 64 byte member,
also properly aligned.  codegen didn't appear to change, except
for the definition of sizeof(struct driver_[rt]x_radiotap_header)
in debug info, which is not directly used anywhere.

Revision 1.18.14.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:08 2017 UTC (5 years, 6 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.18.14.1: +532 -0 lines
Diff to previous 1.18.14.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

update from HEAD

Revision 1.5.2.7 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:05 2017 UTC (5 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.5.2.6: +22 -2 lines
Diff to previous 1.5.2.6 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Sync with HEAD

Revision 1.18.10.2 / (download) - annotate - [select for diffs], Tue Jul 25 19:43:03 2017 UTC (5 years, 10 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.18.10.1: +531 -0 lines
Diff to previous 1.18.10.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

Apply patch (requested by nonaka in ticket #1413):
iwm(4): Add a driver for Intel Wireless 726x, 316x, 826x and 416x series.
Ported from OpenBSD.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:47 2017 UTC (6 years, 1 month ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.15: +22 -4 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync with HEAD

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:29 2017 UTC (6 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.9.2.1: +34 -8 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Sync with HEAD

Revision 1.18.14.1, Tue Mar 14 23:59:26 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.18: +0 -532 lines
FILE REMOVED

file if_iwmvar.h was added on branch tls-maxphys on 2017-12-03 11:37:08 +0000

Revision 1.18.10.1, Tue Mar 14 23:59:26 2017 UTC (6 years, 2 months ago) by snj
Branch: netbsd-7
Changes since 1.18: +0 -532 lines
FILE REMOVED

file if_iwmvar.h was added on branch netbsd-7 on 2017-07-25 19:43:03 +0000

Revision 1.18 / (download) - annotate - [select for diffs], Tue Mar 14 23:59:26 2017 UTC (6 years, 2 months ago) by nonaka
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20190609, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1
Branch point for: tls-maxphys, phil-wifi, netbsd-7
Changes since 1.17: +22 -2 lines
Diff to previous 1.17 (colored)

iwm(4): update firmware to maintained core release.

firmware from https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git/tree/?id=4b9559fb0565f582a21a4070a81a3b6a7d77610b

Revision 1.5.2.6 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:29 2017 UTC (6 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.5.2.5: +50 -57 lines
Diff to previous 1.5.2.5 (colored) to branchpoint 1.5 (colored)

Sync with HEAD

Revision 1.17 / (download) - annotate - [select for diffs], Thu Feb 2 10:05:35 2017 UTC (6 years, 4 months ago) by nonaka
Branch: MAIN
CVS Tags: nick-nhusb-base-20170204
Changes since 1.16: +1 -2 lines
Diff to previous 1.16 (colored)

wlan interfaces make interrupt routine running on softint context.

see http://mail-index.netbsd.org/tech-kern/2016/12/06/msg021281.html

tested device:
 * ath at pci: AR5212, AR5424
 * athn at pci: AR9287
 * ipw at pci: 2100BG
 * iwi at pci: 2915ABG
 * iwm at pci: 3165, 7260, 8260
 * iwn at pci: 4945, 6235
 * ral at pci: RT2560
 * rtwn at pci: RTL8192CE

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jan 21 05:58:49 2017 UTC (6 years, 4 months ago) by nonaka
Branch: MAIN
Changes since 1.15: +1 -2 lines
Diff to previous 1.15 (colored)

Remove unused iwm_softc member.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 13 11:21:47 2017 UTC (6 years, 4 months ago) by nonaka
Branch: MAIN
CVS Tags: bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

iwm(4): 3165 works fine with iwlwifi-7265D-17.ucode firmware.

firmware from http://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/tree/?id=be8a6fcba2e48e00674d1f35e6def56e2268039c

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jan 10 08:40:27 2017 UTC (6 years, 4 months ago) by nonaka
Branch: MAIN
Changes since 1.13: +3 -1 lines
Diff to previous 1.13 (colored)

check LAR support in NVM for 8260/4165.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jan 10 07:34:04 2017 UTC (6 years, 4 months ago) by nonaka
Branch: MAIN
Changes since 1.12: +7 -1 lines
Diff to previous 1.12 (colored)

Add apmg_wake_up_wa support from DragonFly BSD.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jan 10 05:54:03 2017 UTC (6 years, 4 months ago) by nonaka
Branch: MAIN
Changes since 1.11: +1 -3 lines
Diff to previous 1.11 (colored)

iwm(4): 8260 works now. 4165 may works too.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jan 8 07:42:00 2017 UTC (6 years, 5 months ago) by nonaka
Branch: MAIN
Changes since 1.10: +5 -4 lines
Diff to previous 1.10 (colored)

iwm(4): make interrupt routine running on softint context.

see http://mail-index.netbsd.org/tech-kern/2016/12/06/msg021281.html

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:33 2017 UTC (6 years, 5 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.9: +38 -51 lines
Diff to previous 1.9 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 18 02:18:29 2016 UTC (6 years, 5 months ago) by nonaka
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107
Changes since 1.9: +38 -51 lines
Diff to previous 1.9 (colored)

iwm(4): Sync with OpenBSD.

7265 works fine.
7260 and 3160 maybe work.
7265D, 3165 and 8260 not work yet.

if_iwm.c: r1.147.
if_iwmreg.h: r1.19 without r1.16.
if_iwmvar.h: r1.24.

firmware is taken from https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi
- iwlwifi-7260-ucode-16.242414.0.tgz
- iwlwifi-3160-ucode-16.242414.0.tgz
- iwlwifi-7265-ucode-16.242414.0.tgz
- iwlwifi-8000-ucode-16.242414.0.tgz

Revision 1.5.2.5 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:50 2015 UTC (7 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.5.2.4: +1 -3 lines
Diff to previous 1.5.2.4 (colored) to branchpoint 1.5 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.9 / (download) - annotate - [select for diffs], Fri Nov 6 14:22:17 2015 UTC (7 years, 7 months ago) by nonaka
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.8: +1 -3 lines
Diff to previous 1.8 (colored)

Always use pci_intr_alloc(9)/pci_intr_release(9).

Revision 1.5.2.4 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:59 2015 UTC (7 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.5.2.3: +10 -7 lines
Diff to previous 1.5.2.3 (colored) to branchpoint 1.5 (colored)

Sync with HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jul 22 15:18:01 2015 UTC (7 years, 10 months ago) by nonaka
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.7: +10 -7 lines
Diff to previous 1.7 (colored)

iwm(4) can read the firmware image from disk when interface up.
This change is useful for full-disk encryption environment.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:09 2015 UTC (8 years ago) by skrll
Branch: nick-nhusb
Changes since 1.5.2.2: +4 -1 lines
Diff to previous 1.5.2.2 (colored) to branchpoint 1.5 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Fri May 15 08:44:15 2015 UTC (8 years ago) by knakahara
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.6: +1 -7 lines
Diff to previous 1.6 (colored)

if_iwm use unified establish API.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Apr 28 15:38:02 2015 UTC (8 years, 1 month ago) by nonaka
Branch: MAIN
Changes since 1.5: +10 -1 lines
Diff to previous 1.5 (colored)

Use MSI instead of legacy INTx, if available.

should fix PR/49663.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:10 2015 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.5.2.1: +515 -0 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored)

Sync with HEAD

Revision 1.5.2.1, Tue Mar 3 09:10:45 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.5: +0 -515 lines
FILE REMOVED

file if_iwmvar.h was added on branch nick-nhusb on 2015-04-06 15:18:10 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Tue Mar 3 09:10:45 2015 UTC (8 years, 3 months ago) by nonaka
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Branch point for: nick-nhusb
Changes since 1.4: +4 -2 lines
Diff to previous 1.4 (colored)

workaround for interrupt coalescing bug not needed on 7265.
From OpenBSD if_iwm.c rev.1.25, if_iwmvar.h rev.1.7.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Feb 16 13:22:19 2015 UTC (8 years, 3 months ago) by nonaka
Branch: MAIN
Changes since 1.3: +7 -7 lines
Diff to previous 1.3 (colored)

whitespace

Revision 1.3 / (download) - annotate - [select for diffs], Fri Feb 13 18:57:47 2015 UTC (8 years, 3 months ago) by nonaka
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

iwm(4) works now, but 2.4GHz only.

> iwm0 at pci2 dev 0 function 0: Intel Dual Band Wireless AC 3160 (rev. 0x83)
> iwm0: interrupting at ioapic0 pin 18
> iwm0: hw rev: 0x160, fw ver 25.228 (API ver 9), address XX:XX:XX:XX:XX:XX
> iwm0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> iwm0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps

Revision 1.2 / (download) - annotate - [select for diffs], Fri Feb 13 17:14:06 2015 UTC (8 years, 3 months ago) by nonaka
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

Sync with OpenBSD if_iwm.c rev.1.18.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Feb 7 13:20:00 2015 UTC (8 years, 4 months ago) by pooka
Branch: MAIN

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver.  Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default.  While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>