yeye Posted March 10, 2008 Share Posted March 10, 2008 read the topic and you'll find alone if 3945 or 4965 has any driver (2previous pages will be enough to read...) Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-661617 Share on other sites More sharing options...
jalavoui Posted March 10, 2008 Author Share Posted March 10, 2008 TNW, Symuc i don't know if you already do this we can deal with skb_set_mac_header(), skb_set_network_header() later you'll need to add the function names to compatibility.h (skb.txt.zip) static ieee80211_tx_handler ieee80211_tx_handlers[] = { ieee80211_tx_h_check_assoc, ieee80211_tx_h_sequence, ieee80211_tx_h_ps_buf, ieee80211_tx_h_select_key, ieee80211_tx_h_michael_mic_add, ieee80211_tx_h_fragment, ieee80211_tx_h_tkip_encrypt, ieee80211_tx_h_ccmp_encrypt, ieee80211_tx_h_wep_encrypt, ieee80211_tx_h_rate_ctrl, ieee80211_tx_h_misc, ieee80211_tx_h_load_stats, NULL }; my guess is to make all functions return and write code for ieee80211_tx_h_check_assoc, ieee80211_tx_h_sequence, ieee80211_tx_h_ps_buf, ieee80211_tx_h_fragment, ieee80211_tx_h_rate_ctrl, ieee80211_tx_h_misc this can be ignored (for now): skb->protocol netif_rx(skb); rx the packet: fNetif->inputPacket(skb,mbuf_len(skb)); dev_queue_xmit(skb2); tx the packet: outputPacket(skb2,0); the "jiffies" timer and functions can be found in iwi2200.h chech the time values for all queue_delayed_work() calls - they might be wrong check ieee80211_register_hw(). some code is missing. this is important to make the driver work! in sta_info_start(). looks like the stations work in a sort of "thread way". this can give lots of bugs after the code for rx/tx is written the driver will start working. some bugs will come up but i'll need to see the logs skb.txt.zip Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-661865 Share on other sites More sharing options...
TNW Posted March 10, 2008 Share Posted March 10, 2008 I'll commit my current version in 2 minutes. Therre are lot of FIXME and it needs a very BIG clean Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-661895 Share on other sites More sharing options...
jalavoui Posted March 10, 2008 Author Share Posted March 10, 2008 i'm looking at last svn version... ok - lot's of things to fix if you're not using iwi3945.cpp - i'd like to add some code the hard work is at compatibility.cpp - better start from ieee80211_alloc_hw() done rel 629 changed files: - iwi3945.cpp - iwi3945.h you need to compile this. check if createWorkLoop() works i got this wrong - should be like this: static inline void skb_trim(struct sk_buff *skb, signed int offset) { //cut from the end of mbuf if (offset>0) mbuf_adj(skb->mac_data, offset); else mbuf_adj(skb->mac_data, -offset); } Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-661927 Share on other sites More sharing options...
TNW Posted March 10, 2008 Share Posted March 10, 2008 i'm looking at last svn version... ok - lot's of things to fix if you're not using iwi3945.cpp - i'd like to add some code the hard work is at compatibility.cpp - better start from ieee80211_alloc_hw() done rel 629 changed files: - iwi3945.cpp - iwi3945.h you need to compile this. check if createWorkLoop() works i got this wrong - should be like this: static inline void skb_trim(struct sk_buff *skb, signed int offset) { //cut from the end of mbuf if (offset>0) mbuf_adj(skb->mac_data, offset); else mbuf_adj(skb->mac_data, -offset); } IOOutputQueue doesn't seens have a member function getState and IOEthernetController haven't got a getNetworkInterface function. [edit] it's corrected OutputQueue seems to be good : Someone called createOutputQueue() darwin_iwi3945::configureInterface() darwin_iwi3945: Ethernet address 00:13:02:15:d8:12 darwin_iwi3945::enable() ifconfig going up outputPacket called by someone outputPaccket2 called tx pkt with net down Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-662036 Share on other sites More sharing options...
Wayfarer247 Posted March 11, 2008 Share Posted March 11, 2008 Are you two only communicating through these forums? Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-662220 Share on other sites More sharing options...
mehdymehdy Posted March 11, 2008 Share Posted March 11, 2008 Hello!! i found something today. my wireless card works with the intel driver which supports 3945 mini pci intel card. but today i open my laptop and i see it doesn't have intell mark on it .so i search more . i figure out that it's broadcom 802.11b/g .so it should work with bcm43xx. so i tried it but there was no results . no card was configured . my question is if this driver is ready would it work on my wireless card . since it does work with the intel driver 3945? thanks. Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-662232 Share on other sites More sharing options...
zeclubbeur Posted March 11, 2008 Share Posted March 11, 2008 I've downloaded the last svn and try to load the "loadable" extention. I've posted the dmesg log if it could help Mac adress is still at 0xff... dmesg.rtf Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-662708 Share on other sites More sharing options...
jalavoui Posted March 11, 2008 Author Share Posted March 11, 2008 iwi3945 at this time we don't need logs on the driver. once the rx/tx code is finished we'll upload a version for testing. if you're using xcode and found bugs in the source code please post it here so we can fix it TNW, can you upload your last svn version? some code is missing - i think i can finish it Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-662762 Share on other sites More sharing options...
TNW Posted March 11, 2008 Share Posted March 11, 2008 I commited my last version. Maybe you should speak with a messenger Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-662837 Share on other sites More sharing options...
Megnus Posted March 11, 2008 Share Posted March 11, 2008 Seriously, I'm in love with you Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-662897 Share on other sites More sharing options...
hypnotic Posted March 11, 2008 Share Posted March 11, 2008 Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-662950 Share on other sites More sharing options...
newfashion Posted March 11, 2008 Share Posted March 11, 2008 Sorry, j've a intel pro wireless 4965 and j have installed leopard. Leopard is 10.5.1. and the driver 4965 is only for 10.4 J have installed a 4965 for 10.4 on 10.5.1 and my computer in stop for ever. This problem is for the incompatible with 4965 for 10.4 For this j wont the version for 10.5.1 Thenk's...................... Sorry for my english Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-663016 Share on other sites More sharing options...
Wayfarer247 Posted March 11, 2008 Share Posted March 11, 2008 I commited my last version. Maybe you should speak with a messenger If that was a spin off my hidden suggestion of you Two, (TNW and jalavoui) talking over IM or IRC or some other chat room too more effectively code this, then I am all for it! Or if not, then you now know my suggestion. I think it would help it out, communication is the key for everything. Also, for people who are interested in the release, all I can say is it will come when it comes. Don't bug them for a release time, they will tell us when we can expect it. For now, check the beginning of this thread and here. TNW and jalavoui, you guys are doing excellent! The community is here for you, just tell us what you need! Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-663028 Share on other sites More sharing options...
righteye Posted March 11, 2008 Share Posted March 11, 2008 iwi3945 at this time we don't need logs on the driver. once the rx/tx code is finished we'll upload a version for testing. if you're using xcode and found bugs in the source code please post it here so we can fix it TNW, can you upload your last svn version? some code is missing - i think i can finish it Hello there jalavoui, I have xcode but have no experience with it ... i did made today some tests and got this errors on building the kext. What should i follow in order to build a good kext and waht of the source code to enable on building the kext? How can i update the source code, cause now i am not using a god way to do that ... lol This are the errors for the airport code Cheers Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-663072 Share on other sites More sharing options...
righteye Posted March 11, 2008 Share Posted March 11, 2008 iwi3945 at this time we don't need logs on the driver. once the rx/tx code is finished we'll upload a version for testing. if you're using xcode and found bugs in the source code please post it here so we can fix it TNW, can you upload your last svn version? some code is missing - i think i can finish it Hello there jalavoui, I have xcode but have no experience with it ... i did made today some tests and got this errors on building the kext. What should i follow in order to build a good kext and waht of the source code to enable on building the kext? This are the errors for the airport code Cheers Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-663112 Share on other sites More sharing options...
jalavoui Posted March 11, 2008 Author Share Posted March 11, 2008 iwi3945 rel 632 bugs for TNW, Symuc to fix the driver logs will show what is missing - i'll come back after you check the code Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-663162 Share on other sites More sharing options...
TNW Posted March 11, 2008 Share Posted March 11, 2008 Hi, I had a big problem with my internet provider ... I'm going to start the fix now. [edit] I'm going to sleep it's 1:20 AM herre and I must be woken up at 06:45 AM. I commited a version with a KP on load Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-663278 Share on other sites More sharing options...
scottyn Posted March 12, 2008 Share Posted March 12, 2008 ZOMG its almost done??? CANT WAIT! KEEP UP THE GOOD WORK! Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-663735 Share on other sites More sharing options...
jalavoui Posted March 12, 2008 Author Share Posted March 12, 2008 iwi3945 i'll commit more code to the svn tree - please wait... done rel 634 station code. ieee80211_ alloc / register_hw the driver as a problem in this functions and in station code you'll need to test it TNW, can you post the system.log? maybe this can fix the timer problems: - the station code depends on this //keep k_compat.h #define add_timer(t) IOPCCardAddTimer(t) #define del_timer(t) IOPCCardDeleteTimer(t) #define mod_timer(a, do { del_timer(a); (a)->expires = (; add_timer(a); } while (0) //k_compat.h - just delete other definitions from compatibility.h/cpp void init_timer(struct timer_list *timer) { timer=(struct timer_list*)IOMalloc(sizeof(struct timer_list*)); } int del_timer_sync(struct timer_list *timer) { del_timer(timer); IOFree(timer);//maybe not } i think you need to add a ref to IOPCCardFamily in info.plist of iwi3945.kext to use it if none of this work you can try to use functions from clock.h... Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-663788 Share on other sites More sharing options...
TNW Posted March 12, 2008 Share Posted March 12, 2008 Hi, herre the log Mar 12 17:49:50 netwarriors-mac-pro kernel[0]: iwi3945: Starting Mar 12 17:49:50 netwarriors-mac-pro kernel[0]: Someone called createOutputQueue() Mar 12 17:49:50 netwarriors-mac-pro login[304]: DEAD_PROCESS: 304 ttys001 Mar 12 17:49:50 netwarriors-mac-pro kernel[0]: settCurController [OK] Mar 12 17:49:50 netwarriors-mac-pro kernel[0]: IOPCCard info: iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.23 Mar 12 17:49:50 netwarriors-mac-pro kernel[0]: IOPCCard info: iwl3945: Copyright(c) 2003-2007 Intel Corporation Mar 12 17:49:50 netwarriors-mac-pro kernel[0]: ieee80211_alloc_hw [OK] Mar 12 17:49:50 netwarriors-mac-pro kernel[0]: error iwl3945: U iwl3945_pci_probe *** LOAD DRIVER *** Mar 12 17:49:50 netwarriors-mac-pro kernel[0]: error iwl3945: U iwl3945_pci_probe pci_resource_len = 0x00000008 Mar 12 17:49:50 netwarriors-mac-pro kernel[0]: error iwl3945: U iwl3945_pci_probe pci_resource_base = 0x1ac85000 Mar 12 17:49:50 netwarriors-mac-pro kernel[0]: IOPCCard info: iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection Mar 12 17:49:50 netwarriors-mac-pro kernel[0]: error iwl3945: U iwl3945_set_rxon_channel Staging channel set to 6 [3] Mar 12 17:49:50 netwarriors-mac-pro kernel[0]: init_waitqueue_head stubbed out! Mar 12 17:49:50 netwarriors-mac-pro kernel[0]: error iwl3945: U iwl3945_pci_probe MAC address: 00:13:02:15:d8:12 Mar 12 17:49:50 netwarriors-mac-pro kernel[0]: warning : Failed to add default virtual iface Mar 12 17:49:50 netwarriors-mac-pro kernel[0]: error iwl3945: U iwl3945_mac_add_interface enter: id 3, type 2 Mar 12 17:49:50 netwarriors-mac-pro kernel[0]: error iwl3945: U iwl3945_mac_add_interface Set: 00:13:02:15:d8:12 Mar 12 17:49:50 netwarriors-mac-pro kernel[0]: error iwl3945: U iwl3945_mac_add_interface leave Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: 5/compatibility.cpp:932 Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: error iwl3945: U iwl3945_rx_handle r = 56, i = 55, REPLY_3945_RX, 0x1b Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: todo ieee80211_rx_irqsafe Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: ieee80211_tasklet_handler @ /Users/netwarrior/Desktop/iwidarwin/iwi3945_new-osx10.5/compatibility.cpp:1637 Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: Packet Found Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: __ieee80211_rx @ /Users/netwarrior/Desktop/iwidarwin/iwi3945_new-osx10.5/compatibility.cpp:1465 Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: __ieee80211_invoke_rx_handlers @ /Users/netwarrior/Desktop/iwidarwin/iwi3945_new-osx10.5/compatibility.cpp:886 Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: ieee80211_get_bssid @ /Users/netwarrior/Desktop/iwidarwin/iwi3945_new-osx10.5/compatibility.cpp:932 Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: error iwl3945: U iwl3945_rx_handle r = 57, i = 56, REPLY_3945_RX, 0x1b Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: todo ieee80211_rx_irqsafe Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: ieee80211_tasklet_handler @ /Users/netwarrior/Desktop/iwidarwin/iwi3945_new-osx10.5/compatibility.cpp:1637 Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: Packet Found Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: __ieee80211_rx @ /Users/netwarrior/Desktop/iwidarwin/iwi3945_new-osx10.5/compatibility.cpp:1465 Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: __ieee80211_invoke_rx_handlers @ /Users/netwarrior/Desktop/iwidarwin/iwi3945_new-osx10.5/compatibility.cpp:886 Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: ieee80211_get_bssid @ /Users/netwarrior/Desktop/iwidarwin/iwi3945_new-osx10.5/compatibility.cpp:932 Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: error iwl3945: U iwl3945_rx_handle r = 58, i = 57, REPLY_3945_RX, 0x1b Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: todo ieee80211_rx_irqsafe Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: ieee80211_tasklet_handler @ /Users/netwarrior/Desktop/iwidarwin/iwi3945_new-osx10.5/compatibility.cpp:1637 Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: Packet Found Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: __ieee80211_rx @ /Users/netwarrior/Desktop/iwidarwin/iwi3945_new-osx10.5/compatibility.cpp:1465 Mar 12 17:49:52 netwarriors-mac-pro kernel[0]: __ieee80211_invoke_rx_handlers @ /Users/netwarrior/Desktop/iwidarwin/iwi3945_new-osx10.5/compatibility.cpp:886 Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-664156 Share on other sites More sharing options...
jalavoui Posted March 12, 2008 Author Share Posted March 12, 2008 looks like the bugs in __ieee80211_rx() are from station code hope you can fix it. i thing the bug starts in ieee80211_if_add() better start checking at ieee80211_alloc_hw() - you'll need this http://lxr.oss.org.cn/source/drivers/net/n...t.c?a=sparc#L73 if IEEE80211_DEV_TO_SUB_IF() returns NULL or invalid Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-664306 Share on other sites More sharing options...
TNW Posted March 12, 2008 Share Posted March 12, 2008 Ok I added the support for add_timer , and I added some Debug: error iwl3945: U iwl3945_rx_handle r = 184, i = 183, REPLY_3945_RX, 0x1b todo ieee80211_rx_irqsafe ieee80211_tasklet_handler @ /Users/netwarrior/Desktop/iwidarwin/iwi3945_new-osx10.5/compatibility.cpp:1685 Packet Found __ieee80211_rx @ /Users/netwarrior/Desktop/iwidarwin/iwi3945_new-osx10.5/compatibility.cpp:1513 sta_info_get @ /Users/netwarrior/Desktop/iwidarwin/iwi3945_new-osx10.5/compatibility.cpp:1349 __ieee80211_invoke_rx_handlers @ /Users/netwarrior/Desktop/iwidarwin/iwi3945_new-osx10.5/compatibility.cpp:922 ieee80211_get_bssid @ /Users/netwarrior/Desktop/iwidarwin/iwi3945_new-osx10.5/compatibility.cpp:969 ieee80211_bssid_match @ /Users/netwarrior/Desktop/iwidarwin/iwi3945_new-osx10.5/compatibility.cpp:1303 Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-664339 Share on other sites More sharing options...
Wayfarer247 Posted March 12, 2008 Share Posted March 12, 2008 I really think you two should hop in MSN, or AIM, or Gtalk, or IRC, or SOMETHING. I dunno, you are doing excellent work, and keep it up, but the forum just seems to be a slow way to talk. Keep us updated! What are you working on now? How close is it to being done? What's happening? Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-664380 Share on other sites More sharing options...
internetadam4657 Posted March 12, 2008 Share Posted March 12, 2008 yea an update would be great! i don't contribute much since i am new to the mac world but i have a "hac pro" downstairs that i built not too long ago and i would love to take my dv2500t down the "hacbook pro" route but the 4965 wireless card is holding me back. i installed on my laptop when testing the desktop and my bt and lcd worked OOB but i got a kernel panic when trying to install the drivers (without reading the directions btw) Link to comment https://www.insanelymac.com/forum/topic/84072-intel-wireless-2100-2200bg-2915bg-3945abg-4965agn/page/16/#findComment-664513 Share on other sites More sharing options...
Recommended Posts