OSDN Git Service

staging: wilc1000: handle mgmt frames for both interfaces during concurrent mode
authorAjay Singh <ajay.kathat@microchip.com>
Fri, 18 Oct 2019 12:45:39 +0000 (12:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Oct 2019 03:17:17 +0000 (23:17 -0400)
commit3a4cffe67f2faefd498f7eea0b1dc3507c927042
treebf1a0d67566801ca99435af6694c3078227d0403
parentd59dc92f1bccd5acde793aebdbb4f7121cf3f9af
staging: wilc1000: handle mgmt frames for both interfaces during concurrent mode

During concurrent mode(AP/STA + P2P), pass the mgmt frames received from
firmware to appropriate interface. Iterate the complete interface list
to pass frames on the interface which has registered to receive mgmt
frame. Added extra time for 'remain_on_ch' timer to ensure that timeout
for uncanceled remain_on_channel is not triggered & 'p2p_listen_state'
is not cleared before passing the mgmt frames to p2p interface.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Link: https://lore.kernel.org/r/20191018124511.22751-1-ajay.kathat@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_netdev.c
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c