summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorMarinela Tatiana Selseth <marinela.selseth@firmwaredesign.org>2026-10-04 17:28:21 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-10-13 15:32:31 +0200
commita7fe96e04160cae30b7543c5d8d23aaeefea328d (patch)
tree0b8b9508be2647d38476917220c6826871782a2d /tools/lib/python
parented8ae033bdce922e7e8fd3d66ee728c1cf6e53d2 (diff)
staging: rtl8723bs: remove dead antenna diversity infrastructure (FAT/SWAT)
Manual code tracking via grep reveals that the driver contains code for Fast Antenna Training (FAT) and Software Antenna Switching (SWAS) that are completely uninitialized, unread, or write-only. Remove the 'struct fat_t' definition from hal/odm.h and refactor the fallback path in hal/rtl8723b_phycfg.c. Because the unassigned structural member 'RxIdleAnt' naturally defaults to 0, the conditional path check statically resolves to false, permanently routing RFPath to RF_PATH_B whenever antenna diversity is active. Hardcode this layout behavior to match factual reality and remove the now unused macro 'MAIN_ANT'. Additionally, purge the write-only 'struct swat_t' infrastructure from hal/odm.h and include/hal_data.h. Inside hal/odm.c, eliminate the dead variable tracking assignments while explicitly preserving the hardware register read to rDPDT_control as a dummy read to ensure initialization sequencing and hardware timing remain completely unaltered. Lastly, clean up legacy comment baggage across hal/odm.c and hal/odm_DIG.c. Remove arbitrary spreadsheet digits and references to unsupported legacy chipsets (92E, 8723A, 8821, 8812) to ensure inline notes are highly focused on the active RTL8723B Bluetooth coexistence parameters. Assisted-by: Gemini Signed-off-by: Marinela Tatiana Selseth <marinela.selseth@firmwaredesign.org> Link: https://patch.msgid.link/20261004222821.6524-1-marinela.selseth@firmwaredesign.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions