P2PS: Process P2PS provisioning commands
This extends wpas_p2p_prov_disc() implementation to accept P2PS parameters. None of the callers are yet using this functionality; the following commit introduces a user. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
369678ad14
commit
6d9085145c
8 changed files with 268 additions and 9 deletions
|
@ -159,6 +159,13 @@ struct p2ps_advertisement * p2p_get_p2ps_adv_list(struct p2p_data *p2p)
|
|||
}
|
||||
|
||||
|
||||
void p2p_set_intended_addr(struct p2p_data *p2p, const u8 *intended_addr)
|
||||
{
|
||||
if (p2p && intended_addr)
|
||||
os_memcpy(p2p->intended_addr, intended_addr, ETH_ALEN);
|
||||
}
|
||||
|
||||
|
||||
u16 p2p_get_provisioning_info(struct p2p_data *p2p, const u8 *addr)
|
||||
{
|
||||
struct p2p_device *dev = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue