6cc364946c
When processing a GO Negotiation Request and Response, if local driver supports the preferred channel list extension, then: - Check if peer's preference for operating channel is already included in our preferred channel list and if so, take the oper_channel as is. - If peer's preference for operating channel is not in local device's preferred channel list and peer device has provided its preferred frequency list in the GO Negotiation Request/Response, then find a channel that is common for both preferred channel lists and use it for oper_channel. - If peer's preference for operating channel is not in local device's preferred channel list and peer device doesn't use preferred channel list extension, i.e., no preferred channel list in GO Negotiation Request/Response, then look for a channel that is common for local device's preferred channel list and peer's list of supported channels and use it for oper_channel. - In case no common channel is found, use the peer's preference for oper_channel as is. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> |
||
---|---|---|
.. | ||
Makefile | ||
p2p.c | ||
p2p.h | ||
p2p_build.c | ||
p2p_dev_disc.c | ||
p2p_go_neg.c | ||
p2p_group.c | ||
p2p_i.h | ||
p2p_invitation.c | ||
p2p_parse.c | ||
p2p_pd.c | ||
p2p_sd.c | ||
p2p_utils.c |