| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev.
No binary changes.
ok jsg.
|
|
|
|
|
|
|
|
| |
thus produced no code at all.
No binary change.
ok jsg.
|
|
|
|
| |
no binary change.
|
|
|
|
|
|
|
| |
and it was not consistently used. It was confusing as it suggested these
functions were static, which they were not.
discussed with dlg and jsg, ok jsg.
|
|
|
|
| |
ok deraadt@ krw@ mbalmer@
|
| |
|
| |
|
|
|
|
|
| |
this lets these work on macppc, for instance
diagnosed by kettenis, but damien is not around, so ok jsg and others
|
|
|
|
|
| |
static mbuf results in a mbuf tag memory leak. Same change as in rum(4).
OK mglocker@
|
|
|
|
| |
use official url instead: http://www.ralinktech.com.tw/
|
|
|
|
|
|
|
|
|
| |
don't call xxx_set_chan() if the interface is not up&running.
patch from Steffen Schuetz (st dot sch at gmx dot net) with
minor modifications by me.
closes kernel/5313
|
|
|
|
| |
a process context. this avoids potential races in {ural,rum}_stop().
|
|
|
|
|
| |
the standard rates, use some defined by net80211 itself. kernel shrinks a bit
ok jsg mglocker
|
|
|
|
|
|
|
| |
i removed it in my last commit because i thought it was gone.
looks like it's not the case.
pointed out by niallo@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- use the newly introduced ieee80211_get_rts() and
ieee80211_get_cts_to_self() functions.
- use CTS-to-self instead of RTS/CTS to protect OFDM frames in
a mixed 11b/g BSS.
- make sure multicast frames are sent using CCK modulation.
remove support for 5GHz radios in ral(4) RT2560 and ural(4).
i'm not aware of any such adapters on the market and 11a code
is known to be broken.
some cleanup while i'm here.
|
|
|
|
|
|
| |
redefining ic->ic_newassoc.
this should prevent "bogus xmit rate" panics when operating in HostAP
mode.
|
|
|
|
| |
use IFQ_POLL()/IFQ_DEQUEUE() logic instead as described in altq(4).
|
| |
|
|
|
|
| |
ok damien@
|
|
|
|
|
|
| |
MCLBYTES (usually 2048).
allocate tx xfer buffers of IEEE80211_MTU_MAX instead of MCLBYTES.
rx buffers are still limited to MCLBYTES though.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- in ral_newstate(), save the "arg" parameter so we can pass it to the
ieee80211_newstate() function in the usb task
- merge ral_tx_data() and ral_tx_mgt()
|
|
|
|
| |
on big endian architectures.
|
|
|
|
|
| |
Now I can see probes cycling 1->14 instead of just
sitting at channel 1.
|
|
|
|
|
|
| |
something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP;
this very popular bug has been cut and pasted a lot of times...
ok deraadt@ mickey@
|
|
|
|
| |
ok brad@
|
|
|
|
| |
- move default MAC/BBP/RF settings from if_ral.c to if_ralreg.h
|
|
|
|
|
| |
outbound), using a new BIOCSDIRFILT ioctl;
guidance, feedback and ok canacar@
|
|
|
|
| |
"Go ahead" damien@ via jsg@
|
|
|
|
|
|
|
| |
don't try to release references to nodes that have been freed by net80211.
in HostAP mode, when switching to the INIT state, net80211 sends a DISASSOC
and a DEAUTH frame to all associated stations and immediately free all the
nodes while we may still hold references to them in our Tx queues.
|
|
|
|
|
|
| |
ieee80211_input() do the job.
requested by brad@
|
| |
|
|
|
|
|
|
|
|
| |
an interrupt context.
From NetBSD
ok dlg@
|
| |
|
|
|
|
| |
- swap rssi/rate fields in ural_rx_desc
|
|
|
|
|
|
| |
struct.
ok damien@
|
| |
|
|
|
|
|
|
| |
- add short slot support
- fix eifs settings
- many consistency tweaks
|
|
|
|
| |
- kill two stupid comments while i'm here
|
|
|
|
|
|
| |
- fix contention window
- silently discard received frames that are too short
- sync setup_tx_desc w/ ral
|
|
|
|
| |
ok brad@
|
|
|
|
| |
and verified against windows driver.
|
| |
|
|
|
|
|
|
|
|
| |
at the end of the last URB (URB = USB Request Block = 64 bytes).
o Better check of the size of received frames.
o In ural_tx_{data,mgt} send the packet to BPF after setting the duration
field of the frame.
o Minor tweaks.
|
|
|
|
| |
ok many.
|
|
|
|
| |
just discard the received frame and reuse the old mbuf.
|
| |
|
|
|
|
|
| |
This algorithm is particularly well suited for ural since it does not
require per-frame retry statistics.
|