summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-06-30bullshit: full-stackcinap_lenrek
2013-06-29dump9660: fix volume space size field (from sources, paure)cinap_lenrek
http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-119.pdf page 19: Volume Space Size (BP 81 to 88) This field shall specify as a 32-bit number the number of Logical Blocks in which the Volume Space of the volume is recorded. This field shall be recorded according to 7.3.3.
2013-06-29libaml: add Concatenate instruction, fix type conversionscinap_lenrek
2013-06-29rio: run filename completion in background processcinap_lenrek
this avoids locking up rio when doing filename completion on a unresponsive directory.
2013-06-29libaml: add Load and Unload instructionscinap_lenrek
not very usefull at the moment as theres no code to map/unmap memory regions right now.
2013-06-28paint: cleanupcinap_lenrek
2013-06-26germgoth: add unicodestanley lieber
2013-06-26mergecinap_lenrek
2013-06-26samterm: fix crash on scroll when there is no layer (thanks BurnZeZ)cinap_lenrek
2013-06-26paint: restore color channel on undo after conversion thru pipecinap_lenrek
converting image thru pipe would not properly restore the original color channel on undo. like |iconv -c k8 would still be grayscale after undo.
2013-06-25reintroduce *notsc= optioncinap_lenrek
the issues with the previous tsc change where not related to the tsc but where problems with timesync using an old frequency file. a patch to fix timesync was commited, so so we reintroduce the *notsc= again.
2013-06-25timesync: reduce the frequency tolerance from half to double the system clockcinap_lenrek
the frequency tolerance used by timesync was from a 10th to 10 times the frequency of the system clock! switching a system from tsc to pic timer changes the system clock frequency from 300MHz to arround 1.8Ghz on a x200s laptop resulting in time running way too slow or way too fast. so we change timesync to only accept frequencies from half to double the system clock which still seems huge, but at least catches the case above resulting in timesync ignoring the old frequency file.
2013-06-24wifi: add watchdog to drop bss if stuck in ap association or get ↵cinap_lenrek
deauthenticated by the ap
2013-06-24etheriwl: add rxon() debug printcinap_lenrek
2013-06-24wpa: fix error reporting for getptk(), use readn() to read ifstats filecinap_lenrek
2013-06-24wifi: fix debug print #l1 -> #1cinap_lenrek
2013-06-24wpa: deassociation, reply eapol version, send rsc 0 and reset install flag ↵cinap_lenrek
on message D reply, use 0 for txkey tsc
2013-06-24wifi: signal ap deassociation to aux/wpa with a zero length read.cinap_lenrek
aux/wpa needs to reset its reply counter on deassociation to properly restart key negotiation. we signal this with a zero length read on the connections filtering for eapol protocol.
2013-06-23etheriwl: allow switching channels in promisc modecinap_lenrek
promisc mode prevented the call to rxon() in transmit possibly causing association to fail while running snoopy.
2013-06-23wifi: fix missed eapol framescinap_lenrek
allow the driver to associate the node with a new aid right after we receive the association response, not just when we transmit a packet which usualy does not happen as eapol is initiated by the access point so there are no transmit calls. we just call transmit from the wifiproc with a nil block to introduce the node.
2013-06-23wifi: simplifycinap_lenrek
2013-06-22wifi: fix typoppatience0
2013-06-23wifi: have to check for both, bssid/essid in wifictl toocinap_lenrek
2013-06-23mergecinap_lenrek
2013-06-23wifi: allow selecting specific access point with bssid= parameter and ↵cinap_lenrek
wifictl command
2013-06-23wifi: add a debug flag and printingcinap_lenrek
add a debug flag that can be set in the ethernet options which causes status transitions and wifictl messages to be printed.
2013-06-22wifi: fix typoppatience0
2013-06-22wpa: check for eapol v2ppatience0
2013-06-22wpa: s/peerwise/pairwise/g, fix bug where p is not incremented afterppatience0
reading wpa1oui into w, making the later memcmp with wpatkipoui bogus.
2013-06-22alarm: run checkalarms() only on cpu0 (from eriks alarm-once patch)cinap_lenrek
2013-06-22apic: eleminate splhi and apictimerlock, per cpu apictimer structurecinap_lenrek
the splhi() and apictimerlock in the Mach isnt neccesary, as portclock always holds the ilock of the per mach timer queue when calling timerset(). as fastticks() and the portclock timers are all handled on a per processor basis, i think it should be theoretically possible for the lapics to run at different frequencies. so we measure the lapic frequency for each individual lapic and keep them in a per processor Apictimer structure instead of assuming them to be the same.
2013-06-22wifi: add list of setup encryption key ciphers and lengths into ifstats filecinap_lenrek
it is usefull to see what encryption keys have been estabished by aux/wpa.
2013-06-22devcons: change /dev/kmesg buffer back to normal 16Kcinap_lenrek
this makes it consistent with the manual again.
2013-06-22apic: fix lapic timer divider (fixes wrong lapic frequency on boot)cinap_lenrek
loading the divider before programming one shot mode *sometimes* gives the wrong frequency. (X200s got 192Mhz vs. 266Mhz, after 5 boot attempts) also reload the divider after programming periodic mode. (from http://wiki.osdev.org/APIC_timer)
2013-06-21mergecinap_lenrek
2013-06-21reverting *notsc= option, this needs another revisioncinap_lenrek
2013-06-21mergecinap_lenrek
2013-06-21reverting guesscpuhz() changes, causes troublecinap_lenrek
2013-06-21uhtml: fix wrong open error handling (fd 0 != fd 1) (thanks BurnZeZ)cinap_lenrek
2013-06-21ndb/dns: avoid duplicate entries for db recordscinap_lenrek
dnauthdb() would relabel expired rr's as rr->db == 0 to make them get garbage collected by dnage(). but this doesnt work due to dn->keep and also causes the deduplication to fail on rrattach() as rrattach1() handles rr->dn/rr->auth as separate name spaces. this causes duplicate entries in the rr's when ndb gets gets changed. to fix, we just delete the expired (removed from ndb) rr's immidiately in dnauthdb() instead of trying trick dnage() to garbage collect it.
2013-06-19nusb/ether: fix asixread() invert/shift in wrong orderppatience0
2013-06-20disable tscticks in pc kernel (for now)cinap_lenrek
doesnt seem to be reliable. also, separate tsc frequency measurement and cpu loopconst measurement. turned out with *notsc=, the simplcycles() calls would mess up loopconst.
2013-06-19plan9.ini: add *notsc= option to disable use of TSC as righ resolution clockcinap_lenrek
we previously used tsc only on cpu kernel. now that we use it on terminal kernel too, there might be some surprises ahead. so make it possible to disable tsc for machines where the tsc rate is not kept constant across cores or is dynamically adjusted by power management.
2013-06-19libc: fix compiler warning for mips canlock() and _tas()cinap_lenrek
2013-06-19libdraw: fix allocscreen() memory leak with too many retries (from 9atom)cinap_lenrek
2013-06-19acpi: use Tblsz enum instead of sizeof(Tbl) due to alignment, enable use tsc ↵cinap_lenrek
on terminal kernel (thank erik)
2013-06-19auth/asm12dsa: use fd 0 instead of trying to open /dev/stdin (thanks arpunk)cinap_lenrek
2013-06-18libaml: pikeshedd style, handle division by zero (thanks erik)cinap_lenrek
2013-06-18smtp: usage for -t flag (thanks erik)cinap_lenrek
2013-06-18nusb/ether: fix asixwrite()cinap_lenrek
invert/shift in wrong order causing low 16 bits to be all ffff...