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: