Age | Commit message (Collapse) | Author |
|
with m_tag_copy_chain() failures.
Use m_defrag() to eliminate hand rolled defragging of mbufs and
some uses of M_DUP_PKTHDR().
Original diff from thib@, claudio@'s feedback integrated by me.
Tests kevlo@ claudio@, "reads ok" blambert@
ok thib@ claudio@, "m_defrag() bits ok" kettenis@
|
|
ok jsg@ claudio@
|
|
enough to get the device unstuck. OK mglocker@
|
|
between instances, saving space in the kernel. feedback from many (some
incorporated, some left for future work).
ok deraadt, kettenis, "why not" miod.
|
|
"If it works for you, commit it. The diff looks right." claudio@
"Seems to work here with ACX111 CardBus" jsg@
|
|
ok claudio@
|
|
Amendment to fix for PR6089. Patch by mglocker@
"good night guys!" mglocker@, "hurry up" deraadt@
|
|
Removes some unneeded ifp pointers from the stack and don't assign
ifp->if_softc twice in the same function.
|
|
remove IBSS and HostAP support from net80211 and 802.11 drivers.
it can be used to shrink RAMDISK kernels for instance (like what
was done for wi(4)).
it also has the benefit of highlighting what is specific to IBSS
and HostAP modes in the code.
the cost is that we now have two code paths to maintain.
|
|
when acting as an access point instead of having each driver doing the
job.
tested by krw@ (ral AP) and me with several drivers.
|
|
pass a pointer to an ieee80211_rxinfo structure containing those two
fields plus an extra flags field that indicates whether the frame was
decrypted by hardware or not.
required for a future fix.
|
|
From sephe@DragonFly
ok mglocker@
|
|
when using acx(4) as HostAP.
From sephe@DraonFly
ok mglocker@
|
|
handshake protocols (both supplicant and authenticator state
machines) as defined in the IEEE 802.11i standard.
Software implementation of the TKIP (Temporal Key Integrity
Protocol) and CCMP (CTR with CBC-MAC Protocol) protocols.
This diff doesn't implement any of the 802.1X authentication
protocols and thus only PSK authentication (using pre-shared
keys) is currently supported.
In concrete terms, this adds support for WPA-PSK and WPA2-PSK
protocols, both in station and hostap modes.
The following drivers are marked as WPA-capable and should
work: bwi(4), malo(4), ral(4), iwn(4), wpi(4), ural(4),
rum(4), upgt(4), and zyd(4)
The following options have been added to ifconfig(8):
wpa, wpapsk, wpaprotos, wpaakms, wpaciphers, wpagroupcipher
wpa-psk(8) can be used to generate keys from passphrases.
tested by many@
ok deraadt@
|
|
ieee80211_input() already does this.
Mentioned by Peter Philipp in PR 5248.
ok claudio@ mglocker@
|
|
sys/netinet/in_pcb.c and sys/net/bridgestp.c ok henning@
sys/dev/pci/bktr/* ok jakemsr@
|
|
because the drivers tries to set extended rates for a 11b chip.
Tested and OK winiger@
|
|
|
|
|
|
ieee80211_get_probe_resp() and code from ieee80211_mgmt_output() to build
a proper probe response. Found the hard way -- buffer overflow because of
oversized beacons -- by mglocker@ and myself. OK mglocker@ damien@
|
|
one that can be used with other ciphers than WEP.
|
|
while there.
Comments, tested, and OK claudio@
|
|
ok claudio@
|
|
the ones which come from the 802.11 stack. Seen in the DragonFly driver.
ok claudio@
|
|
make sense to keep these packets around and send them out somewhen later
when they are no longer valid. OK mglocker@
|
|
access to write the mbuf lenght instead of a 4byte one. On big endian machines
the length was written to the wrong field and so no TX transactions were done.
OK mglocker@
|
|
the hard way on sparc64. Now acx(4) no longer panics but it does not yet
work. OK mglocker@
|
|
fill everything up to IEEE80211_ELEMID_TIM into the beacon template and
everything after and including IEEE80211_ELEMID_TIM into the tim template.
This fixes the beacons on 11g where two TIM fields where announced.
acx_beacon_locate() is used to calculate the offset to a defined TLV field.
If other dirvers need it as well we may move it up into net80211.
OK mglocker@
|
|
calling if_start(). So call ifp->if_start() at the end of the RX interrupt
function. This solves the porblem of getting dhcp leases from the AP if the
network is quiet. OK mglocker@
|
|
return value. Stolen from acx_set_beacon_tmplt() that already does this check.
|
|
calls with acx_set_conf()/acx_get_conf(). OK mglocker@
|
|
ieee80211_encap() so there is no need to do call ieee80211_find_txnode()
beforehands. OK mglocker@
|
|
but now I'm able to receive packets on macppc. OK mglocker@
|
|
the right value is printed in case of an error. OK mglocker@
|
|
OK mglocker@
|
|
|
|
chain and so a later MFREE() is needed to free the chain again.
Just initialize a minimal mbuf header for bpf_mtap().
See earlier rum(4) commit for the full story.
OK mglocker@ Sounds good jsg@
|
|
bite the dust and make the code easier to read. Help and OK mglocker@
|
|
diff from Sepherosa Ziehau (DragonFly); The firmware TIM element template
was initialized wrong.
Though, our ieee80211_alloc_beacon() routine calculates it's own TIM
element, which now results in having two TIMs in an acx(4) beacon.
Would it be an idea to introduce a ieee80211_alloc_beacon() flag to
turn the TIM element off? Because fiddling out the TIM element in the
driver for cases in which the firmware calculates its own TIM is
a bit ugly ...
ok claudio@
|
|
OK mglocker@
|
|
|
|
|
|
typos today...
|
|
OK mglocker@
|
|
Tested by claudio and me so far.
ok jsg@
|
|
formal ok deraadt@
|
|
Pointed out by damien@.
ok damien@
|
|
|
|
ok jsg@
|
|
|