Skip to content

Commit b48cdc4

Browse files
ArunmaniAlagarsamy2710kartben
authored andcommitted
drivers: wifi: siwx91x: Disable HT capabilities on channel 14
In the Japan regulatory domain, channel 14 is restricted to 802.11b/g operation and does not support HT (802.11n) capabilities. Disable HT capabilities when operating on channel 14 in AP mode. Signed-off-by: Arunmani Alagarsamy <[email protected]>
1 parent 694eaf4 commit b48cdc4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/wifi/siwx91x/siwx91x_wifi_ap.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,11 @@ int siwx91x_ap_enable(const struct device *dev, struct wifi_connect_req_params *
230230
siwx91x_ap_cfg.channel.channel = params->channel;
231231
}
232232

233+
if (params->channel == 14) {
234+
/* Disable HT on channel 14 */
235+
siwx91x_ap_cfg.is_11n_enabled = 0;
236+
}
237+
233238
ret = sl_wifi_start_ap(SL_WIFI_AP_INTERFACE | SL_WIFI_2_4GHZ_INTERFACE, &siwx91x_ap_cfg);
234239
if (ret) {
235240
LOG_ERR("Failed to enable AP mode: 0x%x", ret);

0 commit comments

Comments
 (0)