Commit graph

2389 commits

Author SHA1 Message Date
cinap_lenrek 9bcf45da9a etheriwl: fix bugs, support for Centrino Ultimate-N 6300 2013-02-15 22:20:25 +01:00
ftrvxmtrx e712752229 pci: add intel qm67 pch 2013-02-14 01:04:45 +01:00
cinap_lenrek 3c3808b280 plan9.ini(8): make more clear what firmware file to get for iwl 2013-02-13 11:03:19 +01:00
cinap_lenrek 42fc57d543 plan9.ini(8): document iwl options 2013-02-13 10:57:47 +01:00
cinap_lenrek af3dad5490 nusb/disk: allow 12 and 16 byte raw scsi commands (from erik quanstro) 2013-02-13 10:03:53 +01:00
cinap_lenrek 0243f52bae etheriwl: dont let transmit change back receiver settings when in promisc mode, cleanup 2013-02-13 08:23:54 +01:00
stanley lieber 194094683a fortunes: Monument To Steve Jobs Goes Up In St. Petersburg 2013-02-12 16:43:02 -06:00
cinap_lenrek 78fc90ec86 etheriwl: support for WiFi Link 4965 2013-02-12 14:28:22 +01:00
cinap_lenrek 8d271549cd wifi: filter SNAP ethernet orgcode only 2013-02-11 16:02:16 +01:00
cinap_lenrek 1f6a402c46 wifi: reset status when clearing essid 2013-02-11 02:10:36 +01:00
cinap_lenrek 6e0835f7d8 wifi: clear out ssid in node table entry, cleanup 2013-02-11 02:02:44 +01:00
cinap_lenrek 3376977d06 wifi: actually check if management replies are for us 2013-02-11 01:29:10 +01:00
cinap_lenrek 8f991a3faa create /lib/firmware in rootstub 2013-02-11 00:53:51 +01:00
cinap_lenrek dacc4dc31a merge 2013-02-11 00:11:28 +01:00
cinap_lenrek ffb3ded366 etheriwl: automatic channel scanning, transmission handling, promisc mode
the channel= plan9.ini parameter isnt needed anymore as we now
hop the channels to scan for beacons. the status is also indicated
with the link led :-)

handle all these flags on packet transmission like RTS for big
packets and sending data packets to the AP instead of broadcasting
everything.

properly setup bss hardware node table and filtering. now promisc
mode is only used when requested.

handle deauth message from ap.

increase node table to 32 entries.
2013-02-11 00:09:41 +01:00
ftrvxmtrx 092fd36154 mp.h: fix typo 2013-02-10 20:46:56 +01:00
stanley lieber c2f5d36d7f fix typo 2013-02-09 23:34:15 -06:00
cinap_lenrek 972e4e75ee merge 2013-02-10 05:05:40 +01:00
cinap_lenrek 9ba9b846ee etheriwl: add /lib/firmware to bootfs.paq proto file 2013-02-10 05:04:31 +01:00
cinap_lenrek ccbfdd9e91 wifi: lie a bit more about the supported rates to get into more ap's 2013-02-10 04:55:57 +01:00
stanley lieber 20d2f551c2 add Intel (R) WiFi Link 5100 AGN, vid/did: 8086/4237 2013-02-09 21:54:44 -06:00
cinap_lenrek 97d136fb21 etheriwl: implement 4965 firmware bootstrap (untested) 2013-02-10 01:26:28 +01:00
cinap_lenrek 6ffe4e58b3 etheriwl: check RF-Kill switch on attach 2013-02-10 00:14:17 +01:00
cinap_lenrek 4204572000 etheriwl: fix mistake 2013-02-10 23:38:08 +01:00
cinap_lenrek d5305dc199 exportfs: applying exportfs-chdir patch (from sources)
Fix the behavior of exportfs -r.

Check the return of chdir(srv) to prevent exporting accidentally
the current working directory when the directory specified
with option -r doesn't exist.

Also fix at the same time the missing trailing \n in error
messages printed just before exits().
2013-02-10 23:31:26 +01:00
cinap_lenrek 3a697585f0 etheriwl: work towards supporting other cards than 5300, gather channel information 2013-02-10 23:02:21 +01:00
cinap_lenrek ab6a2eb0b6 etheriwl: fix command queue handling
we have to decrement the queue counter for all tx rings
*including* the command ring 4.

zero the command buffer for the crystal callibration
command.
2013-02-09 19:12:51 +01:00
cinap_lenrek 09a5825832 etheriwl: experimental intel wifi link driver 2013-02-09 03:19:50 +01:00
ppatience0 f1727a6742 ape: fix bug in access() 2013-02-08 18:01:31 -05:00
stanley lieber 79223a0e64 cdproto create /sys/log/www 2013-02-04 16:56:34 -06:00
stanley lieber 2f49aa7a8d add !tcp80 2013-02-04 16:42:13 -06:00
stanley lieber c877493fb0 add rc-httpd 2013-02-04 16:40:05 -06:00
ftrvxmtrx 0b212ed505 cc/lex: do not crash on -I without arg 2013-02-02 16:54:09 +01:00
cinap_lenrek d41f67c2b9 audio: fix delay control, increase default buffer delay to 40ms
just doing a single sleep isnt enougth, as we get woken
up for every block!
2013-02-01 15:23:38 +01:00
cinap_lenrek 0b268440b9 6l: eleminate NOP X0 instructions (from eriks 6l-nop-x0 patch)
erik found that -N left NOPs in that 6l couldn't ignore.
add Xn to the NOP table.

bonanza; cat > fp.c
#include <u.h>
#include <libc.h>
#include <stdio.h>

void
main(void)
{
        double g;

        g = -0.;

        print("%g\n", g);
        printf("%g\n", g);
        exits("");
}
bonanza; 6c -N -FVTw fp.c
bonanza; 6l -o 6.fp fp.6
main: doasm: notfound from=6f to=34 (939)       NOP     ,X0
main: doasm: notfound from=6f to=34 (939)       NOP     ,X0
main: doasm: notfound from=6f to=34 (939)       NOP     ,X0
2013-02-01 00:15:02 +01:00
cinap_lenrek 029a8087a3 httpd: fix rane requests
we gave wrong content-length in range requests. r->stop - r->start
is wrong because r->stop is the byte offset of the *last* byte, not
the *next* byte after the last.
2013-01-31 22:51:21 +01:00
cinap_lenrek e53ece53ed httpfile: fix range requests
byte ranges use closed intervals (inclusive first
and last byte offsets)
2013-01-31 22:48:56 +01:00
cinap_lenrek 5a93a2a983 usbehci: remove panic() calls from interrupts if stuff isnt ready (spurious interrupts?) 2013-01-31 23:43:04 +01:00
cinap_lenrek a2b83a5aea nusb/kb: increase maximum report descriptor size, non-continuous endpoints (from richard millars usbmouse-endpoint patch)
Another band-aid fix to the usb mouse driver, to cope with a mouse which has
an interrupt endpoint number 3 but no number 1 or 2, and a report descriptor
more than 128 bytes long.
2013-01-30 20:33:28 +01:00
cinap_lenrek 6b4c5380d8 lib9p: defer freeing srv for listensrv()
use the Srv.end callback for freeing the srv and closing the
file descriptor of a connection. this makes sure we wont free
the srv while there are still outstanding requests that would
access the srv when doing the respond() call.
2013-01-30 10:34:57 +01:00
cinap_lenrek 2c62f8dc67 hjfs: fix bogus nodata getbuf() of superblock in createroot() (failed ream race bug)
we used to do getbuf() with nodata flag so it only worked when
we where lucky and got the same in memory block back. this
is uncritical once you have reamed the filesystem, its just
that sometimes ream would fail with "ream successfull, then
hjfs: fsinit: file ./hjfs not found".
2013-01-30 09:38:02 +01:00
cinap_lenrek 8e658df4fe merge 2013-01-30 06:30:07 +01:00
cinap_lenrek 3787f721c1 9p message size too small
various fileservers do not check if the message size is too small
(they subtract IOHDRSZ later from it to calculate iounit) which
can overflow.
2013-01-30 06:28:42 +01:00
cinap_lenrek dbbbff8915 lib9p: defer closing down srv until the last request has been responded, Tversion message size
in multithreaded programs, we have to wait until all outstanding
requests have been responded before closing down the srv.

dont make write errors sysfatal(), only print them. in case if
listensrv() is used we dont want to exit the process in respond()
called by some worker thread.

make sure Tversion is only handled when there are no outstanding
requests and make sure message size is sane.
2013-01-30 06:26:03 +01:00
mveety e322e84f5f reverted changes to termrc 2013-01-29 21:48:57 -05:00
mveety b8f88c803c made the timesync failure more obvious on the rpi. 2013-01-29 19:03:10 -05:00
ppatience0 f0a451d667 Fixed some ircrc bugs. Only the last channel given to the -t flag is set as target. Unknown commands are not sent to the server. Control-D can be used to exit the client. When the connection is lost, an error message is displayed and the client waits for user input before exiting. Manual page updated. 2013-01-29 23:56:29 -05:00
cinap_lenrek bc0e5ffa22 audiohda: fix vid typo 1003 -> 1003 2013-01-29 21:59:34 +01:00
cinap_lenrek bf37280c25 audiohda: add pci id for Intel P55 chipset and ATI HDMI (Radeon HD 8500) 2013-01-29 21:56:02 +01:00
cinap_lenrek 50cf738d69 acpi: remove "cannot get pci bus number for ..." debug prints
on almost all machines, we get tons of these prints for pci busses that
are not physically there but are described in the ACPI namespace. the
reason that we enumerate these is because we do not enumerate _INI and _STA
methods to check if they are present. we just match the information with
the PCI devices we enumerated with our generic pci code. this works fine and
doesnt require aml code to poke arround in pci config space.
2013-01-29 18:24:48 +01:00