Search Linux Wireless

Re: [RFC v2 3/7] wifi: cfg80211: extend interface combination check for multi-radio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06.06.24 09:20, Karthikeyan Periyasamy wrote:


On 6/6/2024 12:01 AM, Felix Fietkau wrote:
/*
  	 * This is a bit strange, since the iteration used to rely only on
@@ -2384,8 +2383,10 @@ int cfg80211_iter_combinations(struct wiphy *wiphy,
  	 * cfg80211 already - the only thing not would appear to be any new
  	 * interfaces (while being brought up) and channel/radar data.
  	 */
-	cfg80211_calculate_bi_data(wiphy, params->new_beacon_int,
-				   &beacon_int_gcd, &beacon_int_different);
+	if (!radio)
+			cfg80211_calculate_bi_data(wiphy, params->new_beacon_int,
+						   &beacon_int_gcd,
+						   &beacon_int_different);

Why its avoid for radio specific iface combination ?

Because it iterates over all wdevs within cfg80211. I didn't think this was necessary, given that it already excludes MLO wdevs.

- Felix





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux