]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite58a7e60828c4164fc991a1699e8d36ad04ffc8d
treec5cc195817283cfca0196fb14f65214418a5dbd5
parenta6de59be677b60ee51394b7a0dd51b2c805184c1
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