Lines Matching refs:mcid
647 int mcid, ret; in __prepare_listen_events() local
650 mcid = nl_get_multicast_id(state->nl_sock, "nl80211", "config"); in __prepare_listen_events()
651 if (mcid < 0) in __prepare_listen_events()
652 return mcid; in __prepare_listen_events()
654 ret = nl_socket_add_membership(state->nl_sock, mcid); in __prepare_listen_events()
659 mcid = nl_get_multicast_id(state->nl_sock, "nl80211", "scan"); in __prepare_listen_events()
660 if (mcid >= 0) { in __prepare_listen_events()
661 ret = nl_socket_add_membership(state->nl_sock, mcid); in __prepare_listen_events()
667 mcid = nl_get_multicast_id(state->nl_sock, "nl80211", "regulatory"); in __prepare_listen_events()
668 if (mcid >= 0) { in __prepare_listen_events()
669 ret = nl_socket_add_membership(state->nl_sock, mcid); in __prepare_listen_events()
675 mcid = nl_get_multicast_id(state->nl_sock, "nl80211", "mlme"); in __prepare_listen_events()
676 if (mcid >= 0) { in __prepare_listen_events()
677 ret = nl_socket_add_membership(state->nl_sock, mcid); in __prepare_listen_events()
682 mcid = nl_get_multicast_id(state->nl_sock, "nl80211", "vendor"); in __prepare_listen_events()
683 if (mcid >= 0) { in __prepare_listen_events()
684 ret = nl_socket_add_membership(state->nl_sock, mcid); in __prepare_listen_events()