Subscribe to our RSS news feed
AAPL 199.94 (-1.25)

171 Pages V  « < 162 163 164 165 166 > »   
Closed Topic Start new topic
Intel Wireless 2100, 2200bg, 2915bg, 3945abg, 4965agn, IWIDarwin drivers for mac os x 10.4 and 10.5 *under development*
*****
  • Group: Members
  • Posts: 297
  • Joined: 13-January 07
  • Member No.: 75,935
From Mercurysquad's blog, the information about IO80211ScanManager class is of interest. By a little reverse engineering, I picked the parts of IO80211Scanner and IO80211ScanManager out from IO80211Family binary file and attached it here. Attached File  IO80211_scanner___scanmanager.txt ( 24.4K ) Number of downloads: 79

I'll be glad if this helps.
PM Profile Card
Go to the top of the page
+ Quote Post
*******
  • Group: Validating
  • Posts: 520
  • Joined: 10-March 07
  • From: India
  • Member No.: 91,736
AWESOME! I was gonna pass the disassembly through c++filt and get just the class definition but you disassembled down to the implementation. There are some issues though, like :
CODE
if (node->358) return kAirPortReturnNoScanAvailable;
but it's still heavily useful.

You want to disassemble IO80211Controller and IO80211Interface also please? smile.gif
PM Profile Card
Go to the top of the page
+ Quote Post
*****
  • Group: Members
  • Posts: 297
  • Joined: 13-January 07
  • Member No.: 75,935
QUOTE (mercurysquad @ Feb 5 2009, 02:18 PM) *
There are some issues though, like :
CODE
if (node->358) return kAirPortReturnNoScanAvailable;
Actually all the variable name are guessed since I don't have the source file from Apple either. For those that no good candidate names can be jumped from my brain, I just use its offset in the structure as its name, thus node->358 is the variable located at offset 0x358 of the apple80211_scan_req_node structure. And for all the dissembled structures, the offset of each variable is labeled as an comment.
QUOTE
You want to disassemble IO80211Controller and IO80211Interface also please? smile.gif
I will give it a try. rolleyes.gif
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 4
  • Joined: 1-February 09
  • Member No.: 368,282
QUOTE (realityiswhere @ Feb 5 2009, 06:50 AM) *
1. There is NO DRIVER for 3945, 4965, or 5100 that works yet, PERIOD, END OF STORY.



Thanks, you just saved me a ton of reading!
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 14
  • Joined: 13-August 08
  • Member No.: 272,216
I didnt read back far enough to see people criticizing me however I dont really care. I have work to do, I check on here and "play" with hackin tosh for fun and mental excercise. It would be nice if I could recreate the working intel card again but, I dont have time to take every one of the 6 or so OS86x version I burnt when I first undertook this SIDE project.

I DONT suggest those who are doubtful, those with little time, or those that just dont feel like it, to keep trying with old OS86x installers to get the intel card to work, I just wanted to let those that cared know, that a wormhole must have opened up during my 1st install of osx on M1210 and the wireless worked for a few hours. I didnt have sound, I didnt have proper resolution and I thought, AT THE TIME, that I would need to install a different VERSION of osx86 to fix that. Obviously I SHOULD HAVE left that 1st install on and patched all the other KEXTs but I was toying around still and didnt give a ....

anyhoo. Good luck finding the right kext or developing your own.

Adios.
PM Profile Card
Go to the top of the page
+ Quote Post
*******
  • Group: Validating
  • Posts: 520
  • Joined: 10-March 07
  • From: India
  • Member No.: 91,736
@vjkevlar:

Can you please stop posting your misleading info on this thread?

Let's review the facts you have stated --

1) You have a wireless card in your laptop
2) It needs Broadcom drivers to work under Windows
3) Intel drivers are listed on your laptop manufacturer's website next to Broadcom drivers
4) Because of point 3 you claim you have Intel wifi card
5) But your wifi card doesnt work with Intel drivers only, on Windows
6) It worked out of the box on OS X which supports Broadcom and Atheros only
7) It doesn't work with iwidarwin driver

Those 7 points prove conclusively that you have a Broadcom card.

Further, you were asked to post lspci output, or the PCI dev/vendor ID of your wireless card so we know which card you actually have. You didn't do this. All you have done is insist on something you cannot and have not proven through any evidence which MIGHT ACTUALLY HELP ANYONE.

Therefore, you have no business misleading people trying to actually do some real work. Please stay out of this thread.
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 6
  • Joined: 8-February 09
  • From: St. Louis, MO, USA
  • Member No.: 372,756
I have an Intel PRO/Wireless 3945abg mini-PCI-e card in my laptop that I'm willing to donate if it will help getting a stable driver developed. If there's interest, PM me.
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 1
  • Joined: 8-February 09
  • Member No.: 372,742
Hello. Hacintosh is a new toy of mine, and i'm new to it and new to the forum. I recently got an older macbook pro and fell in love with the OS. This led me to try hacintosh on my older laptop, which is a Toshiba Satellite A200-AH9 notebook.

It does have the 3945abg intel wireless card.

Please let me know if i can provide any information that will help with he progress of this kext.

The system is running leo 10.5.5 with the stock kernel using iATKOS and it is the only OS on the unit.
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 17
  • Joined: 31-January 09
  • Member No.: 368,044
Hello jalavoui!

I hope you can help me with the following issue. After installing the latest stable iwi2200 driver the Airport sign and also the sign of iwi GUI appeared on the menu bar. But when attempting to open Network preference pane it's window stops responding and subsequently the app quits with an error.
Also while i can select wireless network from GUI i can't connect to any.
The installing of tweaked IPPCIFamily.kext from iPC 10.5.6 distributive didn't help.
What do you suggest me to do?
PM Profile Card
Go to the top of the page
+ Quote Post
********
  • Group: Members
  • Posts: 1,141
  • Joined: 28-August 06
  • Member No.: 53,253
finally got a laptop to work on iwi3945 code
this is the latest source code
looks like there's no code in linux for associating to a network (except for wireless event)
this means that iwi3945/4965 only scan for networks
i hope someone else can help making this work - i can't find a way to do this for now

this is very important and if it can be fixed i believe the remaining code can be done quiet easily


the ucode is very unstable in 3945 (works better in 4965). a few reboots fix it...
this release is for developers only

there's only a "simple" thing this code needs:
find a way to send a associate event to a network
in iwi2100/2200 this was done by sending a command to the card

i'm a bit frustrated but this code will need more than 2 days of work to make the driver associate to a network

sad.gif
Attached File(s)
Attached File  iwi3945_new_osx10.5.zip ( 926.56K ) Number of downloads: 308
 
PM Profile Card
Go to the top of the page
+ Quote Post
*****
  • Group: Members
  • Posts: 297
  • Joined: 13-January 07
  • Member No.: 75,935
Thanks for the developers' continuous work!

Here comes my newly dissembled code for IO80211Controller and IO80211Interface. All the class functions are done except one, i.e. IO80211Interface::setLinkstatus, I have part of it not clear yet. Most of the static non-class functions (not defined in .h file) are not dissembled due to a lack of information. Previous dissembled code for IO80211Scanner and IO80211ScanManager contain some errors because I treated "test" instruction as "cmp" instruction. The corrected version is put in new tar file as well.

I did not notice that jalavoui is not using the IOKit system. Sorry for put stuff on wrong place. Feel free to remove them. angel.png
Attached File(s)
Attached File  IO80211Family_4classes.rar ( 23.02K ) Number of downloads: 77
 
PM Profile Card
Go to the top of the page
+ Quote Post
***********
  • Group: Members
  • Posts: 4,240
  • Joined: 9-August 07
  • From: Teramo
  • Member No.: 126,301
QUOTE (jalavoui @ Feb 10 2009, 10:03 PM) *
finally got a laptop to work on iwi3945 code
this is the latest source code
looks like there's no code in linux for associating to a network (except for wireless event)
this means that iwi3945/4965 only scan for networks
i hope someone else can help making this work - i can't find a way to do this for now

this is very important and if it can be fixed i believe the remaining code can be done quiet easily
the ucode is very unstable in 3945 (works better in 4965). a few reboots fix it...
this release is for developers only

there's only a "simple" thing this code needs:
find a way to send a associate event to a network
in iwi2100/2200 this was done by sending a command to the card

i'm a bit frustrated but this code will need more than 2 days of work to make the driver associate to a network

sad.gif

Thanks Jalavoui....i wil test it..... wink.gif
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 20
  • Joined: 25-October 08
  • Member No.: 309,915
Hi to all

I Have a HP 530 Notebook (the celeron M version)
This is my WLAN Card
Intel PRO Wireless 802.11 a/b/g Wireless

i searched in google and in the forum but i dont found anything if (i will install the last version of ideneb)

Thanks so much and sorry for my crappy english (i'm from italy)
PM Profile Card
Go to the top of the page
+ Quote Post
***
  • Group: Members
  • Posts: 140
  • Joined: 7-December 06
  • From: Fr
  • Member No.: 67,497
Hello,

I've just tested the last iwi3945, and even after several reboots, the card isn't initialized properly.

Here is what I had in system.log at first try :
CODE
Feb 11 19:41:28 Le-Bidou sudo[886]:  lebidou : TTY=ttys001; PWD=/; USER=root; COMMAND=/usr/bin/su
Feb 11 19:41:42 Le-Bidou kernel[0]: Resetting IOCatalogue.
Feb 11 19:41:42 Le-Bidou kextd[10]: 0 cached, 436 uncached personalities to catalog
Feb 11 19:41:43 Le-Bidou kernel[0]: iwi3945: Starting
Feb 11 19:41:43 Le-Bidou kernel[0]: Someone called createOutputQueue()
Feb 11 19:41:43 Le-Bidou kernel[0]: settCurController [OK]
Feb 11 19:41:43 Le-Bidou kernel[0]: IOPCCard info:   iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.23d
Feb 11 19:41:43 Le-Bidou kernel[0]: IOPCCard info:   iwl3945: Copyright(c) 2003-2007 Intel Corporation
Feb 11 19:41:43 Le-Bidou kernel[0]: ieee80211_alloc_hw [OK]
Feb 11 19:41:43 Le-Bidou kernel[0]: IOPCCard info:   iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection
Feb 11 19:41:43 Le-Bidou kernel[0]: init_waitqueue_head stubbed out!
Feb 11 19:41:43 Le-Bidou kernel[0]: IOPCCard debug:  wmaster1: Selected rate control algorithm 'iwl-3945-rs'
Feb 11 19:41:43 Le-Bidou kernel[0]: error iwl3945: Unable to int nic
Feb 11 19:41:45 Le-Bidou kernel[0]: no netif_running
Feb 11 19:41:45 Le-Bidou kernel[0]: Someone called createOutputQueue()
Feb 11 19:41:45 Le-Bidou kernel[0]: darwin_iwi3945::configureInterface()
Feb 11 19:41:45 Le-Bidou kernel[0]: power state (1)
Feb 11 19:41:45 Le-Bidou kernel[0]: darwin_iwi3945: Ethernet address ff:ff:ff:ff:ff:ff
Feb 11 19:41:54 Le-Bidou kernel[0]: warning iwl3945: HARDWARE GONE?? INTA == 0x000000000000000000000000000000000000000000000000000000000000000000000000ffffff
f


After 4 reboots Ethernet address still ff:ff:ff:ff:ff:ff, the 'Unable to int nic' appears at each boot and the 'HARDWARE GONE??' message comes repeatedly.
I don't understand what makes the hardware initialization function fail.
PM Profile Card
Go to the top of the page
+ Quote Post
*******
  • Group: Validating
  • Posts: 520
  • Joined: 10-March 07
  • From: India
  • Member No.: 91,736
QUOTE (jalavoui @ Feb 11 2009, 02:33 AM) *
looks like there's no code in linux for associating to a network (except for wireless event)

Hey jalavoui, is your driver based on the new "iwlwifi" driver, or the linux driver that intel supplies (called ipw3945 i think)?

If it's the intel-supplied driver, then there is a daemon which needs to run, with which the driver interacts. Maybe you are missing that?

If it's based on the iwlwifi driver, then I don't know, the procedure to associate with a network seems to be roughly the same as 2200 (ie. send a command).

hope that helps.

QUOTE (dong @ Feb 11 2009, 05:36 AM) *
Here comes my newly dissembled code for IO80211Controller and IO80211Interface.


Great, thanks a lot again!

But since your work is mostly related to the project:camphor drivers (not iwidarwin), could you in the future please use the blog (link in my sig) instead of this thread?

The forum admins have requested that we use this thread only for jalavoui's iwidarwin related discussion, to avoid confusion.
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 5
  • Joined: 22-December 07
  • Member No.: 164,921
Thanks for all your efforts.
I believe u can do it.Just do it
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 2
  • Joined: 3-February 09
  • Member No.: 369,907
QUOTE (ElJobso @ Feb 11 2009, 08:31 PM) *
Hi to all

I Have a HP 530 Notebook (the celeron M version)
This is my WLAN Card
Intel PRO Wireless 802.11 a/b/g Wireless

i searched in google and in the forum but i dont found anything if (i will install the last version of ideneb)

Thanks so much and sorry for my crappy english (i'm from italy)


Ok you´ve got a 530 from hp and you want to know wich wirless card it have ?

Ok i have the same Laptop but with a core2duo ( thumbsup_anim.gif )and it have Intel 3945abg wich does not work at this time.
With kalyway the rest works fine for me.

Hope I can help. If there any questions pm me wink.gif
PM Profile Card
Go to the top of the page
+ Quote Post
********
  • Group: Members
  • Posts: 1,141
  • Joined: 28-August 06
  • Member No.: 53,253
the ff:ff:ff:ff:ff:ff address is a old bug - search in this thread (i think it's related with iopcifamlily.kext)

in iwi2100/2200 you can send a command to associate to a network
in iwi3945... well...
i guess a hack can be made by taking some data from scan results (probe responses?)
best way to check this is to use svn latest source and the one i just posted
this is developer only work - i don't need test results
this can also be tested with iwi4965 (copy code from 3945). the 4965 firmware is much more stable

thanks to dong we have some code for io80211 family smile.gif

ipw_scan() and IO80211Scanner
mercurysquad, do you plan to convert the linux code or just ignore some os x code in io80211?
i think you can use old iwi2200 code, pass the scan results to IO80211Scanner and ignore io80211 code (country, etc)
making the driver show the scan results in airport menu and allowing the user to select a network is 1rst goal
you also can rewrite the mbuf code (rx/tx). maybe this can make the driver work faster
iwi2200 as lot of unnecessary code - use just what you need smile.gif
PM Profile Card
Go to the top of the page
+ Quote Post
***
  • Group: Members
  • Posts: 140
  • Joined: 7-December 06
  • From: Fr
  • Member No.: 67,497
I found this in the FreeBSD wpi driver(here) source (firmware v. 2.14.3), I thought it could be useful :

In if_wpireg.h line 243 :
CODE
struct wpi_tx_cmd {
    uint8_t    code;
#define WPI_CMD_CONFIGURE     16
#define WPI_CMD_ASSOCIATE     17
...

/* structure for command WPI_CMD_ASSOCIATE */
struct wpi_assoc {
    uint32_t    flags;
    uint32_t    filter;
    uint8_t        ofdm_mask;
    uint8_t        cck_mask;
    uint16_t    reserved;
} __packed;


Nevertheless, this command is never used in the driver.

It seems that the wpi driver uses the WPI_CMD_CONFIGURE command to listen to a particular channel. Plus, the struct it uses is more complete and looks more like the ipw_associate struct used in iwi2200.
This is the definition for it :
CODE
/* structure for WPI_CMD_CONFIGURE */
struct wpi_config {
    uint8_t        myaddr[IEEE80211_ADDR_LEN];
    uint16_t    reserved1;
    uint8_t        bssid[IEEE80211_ADDR_LEN];
    uint16_t    reserved2;
    uint8_t        wlap_bssid_addr[6];
    uint16_t    reserved3;
    uint8_t        mode;
#define WPI_MODE_HOSTAP        1
#define WPI_MODE_STA        3
#define WPI_MODE_IBSS        4
#define WPI_MODE_MONITOR    6

    uint8_t        air_propogation;
    uint16_t     reserved4;
    uint8_t        ofdm_mask;
    uint8_t        cck_mask;
    uint16_t    associd;
    uint32_t    flags;
#define WPI_CONFIG_24GHZ    (1 << 0)
#define WPI_CONFIG_CCK        (1 << 1)
#define WPI_CONFIG_AUTO        (1 << 2)
#define WPI_CONFIG_SHSLOT    (1 << 4)
#define WPI_CONFIG_SHPREAMBLE    (1 << 5)
#define WPI_CONFIG_NODIVERSITY    (1 << 7)
#define WPI_CONFIG_ANTENNA_A    (1 << 8)
#define WPI_CONFIG_ANTENNA_B    (1 << 9)
#define WPI_CONFIG_TSF        (1 << 15)

    uint32_t    filter;
#define WPI_FILTER_PROMISC    (1 << 0)
#define WPI_FILTER_CTL        (1 << 1)
#define WPI_FILTER_MULTICAST    (1 << 2)
#define WPI_FILTER_NODECRYPT    (1 << 3)
#define WPI_FILTER_BSS        (1 << 5)
#define WPI_FILTER_BEACON    (1 << 6)

    uint8_t        chan;
    uint16_t    reserved6;
} __packed;


I hope it helps, and that I haven't polluted the thread one more time.
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 9
  • Joined: 21-February 09
  • Member No.: 380,858
Hi guys. I followed all the instructions and I would like to say. Fantastic walkthrough on installation of the driver. Really covered everything. Did I get it first time, hell no.

But got to a stage where I could scan through the network selector i put on the desktop. Picked up more networks than the same card running windows 7 which is interesting.

So as I understand it , we can all now scan for networks. No more at this stage. So peeps with the audacity to ask for a working driver, its not fully complete but these guys are really close to getting it working. But it could take a long time. So dont bug)(lol) them.

I learnt a lot from this and really do appreciate the work going into not just testing, but making tutorials for noobs and sharing what has been many hours of trials and stress. djar
PM Profile Card
Go to the top of the page
+ Quote Post
171 Pages V  « < 162 163 164 165 166 > » 
Closed Topic Start new topic

6 User(s) are reading this topic (4 Guests and 0 Anonymous Users)
2 Members: RaMDaY, jlc4890

 

RSS Lo-Fi Version Time is now: 22nd November 2009 - 05:00 AM