9front - general discussion about 9front
 help / color / mirror / Atom feed
* intel 6235 card
@ 2017-02-16 10:00 Kurt H Maier
  2017-02-16 15:00 ` [9front] " cinap_lenrek
  0 siblings, 1 reply; 2+ messages in thread
From: Kurt H Maier @ 2017-02-16 10:00 UTC (permalink / raw)
  To: 9front

Yo,

cinap got my wifi working (hopefully that wpa.diff will be merged soon)
but in the meantime it enabled me to test and get functioning another
intel wifi chip.  The thinkpad x250 comes with a 7265, which etheriwl.c
does not support... but I found a card that DOES work with etheriwl.c
and comes in an ngff package.  It is the Intel Advanced-N 6235 wifi 
card, Lenovo part number 04W3798, and the following patch makes it work
on 9front.  

There is probably a better way to do this, but this card appears to work
exactly like the iwn-6005 cards... with a different firmware.  So, I
just check the did and shove the firmware in.  

I am not a programmer.

khm




a/sys/src/9/pc/etheriwl.c:2199,2205 - b/sys/src/9/pc/etheriwl.c:2199,2208
            }
     
            if(ctlr->fw == nil){
    -           fw = readfirmware(fwname[ctlr->type]);
    +           if (ctlr->pdev->did == 0x088f)
    +               fw = readfirmware("iwn-6030");
    +           else
    +               fw = readfirmware(fwname[ctlr->type]);
                print("#l%d: firmware: %s, rev %ux, build %ud, size %ux+%ux+%ux+%ux+%ux\n",
                    edev->ctlrno,
                    fwname[ctlr->type],
a/sys/src/9/pc/etheriwl.c:2436,2441 - b/sys/src/9/pc/etheriwl.c:2439,2445
            case 0x0085:    /* Centrino Advanced-N 6205 */
            case 0x422b:    /* Centrino Ultimate-N 6300 variant 1 */
            case 0x4238:    /* Centrino Ultimate-N 6300 variant 2 */
    +       case 0x088f:    /* Centrino Advanced-N 6235 */
            case 0x08ae:    /* Centrino Wireless-N 100 */
            case 0x0083:    /* Centrino Wireless-N 1000 */
            case 0x0887:    /* Centrino Wireless-N 2230 */




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9front] intel 6235 card
  2017-02-16 10:00 intel 6235 card Kurt H Maier
@ 2017-02-16 15:00 ` cinap_lenrek
  0 siblings, 0 replies; 2+ messages in thread
From: cinap_lenrek @ 2017-02-16 15:00 UTC (permalink / raw)
  To: 9front

not bad... theres some more stuff the openbsd driver does, i'll check it out
when i get home...

--
cinap


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-16 15:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-16 10:00 intel 6235 card Kurt H Maier
2017-02-16 15:00 ` [9front] " cinap_lenrek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).