Currently, framework issues NAN commands on station interface. But when connection happens, framework does interface down and up on the station interface due to MAC randomization. This terminates all of the NAN operations. So NAN discovery needs a separate interface to avoid dependency on the station interface. Create an interface "wifi-aware0" of type NL80211_IFTYPE_NAN based on the firmware capability and register to kernel. Framework issues "IF UP" on the new NAN discovery interface when it enables NAN. Driver shall create vdev and send VDEV_CREATE command to firmware for the same. Framework shall issue all NAN discovery commands on this new interface. Driver shall use NAN vdev for these NAN operations. Framework shall do "IF DOWN" once the NAN operations are done(Ex: up on NAN disable). Change-Id: Ifd1e1ab5ed64cd97edb00e793214edd2a2365274 CRs-Fixed: 2592020 |
||
---|---|---|
.. | ||
inc | ||
src |