]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
10 years agoether82567: determine phy number by probing phy id registers
cinap_lenrek [Tue, 30 Jul 2013 20:51:40 +0000 (22:51 +0200)]
ether82567: determine phy number by probing phy id registers

link status not working on 82567 was due to wrong phy number
used. instead of hardcoding the phy numbers, probe the phys
by reading id1 and id2 registers (code stolen from ethermii).

10 years agoether82563: make link status work for 82567
cinap_lenrek [Mon, 29 Jul 2013 00:32:16 +0000 (02:32 +0200)]
ether82563: make link status work for 82567

on the 82567, reading any phy register just gives 0 back.
however, the card works just fine and no action is required
to (re-)start auto negotiation. so we add maclproc() which just
reads the speed setting and link status from the mac status
register instead of reading the phy registers.

we'v probably seen this symptom on other cards (link: 0) like
82566. we should test if we can make link status work on
these cards as well by just using the maclproc().

10 years agoether82598, etherigbe: remove receive buffer pool optimization
cinap_lenrek [Sat, 27 Jul 2013 10:39:34 +0000 (12:39 +0200)]
ether82598, etherigbe: remove receive buffer pool optimization

10 years agoether82563: fix mistake (missing buffer alignment)
cinap_lenrek [Sat, 27 Jul 2013 08:33:51 +0000 (10:33 +0200)]
ether82563: fix mistake (missing buffer alignment)

10 years agoether82563: remove buffer pool optimizations
cinap_lenrek [Sat, 27 Jul 2013 07:25:36 +0000 (09:25 +0200)]
ether82563: remove buffer pool optimizations

rx pool exhaustion causes the system to deadlock when netbooted.
queue management should (etheroq) already makes sure the systen
can keep up with the data thowing away buffers.

10 years agoether82563, etheriwl, pmmc: fix potential multiprocessor races with wakeup
cinap_lenrek [Fri, 26 Jul 2013 02:37:32 +0000 (04:37 +0200)]
ether82563, etheriwl, pmmc: fix potential multiprocessor races with wakeup

make sure that the wakeup enable conditions
are seen by different processors before sleep
is called.

the problems havnt been observed so far.

10 years agoether82563: avoid deadlock due to icansleep() trying to acquire Rbpool.Lock
cinap_lenrek [Thu, 25 Jul 2013 23:51:03 +0000 (01:51 +0200)]
ether82563: avoid deadlock due to icansleep() trying to acquire Rbpool.Lock

icansleep() violates the lock ordering due to the following cases:

rbfree(): ilock(Rbpool.Lock) -> wakeup(): spli(), lock(Rbpool.Rendez)
sleep(): splhi(), lock(Rbpool.Rendez) -> icansleep(): ilock(Rbpool.Lock)

erik fixed this moving the wakeup() out of the ilock() in rbfree(),
but i think it is an error to try acquiering a ilock in sleeps wait
condition function in general.

so this is what we do:

in the icansleep() function, we check for the *real* event we care about;
that is, if theres a buffer available in the Rbpool. this is to handle
the case when rbfree() makes a buffer available *before* it sees us
setting p->starve = 1.

p->starve is now just used to gate rbfree() from calling wakeup() as
an optimization.

this might cause spurious wakeups but they are not a problem. missed
wakeups is the thing we have to prevent.

10 years agoether82563: work arround for 82579LM on Lenovo X230
cinap_lenrek [Wed, 24 Jul 2013 20:17:13 +0000 (22:17 +0200)]
ether82563: work arround for 82579LM on Lenovo X230

dont reset the the phy on reset as this causes the link
to be stuck at 10mbps.

10 years agoetherrt2860: add rt3090 support and make style more consistent
ppatience0 [Sun, 21 Jul 2013 22:13:27 +0000 (18:13 -0400)]
etherrt2860: add rt3090 support and make style more consistent

10 years agoreadtif, writetif: remove multiplication in inner loops of predict functions
ppatience0 [Sun, 21 Jul 2013 14:56:11 +0000 (10:56 -0400)]
readtif, writetif: remove multiplication in inner loops of predict functions

10 years agoapply erik quanstros tcp-bdp patch (from sources)
cinap_lenrek [Sun, 21 Jul 2013 12:41:51 +0000 (14:41 +0200)]
apply erik quanstros tcp-bdp patch (from sources)

this patch consists of two bits of work submitted as one
patch.

the first bit fixed a "pacing" problem, where a tcp connection
rate-limited by the reading process would experience 10%
of the expected throughput, and could even get into live
lock.  it was noticed at the time of this initial work that
the stack often sent tiny grams.  some good bits from nix'
original tcp were merged in.  the test program
/n/sources/contrib/quanstro/tcptest.c
will verify that under most conditions, a reader-paced connection
now gets the expected throughput.  expected arguments
would be
tcptest -s1 -n 5000 -l

the second bit is a first step in preparing tcp to handle
modest (1-2MB) bandwidth-delay products.  the strategy
was to completely implement NewReno.  the testing network
was a 7/35/70ms by 100Mbit wan emulator with 0/.05/.1% loss.
here are the performance comparisons from the changes after
the first round "old" to the submitted patch "new".  the
smallest improvement was 80%, the largest was 11x.

loss% rtt old new
0.10 7 4.40 7.85
0.10 35 0.88 1.79
0.10 70 0.47 0.84
0.05 7 4.80 9.38
0.05 35 1.00 2.02
0.05 70 0.52 1.77
0.01 7 5.33 11.87
0.01 35 1.14 10.97
0.01 70 0.54 4.75
0.00 7 4.49 11.92
0.00 35 1.04 11.35
0.00 70 0.58 10.56

since the diff is not very easy to read, i wrote a small
paper detailing the changes

http://www.quanstro.net/plan9/tcp/tcp.pdf

- erik

10 years agoabaco: use faster resize instead of resample for image scaling
cinap_lenrek [Sat, 20 Jul 2013 22:55:56 +0000 (00:55 +0200)]
abaco: use faster resize instead of resample for image scaling

10 years agoreadtif: simplify rounding in other places
ppatience0 [Sat, 20 Jul 2013 22:19:20 +0000 (18:19 -0400)]
readtif: simplify rounding in other places

10 years agoreadtif, writetif: simplify rounding
ppatience0 [Sat, 20 Jul 2013 22:00:34 +0000 (18:00 -0400)]
readtif, writetif: simplify rounding

10 years agoreadtif: if getbit returns less than 0 during eol fill bits, return early
ppatience0 [Sat, 20 Jul 2013 20:56:29 +0000 (16:56 -0400)]
readtif: if getbit returns less than 0 during eol fill bits, return early

10 years agoreadtif, writetif: prevent buffer overflows in some corner cases
ppatience0 [Sat, 20 Jul 2013 20:42:33 +0000 (16:42 -0400)]
readtif, writetif: prevent buffer overflows in some corner cases

10 years agotojpg, totif: change flags to better match those of the decoders
ppatience0 [Sat, 20 Jul 2013 16:11:52 +0000 (12:11 -0400)]
tojpg, totif: change flags to better match those of the decoders

10 years agoreadtif: fix many bugs
ppatience0 [Fri, 19 Jul 2013 06:16:43 +0000 (02:16 -0400)]
readtif: fix many bugs

totif: add tiff encoder

10 years agowritejpg: the call to Bflush() is unnecessary; free data before exiting in case of...
ppatience0 [Fri, 19 Jul 2013 05:07:15 +0000 (01:07 -0400)]
writejpg: the call to Bflush() is unnecessary; free data before exiting in case of malloc error

writeppm: do not print a space after the last pixel

10 years agomothra: use pldraw() to put cmd box on screen for alt display
cinap_lenrek [Thu, 18 Jul 2013 18:56:19 +0000 (20:56 +0200)]
mothra: use pldraw() to put cmd box on screen for alt display

the cmd box is not part of the alt display hirarchy. for command
typing to show the box in alt display, we call pldraw() on it
in eresized() to initialize its cmd->b image so it knows where to
draw itself on typing.

10 years agowpa: wait for bss to connect
cinap_lenrek [Thu, 18 Jul 2013 14:16:31 +0000 (16:16 +0200)]
wpa: wait for bss to connect

waiting at the auth command is too late because we want to
read the brsne first to build the rsne used in the auth message.

10 years agowifi: make "auth" command non-blocking, let aux/wpa do the waiting for bss scan to...
cinap_lenrek [Thu, 18 Jul 2013 13:30:53 +0000 (15:30 +0200)]
wifi: make "auth" command non-blocking, let aux/wpa do the waiting for bss scan to complete.

10 years agocwfs: add rtmp flag for check command to remove temporary files after recover
cinap_lenrek [Thu, 18 Jul 2013 13:04:37 +0000 (15:04 +0200)]
cwfs: add rtmp flag for check command to remove temporary files after recover

10 years agomothra: restore usage fix, document -a option in manual
cinap_lenrek [Thu, 18 Jul 2013 09:18:31 +0000 (11:18 +0200)]
mothra: restore usage fix, document -a option in manual

10 years agomothra: add -a flag to start in alt-display mode
cinap_lenrek [Thu, 18 Jul 2013 09:03:39 +0000 (11:03 +0200)]
mothra: add -a flag to start in alt-display mode

10 years agomothra: fix usage
stanley lieber [Thu, 18 Jul 2013 00:25:57 +0000 (20:25 -0400)]
mothra: fix usage

10 years agoabaco: remove unused stuff, move pipeline() into util.c
cinap_lenrek [Sun, 14 Jul 2013 16:37:10 +0000 (18:37 +0200)]
abaco: remove unused stuff, move pipeline() into util.c

10 years agoabaco: simplify, pipeline html directly thru uhtml
cinap_lenrek [Sun, 14 Jul 2013 16:31:07 +0000 (18:31 +0200)]
abaco: simplify, pipeline html directly thru uhtml

10 years agouhtml: honor default charset -c when not found in document
cinap_lenrek [Sun, 14 Jul 2013 14:44:16 +0000 (16:44 +0200)]
uhtml: honor default charset -c when not found in document

10 years agoabaco: use uhtml to handle charset conversions
cinap_lenrek [Sun, 14 Jul 2013 14:31:59 +0000 (16:31 +0200)]
abaco: use uhtml to handle charset conversions

10 years agopmmc: remove unsued initfreq vairables
cinap_lenrek [Sat, 13 Jul 2013 23:56:51 +0000 (01:56 +0200)]
pmmc: remove unsued initfreq vairables

10 years agoadd ricoh pci sdmmc host controller driver for X230
cinap_lenrek [Sat, 13 Jul 2013 23:33:07 +0000 (01:33 +0200)]
add ricoh pci sdmmc host controller driver for X230

the driver should work for standard sdhc
(see http://www.sdcard.org/) controllers,
but matches for the ricoh controller only
as it was the only one i have for testing.

10 years agoaml: preserve reference type when indexing into package to prevent implicit type...
cinap_lenrek [Thu, 11 Jul 2013 23:58:47 +0000 (01:58 +0200)]
aml: preserve reference type when indexing into package to prevent implicit type conversion when storing to arg or local

if LocalX or ArgX is a package, the store into
a element should *not* type convert. so when taking
the index reference, we have to carry over the type.

10 years agopci: add Intel 82hm67 southbridge
cinap_lenrek [Thu, 11 Jul 2013 22:32:59 +0000 (00:32 +0200)]
pci: add Intel 82hm67 southbridge

10 years agorexec: redirect error (fd=2) to network for tcp17009
cinap_lenrek [Fri, 12 Jul 2013 21:16:49 +0000 (23:16 +0200)]
rexec: redirect error (fd=2) to network for tcp17009

the new listen doesnt redirect stderr for us, so do it
in the service script.

10 years agomothra: handle empty attributes (for base-tag and others...)
cinap_lenrek [Thu, 11 Jul 2013 18:06:34 +0000 (20:06 +0200)]
mothra: handle empty attributes (for base-tag and others...)

empty href="" attribute in base-tag causes the page to break.
while at it, handle empty attributes in other parts of the
code as well. (mostly stuff like id, name shouldnt be empty)

10 years agocc: fix include array overflow handling
cinap_lenrek [Thu, 11 Jul 2013 17:01:03 +0000 (19:01 +0200)]
cc: fix include array overflow handling

10 years agomerge
mveety [Thu, 11 Jul 2013 01:22:11 +0000 (21:22 -0400)]
merge

10 years agofixed the bug that arisawa posted about on 9fans where file(1) would mistake 386...
mveety [Thu, 11 Jul 2013 01:16:15 +0000 (21:16 -0400)]
fixed the bug that arisawa posted about on 9fans where file(1) would mistake 386 intermediates for HTML files.

10 years agoincrease MaxEther to 64 avoiding "too many ether cards" panic
cinap_lenrek [Tue, 9 Jul 2013 17:17:38 +0000 (19:17 +0200)]
increase MaxEther to 64 avoiding "too many ether cards" panic

10 years agoadd erik quanstros yukon2 ethernet driver
cinap_lenrek [Tue, 9 Jul 2013 16:52:01 +0000 (18:52 +0200)]
add erik quanstros yukon2 ethernet driver

10 years agoAdd rt2860 to plan9.ini(8)
Alexander Polakov [Tue, 9 Jul 2013 13:41:25 +0000 (17:41 +0400)]
Add rt2860 to plan9.ini(8)

10 years agoAdd Ralink RT2860 wireless driver
Alexander Polakov [Tue, 9 Jul 2013 12:16:28 +0000 (16:16 +0400)]
Add Ralink RT2860 wireless driver

10 years agowifi: make wifihdrlen() public
Alexander Polakov [Tue, 9 Jul 2013 12:12:04 +0000 (16:12 +0400)]
wifi: make wifihdrlen() public

 Required for upcoming RT2860 driver

10 years agomerge
cinap_lenrek [Mon, 8 Jul 2013 19:00:19 +0000 (21:00 +0200)]
merge

10 years agopage: handle combination or -w and -R flags (thanks BurnZeZ)
cinap_lenrek [Mon, 8 Jul 2013 18:50:39 +0000 (20:50 +0200)]
page: handle combination or -w and -R flags (thanks BurnZeZ)

10 years agodc(1): typo
ppatience0 [Mon, 8 Jul 2013 18:19:22 +0000 (14:19 -0400)]
dc(1): typo

10 years agovesa: fix blank/unblank wakeups
cinap_lenrek [Sun, 7 Jul 2013 19:02:46 +0000 (21:02 +0200)]
vesa: fix blank/unblank wakeups

it could happen that we unblanked while vesaproc was
currently blanking (when manually blanking using vgactl
for example). the wakeup of the unblank is lost.

10 years agoacpi: skip disabled LAPIC entries
cinap_lenrek [Sun, 7 Jul 2013 10:44:30 +0000 (12:44 +0200)]
acpi: skip disabled LAPIC entries

disabled LAPIC entries overwrote the bootstrap processor
apic causing the machine panic with: "no bootstrap processor".
(problem with lenovo X230)

just ignore entries that are disabled or collide with
entries already found. (should not happen)

10 years agopci: add intel panter point lpc south bridge
cinap_lenrek [Sat, 6 Jul 2013 13:19:15 +0000 (15:19 +0200)]
pci: add intel panter point lpc south bridge

10 years agoaudiohda: x230 pci magic
cinap_lenrek [Sat, 6 Jul 2013 11:44:25 +0000 (13:44 +0200)]
audiohda: x230 pci magic

10 years agopkg(1): add jens staal's repository
stanley lieber [Sat, 6 Jul 2013 02:46:04 +0000 (22:46 -0400)]
pkg(1): add jens staal's repository

10 years agonusb: only read 18 bytes for device descriptor
ppatience0 [Fri, 5 Jul 2013 22:42:15 +0000 (18:42 -0400)]
nusb: only read 18 bytes for device descriptor

10 years agomerge
ethan [Fri, 5 Jul 2013 20:51:35 +0000 (21:51 +0100)]
merge

10 years agorc(1): $ifs cleanup
ethan [Fri, 5 Jul 2013 20:45:24 +0000 (21:45 +0100)]
rc(1): $ifs cleanup

10 years agosysinfo: add -e to include a reply-to e-mail address
stanley lieber [Fri, 5 Jul 2013 19:42:45 +0000 (15:42 -0400)]
sysinfo: add -e to include a reply-to e-mail address

10 years agofortunes: Let me put in a word about the Apple wireless trackpad.
stanley lieber [Fri, 5 Jul 2013 19:41:51 +0000 (15:41 -0400)]
fortunes: Let me put in a word about the Apple wireless trackpad.

10 years agovnc(1): remove obsolete section about keyboard events (9front has /dev/kbd)
cinap_lenrek [Fri, 5 Jul 2013 17:43:48 +0000 (19:43 +0200)]
vnc(1): remove obsolete section about keyboard events (9front has /dev/kbd)

10 years agohjfs: add users command, fix newuser ? documentation
cinap_lenrek [Fri, 5 Jul 2013 13:17:32 +0000 (15:17 +0200)]
hjfs: add users command, fix newuser ? documentation

10 years agosysinfo: remove -m, add -p, which posts output at http://sysinfo.9front.org, which...
stanley lieber [Fri, 5 Jul 2013 00:52:12 +0000 (20:52 -0400)]
sysinfo: remove -m, add -p, which posts output at http://sysinfo.9front.org, which forwards the information to 9front-sysinfo@9front.org mailing list

10 years agomtrr: fix mtrr index out of range for vcnt > Nmtrr
cinap_lenrek [Thu, 4 Jul 2013 22:55:48 +0000 (00:55 +0200)]
mtrr: fix mtrr index out of range for vcnt > Nmtrr

10 years agotcs: fix koi8-ru chars (ukrainian and belorussian)
ftrvxmtrx [Thu, 4 Jul 2013 09:51:13 +0000 (11:51 +0200)]
tcs: fix koi8-ru chars (ukrainian and belorussian)

10 years agotcs: fix koi8-r ё and Ё
ftrvxmtrx [Thu, 4 Jul 2013 08:54:44 +0000 (10:54 +0200)]
tcs: fix koi8-r ё and Ё

10 years agoplan9.ini(8): typo
ppatience0 [Thu, 4 Jul 2013 01:28:49 +0000 (21:28 -0400)]
plan9.ini(8): typo

10 years agotif: initialize max to one instead of zero for palette rescaling in case all values...
ppatience0 [Thu, 4 Jul 2013 01:08:13 +0000 (21:08 -0400)]
tif: initialize max to one instead of zero for palette rescaling in case all values are zero.

10 years agotif: rescale palette color map to [0, 255]
ppatience0 [Thu, 4 Jul 2013 00:49:33 +0000 (20:49 -0400)]
tif: rescale palette color map to [0, 255]

10 years agomerge
cinap_lenrek [Wed, 3 Jul 2013 22:57:03 +0000 (00:57 +0200)]
merge

10 years agomerge
cinap_lenrek [Wed, 3 Jul 2013 22:06:20 +0000 (00:06 +0200)]
merge

10 years agowifi: move scanning/probe into wifi layer, avoid associating with wpa network until...
cinap_lenrek [Wed, 3 Jul 2013 22:04:47 +0000 (00:04 +0200)]
wifi: move scanning/probe into wifi layer, avoid associating with wpa network until rsne is setup

10 years agotif: add tiff decoder
ppatience0 [Tue, 2 Jul 2013 05:57:14 +0000 (01:57 -0400)]
tif: add tiff decoder

11 years agowifi: send probe requests for hidden ssid
cinap_lenrek [Sun, 30 Jun 2013 22:55:34 +0000 (00:55 +0200)]
wifi: send probe requests for hidden ssid

10 years agowifi: handle authentication independent of current bss to allow multiple ap's (roaming)
cinap_lenrek [Mon, 1 Jul 2013 21:32:21 +0000 (23:32 +0200)]
wifi: handle authentication independent of current bss to allow multiple ap's (roaming)

11 years agobullshit: full-stack
cinap_lenrek [Sun, 30 Jun 2013 00:25:08 +0000 (02:25 +0200)]
bullshit: full-stack

11 years agodump9660: fix volume space size field (from sources, paure)
cinap_lenrek [Sat, 29 Jun 2013 10:10:12 +0000 (12:10 +0200)]
dump9660: fix volume space size field (from sources, paure)

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.

11 years agolibaml: add Concatenate instruction, fix type conversions
cinap_lenrek [Sat, 29 Jun 2013 09:56:18 +0000 (11:56 +0200)]
libaml: add Concatenate instruction, fix type conversions

11 years agorio: run filename completion in background process
cinap_lenrek [Sat, 29 Jun 2013 09:26:08 +0000 (11:26 +0200)]
rio: run filename completion in background process

this avoids locking up rio when doing filename completion
on a unresponsive directory.

11 years agolibaml: add Load and Unload instructions
cinap_lenrek [Sat, 29 Jun 2013 20:14:34 +0000 (22:14 +0200)]
libaml: add Load and Unload instructions

not very usefull at the moment as theres no code to map/unmap
memory regions right now.

11 years agopaint: cleanup
cinap_lenrek [Fri, 28 Jun 2013 16:22:24 +0000 (18:22 +0200)]
paint: cleanup

11 years agogermgoth: add unicode
stanley lieber [Wed, 26 Jun 2013 17:36:32 +0000 (13:36 -0400)]
germgoth: add unicode

11 years agomerge
cinap_lenrek [Wed, 26 Jun 2013 00:30:43 +0000 (02:30 +0200)]
merge

11 years agosamterm: fix crash on scroll when there is no layer (thanks BurnZeZ)
cinap_lenrek [Wed, 26 Jun 2013 00:28:16 +0000 (02:28 +0200)]
samterm: fix crash on scroll when there is no layer (thanks BurnZeZ)

11 years agopaint: restore color channel on undo after conversion thru pipe
cinap_lenrek [Wed, 26 Jun 2013 00:27:35 +0000 (02:27 +0200)]
paint: restore color channel on undo after conversion thru pipe

converting image thru pipe would not properly restore the
original color channel on undo. like |iconv -c k8 would
still be grayscale after undo.

11 years agoreintroduce *notsc= option
cinap_lenrek [Tue, 25 Jun 2013 18:32:43 +0000 (20:32 +0200)]
reintroduce *notsc= option

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.

11 years agotimesync: reduce the frequency tolerance from half to double the system clock
cinap_lenrek [Tue, 25 Jun 2013 18:28:51 +0000 (20:28 +0200)]
timesync: reduce the frequency tolerance from half to double the system clock

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.

11 years agowifi: add watchdog to drop bss if stuck in ap association or get deauthenticated...
cinap_lenrek [Mon, 24 Jun 2013 15:24:50 +0000 (17:24 +0200)]
wifi: add watchdog to drop bss if stuck in ap association or get deauthenticated by the ap

11 years agoetheriwl: add rxon() debug print
cinap_lenrek [Mon, 24 Jun 2013 15:20:08 +0000 (17:20 +0200)]
etheriwl: add rxon() debug print

11 years agowpa: fix error reporting for getptk(), use readn() to read ifstats file
cinap_lenrek [Mon, 24 Jun 2013 15:19:10 +0000 (17:19 +0200)]
wpa: fix error reporting for getptk(), use readn() to read ifstats file

11 years agowifi: fix debug print #l1 -> #1
cinap_lenrek [Mon, 24 Jun 2013 21:22:05 +0000 (23:22 +0200)]
wifi: fix debug print #l1 -> #1

11 years agowpa: deassociation, reply eapol version, send rsc 0 and reset install flag on message...
cinap_lenrek [Mon, 24 Jun 2013 20:49:38 +0000 (22:49 +0200)]
wpa: deassociation, reply eapol version, send rsc 0 and reset install flag on message D reply, use 0 for txkey tsc

11 years agowifi: signal ap deassociation to aux/wpa with a zero length read.
cinap_lenrek [Mon, 24 Jun 2013 20:47:07 +0000 (22:47 +0200)]
wifi: signal ap deassociation to aux/wpa with a zero length read.

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.

11 years agoetheriwl: allow switching channels in promisc mode
cinap_lenrek [Sun, 23 Jun 2013 16:27:17 +0000 (18:27 +0200)]
etheriwl: allow switching channels in promisc mode

promisc mode prevented the call to rxon() in transmit
possibly causing association to fail while running snoopy.

11 years agowifi: fix missed eapol frames
cinap_lenrek [Sun, 23 Jun 2013 05:14:52 +0000 (07:14 +0200)]
wifi: fix missed eapol frames

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.

11 years agowifi: simplify
cinap_lenrek [Sat, 22 Jun 2013 23:01:36 +0000 (01:01 +0200)]
wifi: simplify

11 years agowifi: fix typo
ppatience0 [Sun, 23 Jun 2013 00:36:56 +0000 (20:36 -0400)]
wifi: fix typo

11 years agowifi: have to check for both, bssid/essid in wifictl too
cinap_lenrek [Sat, 22 Jun 2013 22:32:16 +0000 (00:32 +0200)]
wifi: have to check for both, bssid/essid in wifictl too

11 years agomerge
cinap_lenrek [Sun, 23 Jun 2013 21:55:28 +0000 (23:55 +0200)]
merge

11 years agowifi: allow selecting specific access point with bssid= parameter and wifictl command
cinap_lenrek [Sun, 23 Jun 2013 21:54:15 +0000 (23:54 +0200)]
wifi: allow selecting specific access point with bssid= parameter and wifictl command

11 years agowifi: add a debug flag and printing
cinap_lenrek [Sun, 23 Jun 2013 20:09:16 +0000 (22:09 +0200)]
wifi: add a debug flag and printing

add a debug flag that can be set in the ethernet options which
causes status transitions and wifictl messages to be printed.

11 years agowifi: fix typo
ppatience0 [Sat, 22 Jun 2013 22:30:43 +0000 (18:30 -0400)]
wifi: fix typo

11 years agowpa: check for eapol v2
ppatience0 [Sat, 22 Jun 2013 17:16:41 +0000 (13:16 -0400)]
wpa: check for eapol v2