typedef struct
{
char ssid[32];
char passwd[64];
uint8_t channel;
} config_ssid_t;
...
_Static_assert(offsetof(config_t, flags) == 204, "offset");
it compiled well, but as you said that might be not enough or the wrong way.
My password currently has 52 Bytes. As workaround I could properly introduce a second wifi network with shorter password.