]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: vt6656: rxtx.c s_bPacketToWirelessUsb set fallback tx rates
authorMalcolm Priestley <tvboxspy@gmail.com>
Tue, 15 Oct 2013 20:00:09 +0000 (21:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Oct 2013 19:40:36 +0000 (12:40 -0700)
commitf84cdf65a79b808217d9e8b82ea12d170cf66b3d
tree534efc0c832812f97d62beb986966487ead1ff5b
parent4a75ffa8adce46dee5fdd362577ba22778e886e8
staging: vt6656: rxtx.c s_bPacketToWirelessUsb set fallback tx rates

Set the two TX fall back rates in s_bPacketToWirelessUsb and
pass to private area of driver in variables tx_rate_fb0
and tx_rate_fb1 from the wFB_Opt0/wFB_Opt1 array.

Apply these rates were needed in the TX structure and
remove byFBOption settings in s_uGetRTSCTSDuration.

This greatly simplifies s_uGetRTSCTSDuration and
more future flexibility of setting rates from
upper levels of driver.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/device.h
drivers/staging/vt6656/rxtx.c