staging: rtl8723bs: fix tx power tables size
authorFabio Aiuto <fabioaiuto83@gmail.com>
Sat, 7 Aug 2021 09:48:12 +0000 (11:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Aug 2021 10:13:03 +0000 (12:13 +0200)
commit854a3b21ddd95157f444a60cf73950851fcd05dd
tree452420b1525030024e8eaef37738e2316d241c06
parentc4c7c7182ea4dc15d4fe53b5e9611c1fd35e1c57
staging: rtl8723bs: fix tx power tables size

fix sizes of tx power tables to the real used
values (i.e. 2 bandwidth, 3 rate sections).

Delete MAX_BASE_NUM_IN_PHY_REG_PG_2_4 macro in
this process, for it expands to a larger than
needed rate section index value.

Modify comments accordingly.

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/5f52295a8b17f68ad80ffb7b6301da83bfc11a68.1628329348.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c
drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
drivers/staging/rtl8723bs/include/hal_data.h