The default wifi / bluetooth firmware used in the standard raspberry pi pico sdk is 'pico-sdk/lib/cyw43-driver/firmware/wb43439A0_7_95_49_00_combined.h'.
On a pico-w or pico2-w, when setting the country via 'cyw43_arch_init_with_country (CYW43_COUNTRY_AUSTRALIA)' (for example), and selecting a channel via 'cyw43_wifi_ap_set_channel (&cyw43_state, 13)' (for example, or channel 12), the mentioned default firmware file will actually configure wifi channel 1. Conversely, when 'firmware/w43439_sdio_1yn_7_95_59_combined.h' is used, country code and then channel selection of channels 12 and 13 work as implied in the pico-sdk API documentation.
Because there are no detailed release notes for each firmware header file in this repo, it is unclear what the intended capabilities and limitations of each of firmware compilations are. i.e. it is unclear whether the actual behaviour (not being able to use channels 12 or 13) was intended, or a bug. But because the default pico-sdk firmware doesn't appear to work for channels 12 or 13, it seems like it's buggy firmware.
It would be helpful either to add detailed release notes describing the contents, limitations and capabilities of the firmware encapsulated within each of the firmware header files. A good place to insert would be in a comment in each of the header files themselves.
It would be preferable that, if only one header file is intended to support country and full-channel selection, that the pico-sdk actually defaults to that firmware.
This problem is discussed in https://forums.raspberrypi.com/viewtopic.php?t=398713#p2378030
The default wifi / bluetooth firmware used in the standard raspberry pi pico sdk is 'pico-sdk/lib/cyw43-driver/firmware/wb43439A0_7_95_49_00_combined.h'.
On a pico-w or pico2-w, when setting the country via 'cyw43_arch_init_with_country (CYW43_COUNTRY_AUSTRALIA)' (for example), and selecting a channel via 'cyw43_wifi_ap_set_channel (&cyw43_state, 13)' (for example, or channel 12), the mentioned default firmware file will actually configure wifi channel 1. Conversely, when 'firmware/w43439_sdio_1yn_7_95_59_combined.h' is used, country code and then channel selection of channels 12 and 13 work as implied in the pico-sdk API documentation.
Because there are no detailed release notes for each firmware header file in this repo, it is unclear what the intended capabilities and limitations of each of firmware compilations are. i.e. it is unclear whether the actual behaviour (not being able to use channels 12 or 13) was intended, or a bug. But because the default pico-sdk firmware doesn't appear to work for channels 12 or 13, it seems like it's buggy firmware.
It would be helpful either to add detailed release notes describing the contents, limitations and capabilities of the firmware encapsulated within each of the firmware header files. A good place to insert would be in a comment in each of the header files themselves.
It would be preferable that, if only one header file is intended to support country and full-channel selection, that the pico-sdk actually defaults to that firmware.
This problem is discussed in https://forums.raspberrypi.com/viewtopic.php?t=398713#p2378030