* P2P GO operating channel width
@ 2014-05-12 13:26 Arend van Spriel
2014-06-01 12:26 ` Jouni Malinen
0 siblings, 1 reply; 2+ messages in thread
From: Arend van Spriel @ 2014-05-12 13:26 UTC (permalink / raw)
To: Johannes Berg, Jouni Malinen
Cc: linux-wireless@vger.kernel.org, hostap@lists.shmoo.com
Hi Johannes, Jouni,
I was wondering how to configure the bandwidth of the operating channel
in P2P-GO scenario. In nl80211.c I do see the use of .set_ap_chanwidth()
callback. Reading the spec it seems the operating channel is exchanged
during GO negotiation, but I do not see any reference about the
bandwidth. It does exchange the operating class and I found some info in
p2p_supplicant.c (see below). I am just not sure how this is configured
to the driver, ie. what nl80211 commands will be used.
Gr. AvS
--8<------------------------------------------------------------
static struct p2p_oper_class_map op_class[] = {
{ HOSTAPD_MODE_IEEE80211G, 81, 1, 13, 1, BW20 },
#if 0 /* Do not enable HT40 on 2 GHz for now */
{ HOSTAPD_MODE_IEEE80211G, 83, 1, 9, 1, BW40PLUS },
{ HOSTAPD_MODE_IEEE80211G, 84, 5, 13, 1, BW40MINUS },
#endif
{ HOSTAPD_MODE_IEEE80211A, 115, 36, 48, 4, BW20 },
{ HOSTAPD_MODE_IEEE80211A, 124, 149, 161, 4, BW20 },
{ HOSTAPD_MODE_IEEE80211A, 116, 36, 44, 8, BW40PLUS },
{ HOSTAPD_MODE_IEEE80211A, 117, 40, 48, 8, BW40MINUS },
{ HOSTAPD_MODE_IEEE80211A, 126, 149, 157, 8, BW40PLUS },
{ HOSTAPD_MODE_IEEE80211A, 127, 153, 161, 8, BW40MINUS },
{ HOSTAPD_MODE_IEEE80211A, 128, 36, 161, 4, BW80 },
{ -1, 0, 0, 0, 0, BW20 }
};
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: P2P GO operating channel width
2014-05-12 13:26 P2P GO operating channel width Arend van Spriel
@ 2014-06-01 12:26 ` Jouni Malinen
0 siblings, 0 replies; 2+ messages in thread
From: Jouni Malinen @ 2014-06-01 12:26 UTC (permalink / raw)
To: Arend van Spriel
Cc: Johannes Berg, hostap@lists.shmoo.com,
linux-wireless@vger.kernel.org
On Mon, May 12, 2014 at 03:26:23PM +0200, Arend van Spriel wrote:
> I was wondering how to configure the bandwidth of the operating
> channel in P2P-GO scenario. In nl80211.c I do see the use of
> .set_ap_chanwidth() callback. Reading the spec it seems the
> operating channel is exchanged during GO negotiation, but I do not
> see any reference about the bandwidth. It does exchange the
> operating class and I found some info in p2p_supplicant.c (see
> below). I am just not sure how this is configured to the driver, ie.
> what nl80211 commands will be used.
In theory, operating class could be used to negotiate channel bandwidth
during GO Negotiation. In practice, though, most implementations do not
do this. Instead, the device that becomes the GO can just decide to
enable 40 MHz (or 80/80+80/160 MHz for VHT) on its own regardless of
which operating class was used. This should still be done in a way that
the primary channel ends up being where indicating during GO Negotiation
to allow the P2P Client to find the GO more easily.
--
Jouni Malinen PGP id EFC895FA
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-01 12:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-12 13:26 P2P GO operating channel width Arend van Spriel
2014-06-01 12:26 ` Jouni Malinen
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).