linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ath10k to ath9k IBSS, ath9k has interface-combinations issue
@ 2015-04-07  0:39 Ben Greear
  2015-04-07  5:12 ` Michal Kazior
  0 siblings, 1 reply; 10+ messages in thread
From: Ben Greear @ 2015-04-07  0:39 UTC (permalink / raw)
  To: linux-wireless@vger.kernel.org

Has anyone tried running ath10k to ath9k IBSS?

I'm trying this with a somewhat hacked 4.0-rc6 kernel,
and latest wpa_supplicant.

ath9k to ath9k works with and without encryption, and ath10k to ath10k works (w/out encryption at least).

But, if I try to tell ath10k to connect to ath9k, then the ath9k reports interface combinations
issues and will not associate.  I've added some debug, and the issue is the 'num==0' part here:


int cfg80211_check_combinations(struct wiphy *wiphy,
				const int num_different_channels,
				const u8 radar_detect,
				const int iftype_num[NUM_NL80211_IFTYPES])
{
	int err, num = 0;

	err = cfg80211_iter_combinations(wiphy, num_different_channels,
					 radar_detect, iftype_num,
					 cfg80211_iter_sum_ifcombs, &num);
	if (err) {
		pr_info("cfg-comb-check: failed to iterate combinations\n");
		return err;
	}
	if (num == 0) {
		pr_info("cfg-comb-check: iter-combinations returned num==0\n");
		return -EBUSY;
	}

	return 0;
}
EXPORT_SYMBOL(cfg80211_check_combinations);

There should be exactly one interface on this radio that is admin-up, and it is the
one that I am trying to make run in adhoc mode.

Any ideas on this?

Thanks,
Ben


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-04-24 15:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-07  0:39 ath10k to ath9k IBSS, ath9k has interface-combinations issue Ben Greear
2015-04-07  5:12 ` Michal Kazior
2015-04-07  5:17   ` Janusz Dziedzic
2015-04-07 16:33     ` Ben Greear
2015-04-07 17:35       ` Ben Greear
2015-04-08  3:25         ` Sujith Manoharan
2015-04-10  5:47           ` Sven-Ola Tuecke
2015-04-17  0:11           ` Ben Greear
2015-04-24 14:42             ` Sujith Manoharan
2015-04-24 15:36               ` Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).