staging: vt6656: formulate rspinf values into tables
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 12 Apr 2020 10:43:00 +0000 (11:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Apr 2020 12:59:17 +0000 (14:59 +0200)
commitce920326663b3df22c94ade99a8b234baa6ccaa5
treec5cc195817283cfca0196fb14f65214418a5dbd5
parent9ed05c15a319e9758da56c3d034a6b50eb9fa2de
staging: vt6656: formulate rspinf values into tables

Four tables can be extracted from RSPINF_A_* based on BB_TYPE_11A or
else being GB rates.

Preamble short or long tables from fixed size len of 14 for RSPINF_B rates.

Remove function vnt_calculate_ofdm_rate and replace with the tables
calling RSPINF_A and RSPINF_B separately.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Link: https://lore.kernel.org/r/addca9e1-9ea2-59ee-dec9-3afb3c731c2e@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/card.c