Jump to content
3992 posts in this topic

Recommended Posts

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

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? :P

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

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

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.

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 :D

 

However, remember I'm not a developer but a copy and past man :D

 

bye

- 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

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

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

 

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

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.

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 :unsure:

 

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

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

really? there's still HOPE for 3945 ?

;p :D :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

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

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

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.

:P

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.

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.

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.

Guest
This topic is now closed to further replies.
×
×
  • Create New...