Intel Wireless 2100, 2200bg, 2915bg, 3945abg, 4965agn, IWIDarwin drivers for mac os x 10.4 and 10.5 *under development* |
![]() |
Intel Wireless 2100, 2200bg, 2915bg, 3945abg, 4965agn, IWIDarwin drivers for mac os x 10.4 and 10.5 *under development* |
|
eenMadcat
InsanelyMac Protégé
|
![]() |
Jun 6 2008, 08:15 PM Post #2501
|
|
@jalavoui
Thanks for the feedback, so the main focus point is "getting a list of accesspoints" i'll try to figure out if the card can be set to other channels, i think the 4965 card can scan the A,B,G and N range, there should be some API call to set it i guess. i have tried the new version, and the first time it boots it gives a kernal panic, i don't see it in the logging. after a hard reboot it booted fine, but when the system is shut down, it took a long time...screen scrolled very fast, i gave it a ctrl+C (abort) and did reboot in my logging i can conferm that this one exists (it's my main network N and WPA 2 encrypted) bssid=00:1b:63:2d:92:4c stabssid=00:00:00:00:00:00 ('<hidden>')darwin_iwi4965: Ethernet address 00:13:e8:9c:47:73 Jun 6 23:47:02 Laptop kernel[0]: bssid=00:1b:2f:56:c5:6e stabssid=00:00:00:00:00:00 ('<hidden>') this one is not available with other logger like AP grapher in the logfile i do not find my test accesspoint g-standard - no encryption (on 00:16:cb:be:22:84)
Attached File(s)
|
|
eenMadcat
InsanelyMac Protégé
|
![]() |
Jun 6 2008, 08:56 PM Post #2502
|
|
i can't get the "scan_complete" with the new driver/code.
i'm analysing these two logfiles right now one is the new driver which is not able to get a scan_complete and the other is a modified codebase of last week, which does give the scan_complete do you have any idea what triggert the result? @jalavoui do you have icq/msn/irc, we might be able to speed things up (got a working laptop here) and i got some time this weekend
Attached File(s)
|
|
jalavoui
InsanelyMac Legend
|
![]() |
Jun 6 2008, 08:57 PM Post #2503
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
this should do it
eenMadcat, if not try to change the code in __ieee80211_rx() iwi3945 rel 1151 iwi4965 rel 1152 maybe add a if in networkselector call helps getting a scan complete the scan call should fail if already scanning the driver seems to detect networks without the scan call...!? after this is checked maybe trying to call the scan with a network ssid will work better i've added ieee80211_sta_start_scan(dev, ifsta->ssid, ifsta->ssid_len);//NULL, 0); to svn tree search for IOLog("request scan!\n"); if you can find a way to make the user select from a network list (get if from __ieee80211_rx) them you can try to call ieee80211_sta_req_scan(dev,ssid,ssid_len); can you try this? |
|
eenMadcat
InsanelyMac Protégé
|
![]() |
Jun 6 2008, 09:10 PM Post #2504
|
|
during boot i am able to get a scan_complete again, but not using the tool.
i'm transfering logfile in a minute edit: woops, false alarm. still not able to get a scan_complete result.. trying to receive it. it is seeing my "debug access point" and iwl4965_rx_scan_results_notif are received... still do not beleive the "802.11a" value also seeing a ghost AP ...00:1b:2f:56:c5:6e somehow it locks to this adress, dunno why!
Attached File(s)
|
|
eenMadcat
InsanelyMac Protégé
|
![]() |
Jun 6 2008, 09:27 PM Post #2505
|
|
this should do it eenMadcat, if not try to change the code in __ieee80211_rx() iwi3945 rel 1151 iwi4965 rel 1152 maybe add a if in networkselector call helps getting a scan complete the scan call should fail if already scanning the driver seems to detect networks without the scan call...!? after this is checked maybe trying to call the scan with a network ssid will work better i've added ieee80211_sta_start_scan(dev, ifsta->ssid, ifsta->ssid_len);//NULL, 0); to svn tree during startup i scan is performed.. maybe some OSX call does this. this scan call somehow gives a different result (better) as the scan call performed by the tool |
|
jalavoui
InsanelyMac Legend
|
![]() |
Jun 6 2008, 09:30 PM Post #2506
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
yep,
if this is right passing the right ssid might help are you using a old release? i've disable the 1st auto scan call in check_firstup() ok - i'll wait for your code if you like to commit to the svn tree pm me with a gmail account so i can add you to iwidarwin |
|
eenMadcat
InsanelyMac Protégé
|
![]() |
Jun 6 2008, 09:33 PM Post #2507
|
|
this should do iteenMadcat, if not try to change the code in __ieee80211_rx()iwi3945 rel 1151iwi4965 rel 1152maybe add a if in networkselector call helps getting a scan completethe scan call should fail if already scanningthe driver seems to detect networks without the scan call...!?after this is checked maybe trying to call the scan with a network ssid will work betteri've addedieee80211_sta_start_scan(dev, ifsta->ssid, ifsta->ssid_len);//NULL, 0);to svn treesearch forIOLog("request scan!\n");if you can find a way to make the user select from a network list (get if from __ieee80211_rx)them you can try to call ieee80211_sta_req_scan(dev,ssid,ssid_len);can you try this? okey, ill try to receive the list from __ieee80211_rx first. or call the ieee80211_sta_req_scan from a known ssidyep,if this is right passing the right ssid might helpare you using a old release?i've disable the 1st auto scan call in check_firstup() Ah, that makes sense why i do not get it anymore.. overall this scan was getting the best result |
|
jalavoui
InsanelyMac Legend
|
![]() |
Jun 6 2008, 09:52 PM Post #2508
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
if anyone wants to post logs
i've update the dmg iwi3945 rel 1155 iwi4965 rel 1156 |
|
eenMadcat
InsanelyMac Protégé
|
![]() |
Jun 6 2008, 10:11 PM Post #2509
|
|
if anyone wants to post logs i've update the dmg iwi3945 rel 1155 iwi4965 rel 1156 log for 4965 ps: ieee80211_sta_start_scan looks like an interesting function
Attached File(s)
|
|
jalavoui
InsanelyMac Legend
|
![]() |
Jun 6 2008, 10:15 PM Post #2510
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
i just remembered that when this begins to work you'll get some kernel panics related with rx/tx code - we'll deal with it later
it will be nice that more people test the new releases and post logs eenMadcat, if this log is ok them the code with printk("rxbssid=" MAC_FMT in __ieee80211_rx() is never called - sta is allways NULL ?? if you like to debug set this in ieee80211_sta_start_scan() /*if (!rc) { local->sta_scanning = 1; local->scan_dev = dev; } return rc;*/ this will force tx packets and give nice kp but i think trying the scan with the right ssid should be the 1st thing to do i have to go - good luck |
|
eenMadcat
InsanelyMac Protégé
|
![]() |
Jun 6 2008, 10:26 PM Post #2511
|
|
i just remembered that when this begins to work you'll get some kernel panics related with rx/tx code - we'll deal with it later it will be nice that more people test the new releases and post logs eenMadcat, if this log is ok them the code with printk("rxbssid=" MAC_FMT in __ieee80211_rx() is never called - sta is allways NULL ?? ill load your driver again (is switching back and forwards) do you have icq/msn/gtalk/other IM ? i can not find "rxb" in the logging, so if that's not printed maybe sta is in this configuration null i loaded the driver and hit scan, in the "console" i use "all messages" to find the string |
|
kazzi
InsanelyMac Protégé
|
![]() |
Jun 7 2008, 12:50 AM Post #2512
|
![]()
|
|
|
UberPrinnyBaal
InsanelyMac Protégé
|
![]() |
Jun 7 2008, 08:52 AM Post #2513
|
|
iwi4965 installs and boots ok on my machine (Dell XPS m1530, Intel Conroe T9300, 8600m GT, 3gb ram, running Kalyway 10.5.2), but networkSelector fails to find it.. looks like network stack isn't bound to anything. Any advice? I'd love to be able to contribute.
build r1156, system logs from most recent boot. Hope these are OK, else direct me.
Attached File(s)
|
|
jalavoui
InsanelyMac Legend
|
![]() |
Jun 7 2008, 02:27 PM Post #2514
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
eenMadcat,
you're an iwidarwin admin keep posts here. this is better than msn,etc cause it allows others to follow development news i don't have new code to post - anyone to help? |
|
jalavoui
InsanelyMac Legend
|
![]() |
Jun 7 2008, 04:38 PM Post #2515
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
maybe this work
let the driver work for a minute before try to scan with networkselector iwi3945 rel 1157 iwi4965 rel 1158 maybe you get a kp |
|
eenMadcat
InsanelyMac Protégé
|
![]() |
Jun 7 2008, 05:32 PM Post #2516
|
|
keep posts here. this is better than msn,etc cause it allows others to follow development news oh well, how do you move data between the compatibilty,iwi4965, networktool ? the structs like ieee80211_local are different, or am i forgetting something? the new version lets the system hangs, no KP just hanging.. ps: in ieee80211_sta_req_scan shouldn't ieee80211_sta_start_scan be called when "sdata->type == IEEE80211_IF_TYPE_STA", instead of not equal? |
|
jalavoui
InsanelyMac Legend
|
![]() |
Jun 7 2008, 06:17 PM Post #2517
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
add scanned nets list to networkselector
the driver is expected to enter a scan-loop iwi3945 rel 1159 iwi4965 rel 1160 this code might need some fixes - check the hack in ieee80211_rx_bss_add() the loop condition only happens if you get a scan_complete the driver as no code for wireless_send_event(dev, SIOCGIWSCAN, &wrqu, NULL); this code gets the scan results so i'll try to do this by hacking some code |
|
thomaske
InsanelyMac Protégé
|
![]() |
Jun 7 2008, 06:33 PM Post #2518
|
![]()
|
|
|
jalavoui
InsanelyMac Legend
|
![]() |
Jun 7 2008, 08:56 PM Post #2519
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
very nice log
Jun 7 20:25:28 thomas-godons-mac-pro kernel[0]: request scan - networks found:\ Jun 7 20:25:28 thomas-godons-mac-pro kernel[0]: 1) 00:13:f7:35:a9:e2 ('Boven')\ Jun 7 20:25:28 thomas-godons-mac-pro kernel[0]: 2) 00:50:18:16:cb:38 ('Beneden')\ Jun 7 20:25:28 thomas-godons-mac-pro kernel[0]: 3) 00:1b:11:8d:24:1a ('FUPKE')\ this is the output of a scan - called by networkselector is this correct (mac address and ssid)? need others to post logs - i have 2/3 more releases to test please post wich networks you can detect in windows/linux and wich ones are shown by iwi3945 maybe with this code eenMadcat or someone with the card can make the driver work leo333, i have no idea how much will a laptop cost once i know it i'll post the value in iwidarwin |
|
NoSTaBoNN
InsanelyMac Protégé
|
![]() |
Jun 7 2008, 09:51 PM Post #2520
|
![]()
|
iwi4965 - 1160
iwi4965___1160.txt ( 334.76K )
Number of downloads: 11It's the DMG we have to try, right? Because I didn't saw any difference between previous.
iwi4965___1160_found.txt ( 748.17K )
Number of downloads: 10Didn't give me any results until i closed network selector. Suddenly all AP came out, they are the only near as far as windows can tell... MAC's are correct So seems nice |
![]() |
|
Lo-Fi Version | Time is now: 22nd November 2009 - 03:55 AM |