Lines Matching defs:mgmt
1047 struct ieee80211_mgmt *mgmt;
1059 mgmt = (struct ieee80211_mgmt *)hdr;
1060 category = mgmt->u.action.category;
2411 struct ieee80211_mgmt *mgmt = (void *)rx->skb->data;
2412 __le16 fc = mgmt->frame_control;
2423 mgmt->u.action.category == WLAN_CATEGORY_PROTECTED_DUAL_OF_ACTION)
2470 if (is_unicast_ether_addr(mgmt->da) &&
3270 struct ieee80211_mgmt *mgmt,
3277 if (!ether_addr_equal(mgmt->da, sdata->vif.addr)) {
3282 if (!ether_addr_equal(mgmt->sa, sdata->deflink.u.mgd.bssid) ||
3283 !ether_addr_equal(mgmt->bssid, sdata->deflink.u.mgd.bssid)) {
3299 memcpy(resp->da, mgmt->sa, ETH_ALEN);
3308 mgmt->u.action.u.sa_query.trans_id,
3317 struct ieee80211_mgmt *mgmt = (void *)rx->skb->data;
3331 baselen = mgmt->u.beacon.variable - rx->skb->data;
3336 mgmt->u.beacon.variable,
3361 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *) rx->skb->data;
3364 if (ieee80211_is_s1g_beacon(mgmt->frame_control))
3375 if (!ieee80211_is_mgmt(mgmt->frame_control))
3379 if (ieee80211_is_action(mgmt->frame_control) &&
3384 ieee80211_is_beacon(mgmt->frame_control) &&
3411 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)rx->skb->data;
3427 switch (mgmt->u.action.u.s1g.action_code) {
3437 twt = (void *)mgmt->u.action.u.s1g.variable;
3465 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *) rx->skb->data;
3469 if (!ieee80211_is_action(mgmt->frame_control))
3472 if (!rx->sta && mgmt->u.action.category != WLAN_CATEGORY_PUBLIC &&
3473 mgmt->u.action.category != WLAN_CATEGORY_SELF_PROTECTED &&
3474 mgmt->u.action.category != WLAN_CATEGORY_SPECTRUM_MGMT)
3477 switch (mgmt->u.action.category) {
3494 switch (mgmt->u.action.u.ht_smps.action) {
3505 switch (mgmt->u.action.u.ht_smps.smps_control) {
3539 u8 chanwidth = mgmt->u.action.u.ht_notify_cw.chanwidth;
3586 if (!ether_addr_equal(mgmt->bssid, sdata->deflink.u.mgd.bssid))
3588 if (mgmt->u.action.u.ext_chan_switch.action_code !=
3607 switch (mgmt->u.action.u.vht_opmode_notif.action_code) {
3635 switch (mgmt->u.action.u.addba_req.action_code) {
3638 sizeof(mgmt->u.action.u.addba_req)))
3643 sizeof(mgmt->u.action.u.addba_resp)))
3648 sizeof(mgmt->u.action.u.delba)))
3661 switch (mgmt->u.action.u.measurement.action_code) {
3667 sizeof(mgmt->u.action.u.measurement)))
3673 ieee80211_process_measurement_req(sdata, mgmt, len);
3678 sizeof(mgmt->u.action.u.chan_switch)))
3691 bssid = mgmt->sa;
3695 if (!ether_addr_equal(mgmt->bssid, bssid))
3704 sizeof(mgmt->u.action.u.self_prot.action_code)))
3707 switch (mgmt->u.action.u.self_prot.action_code) {
3726 sizeof(mgmt->u.action.u.mesh_action.action_code)))
3731 if (mesh_action_is_path_sel(mgmt) &&
3736 if (len < offsetofend(typeof(*mgmt),
3740 switch (mgmt->u.action.u.s1g.action_code) {
3817 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *) rx->skb->data;
3820 if (!ieee80211_is_action(mgmt->frame_control))
3823 switch (mgmt->u.action.category) {
3826 sizeof(mgmt->u.action.u.sa_query)))
3829 switch (mgmt->u.action.u.sa_query.action) {
3833 ieee80211_process_sa_query_req(sdata, mgmt, len);
3852 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *) rx->skb->data;
3857 if (!ieee80211_is_action(mgmt->frame_control))
3875 if (is_multicast_ether_addr(mgmt->da))
3879 if (mgmt->u.action.category & 0x80)
3933 struct ieee80211_mgmt *mgmt = (void *)rx->skb->data;
3936 stype = mgmt->frame_control & cpu_to_le16(IEEE80211_FCTL_STYPE);
3951 if (is_multicast_ether_addr(mgmt->da) &&
3952 !is_broadcast_ether_addr(mgmt->da))
3963 if (is_multicast_ether_addr(mgmt->da) &&
3964 !is_broadcast_ether_addr(mgmt->da))