wifi: iwlwifi: mvm: enable VLP AP on VLP channels
If channels are marked VLP, then we're actually also allowed to be VLP AP/GO. Enable this. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20240618194245.e15f24fc6bc8.I33ed7d141fec731e79370ba6c7cfbe28776944a0@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
3591e3b9a7
commit
a9056a3716
@ -370,7 +370,9 @@ static u32 iwl_get_channel_flags(u8 ch_num, int ch_idx, enum nl80211_band band,
|
||||
flags |= IEEE80211_CHAN_IR_CONCURRENT;
|
||||
|
||||
/* Set the AP type for the UHB case. */
|
||||
if (!(nvm_flags & NVM_CHANNEL_VLP))
|
||||
if (nvm_flags & NVM_CHANNEL_VLP)
|
||||
flags |= IEEE80211_CHAN_ALLOW_6GHZ_VLP_AP;
|
||||
else
|
||||
flags |= IEEE80211_CHAN_NO_6GHZ_VLP_CLIENT;
|
||||
if (!(nvm_flags & NVM_CHANNEL_AFC))
|
||||
flags |= IEEE80211_CHAN_NO_6GHZ_AFC_CLIENT;
|
||||
@ -1661,7 +1663,9 @@ static u32 iwl_nvm_get_regdom_bw_flags(const u16 *nvm_chan,
|
||||
|
||||
/* Set the AP type for the UHB case. */
|
||||
if (uats_enabled) {
|
||||
if (!(nvm_flags & NVM_CHANNEL_VLP))
|
||||
if (nvm_flags & NVM_CHANNEL_VLP)
|
||||
flags |= NL80211_RRF_ALLOW_6GHZ_VLP_AP;
|
||||
else
|
||||
flags |= NL80211_RRF_NO_6GHZ_VLP_CLIENT;
|
||||
|
||||
if (!(nvm_flags & NVM_CHANNEL_AFC))
|
||||
|
Loading…
x
Reference in New Issue
Block a user