Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2019 14:31:18 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r348861 - head/sys/net80211
Message-ID:  <201906101431.x5AEVIre057400@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Mon Jun 10 14:31:18 2019
New Revision: 348861
URL: https://svnweb.freebsd.org/changeset/base/348861

Log:
  Enhance the comment ieee80211_add_channel() to avoid a
  misunderstanding that the function does not work additive
  when repeatedly called for diffferent bands.
  
  Reviewed by:	avos (a few months ago)
  MFC after:	2 weeks

Modified:
  head/sys/net80211/ieee80211.c

Modified: head/sys/net80211/ieee80211.c
==============================================================================
--- head/sys/net80211/ieee80211.c	Mon Jun 10 13:46:36 2019	(r348860)
+++ head/sys/net80211/ieee80211.c	Mon Jun 10 14:31:18 2019	(r348861)
@@ -1386,6 +1386,8 @@ getflags(const uint8_t bands[], uint32_t flags[], int 
 
 /*
  * Add one 20 MHz channel into specified channel list.
+ * You MUST NOT mix bands when calling this.  It will not add 5ghz
+ * channels if you have any B/G/N band bit set.
  */
 /* XXX VHT */
 int



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906101431.x5AEVIre057400>