android_kernel_xiaomi_sm8350/drivers/net
Holger Schurig 675787e29f libertas: handy function to call firmware commands
Using an arbitrary firmware command was actually very painful. One
had to change big switch() statements in cmd.c, cmdresp.c, add
structs to the big union in "struct cmd_ds_command" and add the
define for the CMD_802_11_xxx to the proper place.

With this function, this is now much easier. For now, it implements
a blocking (a.k.a. CMD_OPTION_WAITFORRSP) way where one deals directly
with command requests and response buffers. You can do everything in
one place:

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-01-28 15:06:04 -08:00
..
appletalk
arcnet [NET]: Remove references to net-modules.txt. 2007-11-12 21:03:58 -08:00
arm [EP93xx_ETH]: Build fix after 2.6.24 NAPI changes. 2007-11-13 20:46:09 -08:00
atl1 atl1: fix frame length bug 2008-01-18 14:41:49 -05:00
bonding bonding: Don't hold lock when calling rtnl_unlock 2008-01-18 14:38:39 -05:00
can [CAN]: Add virtual CAN netdevice driver 2008-01-28 14:54:12 -08:00
chelsio drivers/net/chelsio/: #if 0 unused functions 2008-01-28 15:03:59 -08:00
cris CRISv10 Ethernet declare mac fix 2007-11-14 18:45:47 -08:00
cxgb3 drivers/net/cxgb3: trim trailing whitespace 2008-01-28 15:04:13 -08:00
e1000 [netdrvr] checkpatch cleanups 2008-01-28 15:04:05 -08:00
e1000e [E1000E]: convert register test macros to functions 2008-01-28 15:03:51 -08:00
ehea ehea: Reworked rcv queue handling to log only fatal errors 2007-11-23 22:09:01 -05:00
fec_8xx [NET]: Do not check netif_running() and carrier state in ->poll() 2008-01-08 23:30:09 -08:00
fs_enet fs_enet: check for phydev existence in the ethtool handlers 2008-01-12 17:45:33 -05:00
hamradio hamradio/scc: kill unnecessary use of 'irq' function arg 2008-01-28 15:03:39 -08:00
ibm_emac
ibm_newemac Net: ibm_newemac, remove SPIN_LOCK_UNLOCKED 2007-12-14 16:12:45 -05:00
irda [netdrvr] irq handler minor cleanups in several drivers 2008-01-28 15:03:40 -08:00
ixgb [NET]: Fix interrupt semaphore corruption in Intel drivers. 2008-01-20 20:31:39 -08:00
ixgbe drivers/net/ixgb: Add missing "space" 2008-01-28 15:03:55 -08:00
ixp2000 [NET]: Do not check netif_running() and carrier state in ->poll() 2008-01-08 23:30:09 -08:00
mlx4 mlx4_core: Fix max_eqs masking in QUERY_DEV_CAP 2008-01-25 14:15:29 -08:00
myri10ge netdev: use ARRAY_SIZE() instead of sizeof(array) / ETH_GSTRING_LEN 2008-01-28 15:03:36 -08:00
netxen [netdrvr] netxen: checkpatch fixes (98% trim trailing whitespace) 2008-01-28 15:04:02 -08:00
pcmcia axnet_cs: use spin_lock_irqsave instead of spin_lock + disable_irq 2008-01-28 15:04:14 -08:00
phy PHY: Add the phy_device_release device method. 2007-12-04 15:06:33 -05:00
sk98lin drivers/net/sk98lin: Add missing "space" 2008-01-28 15:03:58 -08:00
skfp
tokenring 3c359 endianness annotations and fixes 2007-12-22 23:16:42 -05:00
tulip [netdrvr] checkpatch cleanups 2008-01-28 15:04:05 -08:00
usb dm9601: Consolidate common parts of dm_write_*_async 2008-01-28 15:04:01 -08:00
wan drivers/net/wan: Add missing "space" 2008-01-28 15:03:57 -08:00
wireless libertas: handy function to call firmware commands 2008-01-28 15:06:04 -08:00
3c59x.c
3c501.c 3c501: Bring into compliance with the coding style 2008-01-28 15:04:00 -08:00
3c501.h
3c503.c
3c503.h
3c505.c
3c505.h
3c507.c [netdrvr] checkpatch cleanups 2008-01-28 15:04:05 -08:00
3c509.c 3c509: PnP resource management fix 2008-01-12 17:41:04 -05:00
3c515.c 3c574, 3c515 bitfields abuse 2008-01-18 14:44:33 -05:00
3c523.c
3c523.h
3c527.c
3c527.h
7990.c
7990.h
8139cp.c
8139too.c
8390.c
8390.h
82596.c 82596: free nonexistent resource fix 2007-11-05 17:57:30 -05:00
a2065.c
a2065.h
ac3200.c
acenic_firmware.h
acenic.c
acenic.h
amd8111e.c drivers/net: Add missing "space" 2008-01-28 15:03:59 -08:00
amd8111e.h
apne.c
ariadne.c
ariadne.h
at1700.c [netdrvr] checkpatch cleanups 2008-01-28 15:04:05 -08:00
atarilance.c
atp.c
atp.h
au1000_eth.c
au1000_eth.h
ax88796.c
b44.c b44: Convert to use of the new SPROM structure 2008-01-28 15:04:42 -08:00
b44.h
bfin_mac.c Merge branch 'master' into upstream-fixes 2007-12-01 16:18:56 -05:00
bfin_mac.h Blackfin arch: change get_bf537_ether_addr() to bfin_get_ether_addr() since this is not BF537 specific and to better match other Blackfin-specific conventions 2007-11-15 21:21:20 +08:00
bmac.c
bmac.h
bnx2_fw2.h [BNX2]: Update firmware to support S/G RX buffers. 2008-01-28 14:57:30 -08:00
bnx2_fw.h [BNX2]: Update firmware to support S/G RX buffers. 2008-01-28 14:57:30 -08:00
bnx2.c [BNX2]: Fix compiler warning. 2008-01-28 14:57:40 -08:00
bnx2.h [BNX2]: Enable new tx ring. 2008-01-28 14:57:39 -08:00
bnx2x_fw_defs.h add bnx2x driver for BCM57710 2008-01-28 15:03:53 -08:00
bnx2x_hsi.h add bnx2x driver for BCM57710 2008-01-28 15:03:53 -08:00
bnx2x_init_values.h add bnx2x driver for BCM57710 2008-01-28 15:03:53 -08:00
bnx2x_init.h add bnx2x driver for BCM57710 2008-01-28 15:03:53 -08:00
bnx2x_reg.h add bnx2x driver for BCM57710 2008-01-28 15:03:53 -08:00
bnx2x.c [netdrvr] checkpatch cleanups 2008-01-28 15:04:05 -08:00
bnx2x.h add bnx2x driver for BCM57710 2008-01-28 15:03:53 -08:00
bsd_comp.c
cassini.c netdev: use ARRAY_SIZE() instead of sizeof(array) / ETH_GSTRING_LEN 2008-01-28 15:03:36 -08:00
cassini.h [CASSINI]: Fix endianness bug. 2008-01-04 00:47:04 -08:00
cpmac.c [netdrvr] irq handler minor cleanups in several drivers 2008-01-28 15:03:40 -08:00
cs89x0.c
cs89x0.h
de600.c
de600.h
de620.c
de620.h
declance.c [netdrvr] irq handler minor cleanups in several drivers 2008-01-28 15:03:40 -08:00
defxx.c
defxx.h
depca.c
depca.h
dl2k.c dl2k: the rest 2008-01-18 14:44:33 -05:00
dl2k.h dl2k: the rest 2008-01-18 14:44:33 -05:00
dm9000.c [ARM] 4762/1: Basic support for Toradex Colibri module 2008-01-28 13:13:27 +00:00
dm9000.h
dummy.c
e100.c Fix e100 on systems that have cache incoherent DMA 2008-01-28 15:03:46 -08:00
e2100.c
eepro100.c
eepro.c
eexpress.c [netdrvr] checkpatch cleanups 2008-01-28 15:04:05 -08:00
eexpress.h
epic100.c [NET]: Do not check netif_running() and carrier state in ->poll() 2008-01-08 23:30:09 -08:00
eql.c
es3210.c
eth16i.c
ewrk3.c
ewrk3.h
fealnx.c
fec_mpc52xx_phy.c
fec_mpc52xx.c fec_mpc52xx: write in C... 2007-12-22 22:53:07 -05:00
fec_mpc52xx.h
fec.c
fec.h
forcedeth.c [FORCEDETH]: Fix reversing the MAC address on suspend. 2008-01-08 23:30:20 -08:00
gianfar_ethtool.c
gianfar_mii.c
gianfar_mii.h
gianfar_sysfs.c gianfar driver: eliminate compiler warnings and unnecessary macros 2008-01-28 15:05:47 -08:00
gianfar.c gianfar: fix compile warning 2007-12-04 15:06:11 -05:00
gianfar.h
hamachi.c hamachi endianness fixes 2007-12-14 15:26:15 -05:00
hp100.c
hp100.h
hp-plus.c
hp.c
hplance.c
hplance.h
hydra.c
ibmlana.c [netdrvr] ibmlana: move away from legacy MCA API 2008-01-28 15:03:41 -08:00
ibmlana.h
ibmveth.c Kobject: convert drivers/* from kobject_unregister() to kobject_put() 2008-01-24 20:40:40 -08:00
ibmveth.h
ifb.c
ioc3-eth.c
ipg.c ipg: add __devexit annotation 2008-01-28 15:05:54 -08:00
ipg.h ipg: fix checkpatch reported errors 2008-01-28 15:05:53 -08:00
isa-skeleton.c
iseries_veth.c Kobject: rename kobject_init_ng() to kobject_init() 2008-01-24 20:40:38 -08:00
jazzsonic.c
Kconfig pasemi_mac: Software-based LRO support 2008-01-28 15:04:24 -08:00
lance.c
lasi_82596.c
lib8390.c
lib82596.c LIB82596: correct data types for hardware addresses 2007-12-01 16:38:28 -05:00
LICENSE.SRC
lne390.c
loopback.c [NET]: Remove unused define from loopback driver. 2008-01-28 14:57:25 -08:00
lp486e.c [netdrvr] checkpatch cleanups 2008-01-28 15:04:05 -08:00
mac89x0.c
mac8390.c
macb.c MACB: clear transmit buffers properly on transmit underrun 2007-12-22 23:26:51 -05:00
macb.h
mace.c
mace.h
macmace.c
macsonic.c
macvlan.c [MACVLAN]: Allow setting mac address while device is up 2008-01-28 14:54:23 -08:00
Makefile add bnx2x driver for BCM57710 2008-01-28 15:03:53 -08:00
meth.c [METH]: Fix MAC address handling. 2008-01-08 23:30:00 -08:00
meth.h
mii.c
mipsnet.c
mipsnet.h
mv643xx_eth.c
mvme147.c
myri_code.h
myri_sbus.c [MYRI_SBUS]: Prevent that myri_do_handshake lies about ticks. 2007-11-13 03:16:17 -08:00
myri_sbus.h
natsemi.c [NET]: Do not check netif_running() and carrier state in ->poll() 2008-01-08 23:30:09 -08:00
ne2.c
ne2k-pci.c
ne3210.c
ne-h8300.c
ne.c
netconsole.c [NETPOLL]: no need to store local_mac 2008-01-28 14:54:17 -08:00
netx-eth.c [NET]: Fix netx-eth.c compilation. 2008-01-08 23:29:59 -08:00
ni52.c
ni52.h
ni65.c
ni65.h
ni5010.c
ni5010.h
niu.c [NIU]: Use print_mac 2008-01-28 14:59:15 -08:00
niu.h [NIU]: Support for Marvell PHY 2008-01-10 02:12:44 -08:00
ns83820.c [NET]: fix drivers/net/ns83820.c build 2008-01-28 14:57:26 -08:00
pasemi_mac.c pasemi_mac: Don't enable RX/TX without a link (if possible) 2008-01-28 15:04:27 -08:00
pasemi_mac.h pasemi_mac: Software-based LRO support 2008-01-28 15:04:24 -08:00
pci-skeleton.c
pcnet32.c netdev: use ARRAY_SIZE() instead of sizeof(array) / ETH_GSTRING_LEN 2008-01-28 15:03:36 -08:00
plip.c plip: fix parport_register_device name parameter 2007-11-26 19:39:01 -08:00
ppp_async.c [PPP]: Remove ptr comparisons to 0 2007-11-12 18:07:31 -08:00
ppp_deflate.c
ppp_generic.c [PPP]: Remove ptr comparisons to 0 2007-11-12 18:07:31 -08:00
ppp_mppe.c
ppp_mppe.h
ppp_synctty.c [PPP] synchronous tty: convert dead_sem to completion 2008-01-28 14:58:07 -08:00
pppoe.c
pppol2tp.c drivers/net: Add missing "space" 2008-01-28 15:03:59 -08:00
pppox.c
ps3_gelic_net.c
ps3_gelic_net.h
qla3xxx.c drivers/net: Add missing "space" 2008-01-28 15:03:59 -08:00
qla3xxx.h qla3xxx: bugfix: Move link state machine into a worker thread 2007-11-10 04:25:15 -05:00
r6040.c r6040: cleanups 2008-01-28 15:04:16 -08:00
r8169.c r8169: fix missing loop variable increment 2008-01-12 17:41:04 -05:00
rionet.c
rrunner.c drivers/net: Add missing "space" 2008-01-28 15:03:59 -08:00
rrunner.h rrunner: use offsetof() instead of homegrown insanity 2007-12-22 22:53:07 -05:00
s2io-regs.h [S2IO]: Support for add/delete/store/restore ethernet addresses 2008-01-28 15:03:52 -08:00
s2io.c drivers/net: Add missing "space" 2008-01-28 15:03:59 -08:00
s2io.h [S2IO]: Support for add/delete/store/restore ethernet addresses 2008-01-28 15:03:52 -08:00
saa9730.c
saa9730.h
sb1000.c
sb1250-mac.c
sc92031.c
seeq8005.c
seeq8005.h
sgiseeq.c SGISEEQ: use cached memory access to make driver work on IP28 2008-01-28 15:04:28 -08:00
sgiseeq.h
sis190.c sis190: scheduling while atomic error 2008-01-23 03:11:45 -08:00
sis900.c drivers/net: Add missing "space" 2008-01-28 15:03:59 -08:00
sis900.h
skge.c skge: MTU changing fix 2007-12-01 16:32:30 -05:00
skge.h
sky2.c sky2: rx allocation threshold change 2008-01-28 15:04:19 -08:00
sky2.h sky2: large memory workaround. 2008-01-12 17:49:10 -05:00
slhc.c
slip.c slip: Drag kicking and screaming into coding style compliance 2008-01-28 15:04:01 -08:00
slip.h
smc91x.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
smc91x.h [ARM] 4746/1: pcm027: network support for phyCORE-PXA270 2008-01-28 13:13:23 +00:00
smc911x.c SMC911X: Fix using of dereferenced skb after netif_rx 2007-12-04 14:53:43 -05:00
smc911x.h net: smc911x: shut up compiler warnings 2007-12-14 16:12:42 -05:00
smc9194.c drivers/net: Add missing "space" 2008-01-28 15:03:59 -08:00
smc9194.h
smc-mca.c
smc-ultra32.c
smc-ultra.c
sni_82596.c
sonic.c
sonic.h
Space.c
spider_net_ethtool.c
spider_net.c
spider_net.h
starfire_firmware.h
starfire_firmware.pl
starfire.c starfire VLAN fix 2007-12-14 15:26:04 -05:00
stnic.c
sun3_82586.c
sun3_82586.h
sun3lance.c
sunbmac.c
sunbmac.h
sundance.c sundance: SIOCDEVPRIVATE pollution 2008-01-28 15:03:46 -08:00
sungem_phy.c
sungem_phy.h
sungem.c [SUNGEM]: Fix NAPI regression with reset work 2007-11-29 21:51:36 +11:00
sungem.h
sunhme.c [SUNHME]: VLAN support for sunhme 2007-11-15 15:38:45 -08:00
sunhme.h
sunlance.c
sunqe.c
sunqe.h
sunvnet.c [SUNVNET]: Use print_mac 2008-01-28 14:59:13 -08:00
sunvnet.h
tc35815.c tc35815: Use irq number for tc35815-mac platform device id 2008-01-22 00:35:23 +00:00
tehuti_fw.h
tehuti.c netdev: ARRAY_SIZE() cleanups 2008-01-28 15:03:37 -08:00
tehuti.h
tg3.c [TG3]: Update version to 3.87 2008-01-28 14:59:35 -08:00
tg3.h [TG3]: Replace some magic 5704S constants 2008-01-28 14:59:32 -08:00
tlan.c
tlan.h
tsi108_eth.c
tsi108_eth.h
tun.c [TUN]: Use iov_length() 2008-01-28 14:54:34 -08:00
typhoon-firmware.h
typhoon.c typhoon: trivial endianness annotations 2007-12-22 22:53:06 -05:00
typhoon.h typhoon: trivial endianness annotations 2007-12-22 22:53:06 -05:00
ucc_geth_ethtool.c
ucc_geth_mii.c
ucc_geth_mii.h ucc_geth: really fix section mismatch 2007-12-17 16:02:20 -05:00
ucc_geth.c [netdrvr] irq handler minor cleanups in several drivers 2008-01-28 15:03:40 -08:00
ucc_geth.h
veth.c [NET]: rtnl_link: fix use-after-free 2008-01-20 20:31:45 -08:00
via-rhine.c drivers/net: Add missing "space" 2008-01-28 15:03:59 -08:00
via-velocity.c via-velocity: don't oops on MTU change (resend) 2007-12-01 16:35:51 -05:00
via-velocity.h
virtio_net.c virtio: fix net driver loop case where we fail to restart 2007-11-19 11:20:44 +11:00
wd.c
xen-netfront.c [NET]: Do not check netif_running() and carrier state in ->poll() 2008-01-08 23:30:09 -08:00
yellowfin.c yellowfin: annotations and fixes (.24 fodder?) 2007-12-22 22:53:06 -05:00
znet.c
zorro8390.c