Lines Matching refs:cmd
1060 int flags, u8 cmd) in nl80211hdr_put() argument
1063 return genlmsg_put(skb, portid, seq, &nl80211_fam, flags, cmd); in nl80211hdr_put()
2397 enum nl80211_commands cmd, in nl80211_send_wiphy() argument
2412 hdr = nl80211hdr_put(msg, portid, seq, flags, cmd); in nl80211_send_wiphy()
2426 if (cmd != NL80211_CMD_NEW_WIPHY) in nl80211_send_wiphy()
3856 enum nl80211_commands cmd) in nl80211_send_iface() argument
3861 WARN_ON(cmd != NL80211_CMD_NEW_INTERFACE && in nl80211_send_iface()
3862 cmd != NL80211_CMD_DEL_INTERFACE && in nl80211_send_iface()
3863 cmd != NL80211_CMD_SET_INTERFACE); in nl80211_send_iface()
3865 hdr = nl80211hdr_put(msg, portid, seq, flags, cmd); in nl80211_send_iface()
5854 enum nl80211_commands cmd) in nl80211_valid_auth_type() argument
5859 switch (cmd) { in nl80211_valid_auth_type()
6552 static int nl80211_send_station(struct sk_buff *msg, u32 cmd, u32 portid, in nl80211_send_station() argument
6561 hdr = nl80211hdr_put(msg, portid, seq, flags, cmd); in nl80211_send_station()
11593 u32 portid, u32 seq, enum nl80211_commands cmd, in __cfg80211_alloc_vendor_skb() argument
11606 hdr = nl80211hdr_put(skb, portid, seq, 0, cmd); in __cfg80211_alloc_vendor_skb()
11651 enum nl80211_commands cmd, in __cfg80211_alloc_event_skb() argument
11660 switch (cmd) { in __cfg80211_alloc_event_skb()
11678 cmd, attr, info, gfp); in __cfg80211_alloc_event_skb()
12258 (info->genlhdr->cmd == NL80211_CMD_DEL_PMKSA || in nl80211_setdel_pmksa()
12288 switch (info->genlhdr->cmd) { in nl80211_setdel_pmksa()
15276 enum nl80211_commands cmd, in __cfg80211_alloc_reply_skb() argument
15288 cmd, attr, NULL, GFP_KERNEL); in __cfg80211_alloc_reply_skb()
16747 .cmd = NL80211_CMD_GET_WIPHY,
16759 .cmd = NL80211_CMD_SET_WIPHY,
16765 .cmd = NL80211_CMD_GET_INTERFACE,
16773 .cmd = NL80211_CMD_SET_INTERFACE,
16781 .cmd = NL80211_CMD_NEW_INTERFACE,
16792 .cmd = NL80211_CMD_DEL_INTERFACE,
16800 .cmd = NL80211_CMD_GET_KEY,
16807 .cmd = NL80211_CMD_SET_KEY,
16816 .cmd = NL80211_CMD_NEW_KEY,
16824 .cmd = NL80211_CMD_DEL_KEY,
16831 .cmd = NL80211_CMD_SET_BEACON,
16839 .cmd = NL80211_CMD_START_AP,
16847 .cmd = NL80211_CMD_STOP_AP,
16855 .cmd = NL80211_CMD_GET_STATION,
16862 .cmd = NL80211_CMD_SET_STATION,
16869 .cmd = NL80211_CMD_NEW_STATION,
16876 .cmd = NL80211_CMD_DEL_STATION,
16883 .cmd = NL80211_CMD_GET_MPATH,
16891 .cmd = NL80211_CMD_GET_MPP,
16899 .cmd = NL80211_CMD_SET_MPATH,
16906 .cmd = NL80211_CMD_NEW_MPATH,
16913 .cmd = NL80211_CMD_DEL_MPATH,
16920 .cmd = NL80211_CMD_SET_BSS,
16928 .cmd = NL80211_CMD_GET_REG,
16936 .cmd = NL80211_CMD_SET_REG,
16943 .cmd = NL80211_CMD_REQ_SET_REG,
16949 .cmd = NL80211_CMD_RELOAD_REGDB,
16955 .cmd = NL80211_CMD_GET_MESH_CONFIG,
16962 .cmd = NL80211_CMD_SET_MESH_CONFIG,
16969 .cmd = NL80211_CMD_TRIGGER_SCAN,
16976 .cmd = NL80211_CMD_ABORT_SCAN,
16983 .cmd = NL80211_CMD_GET_SCAN,
16988 .cmd = NL80211_CMD_START_SCHED_SCAN,
16995 .cmd = NL80211_CMD_STOP_SCHED_SCAN,
17002 .cmd = NL80211_CMD_AUTHENTICATE,
17010 .cmd = NL80211_CMD_ASSOCIATE,
17018 .cmd = NL80211_CMD_DEAUTHENTICATE,
17025 .cmd = NL80211_CMD_DISASSOCIATE,
17032 .cmd = NL80211_CMD_JOIN_IBSS,
17039 .cmd = NL80211_CMD_LEAVE_IBSS,
17047 .cmd = NL80211_CMD_TESTMODE,
17056 .cmd = NL80211_CMD_CONNECT,
17064 .cmd = NL80211_CMD_UPDATE_CONNECT_PARAMS,
17072 .cmd = NL80211_CMD_DISCONNECT,
17079 .cmd = NL80211_CMD_SET_WIPHY_NETNS,
17088 .cmd = NL80211_CMD_GET_SURVEY,
17093 .cmd = NL80211_CMD_SET_PMKSA,
17101 .cmd = NL80211_CMD_DEL_PMKSA,
17108 .cmd = NL80211_CMD_FLUSH_PMKSA,
17115 .cmd = NL80211_CMD_REMAIN_ON_CHANNEL,
17124 .cmd = NL80211_CMD_CANCEL_REMAIN_ON_CHANNEL,
17131 .cmd = NL80211_CMD_SET_TX_BITRATE_MASK,
17139 .cmd = NL80211_CMD_REGISTER_FRAME,
17146 .cmd = NL80211_CMD_FRAME,
17153 .cmd = NL80211_CMD_FRAME_WAIT_CANCEL,
17160 .cmd = NL80211_CMD_SET_POWER_SAVE,
17167 .cmd = NL80211_CMD_GET_POWER_SAVE,
17174 .cmd = NL80211_CMD_SET_CQM,
17181 .cmd = NL80211_CMD_SET_CHANNEL,
17189 .cmd = NL80211_CMD_JOIN_MESH,
17196 .cmd = NL80211_CMD_LEAVE_MESH,
17203 .cmd = NL80211_CMD_JOIN_OCB,
17210 .cmd = NL80211_CMD_LEAVE_OCB,
17218 .cmd = NL80211_CMD_GET_WOWLAN,
17225 .cmd = NL80211_CMD_SET_WOWLAN,
17233 .cmd = NL80211_CMD_SET_REKEY_OFFLOAD,
17241 .cmd = NL80211_CMD_TDLS_MGMT,
17249 .cmd = NL80211_CMD_TDLS_OPER,
17256 .cmd = NL80211_CMD_UNEXPECTED_FRAME,
17263 .cmd = NL80211_CMD_PROBE_CLIENT,
17270 .cmd = NL80211_CMD_REGISTER_BEACONS,
17277 .cmd = NL80211_CMD_SET_NOACK_MAP,
17284 .cmd = NL80211_CMD_START_P2P_DEVICE,
17292 .cmd = NL80211_CMD_STOP_P2P_DEVICE,
17300 .cmd = NL80211_CMD_START_NAN,
17308 .cmd = NL80211_CMD_STOP_NAN,
17316 .cmd = NL80211_CMD_ADD_NAN_FUNCTION,
17323 .cmd = NL80211_CMD_DEL_NAN_FUNCTION,
17330 .cmd = NL80211_CMD_CHANGE_NAN_CONFIG,
17337 .cmd = NL80211_CMD_SET_MCAST_RATE,
17344 .cmd = NL80211_CMD_SET_MAC_ACL,
17352 .cmd = NL80211_CMD_RADAR_DETECT,
17361 .cmd = NL80211_CMD_GET_PROTOCOL_FEATURES,
17366 .cmd = NL80211_CMD_UPDATE_FT_IES,
17373 .cmd = NL80211_CMD_CRIT_PROTOCOL_START,
17380 .cmd = NL80211_CMD_CRIT_PROTOCOL_STOP,
17387 .cmd = NL80211_CMD_GET_COALESCE,
17393 .cmd = NL80211_CMD_SET_COALESCE,
17400 .cmd = NL80211_CMD_CHANNEL_SWITCH,
17408 .cmd = NL80211_CMD_VENDOR,
17417 .cmd = NL80211_CMD_SET_QOS_MAP,
17424 .cmd = NL80211_CMD_ADD_TX_TS,
17432 .cmd = NL80211_CMD_DEL_TX_TS,
17439 .cmd = NL80211_CMD_TDLS_CHANNEL_SWITCH,
17446 .cmd = NL80211_CMD_TDLS_CANCEL_CHANNEL_SWITCH,
17453 .cmd = NL80211_CMD_SET_MULTICAST_TO_UNICAST,
17460 .cmd = NL80211_CMD_SET_PMK,
17467 .cmd = NL80211_CMD_DEL_PMK,
17473 .cmd = NL80211_CMD_EXTERNAL_AUTH,
17480 .cmd = NL80211_CMD_CONTROL_PORT_FRAME,
17487 .cmd = NL80211_CMD_GET_FTM_RESPONDER_STATS,
17494 .cmd = NL80211_CMD_PEER_MEASUREMENT_START,
17501 .cmd = NL80211_CMD_NOTIFY_RADAR,
17508 .cmd = NL80211_CMD_UPDATE_OWE_INFO,
17514 .cmd = NL80211_CMD_PROBE_MESH_LINK,
17520 .cmd = NL80211_CMD_SET_TID_CONFIG,
17527 .cmd = NL80211_CMD_SET_SAR_SPECS,
17535 .cmd = NL80211_CMD_COLOR_CHANGE_REQUEST,
17542 .cmd = NL80211_CMD_SET_FILS_AAD,
17549 .cmd = NL80211_CMD_ADD_LINK,
17555 .cmd = NL80211_CMD_REMOVE_LINK,
17562 .cmd = NL80211_CMD_ADD_LINK_STA,
17569 .cmd = NL80211_CMD_MODIFY_LINK_STA,
17576 .cmd = NL80211_CMD_REMOVE_LINK_STA,
17583 .cmd = NL80211_CMD_SET_HW_TIMESTAMP,
17613 enum nl80211_commands cmd) in nl80211_notify_wiphy() argument
17618 WARN_ON(cmd != NL80211_CMD_NEW_WIPHY && in nl80211_notify_wiphy()
17619 cmd != NL80211_CMD_DEL_WIPHY); in nl80211_notify_wiphy()
17625 if (nl80211_send_wiphy(rdev, cmd, msg, 0, 0, 0, &state) < 0) { in nl80211_notify_wiphy()
17636 enum nl80211_commands cmd) in nl80211_notify_iface() argument
17644 if (nl80211_send_iface(msg, 0, 0, 0, rdev, wdev, cmd) < 0) { in nl80211_notify_iface()
17721 u32 cmd) in nl80211_prep_scan_msg() argument
17725 hdr = nl80211hdr_put(msg, portid, seq, flags, cmd); in nl80211_prep_scan_msg()
17749 struct cfg80211_sched_scan_request *req, u32 cmd) in nl80211_prep_sched_scan_msg() argument
17753 hdr = nl80211hdr_put(msg, 0, 0, 0, cmd); in nl80211_prep_sched_scan_msg()
17821 void nl80211_send_sched_scan(struct cfg80211_sched_scan_request *req, u32 cmd) in nl80211_send_sched_scan() argument
17829 if (nl80211_prep_sched_scan_msg(msg, req, cmd) < 0) { in nl80211_send_sched_scan()
17920 enum nl80211_commands cmd, gfp_t gfp, in nl80211_send_mlme_event() argument
17931 hdr = nl80211hdr_put(msg, 0, 0, 0, cmd); in nl80211_send_mlme_event()
18014 u32 cmd; in cfg80211_rx_unprot_mlme_mgmt() local
18020 cmd = NL80211_CMD_UNPROT_DEAUTHENTICATE; in cfg80211_rx_unprot_mlme_mgmt()
18022 cmd = NL80211_CMD_UNPROT_DISASSOCIATE; in cfg80211_rx_unprot_mlme_mgmt()
18027 cmd = NL80211_CMD_UNPROT_BEACON; in cfg80211_rx_unprot_mlme_mgmt()
18034 nl80211_send_mlme_event(rdev, dev, buf, len, cmd, GFP_ATOMIC, -1, in cfg80211_rx_unprot_mlme_mgmt()
18040 struct net_device *netdev, int cmd, in nl80211_send_mlme_timeout() argument
18050 hdr = nl80211hdr_put(msg, 0, 0, 0, cmd); in nl80211_send_mlme_timeout()
18616 int cmd, struct cfg80211_registered_device *rdev, in nl80211_send_remain_on_chan_event() argument
18628 hdr = nl80211hdr_put(msg, 0, 0, 0, cmd); in nl80211_send_remain_on_chan_event()
18646 if (cmd == NL80211_CMD_REMAIN_ON_CHANNEL && in nl80211_send_remain_on_chan_event()
18827 static bool __nl80211_unexpected_frame(struct net_device *dev, u8 cmd, in __nl80211_unexpected_frame() argument
18843 hdr = nl80211hdr_put(msg, 0, 0, 0, cmd); in __nl80211_unexpected_frame()
19522 enum nl80211_commands cmd, u8 count, in cfg80211_bss_color_notify() argument
19533 trace_cfg80211_bss_color_notify(dev, cmd, count, color_bitmap); in cfg80211_bss_color_notify()
19539 hdr = nl80211hdr_put(msg, 0, 0, 0, cmd); in cfg80211_bss_color_notify()
19546 if (cmd == NL80211_CMD_COLOR_CHANGE_STARTED && in cfg80211_bss_color_notify()
19550 if (cmd == NL80211_CMD_OBSS_COLOR_COLLISION && in cfg80211_bss_color_notify()