dpeddi Posted October 13, 2007 Share Posted October 13, 2007 good to see some progress i'll look at the code and try to give some sugestions can you post system.log? - i'd like to take a look emymrin, thanks - this is will help development Source attached incude changes to headers to make nsGui to build System.log show continuos scanning. With some printf it seems that if (!memcmp(network->bssid,((struct ieee80211_network *)data)->bssid,sizeof(network->bssid))) sometime is true, but I don't see IOLog of ipw2100_best_network and associate_network. I don't see "can't associate to this network" too. I'm sure that i run that "case" bye iwi2100_src_modded.tar.gz system1.log.tar.gz Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-470388 Share on other sites More sharing options...
jalavoui Posted October 14, 2007 Author Share Posted October 14, 2007 some comments on iwi2100 code: does the rfkill hack in configureConnection() works? it should be able to turn the radio on/off correctly. this function as obsolete code - copy some from iwi2200. does the "wireless switch" works? if you don't get a interrupt at handleInterrupt() when you press it them ipw2100_rf_kill can be removed. does this mean that the firmware keeps the radio on by default? if it is so, it will be very easy to control it - just change priv->status STATUS_RF_KILL_HW >getHardwareAddress() - first call is after fNetif is registered. it can be called by the driver anytime it needs - try to move ipw2100_up(priv,1) to the start() function at: IOLog("ipw2100_sw_reset\n"); ipw2100_sw_reset(1); // ipw2100_initialize_ordinals(priv); // ipw2100_init_nic(); // ipw2100_stop_nic(); ipw2100_up(priv,1); the driver will work better this way >you should add to the info.plist p_disable=1 unless you want the driver to autoassociate to the first net it finds >installer look (in xcode) to Targets->iwi2100->Run Script (copy from iwi2200) also update the folder "pkgscripts" >debuging change the "IOLog" to IWI_DEBUG_FULL_MODE if you get to much debug messages. use IWI_LOG for the important stuff >defines.h/iwi2100.h/ipw2100.h check if there are old values in #defines - i've copied them from iwi2200 and they really make iwi2100 to fail to work >__ipw2100_rx_process comment this code - don't need to change pkt size in here. if the driver fails scanning put it back //mbuf_setlen(packet->skb,sizeof(struct ipw2100_status)); //mbuf_pkthdr_setlen(packet->skb,sizeof(struct ipw2100_status)); >isr_status_change add IOLog to check for isr_indicate_associated() -it must be called after the driver finish scanning. need to find why this isn't happening >ipw2100_wx_event_work add code from iwi2200 ipw_link_up() in here you need to have a line like this setLinkStatus(kIONetworkLinkValid | (priv->last_rate ? kIONetworkLinkActive : 0), mediumTable[MEDIUM_TYPE_AUTO],priv->last_rate); to make mac os mdnsresponder detecting the ip address of the connection this will only work if the Rx/Tx functions are correct you'll need to find a way to make nsgui call this to allow manuall association - change configureConnection(). maybe it's possible to use iwi2200 code in here >isr_rx comment //mbuf_setlen(packet->skb,sizeof(struct ipw2100_rx)); //mbuf_pkthdr_setlen(packet->skb,sizeof(struct ipw2100_rx)); change if (unlikely(status->frame_size > mbuf_pkthdr_len(packet->skb))) { to if (unlikely(status->frame_size > mbuf_trailingspace(packet->skb))) { comment //if( mbuf_flags(packet->skb) & MBUF_PKTHDR) // mbuf_pkthdr_setlen(packet->skb, status->frame_size); >ieee80211XXXX functions copy from iwi2200 - they are updated >skb_put, skb_push and similar functions copy from iwi2200.h >kmalloc and kfree replace them with IOMalloc/IOFree >outputPacket check when this is called - the driver should use it after it is associated to a network. looks like it's using ipw2100_tx_send_data - this is wird >jiffies get rid of them - they only give bugs to the code >you have: //eddi: vediamo se adesso funziona i understand italian, but if i add comments in portuguese will you understand them? we should use english - we have people from israel, china and japan working in this project this is all i can remember for now keep up the good work Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-470430 Share on other sites More sharing options...
MacintizeD Posted October 14, 2007 Share Posted October 14, 2007 hey jalavoui, is it true that iwi3945 will not work on OS X? Please advice and clarify this issue. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-470483 Share on other sites More sharing options...
atlee Posted October 14, 2007 Share Posted October 14, 2007 codegenic i do not believe that you know most coding languages, its like you are calling yourself a professional multi coder, which people just dont learn these days, a normal person would focus on a few languages and not learn all, a person who talks the way you do, obviously has too much time on his hands and if you dont think this project is going to work then why are you inside this topic, the point you are trying to prove is infact wrong, the hardware is deteced in mac, its software which runs the hardware, this card runs under linux fine, porting it from linux to macos couldnt be that hard because its only going from a similar coding language Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-470547 Share on other sites More sharing options...
codegenic Posted October 14, 2007 Share Posted October 14, 2007 codegenic i do not believe that you know most coding languages, its like you are calling yourself a professional multi coder, which people just dont learn these days, a normal person would focus on a few languages and not learn all, a person who talks the way you do, obviously has too much time on his hands and if you dont think this project is going to work then why are you inside this topic, the point you are trying to prove is infact wrong, the hardware is deteced in mac, its software which runs the hardware, this card runs under linux fine, porting it from linux to macos couldnt be that hard because its only going from a similar coding language I stand corrected then. No good deed goes unpunished. It is obvious that this cant be too hard, in fact you guys are nearly there. I do have too much time on my hands and I cant possibly know about c++, pearl cgi, java comal etc.his would require at least 60 years of experience.. You are quite right. Congratulations on your breakthrough. From linux to mac os x is no challenge of course. Good luck mates. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-470586 Share on other sites More sharing options...
dpeddi Posted October 14, 2007 Share Posted October 14, 2007 Hi jalavoui - your latest iwi2200 code is in svn? if not, can you tell me the post where I can download it? - If kextunload would work, debugging should be easier, I think... >you have: //eddi: vediamo se adesso funziona You are right... but at this stage I think some comment will be in italian, at least until the driver will work a little However, remember I'm not a developer but a copy and past man bye Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-470706 Share on other sites More sharing options...
yangj08 Posted October 14, 2007 Share Posted October 14, 2007 In reply to an earlier comment, the 3945 doesn't work. The driver installs, but it won't see my card (I'm guessing that's what's happening when it says the MAC address is 00:00:00:00:00:00). Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-470728 Share on other sites More sharing options...
jalavoui Posted October 14, 2007 Author Share Posted October 14, 2007 - your latest iwi2200 code is in svn? if not, can you tell me the post where I can download it? i'm doing some changes, but it's been updated very recently. it's ok to grab some code from there you might want to try to use (from iwi2200) ipw_best_network() with some modifications it will also work on iwi2100 i haven't write code in iwi2200 for free() - it's not so easy. this is why kextunload can't be used if you manage to write the free() for iwi2100 it's ok to use kextunload iwi3945/4965 this drivers (in linux) use the mac80211 lib wich is much more complete than the ieee80211 that iwi2100/iwi2200 use in future i guess all iwidrivers will use the mac80211 lib - i'm already using some of it in iwi2200 i just like to remember that i only have a 2200 card but i decided to write code for 2100/3945/4965 - and i believe they will work sooner or later you can test this release iwi3945.dmg Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-470744 Share on other sites More sharing options...
habfanner Posted October 14, 2007 Share Posted October 14, 2007 Hi jalavoui, trying to get 4965agn going but only kernel panic. Logs attached but had to start in safe mode so don't know if they're any use to you. Has anyone gotten 4965 to work? Thanks Toshiba Satellite Pro P200 10.4.10 dmesg.txt system.txt ioreg.txt Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-470810 Share on other sites More sharing options...
mitro Posted October 14, 2007 Share Posted October 14, 2007 I've tried your package, this is the result. ._Untitled.rtf Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-470812 Share on other sites More sharing options...
whatmeworry Posted October 14, 2007 Share Posted October 14, 2007 iwi3945/4965this drivers (in linux) use the mac80211 lib wich is much more complete than the ieee80211 that iwi2100/iwi2200 use in future i guess all iwidrivers will use the mac80211 lib - i'm already using some of it in iwi2200 i just like to remember that i only have a 2200 card but i decided to write code for 2100/3945/4965 - and i believe they will work sooner or later you can test this release Hi Jalavoui, Just tried the latest 3945, got a "You need to restart your system..." after selecting option 1 (Turn card off) twice in the networkSelector. Also the MAC address isn't showing up in the networkSelector. I did see the MAC in the system logs though. Here are my logs. Thanks for all your hard work. Ken ioreg.txt system.txt Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-470847 Share on other sites More sharing options...
rbhays Posted October 14, 2007 Share Posted October 14, 2007 Hi jalavoui, trying to get 4965agn going but only kernel panic. Logs attached but had to start in safe mode so don't know if they're any use to you. Has anyone gotten 4965 to work? Thanks Toshiba Satellite Pro P200 10.4.10 I have the same issue, the driver causes kernal panic. This happens in both 10.4.8 and 10.4.7. Also, I am running a HP compaq 8510w with the 4965 card. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-470982 Share on other sites More sharing options...
jalavoui Posted October 15, 2007 Author Share Posted October 15, 2007 iwi4965 i'm aware of the kp - need to fix it iwi3945 please read previous post on howto test it i'll not explain again the rfkill,etc as anyone tryed the solution for the mac address ff:ff:ff ? iwi2200 code for wep association - ONLY. don't work for other safe net types you can try several wep configurations - if you have a server might get some kernel panics this version wasn't calling the encrypt/decrypt - fix it i've add more debug output - by some unknown reason the driver avoids kp this way you can use networkselector for association if you get a panic please download and test it again ok, since there's no feedback... this one as less bugs iwi3945 you can try this to check for your hardware this applies to mac address 00:00 / ff:ff it's included within xcode iwi2200.dmg Pasted_Graphic.tiff Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-471201 Share on other sites More sharing options...
MacintizeD Posted October 16, 2007 Share Posted October 16, 2007 Card owners - vote here http://forum.insanelymac.com/index.php?showtopic=66602 Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-472454 Share on other sites More sharing options...
fsk141 Posted October 16, 2007 Share Posted October 16, 2007 Hey, Great work so far, I just got a new lappie, and it has 3945. Let me know if I can do any more for the development. I installed the latest kext and I receive no kernel panic, and it shows up in the network properties as Built-in Ethernet, and not a wireless card. Hope this helps, and I attached my logs. Thanks, Jonny dmesg.txt ioreg.txt system.txt Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-472843 Share on other sites More sharing options...
winxp Posted October 17, 2007 Share Posted October 17, 2007 really? there's still HOPE for 3945 ? ;p :D ;D Hey,Great work so far, I just got a new lappie, and it has 3945. Let me know if I can do any more for the development. I installed the latest kext and I receive no kernel panic, and it shows up in the network properties as Built-in Ethernet, and not a wireless card. Hope this helps, and I attached my logs. Thanks, Jonny Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-473020 Share on other sites More sharing options...
yeknom55 Posted October 17, 2007 Share Posted October 17, 2007 i cant wait for the the 3945 drives to be working, i cant stand windows vista and im dying to put os x on. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-473345 Share on other sites More sharing options...
acumos Posted October 17, 2007 Share Posted October 17, 2007 Hi tried iwi3945. The card is detected as Intel Pro/wireless 3945abg (I saw it in verbose mode) but I can't see it in system infos. Doesn't work, neither the Netselector. GO GO GO Update: I found in Applicatione/utilities Utility Network. This tool has found 3 network devices: en2: Ethernet Broadcom 440x -active- (full works) fw0: Firewire (not tested) en3: Ethernet Intel 3945 -inactive- with the right MAC address. I can't verify with Networkselector if my card is enabled. I removed the encryption from my router, but the Intel card is not listed in the connected devices in router portal. dmesg.txt ioreg.txt system.txt Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-473357 Share on other sites More sharing options...
Eon Porter Posted October 17, 2007 Share Posted October 17, 2007 Has anyone managed to install a 4965 adapter succesfuly so far? Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-473529 Share on other sites More sharing options...
dpeddi Posted October 17, 2007 Share Posted October 17, 2007 iwi2100: Cleaned out some code I think not so useful, removed stub from iwi2200. Now that the code is more readable (and easier to compare to ipw2100 code) for me, I tried to implement the unload code (with some hangs and still not success) Ipw2100 has a bug in firmware so it always scan for network, so changed ConfigureConnection code to only set essid. essid is sent but I haven't test yet is association has success (Actually I have broken my fonera power adapter). I hope next week to post some progress bye Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-473677 Share on other sites More sharing options...
MacintizeD Posted October 17, 2007 Share Posted October 17, 2007 Go Jalavoui go. Our Intel Card poll resuls are out: Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-473710 Share on other sites More sharing options...
vmlinuz Posted October 17, 2007 Share Posted October 17, 2007 Hello guys Good job ! Just need your help regarding iwi2200 module. I get it work ! I have installed iwi2200.dmg but I can't connect to my wlan. The tool installed can see my SSIDs using WPA and an other WPA2 but I don't know how to plus my psk key in order to connect to one of them... strange situation. Could you guide me ? Thanks in advance Regards for the community. Seb. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-473714 Share on other sites More sharing options...
macgirl Posted October 18, 2007 Share Posted October 18, 2007 Did you read the FAQ? You can connect to unsecured/unencrypted networks only. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-473752 Share on other sites More sharing options...
MacintizeD Posted October 18, 2007 Share Posted October 18, 2007 Has anyone managed to install a 4965 adapter succesfuly so far? Check the previous posts by jalavoui. Of all the Intel PRO Wireless series, only 2200 can connect to unsecured networks atm Maybe what codegenic said was right. I have a feeling this project has already been abandoned. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-473814 Share on other sites More sharing options...
codegenic Posted October 18, 2007 Share Posted October 18, 2007 Check the previous posts by jalavoui. Of all the Intel PRO Wireless series, only 2200 can connect to unsecured networks atm Maybe what codegenic said was right. I have a feeling this project is already abandoned. I am convinced this project is far from abandoned, thus my earlier statement regarding the obstacles encountered. However I will grant the coders this; the effort has been nothing short than sublime. if need be, I will happily ask my former co-worker if he would be interested in aiding the coders in order to provide a driver that works at the same level as the iwi2200. This wont allow connections nor visibility features of encrypted wireless nw, however it could provide you with enough sourcecode in order to continue pursuing your goal/vision. Let me know if this is of interest to this forum. //Codegenic. Link to comment https://www.insanelymac.com/forum/topic/36976-intel-wireless-driver/page/122/#findComment-474396 Share on other sites More sharing options...
Recommended Posts