Skip to content

Follow-ups left open by the Jaguar2 band-change fix (#612) #613

Backlog

Description

@josephnef

Items left open when #612 (a band change through set_channel_bw or the firmware cross-band hop re-applies the coex antenna switch and RF18's 5G band bits) merged as aa669e8. None blocked the merge.

  • Calibration after a band change. The IQK stays the bring-up band's. The author measured EVM -54.9..-56.0 against -58.2..-58.6 on ch 36 after a ch-1 bring-up; the review's second unit (Archer T3U) showed SNR A 56.2-58.9 against 61.6-63.2 with a marginal EVM gap. Re-running iqk_trigger + config_trx_mode on the change recovered it but left RX deaf in 4 of 7 changes into 2.4 GHz with RX running, so there is no safe re-run yet.
  • CCK-block group on a band change (read from the code, not tested). The vendor config_phydm_switch_band_8822b also writes 0x808[28], 0x454[7], 0xa80[18] and the 5G CCA mask at 0x814 per band. set_channel_bw writes that group only in its 5/10 MHz branch. A 5 GHz narrowband tune followed by a 20 MHz change to 2.4 GHz should therefore leave the CCK block off. It predates jaguar2: a band change re-applies the coex antenna switch and RF18's 5G band bits #612.
  • Comment provenance. The RF18 5G comment in HalJaguar2.cpp cites rtw88; the source is the vendor routine above (reference/rtl88x2bu/hal/phydm/rtl8822b/phydm_hal_api8822b.c). The paragraph just above it still describes keeping the band bits from the read.
  • 8821C. The re-apply and the firmware-hop write run on the 8821C too (0xcb4[29:28]); neither the author nor the reviewer measured it.
  • Widths and TX. Both benches ran 20 MHz RX on beacons. 5/10, 40 and 80 MHz across bands, and TX after a band change, are unmeasured.
  • Weak-AP oddity on master. On the review bench, master after 36 -> 1 heard a second, weak ch-1 AP in 62-67 of ~80 beacon slots with mean RSSI readings of 174-195, against 0-57 slots at RSSI 25-28 after the fix. Not chased; the RSSI values suggest a wrapped field on the wrong front-end path.
  • band_change_rxcheck is hand-built. It is not a CMake target, so CI never compiles it.

Activity

  1. added
    enhancement
    on Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions