Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2020 17:04:40 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r356496 - stable/12/sys/net80211
Message-ID:  <202001081704.008H4eNt062180@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Wed Jan  8 17:04:40 2020
New Revision: 356496
URL: https://svnweb.freebsd.org/changeset/base/356496

Log:
  MFC r348861:
  
    Enhance the comment ieee80211_add_channel() to avoid a
    misunderstanding that the function does not work additive
    when repeatedly called for diffferent bands.

Modified:
  stable/12/sys/net80211/ieee80211.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/net80211/ieee80211.c
==============================================================================
--- stable/12/sys/net80211/ieee80211.c	Wed Jan  8 17:02:58 2020	(r356495)
+++ stable/12/sys/net80211/ieee80211.c	Wed Jan  8 17:04:40 2020	(r356496)
@@ -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?202001081704.008H4eNt062180>