Bug 196279 - [iwn] [patch]: Backport Intel Centrino Wireless-N 2230 to 9-STABLE
Summary: [iwn] [patch]: Backport Intel Centrino Wireless-N 2230 to 9-STABLE
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: wireless (show other bugs)
Version: 9.3-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-wireless mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-26 11:24 UTC by freebsd
Modified: 2014-12-26 11:24 UTC (History)
0 users

See Also:


Attachments
Intel Centrino Wireless-N 2230 support for 9-STABLE (957.99 KB, patch)
2014-12-26 11:24 UTC, freebsd
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description freebsd 2014-12-26 11:24:57 UTC
Created attachment 150968 [details]
Intel Centrino Wireless-N 2230 support for 9-STABLE

This is a backport of Intel Centrino Wireless-N 2230 support to 9-STABLE. It is not a straight MFC because the iwn driver implementations in 11-CURRENT and 9-STABLE have diverged quite a bit. Instead, the code took this roundabout route:

- Original code added to 11-CURRENT by Adrian Chadd
- Extracted to experimental iwl driver by Sean Bruno
- Ported to OpenBSD by Fabian Raetz
- Ported to 9-STABLE by me

I took this route because OpenBSD's iwn driver is very close to 9-STABLE's, making it easy to port over features.

This patch is as close to the OpenBSD commit as possible, to make it easy to spot any porting mistakes I may have made. If this is accepted, I will be happy to fix a few style nits I noticed, to update the man page, etc.

For reference, the OpenBSD commit is:

http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/if_iwnreg.h.diff?r1=1.45&r2=1.46
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/if_iwnvar.h.diff?r1=1.26&r2=1.27
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/if_iwn.c.diff?r1=1.127&r2=1.128