Skip to content

Wifi channel 13 works with CYW43_COUNTRY_WORLDWIDE but does not work with CYW43_COUNTRY_UK #3258

Open

Description

@rde2

The test for channel seems backwards. Connections succeed with CYW43_COUNTRY_WORLDWIDE but not with CYW43_COUNTRY_UK.

See https://forums.raspberrypi.com/viewtopic.php?t=401184

Activity

  1. Hoernchen commented on Nov 7, 2026

    @Hoernchen

    Yeah same issue with DE, the forum post referenced in the forum post with the 7_95_59 tip works tho, unfortunatly having to use some weird alternate firmware packaged but not used by default was not straightforward at all..

  2. rde2 commented on Nov 7, 2026

    @rde2
    Author

    Off topic a lot, but if the fix for this involves new cyw43 firmware, can the new version also support Bluetooth LE extended advertising?

  3. lurch commented on Nov 9, 2026

    @lurch
    Contributor

    Note that the cyw43-driver was updated on the develop branch in #3211 - does that have any impact on this issue?

  4. Hoernchen commented on Nov 9, 2026

    @Hoernchen

    Nope, since the firmware/CLM being used is the same, the develop branch/newer cyw just separates the CLM and firmware, using the "1YN" firmware/CLM as mentioned in https://forums.raspberrypi.com/viewtopic.php?p=2378122#p2378122 is still the fix on the develop branch.

    That being said, the actual "failing" part is the CLM blob, not the firmware itself, I tried mixing and matching to see what happens (just for setting the chan, didn't try using it) but that is probably a worse idea than just using the whole mystery firmware package.

    Wi-Fi executable CLM blob DE channel 13
    7.95.49 Pico -
    7.95.49 1YN fine
    7.95.59 Pico -
    7.95.59 1YN fine

    What makes this whole thing so annoying is that the pico-sdk does not handle firmware errors so the channel setting fails, but it fails silently, instead of properly reporting the error, because even the current master of the cyw driver silently swallows it and does not pass it up - see https://github.com/georgerobotics/cyw43-driver/blob/main/src/cyw43_ll.c#L1006 . Setting actually fails with BCME_BADCHAN = -20 (0xffffffec), with the CDC error flag set, but that currently requires messing with the internals just to see the error. Not fun.

  5. lurch commented on Nov 9, 2026

    @lurch
    Contributor

    If there are problems you've identified in the cyw43-driver code, then reporting them at https://github.com/georgerobotics/cyw43-driver/issues would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions