qcacmn: provide is_create_punc_bitmap when generateing puncture
Puncture is one of 11be feature. Even 11be compile macro is defined, Dut can start AP with non-11be mode. Regulatory component has no idea whether it should consider puncture or not. Puncture should be a configurable parameter from caller. When updating channel state, puncture should be considered for 11BE AP. is_create_punc_bitmap should be set in struct ch_params and pass it to reg_get_5g_bonded_channel_state_for_pwrmode. Change-Id: I96fb131f2df201a827ab7d98ca099a38b008e0d3 CRs-Fixed: 3160259
このコミットが含まれているのは:
@@ -4289,6 +4289,7 @@ target_if_spectral_is_valid_80p80_freq(struct wlan_objmgr_pdev *pdev,
|
||||
enum channel_state chan_state1;
|
||||
enum channel_state chan_state2;
|
||||
struct wlan_objmgr_psoc *psoc;
|
||||
struct ch_params temp_params = {0};
|
||||
|
||||
qdf_assert_always(pdev);
|
||||
psoc = wlan_pdev_get_psoc(pdev);
|
||||
@@ -4318,19 +4319,21 @@ target_if_spectral_is_valid_80p80_freq(struct wlan_objmgr_pdev *pdev,
|
||||
ch_params.mhz_freq_seg1 != cfreq2)
|
||||
return false;
|
||||
|
||||
temp_params.ch_width = CH_WIDTH_80MHZ;
|
||||
chan_state1 = wlan_reg_get_5g_bonded_channel_state_for_pwrmode(
|
||||
pdev,
|
||||
ch_params.mhz_freq_seg0 - FREQ_OFFSET_10MHZ,
|
||||
CH_WIDTH_80MHZ,
|
||||
&temp_params,
|
||||
REG_CURRENT_PWR_MODE);
|
||||
if ((chan_state1 == CHANNEL_STATE_DISABLE) ||
|
||||
(chan_state1 == CHANNEL_STATE_INVALID))
|
||||
return false;
|
||||
|
||||
temp_params.ch_width = CH_WIDTH_80MHZ;
|
||||
chan_state2 = wlan_reg_get_5g_bonded_channel_state_for_pwrmode(
|
||||
pdev,
|
||||
ch_params.mhz_freq_seg1 - FREQ_OFFSET_10MHZ,
|
||||
CH_WIDTH_80MHZ,
|
||||
&temp_params,
|
||||
REG_CURRENT_PWR_MODE);
|
||||
if ((chan_state2 == CHANNEL_STATE_DISABLE) ||
|
||||
(chan_state2 == CHANNEL_STATE_INVALID))
|
||||
|
新しいイシューから参照
ユーザーをブロックする