/* An additional Transmit Power Envelope element for
* subordinate client */
if (hapd->iconf->he_6ghz_reg_pwr_type ==
- HE_REG_INFO_6GHZ_AP_TYPE_INDOOR)
+ HE_REG_INFO_6GHZ_AP_TYPE_INDOOR ||
+ hapd->iconf->he_6ghz_reg_pwr_type ==
+ HE_REG_INFO_6GHZ_AP_TYPE_INDOOR_SP)
buflen += 4;
}
}
if (is_6ghz_op_class(hapd->iconf->op_class)) {
total_len += 4;
if (hapd->iconf->he_6ghz_reg_pwr_type ==
- HE_REG_INFO_6GHZ_AP_TYPE_INDOOR)
+ HE_REG_INFO_6GHZ_AP_TYPE_INDOOR ||
+ hapd->iconf->he_6ghz_reg_pwr_type ==
+ HE_REG_INFO_6GHZ_AP_TYPE_INDOOR_SP)
total_len += 4;
}
#endif /* CONFIG_IEEE80211AX */
/* An additional Transmit Power Envelope element for
* subordinate client */
if (hapd->iconf->he_6ghz_reg_pwr_type ==
- HE_REG_INFO_6GHZ_AP_TYPE_INDOOR)
+ HE_REG_INFO_6GHZ_AP_TYPE_INDOOR ||
+ hapd->iconf->he_6ghz_reg_pwr_type ==
+ HE_REG_INFO_6GHZ_AP_TYPE_INDOOR_SP)
tail_len += 4;
}
}
/* Indoor Access Point must include an additional TPE for
* subordinate devices */
if (iconf->he_6ghz_reg_pwr_type ==
- HE_REG_INFO_6GHZ_AP_TYPE_INDOOR) {
+ HE_REG_INFO_6GHZ_AP_TYPE_INDOOR ||
+ iconf->he_6ghz_reg_pwr_type ==
+ HE_REG_INFO_6GHZ_AP_TYPE_INDOOR_SP) {
/* TODO: Extract PSD limits from channel data */
if (hapd->iconf->reg_sub_cli_eirp_psd != -1)
tx_pwr = hapd->iconf->reg_sub_cli_eirp_psd;