diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index c6cdc495b6..cf511772fa 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -1173,6 +1173,7 @@ struct peer_assoc_ml_partner_links { * @peer_eht_rx_mcs_set: Peer EHT RX MCS MAP * @peer_eht_tx_mcs_set: Peer EHT TX MCS MAP * @peer_eht_ppet: Peer EHT PPET info + * @puncture_bitmap: 11be static puncture bitmap * @peer_ppet: Peer HE PPET info * @peer_bss_max_idle_option: Peer BSS Max Idle option update * @akm: AKM info @@ -1251,8 +1252,8 @@ struct peer_assoc_params { uint32_t peer_eht_mcs_count; uint32_t peer_eht_rx_mcs_set[WMI_HOST_MAX_EHT_RATE_SET]; uint32_t peer_eht_tx_mcs_set[WMI_HOST_MAX_EHT_RATE_SET]; - uint16_t puncture_pattern; struct wmi_host_ppe_threshold peer_eht_ppet; + uint16_t puncture_bitmap; #endif struct wmi_host_ppe_threshold peer_ppet; u_int8_t peer_bsscolor_rept_info; diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index 9af3bfd625..22c3d2f719 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -2815,7 +2815,7 @@ static uint8_t *update_peer_flags_tlv_ehtinfo( int i; cmd->peer_eht_ops = param->peer_eht_ops; - cmd->puncture_20mhz_bitmap = param->puncture_pattern; + cmd->puncture_20mhz_bitmap = ~param->puncture_bitmap; qdf_mem_copy(&cmd->peer_eht_cap_mac, ¶m->peer_eht_cap_macinfo, sizeof(param->peer_eht_cap_macinfo));