Lines Matching refs:mgmt
1066 struct ieee80211_mgmt *mgmt; in ieee80211_rx_mesh_check() local
1078 mgmt = (struct ieee80211_mgmt *)hdr; in ieee80211_rx_mesh_check()
1079 category = mgmt->u.action.category; in ieee80211_rx_mesh_check()
3161 struct ieee80211_mgmt *mgmt, in ieee80211_process_sa_query_req() argument
3168 if (!ether_addr_equal(mgmt->da, sdata->vif.addr)) { in ieee80211_process_sa_query_req()
3173 if (!ether_addr_equal(mgmt->sa, sdata->deflink.u.mgd.bssid) || in ieee80211_process_sa_query_req()
3174 !ether_addr_equal(mgmt->bssid, sdata->deflink.u.mgd.bssid)) { in ieee80211_process_sa_query_req()
3190 memcpy(resp->da, mgmt->sa, ETH_ALEN); in ieee80211_process_sa_query_req()
3199 mgmt->u.action.u.sa_query.trans_id, in ieee80211_process_sa_query_req()
3208 struct ieee80211_mgmt *mgmt = (void *)rx->skb->data; in ieee80211_rx_check_bss_color_collision() local
3222 baselen = mgmt->u.beacon.variable - rx->skb->data; in ieee80211_rx_check_bss_color_collision()
3227 mgmt->u.beacon.variable, in ieee80211_rx_check_bss_color_collision()
3252 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *) rx->skb->data; in ieee80211_rx_h_mgmt_check() local
3255 if (ieee80211_is_s1g_beacon(mgmt->frame_control)) in ieee80211_rx_h_mgmt_check()
3266 if (!ieee80211_is_mgmt(mgmt->frame_control)) in ieee80211_rx_h_mgmt_check()
3270 ieee80211_is_beacon(mgmt->frame_control) && in ieee80211_rx_h_mgmt_check()
3297 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)rx->skb->data; in ieee80211_process_rx_twt_action() local
3313 switch (mgmt->u.action.u.s1g.action_code) { in ieee80211_process_rx_twt_action()
3323 twt = (void *)mgmt->u.action.u.s1g.variable; in ieee80211_process_rx_twt_action()
3351 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *) rx->skb->data; in ieee80211_rx_h_action() local
3355 if (!ieee80211_is_action(mgmt->frame_control)) in ieee80211_rx_h_action()
3362 if (!rx->sta && mgmt->u.action.category != WLAN_CATEGORY_PUBLIC && in ieee80211_rx_h_action()
3363 mgmt->u.action.category != WLAN_CATEGORY_SELF_PROTECTED && in ieee80211_rx_h_action()
3364 mgmt->u.action.category != WLAN_CATEGORY_SPECTRUM_MGMT) in ieee80211_rx_h_action()
3367 switch (mgmt->u.action.category) { in ieee80211_rx_h_action()
3384 switch (mgmt->u.action.u.ht_smps.action) { in ieee80211_rx_h_action()
3395 switch (mgmt->u.action.u.ht_smps.smps_control) { in ieee80211_rx_h_action()
3429 u8 chanwidth = mgmt->u.action.u.ht_notify_cw.chanwidth; in ieee80211_rx_h_action()
3476 if (!ether_addr_equal(mgmt->bssid, sdata->deflink.u.mgd.bssid)) in ieee80211_rx_h_action()
3478 if (mgmt->u.action.u.ext_chan_switch.action_code != in ieee80211_rx_h_action()
3497 switch (mgmt->u.action.u.vht_opmode_notif.action_code) { in ieee80211_rx_h_action()
3525 switch (mgmt->u.action.u.addba_req.action_code) { in ieee80211_rx_h_action()
3528 sizeof(mgmt->u.action.u.addba_req))) in ieee80211_rx_h_action()
3533 sizeof(mgmt->u.action.u.addba_resp))) in ieee80211_rx_h_action()
3538 sizeof(mgmt->u.action.u.delba))) in ieee80211_rx_h_action()
3551 switch (mgmt->u.action.u.measurement.action_code) { in ieee80211_rx_h_action()
3557 sizeof(mgmt->u.action.u.measurement))) in ieee80211_rx_h_action()
3563 ieee80211_process_measurement_req(sdata, mgmt, len); in ieee80211_rx_h_action()
3568 sizeof(mgmt->u.action.u.chan_switch))) in ieee80211_rx_h_action()
3581 bssid = mgmt->sa; in ieee80211_rx_h_action()
3585 if (!ether_addr_equal(mgmt->bssid, bssid)) in ieee80211_rx_h_action()
3594 sizeof(mgmt->u.action.u.self_prot.action_code))) in ieee80211_rx_h_action()
3597 switch (mgmt->u.action.u.self_prot.action_code) { in ieee80211_rx_h_action()
3616 sizeof(mgmt->u.action.u.mesh_action.action_code))) in ieee80211_rx_h_action()
3621 if (mesh_action_is_path_sel(mgmt) && in ieee80211_rx_h_action()
3626 switch (mgmt->u.action.u.s1g.action_code) { in ieee80211_rx_h_action()
3703 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *) rx->skb->data; in ieee80211_rx_h_action_post_userspace() local
3706 if (!ieee80211_is_action(mgmt->frame_control)) in ieee80211_rx_h_action_post_userspace()
3709 switch (mgmt->u.action.category) { in ieee80211_rx_h_action_post_userspace()
3712 sizeof(mgmt->u.action.u.sa_query))) in ieee80211_rx_h_action_post_userspace()
3715 switch (mgmt->u.action.u.sa_query.action) { in ieee80211_rx_h_action_post_userspace()
3719 ieee80211_process_sa_query_req(sdata, mgmt, len); in ieee80211_rx_h_action_post_userspace()
3738 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *) rx->skb->data; in ieee80211_rx_h_action_return() local
3743 if (!ieee80211_is_action(mgmt->frame_control)) in ieee80211_rx_h_action_return()
3761 if (is_multicast_ether_addr(mgmt->da)) in ieee80211_rx_h_action_return()
3765 if (mgmt->u.action.category & 0x80) in ieee80211_rx_h_action_return()
3819 struct ieee80211_mgmt *mgmt = (void *)rx->skb->data; in ieee80211_rx_h_mgmt() local
3822 stype = mgmt->frame_control & cpu_to_le16(IEEE80211_FCTL_STYPE); in ieee80211_rx_h_mgmt()
3837 if (is_multicast_ether_addr(mgmt->da) && in ieee80211_rx_h_mgmt()
3838 !is_broadcast_ether_addr(mgmt->da)) in ieee80211_rx_h_mgmt()
3849 if (is_multicast_ether_addr(mgmt->da) && in ieee80211_rx_h_mgmt()
3850 !is_broadcast_ether_addr(mgmt->da)) in ieee80211_rx_h_mgmt()