Lines Matching refs:mgmt

1073 		struct ieee80211_mgmt *mgmt;  in ieee80211_rx_mesh_check()  local
1085 mgmt = (struct ieee80211_mgmt *)hdr; in ieee80211_rx_mesh_check()
1086 category = mgmt->u.action.category; in ieee80211_rx_mesh_check()
3131 struct ieee80211_mgmt *mgmt, in ieee80211_process_sa_query_req() argument
3138 if (!ether_addr_equal(mgmt->da, sdata->vif.addr)) { in ieee80211_process_sa_query_req()
3143 if (!ether_addr_equal(mgmt->sa, sdata->u.mgd.bssid) || in ieee80211_process_sa_query_req()
3144 !ether_addr_equal(mgmt->bssid, sdata->u.mgd.bssid)) { in ieee80211_process_sa_query_req()
3160 memcpy(resp->da, mgmt->sa, ETH_ALEN); in ieee80211_process_sa_query_req()
3169 mgmt->u.action.u.sa_query.trans_id, in ieee80211_process_sa_query_req()
3178 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *) rx->skb->data; in ieee80211_rx_h_mgmt_check() local
3181 if (ieee80211_is_s1g_beacon(mgmt->frame_control)) in ieee80211_rx_h_mgmt_check()
3192 if (!ieee80211_is_mgmt(mgmt->frame_control)) in ieee80211_rx_h_mgmt_check()
3196 ieee80211_is_beacon(mgmt->frame_control) && in ieee80211_rx_h_mgmt_check()
3220 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)rx->skb->data; in ieee80211_process_rx_twt_action() local
3236 switch (mgmt->u.action.u.s1g.action_code) { in ieee80211_process_rx_twt_action()
3246 twt = (void *)mgmt->u.action.u.s1g.variable; in ieee80211_process_rx_twt_action()
3274 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *) rx->skb->data; in ieee80211_rx_h_action() local
3278 if (!ieee80211_is_action(mgmt->frame_control)) in ieee80211_rx_h_action()
3285 if (!rx->sta && mgmt->u.action.category != WLAN_CATEGORY_PUBLIC && in ieee80211_rx_h_action()
3286 mgmt->u.action.category != WLAN_CATEGORY_SELF_PROTECTED && in ieee80211_rx_h_action()
3287 mgmt->u.action.category != WLAN_CATEGORY_SPECTRUM_MGMT) in ieee80211_rx_h_action()
3290 switch (mgmt->u.action.category) { in ieee80211_rx_h_action()
3307 switch (mgmt->u.action.u.ht_smps.action) { in ieee80211_rx_h_action()
3318 switch (mgmt->u.action.u.ht_smps.smps_control) { in ieee80211_rx_h_action()
3352 u8 chanwidth = mgmt->u.action.u.ht_notify_cw.chanwidth; in ieee80211_rx_h_action()
3399 if (!ether_addr_equal(mgmt->bssid, sdata->u.mgd.bssid)) in ieee80211_rx_h_action()
3401 if (mgmt->u.action.u.ext_chan_switch.action_code != in ieee80211_rx_h_action()
3420 switch (mgmt->u.action.u.vht_opmode_notif.action_code) { in ieee80211_rx_h_action()
3448 switch (mgmt->u.action.u.addba_req.action_code) { in ieee80211_rx_h_action()
3451 sizeof(mgmt->u.action.u.addba_req))) in ieee80211_rx_h_action()
3456 sizeof(mgmt->u.action.u.addba_resp))) in ieee80211_rx_h_action()
3461 sizeof(mgmt->u.action.u.delba))) in ieee80211_rx_h_action()
3474 switch (mgmt->u.action.u.measurement.action_code) { in ieee80211_rx_h_action()
3480 sizeof(mgmt->u.action.u.measurement))) in ieee80211_rx_h_action()
3486 ieee80211_process_measurement_req(sdata, mgmt, len); in ieee80211_rx_h_action()
3491 sizeof(mgmt->u.action.u.chan_switch))) in ieee80211_rx_h_action()
3504 bssid = mgmt->sa; in ieee80211_rx_h_action()
3508 if (!ether_addr_equal(mgmt->bssid, bssid)) in ieee80211_rx_h_action()
3517 sizeof(mgmt->u.action.u.self_prot.action_code))) in ieee80211_rx_h_action()
3520 switch (mgmt->u.action.u.self_prot.action_code) { in ieee80211_rx_h_action()
3539 sizeof(mgmt->u.action.u.mesh_action.action_code))) in ieee80211_rx_h_action()
3544 if (mesh_action_is_path_sel(mgmt) && in ieee80211_rx_h_action()
3549 switch (mgmt->u.action.u.s1g.action_code) { in ieee80211_rx_h_action()
3616 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *) rx->skb->data; in ieee80211_rx_h_action_post_userspace() local
3619 if (!ieee80211_is_action(mgmt->frame_control)) in ieee80211_rx_h_action_post_userspace()
3622 switch (mgmt->u.action.category) { in ieee80211_rx_h_action_post_userspace()
3625 sizeof(mgmt->u.action.u.sa_query))) in ieee80211_rx_h_action_post_userspace()
3628 switch (mgmt->u.action.u.sa_query.action) { in ieee80211_rx_h_action_post_userspace()
3632 ieee80211_process_sa_query_req(sdata, mgmt, len); in ieee80211_rx_h_action_post_userspace()
3651 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *) rx->skb->data; in ieee80211_rx_h_action_return() local
3656 if (!ieee80211_is_action(mgmt->frame_control)) in ieee80211_rx_h_action_return()
3674 if (is_multicast_ether_addr(mgmt->da)) in ieee80211_rx_h_action_return()
3678 if (mgmt->u.action.category & 0x80) in ieee80211_rx_h_action_return()
3732 struct ieee80211_mgmt *mgmt = (void *)rx->skb->data; in ieee80211_rx_h_mgmt() local
3735 stype = mgmt->frame_control & cpu_to_le16(IEEE80211_FCTL_STYPE); in ieee80211_rx_h_mgmt()
3750 if (is_multicast_ether_addr(mgmt->da) && in ieee80211_rx_h_mgmt()
3751 !is_broadcast_ether_addr(mgmt->da)) in ieee80211_rx_h_mgmt()
3762 if (is_multicast_ether_addr(mgmt->da) && in ieee80211_rx_h_mgmt()
3763 !is_broadcast_ether_addr(mgmt->da)) in ieee80211_rx_h_mgmt()