On Wed, 2023-02-01 at 12:26 +0530, Rameshkumar Sundaram wrote: > Enable/Disable BSS color collision detection based on user > configuration of collision detection and BSS color feature > itself. > > Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.1.0.1-01228-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Rameshkumar Sundaram <quic_ramess@xxxxxxxxxxx> > --- > drivers/net/wireless/ath/ath11k/mac.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c > index 9e923ecb0891..6d5290996d9f 100644 > --- a/drivers/net/wireless/ath/ath11k/mac.c > +++ b/drivers/net/wireless/ath/ath11k/mac.c > @@ -3112,6 +3112,7 @@ static void ath11k_mac_op_bss_info_changed(struct ieee80211_hw *hw, > u8 rateidx; > u32 rate; > u32 ipv4_cnt; > + bool color_collision_detect; > > mutex_lock(&ar->conf_mutex); > > @@ -3370,10 +3371,12 @@ static void ath11k_mac_op_bss_info_changed(struct ieee80211_hw *hw, > > if (changed & BSS_CHANGED_HE_BSS_COLOR) { You never set this flag in the prior change, and it also doesn't even *mean* the BSS color _detection_ changed ..?? johannes