Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't use uninitialized data as a return value. | 2015-06-21 | 1 | -5/+5 | |
| | | | | | | From Brainy via Maxime Villard via tech@. ok kettenis@ | ||||
* | Wireless drivers call if_input() via ieee80211_input() which set `rcvif' | 2015-02-10 | 1 | -2/+1 | |
| | | | | | | | on every received mbuf, so there's no need to initialize this pointer in the drivers. Tested by and ok phessler@ | ||||
* | unifdef INET | 2014-12-22 | 1 | -5/+1 | |
| | |||||
* | remove uneeded proc.h includes | 2014-09-14 | 1 | -2/+1 | |
| | | | | ok mpi@ kspillner@ | ||||
* | Fewer <netinet/in_systm.h> | 2014-07-22 | 1 | -3/+1 | |
| | |||||
* | Most network drivers include netinet/in_var.h, but apparently they | 2013-08-07 | 1 | -2/+1 | |
| | | | | | don't have to. Just remove these include lines. Compiled on amd64 i386 sparc64; OK henning@ mikeb@ | ||||
* | Remove excessive sys/cdefs.h inclusion | 2012-12-05 | 1 | -3/+1 | |
| | | | | ok guenther millert kettenis | ||||
* | remove the unused if_init callback in struct ifnet | 2010-08-27 | 1 | -2/+1 | |
| | | | | ok deraadt@ henning@ claudio@ | ||||
* | More cases of shutdown hooks not needed after card is already stopped. In | 2009-08-10 | 1 | -14/+1 | |
| | | | | | | these cases the xxstop function is a bit more complicated and has a flag of some sort, but the use of that flag does not matter; DMA is already ceased ok dlg | ||||
* | introduce new IEEE80211_STA_ONLY kernel option that can be set to | 2008-08-27 | 1 | -6/+18 | |
| | | | | | | | | | 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. | ||||
* | instead of passing rx tstamp and rssi to the ieee80211_input function, | 2008-07-21 | 1 | -3/+8 | |
| | | | | | | | 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. | ||||
* | s/NPBFILTER/NBPFILTER/ in #endif comment. No functional change. | 2007-09-30 | 1 | -2/+2 | |
| | |||||
* | M_DUP_PKTHDR() cleanup. On static buffers M_DUP_PKTHDR() will leak mbuf tags. | 2007-01-03 | 1 | -5/+7 | |
| | | | | See similar rum(4) commit for more info. OK mglocker@ | ||||
* | put the 1.32 change back; tested by many | 2006-06-25 | 1 | -18/+14 | |
| | |||||
* | Attach routines can fail before calling *hook_establish(), and they | 2006-05-22 | 1 | -2/+3 | |
| | | | | | | | | often rely on the detach routine for cleanup. So be consistant and careful by checking for a NULL hook before calling *hook_disestablish in detach routines. ok mickey@ brad@ dlg@ | ||||
* | Add support for big endian archs. tested by jaredy@ and ok jsg@ | 2006-04-05 | 1 | -77/+79 | |
| | |||||
* | allow bpf(4) to ignore packets based on their direction (inbound or | 2006-03-25 | 1 | -5/+5 | |
| | | | | | outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@ | ||||
* | remove the colon between "address" and the MAC address. | 2006-03-04 | 1 | -2/+2 | |
| | |||||
* | Be sure to call shutdownhook_disestablish() as this is a removeable device. | 2006-02-20 | 1 | -2/+3 | |
| | | | | ok mickey@ | ||||
* | Add basic radiotap support. Modelled somewhat after | 2006-01-30 | 1 | -1/+56 | |
| | | | | | ral and NetBSD wi radiotap. "looks ok" damien@ | ||||
* | Move an(4) to a driver based on the NetBSD one. | 2006-01-09 | 1 | -1159/+1183 | |
| | | | | | | | | | | This brings net80211 support and support for newer hardware. In addition ancontrol is no longer needed. This driver does not yet work on big endian archs like the previous one did. "do it" deraadt@ | ||||
* | splimp -> splnet | 2005-11-09 | 1 | -4/+4 | |
| | |||||
* | dont' -> don't in comments; | 2005-10-25 | 1 | -2/+2 | |
| | | | | from ray lai; | ||||
* | Replace arpcom in the softc with ieee80211com in preparation for | 2005-06-20 | 1 | -31/+28 | |
| | | | | further net80211 changes. ok mickey@ | ||||
* | - fix and update comments | 2005-04-24 | 1 | -12/+9 | |
| | | | | | | | | | - use ETHERTYPE_IP instead of magic value - saanp -> type_ipv4 From FreeBSD ok mickey@ | ||||
* | fix setting 128bit WEP keys on BIG_ENDIAN arches. | 2005-02-04 | 1 | -3/+3 | |
| | |||||
* | don't need to set ifp->if_mtu or ifp->if_output in each driver, | 2004-09-23 | 1 | -2/+1 | |
| | | | | | | {ether,atm,fddi}_ifattach already does this. ok mcbride@ markus@ henning@ | ||||
* | use ETHER_MAX_LEN. | 2004-08-05 | 1 | -2/+2 | |
| | | | | ok mickey@ | ||||
* | Remove forgotten debug code which does not compile on alpha. | 2004-08-05 | 1 | -2/+1 | |
| | |||||
* | allocate a cluster on rx after all possible failures had been checked for; repair sigcache misalignment | 2004-08-05 | 1 | -35/+27 | |
| | |||||
* | provide proper ip header alignment (and repair big endian archs again from after ether_input_mbuf conversion); also kill some stupid spaces | 2004-07-24 | 1 | -13/+12 | |
| | |||||
* | typos from Tom Cosgrove; | 2003-10-21 | 1 | -2/+2 | |
| | | | | | | | | Tom: I did not commit a couple of your changes. i did not include some punctuation fixes (full stops, etc.) mnemorable -> mnemonic: i decided memorable was probably better instrunctions -> instruction: i kept the plural | ||||
* | from freebsd: read one word less (for type) and take care of odd sized records | 2003-10-05 | 1 | -4/+7 | |
| | |||||
* | reading the record skip the remainder of data we do not need. we are still screwed on writes though | 2003-09-26 | 1 | -12/+10 | |
| | |||||
* | make sure to not overflow when initializing {node,net}name (truncation does not matter) | 2003-09-25 | 1 | -6/+6 | |
| | |||||
* | revert safety checks; requested by mickey@ | 2003-09-23 | 1 | -7/+1 | |
| | |||||
* | Put in a couple of sanity checks to ensure that the AN_DEFAULT_* | 2003-09-19 | 1 | -1/+7 | |
| | | | | | variables arent defined too large. itojun@ ok | ||||
* | change arguments to suser. suser now takes the process, and a flags | 2003-08-15 | 1 | -3/+3 | |
| | | | | | | | | | argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@ | ||||
* | AN_RID_ACTUALCFG gets the same endianesslessness as AN_RID_GENCONFIG | 2003-06-25 | 1 | -1/+3 | |
| | |||||
* | no need for an explicit <machine/intr.h> inclusion | 2003-06-23 | 1 | -2/+1 | |
| | |||||
* | use ifp->if_sadl whether possible. | 2002-07-10 | 1 | -9/+4 | |
| | |||||
* | a step towards consistancy; in general: | 2002-06-09 | 1 | -16/+16 | |
| | | | | | 'struct arpcom foo' -> 'struct arpcom sc_arpcom' ok itojun@ | ||||
* | First round of __P removal in sys | 2002-03-14 | 1 | -25/+25 | |
| | |||||
* | sync with KAME | 2002-03-12 | 1 | -3/+8 | |
| | | | | | ALTQify more drivers. ok millert@ | ||||
* | proper data length handling on read; from toby@svector.co.uk | 2002-01-02 | 1 | -8/+14 | |
| | |||||
* | if_media support, from freebsd | 2001-09-29 | 1 | -3/+117 | |
| | |||||
* | Don't set up ifq_maxlen manually for drivers that uses IFQ_MAXLEN | 2001-07-08 | 1 | -2/+1 | |
| | | | | | | (or ifqmaxlen); it's done in if_attach() now. No future drivers needs to set up this anymore unless they want to use something else. | ||||
* | remove struct and contsts duplicated in between the files. | 2001-06-25 | 1 | -102/+160 | |
| | | | | | make it work on powerpc. improve performance by using the bus_*_multi_* finctions instead of loops. | ||||
* | use ether_input_mbuf | 2001-06-23 | 1 | -7/+5 | |
| | |||||
* | inconsistantly redundant returns | 2001-06-10 | 1 | -21/+1 | |
| |