|
@@ -45,6 +45,7 @@
|
|
|
#include "wlan_mlme_public_struct.h"
|
|
|
#include "wlan_mlme_ucfg_api.h"
|
|
|
#include "wlan_mlme_api.h"
|
|
|
+#include "wlan_reg_services_api.h"
|
|
|
|
|
|
#define RSN_OUI_SIZE 4
|
|
|
/* ////////////////////////////////////////////////////////////////////// */
|
|
@@ -4540,6 +4541,8 @@ sir_convert_beacon_frame2_struct(struct mac_context *mac,
|
|
|
pBeaconStruct->chan_freq = wlan_reg_chan_band_to_freq(mac->pdev,
|
|
|
pBeacon->he_op.oper_info_6g.info.primary_ch,
|
|
|
BIT(REG_BAND_6G));
|
|
|
+ pBeaconStruct->ap_power_type =
|
|
|
+ pBeacon->he_op.oper_info_6g.info.reg_info;
|
|
|
} else if (pBeacon->DSParams.present) {
|
|
|
pBeaconStruct->dsParamsPresent = 1;
|
|
|
pBeaconStruct->chan_freq =
|
|
@@ -6418,6 +6421,8 @@ populate_dot11f_he_operation(struct mac_context *mac_ctx,
|
|
|
session->curr_op_freq);
|
|
|
he_op->oper_info_6g.info.dup_bcon = 0;
|
|
|
he_op->oper_info_6g.info.min_rate = 0;
|
|
|
+ he_op->oper_info_6g.info.reg_info =
|
|
|
+ wlan_reg_decide_6g_ap_pwr_type(mac_ctx->pdev);
|
|
|
}
|
|
|
lim_log_he_op(mac_ctx, he_op, session);
|
|
|
|