-
Notifications
You must be signed in to change notification settings - Fork 679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Intel Centrino Wireless-N wireless network devices #399
Conversation
@zxystd Thank you create this great project. |
I've tested on Intel Centrino Advanced-N 6205 ONLY. For anyone is interested testing this driver before merge, you can try it here. AirportItlwm-Big Sur.zip |
@pigworlds Thanks for your work. Have you ever do benchmark Speedtest on this iwn driver? TBH, we don't have plan to support it, because we don't have these devices and don't have too much effort to maintain it... |
The speed of this iwn driver is about 55mbps down, and 20mbps up when measured using iperf3 in my environment. This is consistent with Speedtest on the download speed, and upload speed is limited by my internet provider. This isn't bad either compare to the speed listed in FAQ. I fortunately and have a laptop with this Intel Centrino Advanced-N 6205. Unfortunately the wireless card on the laptop is unreplaceable. I have no other option to use wireless on the laptop other than use it with iwn driver. Most likely I'm able to support this iwn driver until the the laptop stop working. |
Ok. I see. |
@@ -886,10 +912,34 @@ | |||
F8A68DDB2482242E007EB376 /* iwlwifi-cc-a0-48.ucode */, | |||
F8A68DD72482224F007EB376 /* iwlwifi-Qu-b0-hr-b0-48.ucode */, | |||
F8A68DD92482241E007EB376 /* iwlwifi-QuZ-a0-hr-b0-48.ucode */, | |||
17FD7F43255E4EB300611406 /* iwn-100 */, | |||
17FD7F3E255E4EB300611406 /* iwn-105 */, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
iwn-100 is not in use, maybe should delete it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed. This iwn-100 file come from the firmware package, and apparently it is not being used.
itlwm/hal_iwn/ItlIwn.cpp
Outdated
getTxNSS() | ||
{ | ||
// return !com.sc_nvm.sku_cap_mimo_disable ? (iwn_mimo_enabled(&com) ? 2 : 1) : 1; | ||
return 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should not hard coded to 1, some devices may support MIMO, should return the value of sc->ntxchains
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot to point out. I understand incorrectly the MIMO was introduced only to 802.11ac, and it was actually in the N standard. I can find the logs indicate 2T2R, so the TxNSS should be 2.
I also noticed the upload speed increased to 30mbps while test using iperf3 after this change.
Ok. I don't have device to test it, no more suggestions now, if you find some issues when you are using it, please let me know. Thank you for the contribution again. |
I'm using the alpha that has this PR merged and I see all my networks. However when I select one and key it in, it connects me, but shows an exclamation mark on the wifi sign and does not let me use Safari. This is all on the recovery USB, btw. Forgot to mention, this is with AlphaITLWM |
@codic12 Thanks try this out and share the information. Which wifi card are you using? What method of loading the kext? Through OC injection, Clover injection or kextload? Will you able to grab the logs? During my testing I do see similar issue mostly in the recovery mode. A cycle of turn off wifi and turn on fix this most of time. |
@pigworlds Hi, same wifi card as you: Intel Centrino Advanced-N 6205. And I'll try turning it off and on too. |
Ok, so there was some messages about not recieveing something. However I turned it off and on, and wow it works! I am on the live usb right now, thank you so much! |
@codic12 Glad it works for you. :-) Once you have the full system setup, please report back how it works. Please note, there are 2 known minor when you inject through OC bootloader:
Also note, the iwn driver seems doesn't support MIMO (only support up to SISO MCS 7) and no support 40Mhz channel yet. Please run a speedtest to check the performance of it. |
Hi @pigworlds, (It's been much more than a minute.) Is there any way to fix this? |
Oh, and a wifi card does not show in Network Preferences either. Only Ethernet&Modem. |
See if you can add it by pressing the "+" icon on the bottom left in |
No, no interface like that. |
This sounds the kext is not injected properly. Can you run this to check if it is loaded? Can you manually run this to load to see if it works? Check https://openintelwireless.github.io/itlwm/Installation.html#airportitlwm to how to load AirportItlwm.kext properly. It is not as simple as just load the kext in OpenCore. Its dependency, |
I will try those commands. However, I cannot figure out how to force the kernel (cannot find that part of the manual) to load IO80211Family...? I do not seem to have that kext. Perhaps I can remove AirportItlwm, and use normal Itlwm for now, if that would work? if so I will try that tomorrow |
It was just my own stupidity indeed, normal itlwm works perfectl! Speeds are very acceptable, slightly lower than Linux. |
Port over iwn driver from OpenBSD project.
The iwn driver provides support for Intel Wireless WiFi Link 4965/5000/1000 and Centrino Wireless-N 1000/2000/6000 Series PCIe Mini Card network adapters. *Untested