History log of /freebsd-10-stable/sys/dev/malo/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
278808 15-Feb-2015 marius

MFC: r278532

Fix compilation with GCC in the PAE case.

278418 08-Feb-2015 marius

MFC: r275871

Update the use of bus space macros to be more correct.

262007 17-Feb-2014 kevlo

MFC r260444:

Rename definition of IEEE80211_FC1_WEP to IEEE80211_FC1_PROTECTED.

The origin of WEP comes from IEEE Std 802.11-1997 where it defines
whether the frame body of MAC frame has been encrypted using WEP
algorithm or not.
IEEE Std. 802.11-2007 changes WEP to Protected Frame, indicates
whether the frame is protected by a cryptographic encapsulation
algorithm.

Reviewed by: adrian, rpaulo


/freebsd-10-stable/contrib/libpcap/ieee80211.h
/freebsd-10-stable/share/man/man9/ieee80211_crypto.9
/freebsd-10-stable/sys/dev/ath/if_ath_tx.c
/freebsd-10-stable/sys/dev/bwi/if_bwi.c
/freebsd-10-stable/sys/dev/bwn/if_bwn.c
/freebsd-10-stable/sys/dev/ipw/if_ipw.c
/freebsd-10-stable/sys/dev/iwi/if_iwi.c
/freebsd-10-stable/sys/dev/iwn/if_iwn.c
if_malo.c
/freebsd-10-stable/sys/dev/mwl/if_mwl.c
/freebsd-10-stable/sys/dev/ral/rt2560.c
/freebsd-10-stable/sys/dev/ral/rt2661.c
/freebsd-10-stable/sys/dev/ral/rt2860.c
/freebsd-10-stable/sys/dev/usb/wlan/if_rsu.c
/freebsd-10-stable/sys/dev/usb/wlan/if_rum.c
/freebsd-10-stable/sys/dev/usb/wlan/if_run.c
/freebsd-10-stable/sys/dev/usb/wlan/if_uath.c
/freebsd-10-stable/sys/dev/usb/wlan/if_upgt.c
/freebsd-10-stable/sys/dev/usb/wlan/if_ural.c
/freebsd-10-stable/sys/dev/usb/wlan/if_urtw.c
/freebsd-10-stable/sys/dev/usb/wlan/if_urtwn.c
/freebsd-10-stable/sys/dev/usb/wlan/if_zyd.c
/freebsd-10-stable/sys/dev/wi/if_wi.c
/freebsd-10-stable/sys/dev/wpi/if_wpi.c
/freebsd-10-stable/sys/net80211/ieee80211.h
/freebsd-10-stable/sys/net80211/ieee80211_adhoc.c
/freebsd-10-stable/sys/net80211/ieee80211_hostap.c
/freebsd-10-stable/sys/net80211/ieee80211_mesh.c
/freebsd-10-stable/sys/net80211/ieee80211_output.c
/freebsd-10-stable/sys/net80211/ieee80211_proto.c
/freebsd-10-stable/sys/net80211/ieee80211_sta.c
/freebsd-10-stable/sys/net80211/ieee80211_wds.c
/freebsd-10-stable/tools/tools/net80211/stumbler/stumbler.c
/freebsd-10-stable/tools/tools/net80211/w00t/ap/ap.c
/freebsd-10-stable/tools/tools/net80211/w00t/assoc/assoc.c
/freebsd-10-stable/tools/tools/net80211/w00t/expand/expand.c
/freebsd-10-stable/tools/tools/net80211/w00t/prga/prga.c
/freebsd-10-stable/tools/tools/net80211/w00t/redir/redir.c
/freebsd-10-stable/tools/tools/net80211/wesside/wesside/wesside.c
/freebsd-10-stable/tools/tools/net80211/wlaninject/wlaninject.c
256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


243857 04-Dec-2012 glebius

Mechanically substitute flags from historic mbuf allocator with
malloc(9) flags in sys/dev.


228621 17-Dec-2011 bschmidt

Fix some net80211 enum nits:
- ic_vap_create() uses an ieee80211_opmode argument
- ieee80211_rate2media() takes an ieee80211_phymode argument
- ieee80211_plcp2rate() takes an ieee80211_phytype argument
- cast to enum ieee80211_protmode and ieee80211_roamingmode to silence
compiler warnings

Submitted by: arundel@


227309 07-Nov-2011 ed

Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs.

The SYSCTL_NODE macro defines a list that stores all child-elements of
that node. If there's no SYSCTL_DECL macro anywhere else, there's no
reason why it shouldn't be static.


227293 07-Nov-2011 ed

Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.

This means that their use is restricted to a single C file.


219902 23-Mar-2011 jhb

Do a sweep of the tree replacing calls to pci_find_extcap() with calls to
pci_find_cap() instead.


218909 21-Feb-2011 brucec

Fix typos - remove duplicate "the".

PR: bin/154928
Submitted by: Eitan Adler <lists at eitanadler.com>
MFC after: 3 days


216518 18-Dec-2010 tijl

Use convenience functions where possible instead of accessing the PCI
configuration registers directly.

Remove pci_enable_io calls where they are redundant. The PCI bus driver
will set the right bits when the corresponding bus resource is activated.

Remove redundant pci_* function calls from suspend/resume methods. The
bus driver already saves and restores the PCI configuration.

Reviewed by: jhb
Approved by: kib (mentor)


212410 10-Sep-2010 bschmidt

Fix firmware module dependencies.

malo and mwl use the firmware framework to access firmware images.
Depending on the firmware modules itself is not required and in this
case even wrong because no modules with those names exist.

Pointed out by: brucec
MFC after: 1 week


207554 03-May-2010 sobomax

Add new tunable 'net.link.ifqmaxlen' to set default send interface
queue length. The default value for this parameter is 50, which is
quite low for many of today's uses and the only way to modify this
parameter right now is to edit if_var.h file. Also add read-only
sysctl with the same name, so that it's possible to retrieve the
current value.

MFC after: 1 month


205843 29-Mar-2010 imp

Cast bus_space_t to a intmax_t and use %j to print it instead of
assuming it is size_t sized and using %z.


201758 07-Jan-2010 mbr

Remove extraneous semicolons, no functional changes.

Submitted by: Marc Balmer <marc@msys.ch>
MFC after: 1 week


199559 19-Nov-2009 jhb

- Add a private timer to drive the transmit watchdog instead of using
if_watchdog and if_timer.
- Fix some issues in detach for sn(4), ste(4), and ti(4). Primarily this
means calling ether_ifdetach() before anything else.


195049 26-Jun-2009 rwatson

Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/
IF_ADDR_UNLOCK() across network device drivers when accessing the
per-interface multicast address list, if_multiaddrs. This will
allow us to change the locking strategy without affecting our driver
programming interface or binary interface.

For two wireless drivers, remove unnecessary locking, since they
don't actually access the multicast address list.

Approved by: re (kib)
MFC after: 6 weeks


192468 20-May-2009 sam

Overhaul monitor mode handling:
o replace DLT_IEEE802_11 support in net80211 with DLT_IEEE802_11_RADIO
and remove explicit bpf support from wireless drivers; drivers now
use ieee80211_radiotap_attach to setup shared data structures that
hold the radiotap header for each packet tx/rx
o remove rx timestamp from the rx path; it was used only by the tdma support
for debugging and was mostly useless due to it being 32-bits and mostly
unavailable
o track DLT_IEEE80211_RADIO bpf attachments and maintain per-vap and
per-com state when there are active taps
o track the number of monitor mode vaps
o use bpf tap and monitor mode vap state to decide when to collect radiotap
state and dispatch frames; drivers no longer explicitly directly check
bpf state or use bpf calls to tap frames
o handle radiotap state updates on channel change in net80211; drivers
should not do this (unless they bypass net80211 which is almost always
a mistake)
o update various drivers to be more consistent/correct in handling radiotap
o update ral to include TSF in radiotap'd frames
o add promisc mode callback to wi

Reviewed by: cbzimmer, rpaulo, thompsa


192147 15-May-2009 imp

The module name convention is foo, not if_foo.


190590 31-Mar-2009 weongyo

fix a bug that it passed a incorrect flag BUS_DMA_ALLOCNOW to create
a device specific DMA tag. On amd64 it could exhaust all of bounce
pages when bus_dma_tag_create(9) is called at malo_pci_attach() then as
result in next turn it returns ENOMEM. This fix a attach fail on amd64.

Pointed by: yongari
Tested by: dchagin
MFC after: 3 days


190579 30-Mar-2009 sam

Hoist 802.11 encapsulation up into net80211:
o call ieee80211_encap in ieee80211_start so frames passed down to drivers
are already encapsulated
o remove ieee80211_encap calls in drivers
o fixup wi so it recreates the 802.3 head it requires from the 802.11
header contents
o move fast-frame aggregation from ath to net80211 (conditional on
IEEE80211_SUPPORT_SUPERG):
- aggregation is now done in ieee80211_start; it is enabled when the
packets/sec exceeds ieee80211_ffppsmin (net.wlan.ffppsmin) and frames
are held on a staging queue according to ieee80211_ffagemax
(net.wlan.ffagemax) to wait for a frame to combine with
- drivers must call back to age/flush the staging queue (ath does this
on tx done, at swba, and on rx according to the state of the tx queues
and/or the contents of the staging queue)
- remove fast-frame-related data structures from ath
- add ieee80211_ff_node_init and ieee80211_ff_node_cleanup to handle
per-node fast-frames state (we reuse 11n tx ampdu state)
o change ieee80211_encap calling convention to include an explicit vap
so frames coming through a WDS vap are recognized w/o setting M_WDS

With these changes any device able to tx/rx 3Kbyte+ frames can use fast-frames.

Reviewed by: thompsa, rpaulo, avatar, imp, sephe


190552 30-Mar-2009 weongyo

when it failed to inform rx/tx dma setup it should clean up allocated
dma-related buffers and tags.

MFC after: 3 days


190550 30-Mar-2009 weongyo

corrects a error message.


190544 30-Mar-2009 weongyo

handles more exceptional cases when the driver failed to attach.

MFC after: 3 days


190541 30-Mar-2009 weongyo

fix a bug of uses after free.

Pointed by: dchagin
MFC after: 3 days


190526 29-Mar-2009 sam

Eliminate ic_myaddr so changing the mac address of a device works correctly:
o remove ic_myaddr from ieee80211com
o change ieee80211_ifattach to take the mac address of the physical device
and use that to setup the lladdr.
o replace all references to ic_myaddr in drivers by IF_LLADDR
o related cleanups (e.g. kill dead code)

PR: kern/133178
Reviewed by: thompsa, rpaulo


189575 09-Mar-2009 imp

remove now-redunant cardbus attachment.


178957 12-May-2008 sam

Minor cleanup of vap create work:
o add IEEE80211_C_STA capability to indicate sta mode is supported
(was previously assumed) and mark drivers as capable
o add ieee80211_opcap array to map an opmode to the equivalent capability bit
o move IEEE80211_C_OPMODE definition to where capabilities are defined so it's
clear it should be kept in sync (on future additions)
o check device capabilities in clone create before trying to create a vap;
this makes driver checks unneeded
o make error codes return on failed clone request unique
o temporarily add console printfs on clone request failures to aid in
debugging; these will move under DIAGNOSTIC or similar before release


178365 20-Apr-2008 sam

fix build


178354 20-Apr-2008 sam

Multi-bss (aka vap) support for 802.11 devices.

Note this includes changes to all drivers and moves some device firmware
loading to use firmware(9) and a separate module (e.g. ral). Also there
no longer are separate wlan_scan* modules; this functionality is now
bundled into the wlan module.

Supported by: Hobnob and Marvell
Reviewed by: many
Obtained from: Atheros (some bits)


177819 01-Apr-2008 weongyo

remove warnings for 64bit aware platforms.

Approved by: thompsa (mentor)


177595 25-Mar-2008 weongyo

Add support for Marvell Libertas 88W8335 based PCI network adapters.

Reviewed by: sam, many wireless people
Approved by: thompsa (mentor)