|
@@ -3730,6 +3730,49 @@ QDF_STATUS policy_mgr_get_channel_list(struct wlan_objmgr_psoc *psoc,
|
|
|
false);
|
|
|
status = QDF_STATUS_SUCCESS;
|
|
|
break;
|
|
|
+ case PM_SBS_CH_MCC_CH:
|
|
|
+ get_sub_channels(psoc,
|
|
|
+ sbs_freqs, &sbs_num,
|
|
|
+ scc_freqs, &scc_num,
|
|
|
+ rest_freqs, &rest_num,
|
|
|
+ channel_list_5, chan_index_5,
|
|
|
+ channel_list_6, chan_index_6);
|
|
|
+ add_chlist_to_pcl(pm_ctx->pdev,
|
|
|
+ pcl_channels, pcl_weights, pcl_sz,
|
|
|
+ len, WEIGHT_OF_GROUP1_PCL_CHANNELS,
|
|
|
+ sbs_freqs, sbs_num,
|
|
|
+ skip_6ghz_channel);
|
|
|
+ add_chlist_to_pcl(pm_ctx->pdev,
|
|
|
+ pcl_channels, pcl_weights, pcl_sz,
|
|
|
+ len, WEIGHT_OF_GROUP2_PCL_CHANNELS,
|
|
|
+ rest_freqs, rest_num,
|
|
|
+ false);
|
|
|
+ status = QDF_STATUS_SUCCESS;
|
|
|
+ break;
|
|
|
+ case PM_SBS_5G_MCC_24G:
|
|
|
+ get_sub_channels(psoc,
|
|
|
+ sbs_freqs, &sbs_num,
|
|
|
+ scc_freqs, &scc_num,
|
|
|
+ rest_freqs, &rest_num,
|
|
|
+ channel_list_5, chan_index_5,
|
|
|
+ channel_list_6, chan_index_6);
|
|
|
+ add_chlist_to_pcl(pm_ctx->pdev,
|
|
|
+ pcl_channels, pcl_weights, pcl_sz,
|
|
|
+ len, WEIGHT_OF_GROUP1_PCL_CHANNELS,
|
|
|
+ sbs_freqs, sbs_num,
|
|
|
+ skip_6ghz_channel);
|
|
|
+ add_chlist_to_pcl(pm_ctx->pdev,
|
|
|
+ pcl_channels, pcl_weights, pcl_sz,
|
|
|
+ len, WEIGHT_OF_GROUP2_PCL_CHANNELS,
|
|
|
+ rest_freqs, rest_num,
|
|
|
+ skip_6ghz_channel);
|
|
|
+ add_chlist_to_pcl(pm_ctx->pdev,
|
|
|
+ pcl_channels, pcl_weights, pcl_sz,
|
|
|
+ len, WEIGHT_OF_GROUP3_PCL_CHANNELS,
|
|
|
+ channel_list_24, chan_index_24,
|
|
|
+ false);
|
|
|
+ status = QDF_STATUS_SUCCESS;
|
|
|
+ break;
|
|
|
default:
|
|
|
policy_mgr_err("unknown pcl value %d", pcl);
|
|
|
break;
|