Wen Gong <quic_wgong@xxxxxxxxxxx> writes: > Currently ath11k support both station/AP mode for WCN6855, and it is > configured with single_pdev_only, it means it has only one ath11k > and one ieee80211_hw which registered in mac80211 and one wiphy > registered in cfg80211. Now it does not have requirement to start > up both station and AP interface simultaneously for WCN6855, this > is to disable station and AP concurrency mode. > > After this patch, when station interface is up, then AP interface > can not start up. AP interface can start up after station interface > down. Also when AP interface is up, station interface can not start > up. station interface can start up after AP interface down. > > Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-01720.1-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1 > > Signed-off-by: Wen Gong <quic_wgong@xxxxxxxxxxx> > --- > drivers/net/wireless/ath/ath11k/core.h | 5 +++++ > drivers/net/wireless/ath/ath11k/mac.c | 17 ++++++++++++++++- > 2 files changed, 21 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/wireless/ath/ath11k/core.h b/drivers/net/wireless/ath/ath11k/core.h > index a65f7d00eea2..e6c4963e41ac 100644 > --- a/drivers/net/wireless/ath/ath11k/core.h > +++ b/drivers/net/wireless/ath/ath11k/core.h > @@ -972,4 +972,9 @@ static inline bool ath11k_support_cc_ext(struct ath11k_base *ab) > test_bit(WMI_TLV_SERVICE_REG_CC_EXT_EVENT_SUPPORT, ab->wmi_ab.svc_map); > } > > +static inline bool ath11k_support_6G_cc_ext(struct ath11k *ar) > +{ > + return ath11k_support_cc_ext(ar->ab) && ar->supports_6ghz; > +} All lower case and please move also this to hw.h: ath11k_hw_supports_6g_cc_ext() -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches