Lines Matching refs:nwp
72 static struct nwp_status nwp; variable
258 nwp.role = ROLE_STA; in configure_simplelink()
259 SET_STATUS_BIT(nwp.status, STATUS_BIT_NWP_INIT); in configure_simplelink()
285 SET_STATUS_BIT(nwp.status, STATUS_BIT_CONNECTION); in SimpleLinkWlanEventHandler()
302 nwp.cb(SL_WLAN_EVENT_CONNECT, &sl_conn); in SimpleLinkWlanEventHandler()
306 CLR_STATUS_BIT(nwp.status, STATUS_BIT_CONNECTION); in SimpleLinkWlanEventHandler()
307 CLR_STATUS_BIT(nwp.status, STATUS_BIT_IP_ACQUIRED); in SimpleLinkWlanEventHandler()
308 CLR_STATUS_BIT(nwp.status, STATUS_BIT_IPV6_ACQUIRED); in SimpleLinkWlanEventHandler()
343 nwp.cb(SL_WLAN_EVENT_DISCONNECT, &sl_conn); in SimpleLinkWlanEventHandler()
393 SET_STATUS_BIT(nwp.status, STATUS_BIT_IP_ACQUIRED); in SimpleLinkNetAppEventHandler()
414 nwp.cb(SIMPLELINK_WIFI_CB_IPACQUIRED, &sl_conn); in SimpleLinkNetAppEventHandler()
418 SET_STATUS_BIT(nwp.status, STATUS_BIT_IPV6_ACQUIRED); in SimpleLinkNetAppEventHandler()
439 nwp.cb(SIMPLELINK_WIFI_CB_IPV6ACQUIRED, &sl_conn); in SimpleLinkNetAppEventHandler()
443 SET_STATUS_BIT(nwp.status, STATUS_BIT_IP_LEASED); in SimpleLinkNetAppEventHandler()
444 SET_STATUS_BIT(nwp.status, STATUS_BIT_IP_ACQUIRED); in SimpleLinkNetAppEventHandler()
592 net_entry = &nwp.net_entries[index]; in z_simplelink_get_scan_result()
617 (void)memset(&nwp.net_entries, 0x0, sizeof(nwp.net_entries)); in z_simplelink_start_scan()
624 &nwp.net_entries[0]); in z_simplelink_start_scan()
682 nwp.status = 0U; in z_simplelink_init()
683 nwp.role = ROLE_RESERVED; in z_simplelink_init()
684 nwp.cb = wifi_cb; in z_simplelink_init()