kernel_optimize_test/arch/cris/include/asm
Johannes Berg 6e3e939f3b net: add wireless TX status socket option
The 802.1X EAPOL handshake hostapd does requires
knowing whether the frame was ack'ed by the peer.
Currently, we fudge this pretty badly by not even
transmitting the frame as a normal data frame but
injecting it with radiotap and getting the status
out of radiotap monitor as well. This is rather
complex, confuses users (mon.wlan0 presence) and
doesn't work with all hardware.

To get rid of that hack, introduce a real wifi TX
status option for data frame transmissions.

This works similar to the existing TX timestamping
in that it reflects the SKB back to the socket's
error queue with a SCM_WIFI_STATUS cmsg that has
an int indicating ACK status (0/1).

Since it is possible that at some point we will
want to have TX timestamping and wifi status in a
single errqueue SKB (there's little point in not
doing that), redefine SO_EE_ORIGIN_TIMESTAMPING
to SO_EE_ORIGIN_TXSTATUS which can collect more
than just the timestamp; keep the old constant
as an alias of course. Currently the internal APIs
don't make that possible, but it wouldn't be hard
to split them up in a way that makes it possible.

Thanks to Neil Horman for helping me figure out
the functions that add the control messages.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-11-09 16:01:02 -05:00
..
asm-offsets.h kbuild: move asm-offsets.h to include/generated 2009-12-12 13:08:14 +01:00
atomic.h atomic: cleanup asm-generic atomic*.h inclusion 2011-07-26 16:49:47 -07:00
auxvec.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
axisflashmap.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
bitops.h atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
bitsperlong.h asm-generic: introduce asm/bitsperlong.h 2009-06-11 21:02:14 +02:00
bug.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
bugs.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
byteorder.h byteorder: make swab.h include asm/swab.h like a regular header 2009-01-14 19:56:50 -08:00
cache.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
cacheflush.h block: add helpers to run flush_dcache_page() against a bio and a request's pages 2009-11-26 09:16:19 +01:00
checksum.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
cputime.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
current.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
delay.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
device.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
div64.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
dma-mapping.h dma-mapping: remove dma_is_consistent API 2010-08-11 08:59:21 -07:00
dma.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
elf.h elf: kill USE_ELF_CORE_DUMP 2009-12-16 07:20:12 -08:00
emergency-restart.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
errno.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
eshlibld.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
ethernet.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
etraxgpio.h tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
etraxi2c.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
fasttimer.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
fb.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
fcntl.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
ftrace.h tracing: make CALLER_ADDRx overwriteable 2009-03-02 16:49:37 -05:00
futex.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
hardirq.h CRIS: convert to asm-generic/hardirq.h 2009-09-01 17:23:32 +02:00
hw_irq.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
io.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
ioctl.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
ioctls.h ioctl: Use asm-generic/ioctls.h on cris (enables termiox) 2010-10-22 10:19:59 -07:00
ipcbuf.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
irq_regs.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
irq.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
irqflags.h Fix IRQ flag handling naming 2010-10-07 14:08:55 +01:00
Kbuild archs: replace unifdef-y with header-y 2010-08-14 22:26:51 +02:00
kdebug.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
kmap_types.h kmap_types: make most arches use generic header file 2009-06-16 19:47:51 -07:00
linkage.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
local64.h arch: Implement local64_t 2010-06-09 11:12:36 +02:00
local.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
mman.h mm: remove duplicate asm/mman.h files 2009-09-22 07:17:42 -07:00
mmu_context.h CRIS: Change DEFINE_PER_CPU of current_pgd to be non volatile. 2009-06-24 15:13:41 +09:00
mmu.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
module.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
msgbuf.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
mutex.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
page.h asm-generic: rename page.h and uaccess.h 2009-06-11 21:02:17 +02:00
param.h CRIS: Simplify param.h by simply including <asm-generic/param.h> 2010-05-25 16:50:04 +02:00
pci.h pci-dma: add linux/pci-dma.h to linux/pci.h 2010-03-12 15:52:42 -08:00
percpu.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
pgalloc.h mm: Pass virtual address to [__]p{te,ud,md}_free_tlb() 2009-07-27 12:10:38 -07:00
pgtable.h Fix common misspellings 2011-03-31 11:26:23 -03:00
poll.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
posix_types.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
processor.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
ptrace.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
resource.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
rs485.h tty: Use the generic RS485 ioctl on CRIS 2009-04-07 08:44:05 -07:00
rtc.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
scatterlist.h remove needless ISA_DMA_THRESHOLD 2010-08-07 18:15:50 +02:00
sections.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
segment.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
sembuf.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
serial.h cris: add arch/cris/include/asm/serial.h 2011-08-25 16:25:35 -07:00
setup.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
shmbuf.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
shmparam.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
sigcontext.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
siginfo.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
signal.h asm-generic: rename termios.h, signal.h and mman.h 2009-06-11 21:01:52 +02:00
smp.h cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
socket.h net: add wireless TX status socket option 2011-11-09 16:01:02 -05:00
sockios.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
spinlock.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
stat.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
statfs.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
string.h CRISv32: Add arch optimized strcmp. 2009-06-10 15:21:03 +02:00
swab.h cris: introduce asm/swab.h 2009-01-14 19:56:49 -08:00
sync_serial.h CRIS: Add ARTPEC-3 and timestamps for sync-serial 2010-08-04 13:02:39 +02:00
system.h Fix IRQ flag handling naming 2010-10-07 14:08:55 +01:00
termbits.h tty: Add EXTPROC support for LINEMODE 2010-08-10 13:47:39 -07:00
termios.h tty: Use the generic RS485 ioctl on CRIS 2009-04-07 08:44:05 -07:00
thread_info.h cris: fix a build error in kernel/fork.c 2011-08-03 14:25:21 -10:00
timex.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
tlb.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
tlbflush.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
topology.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
types.h remove dma64_addr_t 2011-03-23 19:47:18 -07:00
uaccess.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
ucontext.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
unaligned.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
unistd.h ns: Wire up the setns system call 2011-05-28 10:48:39 -07:00
user.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00